6 neighbor allowas-in – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 543
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 543 of 855
Examples
Switch(config)# router bgp 100
Switch(config-router)# neighbor 10.10.20.1 remote-as 100
Switch(config-router)# address-family vpnv4 unicast
Switch(config-router-af)# neighbor 10.10.20.1 activate
Related Commands
address-family
27.6 neighbor allowas-in
Use this command to configure PE routers to allow re-advertisement of all prefixes containing duplicate
Autonomous System Numbers (ASNs).
Use the no parameter with this command to disable the readvertisement of a PE router's ASN.
Command Syntax
neighbor NEIGHBORADDRESS allowas-in (NUMBER)
(no) neighbor NEIGHBORADDRESS allowas-in
NEIGHBORADDRESS neighbor IP address. Use A.B.C.D form.
NUMBER <1-10> Number of occurances of AS number
Default
Disabled
Command Mode
Router mode and Address Family mode
Usage
In a hub and spoke configuration, a PE router re-advertises all prefixes containing duplicate ASNs. Use the
neighbor allowas-in command to configure two VRFs on each PE router to receive and re-advertise prefixes.
One of the VRFs receives prefixes with ASNs from all PE routers and then advertises them to neighboring PE
routers. The other VRF receives prefixes with ASNs from the CE router and re-advertises them to all PE
routers in the hub and spoke configuration.
Control the number of times an ASN is advertised, by specifying a number from 1 to 10.
Examples
Switch(config-router)# address-family ipv4 vrf VRF_A
Switch(config-router-af)# neighbor 10.10.0.1 allowas-in 3