ignore-first-as

Use ignore-first-as to configure BGP to ignore the first AS number of EBGP route updates.

Use undo ignore-first-as to restore the default.

Syntax

ignore-first-as

undo ignore-first-as

Default

BGP checks the first AS number of a received EBGP route update. If the first AS number is neither that of the BGP peer nor a private AS number, the BGP router disconnects the BGP session to the peer.

Views

BGP instance view

Predefined user roles

network-admin

Examples

# Configure BGP to ignore the first AS number of EBGP route updates.

<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp-default] ignore-first-as