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.
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. |
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.
<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
<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