238
Step Command
Remarks
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
b.
address-family ipv6
[
unicast
]
•
Enter BGP-VPN IPv6 unicast address
family view:
a.
bgp
as-number
b.
ip vpn-instance
vpn-instance-name
c.
address-family ipv6
[
unicast
]
•
Enter BGP IPv6 multicast address family
view:
a.
bgp
as-number
b.
address-family ipv6 multicast
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
}
public-as-only
By default, this feature is not
configured.
This command is only
applicable to EBGP peers or
peer groups.
Ignoring the first AS number of EBGP route updates
By default, BGP checks whether the first AS number in the AS_PATH attribute of a route update received
from a peer is the AS number of that peer. If not, BGP discards the route update.
To ignore the first AS number of EBGP route updates:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
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.
Configuring the SoO attribute
After you configure the SoO attribute for a BGP peer or peer group, BGP adds the SoO attribute into the
route updates received from the BGP peer or peer group. In addition, before advertising route updates
to the peer or peer group, BGP checks the SoO attribute of the route update against the configured SoO
attribute. If they are the same, BGP does not advertise the route updates to the BGP peer or peer group.
To configure the SoO attribute (IPv4 unicast/multicast address family):
Step Command
Remarks
1.
Enter system view.
system-view N/A