Defining a BGP Neighbor
Use this command to define a BGP neighbor
Syntax
set bgp [internal | external> remote-as <as_id> peer [ip_address] [on|off]
Parameter
|
Description
|
internal | external
|
Autonomous System (AS) type
|
<as_id>
|
Autonomous System (AS) ID
|
<ip_address>
|
Remote peer IP address
|
Examples
Notes
To verify that BGP is running:
- To show BGP peers, run:
show bgp peers
- To show BGP state, run:
show bgp summary
To deactivate BGP:
set bgp external remote-as 24 off set bgp external remote-as 24 local-address 40.40.40.24 off
|
|