
C613-50186-01 Rev B
Command Reference for AR2050V
1135
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
BGP
ENFORCE
-
FIRST
-
AS
bgp enforce-first-as
Overview
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 enforce-first-as
no bgp enforce-first-as
Mode
Router Configuration
Usage
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
awplus#
configure terminal
awplus(config)#
router bgp 100
awplus(config-router#
bgp enforce-first-as