Enabling 4-byte AS number suppression
When a device that supports 4-byte AS numbers sends an Open message for peer relationship
establishment, the Optional parameters field of the message indicates that the AS number occupies
four bytes—in the range of 1 to 4294967295. If the peer device does not support 4-byte AS numbers
(for example, it supports only 2-byte AS numbers), the peer relationship cannot be established.
After you enable the 4-byte AS number suppression function, the peer device can then process the
Open message even though it does not support 4-byte AS numbers, and the IPv6 BGP peer
relationship can be established.
If the peer device supports 4-byte AS numbers, do not enable the 4-byte AS number suppression
function. Otherwise, the BGP peer relationship cannot be established.
To enable 4-byte AS number suppression:
Step
Enter system view.
1.
Enter BGP view.
2.
Enter IPv6 address
3.
family view or IPv6
BGP-VPN instance
view.
Enable 4-byte AS
4.
number suppression.
Setting the DSCP value for IPv6 BGP packets
Step
Enter system view.
1.
Enter BGP view.
2.
Enter IPv6 address
3.
family view.
Set the DSCP value
4.
for the BGP
packets sent to the
specified IPv6 peer
or peer group.
Configuring the maximum number of ECMP routes
Step
Enter system view.
1.
Enter BGP view.
2.
Command
system-view
bgp as-number
ipv6-family [ vpn-instance
vpn-instance-name ]
peer { group-name | ip-address }
capability-advertise
suppress-4-byte-as
Command
system-view
bgp as-number
ipv6-family
peer { ipv6-group-name | ipv6-address }
dscp dscp-value
Command
system-view
bgp as-number
330
Remarks
N/A
N/A
N/A
Disabled by default.
IPv6 BGP-VPN instance view
does not support the
group-name argument.
Remarks
N/A
N/A
N/A
Optional.
By default, the DSCP value in
IPv6 BGP packets is 48.
Remarks
N/A
N/A