< Home

ipv6-family

Function

The ipv6-family command enables a BGP IPv6 address family and displays the address family view.

The undo ipv6-family command removes all configurations in the related address family view.

By default, the BGP IPv6 unicast address family is enabled.

Format

ipv6-family [ unicast | vpn-instance vpn-instance-name ]

undo ipv6-family [ unicast | vpn-instance vpn-instance-name ]

Parameters

Parameter Description Value

unicast

Indicates the unicast address family view.

-

vpn-instance vpn-instance-name

Binds the specified VPN instance with the IPv6 address family. You can enter the BGP-VPN instance IPv6 address family view by using the parameter.

-

Views

BGP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before performing BGP configurations in an IPv6 address family, you need to run the ipv6-family command in the BGP view to enable the IPv6 address family, and then enter the address family view.

Precautions

If no parameter is specified, the IPv6 unicast address family view is displayed by default. The undo ipv6-family command without any parameter is used to delete configurations in the BGP-IPv6 unicast address family view.

Example

# Enter the BGP-IPv6 unicast address family view.

<sysname> system-view
[sysname] bgp 100
[sysname-bgp] ipv6-family
[sysname-bgp-af-ipv6]

# Enter the BGP-VPN instance IPv6 address family view.

<sysname> system-view
[sysname] bgp 100
[sysname-bgp] ipv6-family vpn-instance vrf1
[sysname-bgp6-vrf1]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >