ipv4-family
Function
The ipv4-family command enables the IPv4 address family of BGP, and then displays the address family view.
The undo ipv4-family command deletes the configurations in the IPv4 address family.
By default, the BGP-IPv4 unicast address family view is displayed.
Parameters
Parameter | Description | Value |
---|---|---|
unicast | Displays the unicast address family view. | - |
multicast | Displays the multicast address family view. | - |
Usage Guidelines
Usage Scenario
Before performing BGP configurations in an IPv4 address family, you need to run the ipv4-family command in the BGP view to enable the IPv4 address family, and then enter the address family view. By default, BGP uses the IPv4 unicast address family.
Precautions
To disable the IPv4 unicast address family from being the default BGP route, run the undo default ipv4-unicast command.