Allied Telesis VERSION 5.4.3-2.6 Switch User Manual


 
BGP and BGP4+ Commands
Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches
3.30 AlliedWare Plus
TM
Operating System - Software Version 5.4.3-2.6 C613-50032-01 REV D
All routers in an AS should have the same setting for BGP deterministic-MED. All routers in
an AS should have BGP deterministic-MED enabled with bgp deterministic-med, or all
routers in an AS should have BGP deterministic-MED disabled with no bgp-deterministic-
med.
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 always-compare-med (BGP and BGP4+)
command on page 3.14.
Examples
[BGP/BGP4+]
Related Commands 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 AS-path attribute.
Use the no variant of this command to disable this feature.
Syntax [BGP/BGP4+] bgp enforce-first-as
no bgp enforce-first-as
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
awplus(config-router)#
bgp deterministic-med
awplus#
configure terminal
awplus(config)#
router bgp 100
awplus(config-router)#
no bgp deterministic-med
awplus#
configure terminal
awplus(config)#
router bgp 100
awplus(config-router#
bgp enforce-first-as