R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
286
By default, the unicast keyword is used if neither the multicast keyword nor the unicast keyword is
specified.
Examples
# In BGP view, create the BGP IPv4 unicast address family and enter its view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family ipv4 unicast
[Sysname-bgp-ipv4]
# In BGP-VPN instance view, create the BGP-VPN IPv4 unicast address family and enter its view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] address-family ipv4 unicast
[Sysname-bgp-ipv4-vpn1]
# In BGP view, create the BGP IPv4 multicast address family and enter its view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family ipv4 multicast
[Sysname-bgp-mul-ipv4]
address-family ipv6
Use address-family ipv6 to create the BGP IPv6 unicast address family, BGP-VPN IPv6 unicast address
family, or BGP IPv6 multicast address family, and enter its view.
Use undo address-family ipv6 to remove the BGP IPv6 unicast address family, BGP-VPN IPv6 unicast
address family, or BGP IPv6 multicast address family, and all the configurations of the specified address
family.
Syntax
In BGP view:
address-family ipv6 [ multicast | unicast ]
undo address-family ipv6 [ multicast | unicast ]
In BGP-VPN instance view:
address-family ipv6 [ unicast ]
undo address-family ipv6 [ unicast ]
Default
The BGP IPv6 unicast address family, BGP-VPN IPv6 unicast address family, or BGP IPv6 multicast
address family is not created.
Views
BGP view, BGP-VPN instance view
Predefined user roles
network-admin