53 neighbor ebgp-multihop, 54 neighbor filter-list – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 313

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 313 of 855

Usage

Use only one distribute-list per BGP neighbor.

Examples

Switch# configure terminal
Switch(config)# router bgp 10
Switch(config-router)# neighbor 1.2.3.4 distribute-list mylist out

16.53 neighbor ebgp-multihop

Use this command to accept and attempt BGP connections to external peers on indirectly connected
networks.
Use the no parameter with this command to return to the default.

Command Syntax

(no) neighbor NEIGHBORID ebgp-multihop (COUNT)
NEIGHBORID = A.B.C.D|X:X::X:X|TAG
A.B.C.D Specifies the address of the BGP neighbor in IPv4 format.
X:X::X:X Specifies the address of the BGP neighbor in IPv6 format.

TAG Name of an existing peer-group. For information on how to create peer groups, refer to the
neighbor peer-group and neighbor remote-as commands. When this parameter is used with a
command, the command applies on all peers in the specified group.

COUNT = <1-255> Maximum hop count. If the maximum hop count is not set the hop count is 255.

Command Mode

Router mode

Usage

Multihop is not established if the only route to the multihop peer is a default route. This avoids loop formation.


Examples

Switch# configure terminal
Switch(config)# router bgp 10
Switch(config-router)# neighbor 10.10.10.34 remote-as 20
Switch(config-router)# neighbor 10.10.10.34 ebgp-multihop 5

16.54 neighbor filter-list

Use this command to set up a BGP filter.
Use the no parameter with this command to disable this function.

Advertising