354
[Sysname-bgp] address-family ipv6 unicast
[Sysname-bgp-ipv6] peer test default-route-advertise
peer description
Use
peer description
to configure a description for a peer or peer group.
Use
undo peer description
to remove the description for a peer or peer group.
Syntax
peer
{
group-name
|
ip-address
|
ipv6-address
}
description
description-text
undo peer
{
group-name
|
ip-address
|
ipv6-address
}
description
Default
No description information is configured for a peer or peer group.
Views
BGP view, BGP-VPN instance view
Predefined user roles
network-admin
Parameters
group-name
: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer
group must have been created.
ip-address
: Specifies a peer by its IP address. The peer must have been created.
ipv6-address
: Specifies a peer by its IPv6 address. The peer must have been created.
description-text
: Specifies a description for a peer or peer group, a case-sensitive string of 1 to 79
characters.
Examples
# In BGP view, configure a description for the peer group
test
as
ISP1
.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test description ISP1
# In BGP-VPN instance view, configure a description for the peer group
test
as
ISP1
.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] peer test description ISP1
peer ebgp-max-hop
Use
peer ebgp-max-hop
to enable BGP to establish an EBGP session to an indirectly-connected peer or
peer group and specify the maximum hop count.
Use
undo peer ebgp-max-hop
to restore the default.
Syntax
peer
{
group-name
|
ip-address
|
ipv6-address
}
ebgp-max-hop
[
hop-count
]