62 neighbor remote-as, 63 neighbor remove-private-as – CANOGA PERKINS 9175 Command Reference User Manual

Page 286

Advertising
background image

CanogaOS Command Reference

16-41

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

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

Advertising