63 neighbor remove-private-as, 64 neighbor route-reflector-client – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 320

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 320 of 855

16.63 neighbor remove-private-AS

Use this command to remove the private Autonomous System (AS) number from outbound updates.
Use the no parameter with this command too revert to default.

Command Syntax

(no)neighbor NEIGHBORID remove-private-AS
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.

Default

Disabled

Command Mode

Router mode and Address Family (ipv4 unicast | ipv4 multicast | ipv6 | vpnv4 unicast) mode

Usage

The private AS numbers range from <64512-65535>. Private AS numbers are not advertised to the Internet.
This command is used with external BGP peers only. The router removes the AS numbers only if the update
includes private AS numbers. If the update includes both private and public AS numbers, the system treats it
as an error.

Example

Switch# configure terminal
Switch(config)# router bgp 10
Switch(config-router)# neighbor 10.10.0.63 remove-private-AS

16.64 neighbor route-reflector-client

Use this command to configure the router as a BGP route reflector and configure the specified neighbor as its
client.
Use the no parameter with this command to indicate that the neighbor is not a client.

Command Syntax

(no) neighbor NEIGHBORID route-reflector-client
NEIGHBORID = A.B.C.D|X:X::X:X|TAG
A.B.C.D Specifies the address of the BGP neighbor in IPv4 format.

Advertising