The peer enable command enables a device to exchange route information with a peer or peer group in the address family view.
The undo peer enable command disables a device from exchanging route information with a peer or peer group.
By default, only the peers of the BGP-IPv4 unicast address family are automatically enabled.
Parameter | Description | Value |
---|---|---|
group-name | Specifies the name of a peer group. | The name is a string of 1 to 47 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
ipv4-address | Specifies the IPv4 address of a peer. | The value is in dotted decimal notation. |
Usage Scenario
By default, only the peers of the BGP-IPv4 unicast address family are automatically enabled. After the peer as-number command is run in the BGP view, the system automatically runs the peer enable command to enable a peer. In the BGP EVPN address family view, the peer enable command must be manually run to enable a peer.
Prerequisites
The peer as-number command has been run to create a peer or peer group.