address-family ipv6

Use address-family ipv6 to create and enter BGP IPv6 unicast address family view or BGP-VPN IPv6 unicast address family view.

Use undo address-family ipv6 to remove all configurations in BGP IPv6 unicast address family view or BGP-VPN IPv6 unicast address family view.

Syntax

address-family ipv6 [ unicast ]

undo address-family ipv6 [ unicast ]

Default

The BGP IPv6 unicast address family view or BGP-VPN IPv6 unicast address family view is not created.

Views

BGP view, BGP-VPN instance view

Predefined user roles

network-admin

mdc-admin

Parameters

unicast: Specifies the IPv6 unicast address family view. The IPv6 unicast address family view is specified for the command regardless of whether the unicast keyword is specified.

Usage guidelines

Configurations made in BGP IPv6 unicast address family view apply to only the BGP IPv6 unicast routes and peers of the public network.

Configurations made in BGP-VPN IPv6 unicast address family view apply to only the BGP IPv6 unicast routes and peers of the specified VPN instance.

Examples

# In BGP view, create and enter BGP IPv6 unicast address family view.

<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family ipv6 unicast
[Sysname-bgp-ipv6]

# In BGP-VPN instance view, create and enter BGP-VPN IPv6 unicast address family view.

<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] address-family ipv6 unicast
[Sysname-bgp-ipv6-vpn1]