filmov
tv
BGP AS path prepend

Показать описание
R2
conf t
ip prefix-list 192.168.22.0_24 seq 5 permit 192.168.22.0/24
route-map AS_PATH_PREPEND permit 10
match ip address prefix-list 192.168.22.0_24
set as-path prepend 65000 65000
exit
route-map AS_PATH_PREPEND permit 20
router bgp 65000
neighbor 209.165.201.6 route-map AS_PATH_PREPEND out
end
clear ip bgp 209.165.201.6 out
conf t
ip prefix-list 192.168.22.0_24 seq 5 permit 192.168.22.0/24
route-map AS_PATH_PREPEND permit 10
match ip address prefix-list 192.168.22.0_24
set as-path prepend 65000 65000
exit
route-map AS_PATH_PREPEND permit 20
router bgp 65000
neighbor 209.165.201.6 route-map AS_PATH_PREPEND out
end
clear ip bgp 209.165.201.6 out