55 neighbor enforce-multihop, 56 neighbor filter-list, Neighbor enforce – PLANET XGS3-24040 User Manual

Page 539: Multihop, Neighbor filter, List

Advertising
background image


35-252

on 10.1.1.64

Switch(config-router)#neighbor 11.1.1.120 ebgp-multihop

on 11.1.1.120

Switch(config-router)#neighbor 10.1.1.64 ebgp-multihop

After this, switches in different segments will be able to create BGP neighbor relationship.

35.55 neighbor enforce-multihop

Command: neighbor {<ip-address>|<TAG>} enforce-multihop

no neighbor {<ip-address>|<TAG>} enforce-multihop

Function: Enforce the multihop connection to the neighbor. The “no neighbor {<ip-address>|<TAG>}

enforce-multihop” command cancels this configuration.

Parameter: <ip-address>: Neighbor IP address.

<TAG>: Name of peer group.

Default: Not enforced.

Command Mode: BGP route mode and address-family mode

Usage Guide: In fact the direct route can not be enforced to multihop, however will be treated as a

multihop connection with this configuration, namely the check originally only performed on IBGP and

EBGP of non-direct routes will be performed on all after this attribute set. The nexthop direct connected

check will not be performed at exit in enforce multihop conditions.

Example:

Switch(config-router)#neighbor 10.1.1.66 enforce-multihop

35.56 neighbor filter-list

Command: neighbor {<ip-address>|<TAG>} filter-list <.LINE> {<in>|<out>}

no neighbor {<ip-address>|<TAG>} filter-list <.LINE> {<in>|<out>}

Function: Access-list control for AS-PATH. The “no neighbor {<ip-address>|<TAG>} filter-list

<.LINE> {<in>|<out>}” cancels the AS-PATH access-list control.

Parameter: <ip-address>: Neighbor IP address.

<TAG>: Name of peer group.

<LINE>: AS-PATH access-list name configured through ip as-path access-list <.LINE>

<permit|deny> <LINE>.

Default: Not configured.

Command Mode: BGP route mode and address list mode.

Advertising