62 neighbor remote-as – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 319
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 319 of 855
occurs, the router does not need to go through the rest of the prefix list. For efficiency the most common
matches or denies are listed at the top.
The neighbor distribute-list command is an alternative to the neighbor prefix-list command and only
one of them can be used for filtering to the same neighbor in any direction.
Examples
Switch# configure terminal
Switch(config)# ip prefix-list list1 deny 30.0.0.0/24
Switch(config)# router bgp 12
Switch(config-router)# neighbor 10.10.10.10 prefix-list list1 in
Related Commands
ip prefix-list
16.62 neighbor remote-as
Use this command to configure an internal or external BGP (iBGP or eBGP) TCP session with another router.
Command Syntax
neighbor NEIGHBORID remote-as ASNUM
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.
ASNUM <1-65535> Neighbor’s autonomous system number
Command Mode
Router mode
Usage
This command is used to configure iBGP and eBGP sessions with other neighbors. A peer-group support of
this command is configured only after creating a specific peer-group.
Example
Switch# configure terminal
Switch(config)# router bgp 11
Switch(config-router)# neighbor 10.10.0.73 remote-as 345