NOTE
- next-hop-self コマンドかroute-map を使う。route-map の時はpeer-address コマンド
- NextHop をPeering しているアドレスに書き換える
R1#conf t
R1(config)#
R1(config)#route-map MODIFY-NH permit 10
R1(config-route-map)#set ip next-hop ?
A.B.C.D IP address of next hop
dynamic application dynamically sets next hop
encapsulate Encapsulation profile for VPN nexthop
peer-address Use peer address (for BGP only)
recursive Recursive next-hop
self Use self address (for BGP only)
verify-availability Verify if nexthop is reachable
R1(config-route-map)#
R1(config-route-map)#set ip next-hop peer-address
R1(config-route-map)#exit
R1(config)#
R1(config)#router bgp 65001
R1(config-router)#neighbor 10.0.0.7 route-map MODIFY-NH out
R1(config-router)#end
R1#
コメント