2 no bgp ebgp-requires-policy
3 no bgp network import-check
4 neighbor 192.168.255.2 remote-as 1.2
5 address-family ipv4 unicast
6 network 172.31.1.0/24 route-map rmapout
7 network 172.31.2.0/24 route-map rmapout
8 neighbor 192.168.255.2 route-map rmapin in
9 neighbor 192.168.255.2 activate
12 bgp as-path access-list only1_4 permit _1.4_
13 bgp as-path access-list only65540 permit _65540_
14 access-list 172313 permit 172.31.3.0/24
15 access-list 172314 permit 172.31.4.0/24
16 route-map rmapout permit 1
17 set as-path prepend 1.4
19 route-map rmapin permit 1
20 match ip address 172313
23 route-map rmapin permit 2
24 match ip address 172314
25 match as-path only65540