280
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
]
undo peer
{
group-name
|
ip-address
|
ipv6-address
}
ebgp-max-hop
Default
BGP does not establish an EBGP session to an indirectly-connected peer or peer group.
Views
BGP view, BGP-VPN instance view
Predefined user roles
network-admin