Description
Use
peer dscp
to set the DSCP value for IPv6 BGP packets sent to the specified IPv6 BGP peer or
peer group.
Use
undo peer dscp
to remove the configuration.
By default, the DSCP value in BGP packets is 48.
The IPv6 BGP peer or peer group you specified must have been created.
Examples
# In BGP view, set the DSCP value for IPv6 BGP packets sent to peer group
test
to 63.
<Sysname] system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] group test external
[Sysname-bgp-af-ipv6] peer test dscp 63
peer ebgp-max-hop (IPv6 address family view)
Syntax
peer
{
ipv6-group-name
|
ipv6-address
}
ebgp-max-hop
[
hop-count
]
undo peer
{
ipv6-group-name
|
ipv6-address
}
ebgp-max-hop
View
IPv6 address family view
Default level
2: System level
Parameters
ipv6-group-name
: Name of a peer group, a string of 1 to 47 characters.
ipv6-address
: IPv6 address of a peer.
hop-count
: Maximum hop count, in the range of 1 to 255. By default, the value is 64.
Description
Use
peer ebgp-max-hop
to allow establishing the EBGP connection to a peer/peer group indirectly
connected.
Use
undo peer ebgp-max-hop
to remove the configuration.
By default, this feature is disabled.
You can use the argument
hop-count
to specify the maximum router hops of the EBGP connection.
Examples
# Allow establishing the EBGP connection with the peer group
test
on an indirectly connected
network.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] group test external
[Sysname-bgp-af-ipv6] peer test ebgp-max-hop
386