b-vlan

Use b-vlan to assign a B-VLAN to an SPB VSI.

Use undo b-vlan to restore the default.

Syntax

b-vlan vlan-id

undo b-vlan

Default

No SPB VSI is assigned a B-VLAN.

Views

SPB I-SID view

Predefined user roles

network-admin

Parameters

vlan-id: Specifies a B-VLAN ID in the range of 1 to 4094.

Usage guidelines

An SPBM VSI can work only after it is assigned a B-VLAN.

You can assign only one B-VLAN to an SPBM VSI, but different SPBM VSIs can use the same B-VLAN.

For an SPBM VSI, you must specify the same I-SID and B-VLAN across all BEBs and BCBs.

Examples

# Assign B-VLAN 100 to I-SID 256.

<Sysname> system-view
[Sysname] vsi vpn1
[Sysname-vsi-vpn1] spb i-sid 256
[Sysname-vsi-vpn1-256] b-vlan 100