pbb backbone-source-mac

Function

The pbb backbone-source-mac command configures a B-MAC address.

The undo pbb backbone-source-mac command deletes a B-MAC address.

By default, no B-MAC address is configured.

Format

pbb backbone-source-mac mac-address

undo pbb backbone-source-mac mac-address

undo pbb backbone-source-mac

Parameters

Parameter Description Value
mac-address

Specifies a B-MAC address.

The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros. For example, e0 is displayed as 00e0. The MAC address cannot be 0000-0000-0000.

Views

B-EVPN instance view, I-EVPN instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

PBB-EVPN uses the MAC-in-MAC technique to forward user packets over an EVPN. Specifically, PBB-EVPN adds backbone MAC (B-MAC) addresses before customer MAC (C-MAC) addresses in user packets and enables PEs to transmit these user packets based only on these B-MAC addresses. PEs' control planes have to learn only the B-MAC addresses of other PEs.

Precautions

If an I-EVPN instance does not have an I-tag, it cannot have a B-MAC address configured.

Example

# Configure a B-MAC address in a B-EVPN instance.
<HUAWEI> system-view
[~HUAWEI] evpn vpn-instance vrf1 b-evpn
[*HUAWEI-b-evpn-evpn-instance-vrf1] route-distinguisher 100:1
[*HUAWEI-b-evpn-evpn-instance-vrf1] pbb backbone-source-mac 00e0-fc12-3456
# Configure a B-MAC address in a I-EVPN instance.
<HUAWEI> system-view
[~HUAWEI] evpn vpn-instance vrf2 i-evpn
[*HUAWEI-i-evpn-evpn-instance-vrf2] pbb i-tag 100
[*HUAWEI-i-evpn-evpn-instance-vrf2] pbb backbone-source-mac 00e0-fc12-7890
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >