
C613-50186-01 Rev B
Command Reference for AR2050V
1240
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
NEIGHBOR
LOCAL
-
AS
Examples [BGP]
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
neighbor 10.10.0.34 local-as 1
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
no neighbor 10.10.0.34 local-as 1
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
neighbor group1 peer-group
awplus(config-router)#
neighbor 10.10.10.34 remote-as 10
awplus(config-router)#
neighbor 10.10.10.34 peer-group group1
awplus(config-router)#
neighbor group1 local-as 1
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
no neighbor group1 local-as 1
Examples
[BGP4+]
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
neighbor 2001:0db8:010d::1 local-as 1
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
no neighbor 2001:0db8:010d::1 local-as 1
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
neighbor group1 peer-group
awplus(config-router)#
address-family ipv6
awplus(config-router-af)#
neighbor 2001:0db8:010d::1
peer-group group1
awplus(config-router-af)#
exit
awplus(config-router)#
neighbor group1 local-as 1
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
no neighbor group1 local-as 1
Related
Commands
neighbor peer-group (add a neighbor)
Command
changes
Version 5.4.6-2.1: VRF-lite support added.