IOS Verion router bgp 24071 neighbor 202.57.110.122 remote-as 24095 neighbor 202.57.110.122 description *** VIX10G **** neighbor 202.57.110.122 soft-reconfiguration inbound neighbor 202.57.110.122 route-map Garena4 out neighbor 192.168.150.2 remote-as 7707 neighbor 192.168.150.2 description *** BGP-PHIX **** neighbor 192.168.150.2 soft-reconfiguration inbound neighbor 192.168.150.2 route-map Line4 out neighbor 192.168.150.2 route-map PHIX in route-map Line4 match ip address prefix-list Line4 ip prefix-list Line4 permit xxx.xxx.xxx.xxx/24 route-map PHIX permit 10 match as-path 7 ip as-path access-list 7 permit ^7707_9299$ ================================================================================================================= Junos - Display Set set routing-options autonomous-system 24071 set protocols bgp path-selection cisco-non-deterministic set protocols bgp group group-1 type external set protocols bgp group group-1 neighbor 192.168.150.2 description "*** BGP-PHIX ****"; set protocols bgp group group-1 neighbor 192.168.150.2 export bgp-policies-group-1-1-export; set protocols bgp group group-1 neighbor 192.168.150.2 import bgp-policies-group-1-1-import; set protocols bgp group group-1 neighbor 192.168.150.2 peer-as 7707; set protocols bgp group group-2 type external set protocols bgp group group-2 neighbor 202.57.110.122 description "*** VIX10G ****" set protocols bgp group group-2 neighbor 202.57.110.122 export bgp-policies-group-2-1-export set protocols bgp group group-2 neighbor 202.57.110.122 peer-as 24095 set policy-options policy-statement ap-7 term accept-term from as-path path-7-accept set policy-options policy-statement ap-7 term accept-term then accept set policy-options policy-statement ap-7 term ios-implicit-deny then reject set policy-options policy-statement bgp-policies-group-1-1-export term strip-communities then community delete all set policy-options policy-statement bgp-policies-group-1-1-export term strip-communities then next term; set policy-options policy-statement bgp-policies-group-1-1-export term explicit-default-action then next policy set policy-options policy-statement bgp-policies-group-1-1-import term term-1 from policy ( ! rm-PHIX ) set policy-options policy-statement bgp-policies-group-1-1-import term term-1 then reject set policy-options policy-statement bgp-policies-group-1-1-import term explicit-default-action then next policy set policy-options policy-statement bgp-policies-group-2-1-export term term-1 from policy ( ! rm-Line4 ) set policy-options policy-statement bgp-policies-group-2-1-export term term-1 then reject set policy-options policy-statement bgp-policies-group-2-1-export term strip-communities then community delete all set policy-options policy-statement bgp-policies-group-2-1-export term strip-communities then next term set policy-options policy-statement bgp-policies-group-2-1-export term explicit-default-action then next policy set policy-options policy-statement pl-Line4 term term-1 from route-filter xxx.xxx.xxx.xxx/24 exact set policy-options policy-statement pl-Line4 term term-1 then accept set policy-options policy-statement pl-Line4 term ios-implicit-deny then reject set policy-options policy-statement rm-Line4 term ios-implicit-deny then reject set policy-options policy-statement rm-PHIX term term-1 from policy ap-7 set policy-options policy-statement rm-PHIX term term-1 then accept set policy-options policy-statement rm-PHIX term ios-implicit-deny then reject set policy-options community all members "*:*"; set policy-options as-path path-7-accept "7707 9299";