Allied Telesis VERSION 5.4.3-2.6 Switch User Manual


 
BGP and BGP4+ Introduction
Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches
1.40 AlliedWare Plus
TM
Operating System - Software Version 5.4.3-2.6 C613-50032-01 REV D
How to remove BGP filtering for private AS numbers
Remove BGP filtering for private AS numbers using the no neighbor <neighborid>
remove-private-AS command. See this example from Router Configuration mode:
If the AS path attribute command is removed from the Router 2 BGP configuration, then
the private AS is correctly not filtered. See the sample console command entries below:
The show ip bgp command output below on Router 1 shows an update for the network
10.0.0.0/24 received from Router 2 (192.68.0.1) has an AS path attribute 5, which is the AS
number of Router 2, and contains private AS path 65000.
awplus#
configure terminal
awplus(config)#
router bgp 5
awplus(config-router)#
no neighbor 192.168.0.2 remove-private-AS
Router 2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router 2(config)#router bgp 5
Router 2(config-router)#no neighbor 192.168.0.2 remove-private-AS
Router 2(config-router)#exit
Router 2(config)#exit
Router 2#clear ip bgp *
Router 1#show running-config router bgp
!
router bgp 1
neighbor 192.168.0.1 remote-as 5
!
Router 1#show ip bgp
BGP table version is 1017, local router ID is 192.168.0.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 10.0.0.0/24 192.168.0.1 0 0 5 65000 i
*> 172.30.0.0 192.168.0.1 0 0 5 i
*> 192.168.0.0 192.168.0.1 0 0 5 i