Reference v4.1.0 Instruction Manual

498 Network OS Command Reference
53-1003115-01
neighbor enforce-first-as (BGP)
2
neighbor enforce-first-as (BGP)
Ensures that a device requires the first ASN listed in the AS_SEQUENCE field of an AS path-update
message from EBGP neighbors to be the ASN of the neighbor that sent the update.
Synopsis neighbor {ip-address | peer-group-name} enforce-first-as [enable | disable]
no neighbor {ip-address | peer-group-name} enforce-first-as [enable | disable]
Operands ip-address IPv4 address of the neighbor
peer-group-name Peer group name configured by the neighbor peer-group-name command.
enable Enables this feature.
disable Disables this feature.
Defaults This feature is disabled: A device does not require the first ASN listed in the AS_SEQUENCE field of
an AS path-update message from EBGP neighbors to be the ASN of the neighbor that sent the
update.
Command Modes BGP configuration mode
Description Use this command to ensure that a device requires the first ASN listed in the AS_SEQUENCE field
of an AS path-update message from EBGP neighbors to be the ASN of the neighbor that sent the
update.
Usage Guidelines Use the no form of this command to disable this requirement globally for the device.
Examples
switch(config)# rbridge-id 10
switch(config-rbridge-id-10)# router bgp
switch(config-bgp-router)# neighbor 10.11.12.13 enforce-first-as enable
See Also None