![](/images/new-backgrounds/1191620/191620255x1.webp)
BGP and BGP4+ Commands
Examples [BGP/BGP4+]
Related Commands
All routers in an AS should have the same setting for BGP
In the example above, the MED values were not considered when comparing the winners of the two groups (the best routes from the different ASs). To use MED in the comparison of routes from different ASs, use the bgp
awplus# | configure terminal |
awplus(config)# | router bgp 100 |
| bgp |
awplus# | configure terminal |
awplus(config)# | router bgp 100 |
| no bgp |
show ip bgp (BGP)
show bgp ipv6 neighbors (BGP4+) show ip bgp neighbors (BGP)
bgp enforce-first-as (BGP and BGP4+)
Use this command to enforce the denying of eBGP updates in which the neighbor's AS number is not the first AS in the
Use the no variant of this command to disable this feature.
Syntax [BGP/BGP4+] | bgp |
|
| no bgp |
|
Mode [BGP/BGP4+] | Router Configuration |
|
Usage [BGP/BGP4+] | This command specifies that any updates received from an external neighbor that do not | |
| have the neighbor’s configured Autonomous System (AS) at the beginning of the | |
| AS_PATH in the received update must be denied. Enabling this feature adds to the | |
| security of the BGP network by not allowing traffic from unauthorized systems. | |
Example |
|
|
[BGP/BGP4+] | awplus# | configure terminal |
| ||
| awplus(config)# | router bgp 100 |
|
| bgp |
| Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches |
|
3.30 | AlliedWare PlusTM Operating System - Software Version |