beautypg.com

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

Page 280

background image

CanogaOS Command Reference

16-35

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.

Command Syntax

(no) neighbor NEIGHBORID filter-list LISTNAME in|out

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 theneighbor

peer-group and neighbor remote-as commands. When this parameter is usedwith a command, the

command applies on all peers in the specified group.

LISTNAME The name of an autonomous system path access list.

in Indicates that incoming advertised routes will be filtered.