peer enable (IPv6 address family view)
Syntax
peer
{
ipv4-group-name
|
ipv4-address
|
ipv6-address
}
enable
undo peer
{
ipv4-group-name
|
ipv4-address
|
ipv6-address
}
enable
View
IPv6 address family view
Default level
2: System level
Parameters
ipv4-group-name
: Name of an IPv4 peer group, a string of 1 to 47 characters. The IPv4 peer group
should be created beforehand.
ipv4-address
: IPv4 address of a peer.
ipv6-address
: IPv6 address of a peer.
Description
Use
peer enable
to enable an IPv4 peer or peer group.
Use
undo peer enable
to disable an IPv4 peer or peer group.
By default, no IPv4 peer or peer group is enabled.
If an IPv4 peer or peer group is disabled, the router will not exchange routing information with it.
Examples
# Enable peer 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1.1.1.1 enable
# Enable peer 1::1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1::1 group group1
[Sysname-bgp-af-ipv6] peer 1::1 enable
peer fake-as (IPv6 address family view)
Syntax
peer
{
ipv6-group-name
|
ipv6-address
}
fake-as
as-number
undo peer
{
ipv6-group-name
|
ipv6-address
}
fake-as
View
IPv6 address family view
Default level
2: System level
387