l2vpn-family evpn

Function

The l2vpn-family evpn command enables the BGP-EVPN address family and displays the BGP-EVPN address family view.

The undo l2vpn-family evpn command deletes the BGP-EVPN address family view.

By default, the BGP-EVPN address family is disabled.

Format

l2vpn-family evpn

undo l2vpn-family evpn

Parameters

None

Views

BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

Before you perform configurations in the BGP-EVPN address family view, run the l2vpn-family evpn command to enable the BGP-EVPN address family and display the BGP-EVPN address family view.

Example

# Enable the BGP-EVPN address family and display the BGP-EVPN address family view.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >