
C613-50186-01 Rev B
Command Reference for AR2050V
1264
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
NEIGHBOR
REMOTE
-
AS
The
vrf
and
global
parameters are used to create internal 'loopback' BGP
connections within the device between two VRF instances. This is used to leak BGP
routes between a named VRF instance and the global routing instance. This
requires BGP neighbors to be configured in both the global routing instance and
in the named VRF instance.
Examples [BGP]
To configure a BGP peering relationship from the neighbor with the IPv4 address
10.10.0.73 with another router:
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
neighbor 10.10.0.73 remote-as 10
To remove a configured BGP peering relationship from the neighbor with the IPv4
address 10.10.0.73 from another router:
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
no neighbor 10.10.0.73 remote-as 10
To configure a BGP peering relationship from the neighbor with the peer group
named group1 with another router:
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
neighbor group1 peer-group
awplus(config-router)#
neighbor 10.10.10.1 remote-as 10
awplus(config-router)#
neighbor 10.10.10.1 peer-group group1
awplus(config-router)#
neighbor group1 remote-as 10
To remove a configured BGP peering relationship from the neighbor with the peer
group named group1 with another router:
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
no neighbor group1 remote-as 10
Examples
[BGP4+]
To configure a BGP4+ peering relationship with another router:
awplus#
configure terminal
awplus(config)#
router bgp 11
awplus(config-router)#
neighbor 2001:0db8:010d::1 remote-as 345
To remove a configured BGP4+ peering relationship from another router:
awplus#
configure terminal
awplus(config)#
router bgp 11
awplus(config-router)#
no neighbor 2001:0db8:010d::1 remote-as
345