H3C S6550X-HI Series Command Reference Manual page 1759

Table of Contents

Advertisement

Use
undo peer ignore-first-as
Syntax
peer {
[ prefix-length ] } ignore-first-as
undo peer { group-name | ipv4-address [ mask-length ] | ipv6-address
[ prefix-length ] } ignore-first-as
Default
BGP checks the first AS number of an EBGP-learned 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
BGP-VPN instance view
Predefined user roles
network-admin
Parameters
group-name
peer group must have been created.
ipv4-address
mask-length
and
mask-length
BGP ignores the first AS number of EBGP route updates received from all dynamic peers in the
subnet.
ipv6-address
prefix-length
ipv6-address
subnet in this command, BGP ignores the first AS number of EBGP route updates received from all
dynamic peers in the subnet.
Usage guidelines
This command takes effect only on the EBGP routes received after you execute this command. After
you
execute
ROUTE-REFRESH message to request the routing information from the EBGP peer or peer group.
Examples
# In BGP instance view, configure BGP to ignore the first AS number of EBGP route updates
received from peer group test.
<Sysname> system-view
[
]
Sysname
[
Sysname-bgp-default
Related commands
ignore-first-as
group-name
|
ipv4-address [ mask-length
: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The
: Specifies a peer by its IPv4 address. The peer must have been created.
: Specifies a mask length in the range of 0 to 32. You can use the
arguments together to specify a subnet. If you specify a subnet in this command,
: Specifies a peer by its IPv6 address. The peer must have been created.
: Specifies a prefix length in the range of 0 to 128. You can use the
and
prefix-length
the
undo
peer
bgp 100
]
peer test ignore-first-as
to remove the configuration.
arguments together to specify a subnet. If you specify a
ignore-first-as
134
] | ipv6-address
ipv4-address
command,
BGP
advertises
a

Advertisement

Table of Contents
loading

Table of Contents