Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »


The set protocols bgp neighbor remote-as command creates a peer, initiates the connection to the peer, and adds an entry to the BGP neighbor table. Specifies a neighbor with an autonomous system (AS) number that identifies the neighbor as internal to the local autonomous system. Otherwise, the neighbor is considered as external. By default, neighbors that are defined using this command, exchange only unicast address prefixes.
The delete protocols  bgp neighbor remote-as command disables the peer session and deletes the peer information.


Command Syntax

set protocols bgp [vrf <vrf-name>neighbor {<ip>|<bgppeer>|<interface>remote-as {<as-number>|external|internal}

delete protocols bgp [vrf <vrf-name>neighbor {<ip>|<bgppeer>|<interface>remote-as {<as-number>|external|internal}


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

neighbor {<ip>|<bgppeer>|<interface>}Specifies an IP address of neighbor.
remote-as {<as-number>|external|internal}Specifies a 4-byte AS number in asplain format (z), or asdot format (x.y), where z is a number from 1 to
4294967295 and x and y are 16-bit numbers in the range 0 to 65535.


Example
• This example specifies a neighbor with an autonomous system (AS) number.

admin@XorPlus# set protocols bgp neighbor 10.10.0.1 remote-as 100
admin@XorPlus# commit


  • No labels