362
[Sysname] bgp 100
[Sysname-bgp] group test external
[Sysname-bgp] peer 10.1.1.1 group test as-number 2004
# In BGP-VPN instance view, add peer 10.1.1.1 to the EBGP peer group
test
.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] group test external
[Sysname-bgp-vpn1] peer 10.1.1.1 group test as-number 2004
# In BGP view, add peer 1::1 to the EBGP peer group
test
.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test external
[Sysname-bgp] peer 1::1 group test as-number 2004
# In BGP-VPN instance view, add peer 1::1 to the EBGP peer group
test
.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] group test external
[Sysname-bgp-vpn1] peer 1::1 group test as-number 2004
Related commands
•
group
•
peer as-number
•
peer enable
peer ignore
Use
peer ignore
to disable BGP session establishment with a peer or peer group.
Use
undo peer ignore
to restore the default.
Syntax
peer
{
group-name
|
ip-address
|
ipv6-address
}
ignore
undo peer
{
group-name
|
ip-address
|
ipv6-address
}
ignore
Default
BGP can establish a session to 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.
Содержание 5900
Страница 554: ...541 Sysname Vlan interface100 isis ipv6 enable 1 ...