269
2. Enter BGP IPv6 unicast
address family view,
BGP-VPN IPv6 unicast
address family view, or BGP
IPv6 multicast address family
view.
• Enter BGP IPv6 unicast
address family view:
a. bgp as-number
[ instance
instance-name ]
b. address-family ipv6
[ unicast ]
• Enter BGP-VPN IPv6 unicast
address family view:
c. bgp as-number
[ instance
instance-name ]
d. ip vpn-instance
vpn-instance-name
e. address-family ipv6
[ unicast ]
• Enter BGP IPv6 multicast
address family view:
f. bgp as-number
[ instance
instance-name ]
g. address-family ipv6
N/A
3. Configure BGP to remove
private AS numbers from the
AS_PATH attribute of
updates sent to an EBGP
peer or peer group.
peer
{ group-name | ipv6-address
[ prefix-length ] }
public-as-only
By default, BGP updates sent to
an EBGP peer or peer group can
carry both public and private AS
numbers.
This command is applicable only
to EBGP peers or peer groups.
Ignoring the first AS number of EBGP route updates
By default, BGP checks the first AS number of a received EBGP route update. If the first AS number
is neither the AS number of the BGP peer nor a private AS number, the BGP router disconnects the
BGP session to the peer.
To ignore the first AS number of EBGP route updates:
1. Enter system view.
N/A
2. Enter BGP instance view.
bgp
as-number [
instance
instance-name ]
N/A
3. Configure BGP to ignore the first AS
number of EBGP route updates.
ignore-first-as
By default, BGP checks the
first AS number of EBGP
route updates.
Ignoring IGP metrics during optimal route selection
1. Enter system view.
system-view
N/A