Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 2 BGP/MPLS VPN Configuration Commands
Huawei Technologies Proprietary
2-21
2.1.23 ipv4-family
Syntax
BGP view, VPN-instance sub-address family view or VPNv4 sub-address family view:
ipv4-family
{
vpn-instance
vpn-instance-name
|
vpnv4
[
unicast
] }
undo
ipv4-family
{
vpn-instance
vpn-instance-name
|
vpnv4
[
unicast
] }
RIP view:
ipv4-family
[
unicast
]
vpn-instance
vpn-instance-name
undo
ipv4-family
[
unicast
]
vpn-instance
vpn-instance-name
View
BGP view, VPN-instance sub-address family view or VPNv4 sub-address family view,
and RIP view.
Parameter
vpn-instance vpn-instance-name
: Associates a specified VPN-instance with the
MBGP address family. This parameter is used to enter MBGP VPN-instance
subaddress family view.
vpnv4
:
Enters MBGP VPNv4 address family view.
unicast
: Uses unicast sub–address family.
Description
Use the
ipv4-family vpn-instance
command to enter MBGP VPN-instance
subaddress family view.
Use the
undo ipv4-family vpn-instance
command to delete the association of a
VPN-instance with MBGP address family, and return to BGP unicast view.
Use the
ipv4-family vpnv4
command to enter MBGP VPNv4 subaddress family view.
Use the
undo ipv4-family vpnv4
command to delete the configuration of MBGP
VPNv4 subaddress family view.
By default, unicast address is used when VPNv4 address family is configured.
By default, use the unicast address when configuring the MBGP address family.
Use this command to enter address family view and configure parameters related to
BGP address family in this view.
Related command:
peer enable
.
Example
# Associate a specified VPN-instance with MBGP address family to enter MBGP
VPN-instance subaddress family view. You must first configure VPN-instance before
you perform that configuration.