530
neighbor {<ip-address>|<TAG>} distribute-list
{<1-199>|<1300-2699>|<WORD>} {in|out}
no neighbor {<ip-address>|<TAG>} distribute-list
{<1-199>|<1300-2699>|<WORD>} {in|out}
Filter neighbor routing
updating information. The
no
neighbor
{<ip-address>|<TAG>}
distribute-list
{<1-199>|<1300-2699>|<W
ORD>} {in|out}
command
cancels routing filter.
6
.
Configure Next-Hop
1
)
Set Next-Hop as the switch’s address
Command Explanation
BGP configuration mode
neighbor { <ip-address> | <TAG> }
next-hop-self
no neighbor { <ip-address> | <TAG> }
next-hop-self
While sending route Next-Hop set
Next-Hop as the switch’s address; the
no
neighbor { <ip-address> | <TAG> }
next-hop-self
command cancels the
setting.
2
)
Cancel default Next-Hop through route map
Command Explanation
Route mapped configuration command
set ip next-hop <ip-address>
no set ip next-hop
Set the Next-Hop attribute of outbound
route. The
no set ip next-hop
command
cancels this setting.
7
.
Configure EGBP Multi-Hop
If the connections with outer neighbors are not direct, the following command can
configure neighbor Multi-Hop.
Command Explanation
BGP configuration mode
neighbor {<ip-address>|<TAG>}
ebgp-multihop [<1-255>]
no neighbor {<ip-address>|<TAG>}
ebgp-multihop [<1-255>]
Configure the allowance of
EBGP connection with other
networks that are not connected
directly; the
no neighbor
{<ip-address>|<TAG>}
ebgp-multihop [<1-255>]
command cancels the setting.