peer enable(BGP-IPv4 unicast address family view) (IPv6)

Function

The peer enable command enables a BGP device to exchange routes with a specified peer group in the address family view.

The undo peer enable command disables a BGP device from exchanging routes with a specified peer group.

By default, only the IPv4 peer in the BGP IPv4 unicast address family view is automatically enabled.

Format

peer peerIpv6Addr enable

undo peer peerIpv6Addr enable

Parameters

Parameter Description Value
peerIpv6Addr

Specifies the IPv6 address of a peer.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

BGP-IPv4 unicast address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

By default, only peers in the BGP IPv4 unicast address family are automatically enabled. After the peer as-number command is used in the BGP view, the system automatically runs the peer enable command to enable a peer. In other address family view, however, a peer must be enabled manually.

The peer enable command needs to be run in the BGP-IPv4 unicast address family view to enable BGP IPv6 peer.

Configuration Impact

Enabling or disabling a BGP peer in an address family, for example, running the peer enable command or the undo peer enable command in a IPv4 address family, causes teardown and re-establishment of the BGP connection of the peer in other address families.

Example

# Enable a BGP device to exchange routes with a specified peer.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 2001:DB8:1::1 as-number 100
[*HUAWEI-bgp] ipv4-family unicast
[*HUAWEI-bgp-af-ipv4] peer 2001:DB8:1::1 enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >