The peer enable command enables a BGP device to exchange routes with a specified peer or peer group in the address family view.
The undo peer enable command disables a BGP device from exchanging routes with a specified peer or peer group.
By default, the function is disabled.
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.
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 VPNv4 address family, causes teardown and re-establishment of the BGP connection of the peer in other address families.