nest top-most

Use nest top-most to configure a VLAN tag adding action to a traffic behavior.

Use undo nest top-most to restore the default.

Syntax

nest top-most vlan vlan-id

undo nest top-most

Default

No VLAN tag adding action is configured.

Views

Traffic behavior view

Predefined user roles

network-admin

mdc-admin

Parameters

vlan-id vlan-id: Specifies the ID of the VLAN tag to be added. The vlan-id argument ranges from 1 to 4094.

Usage guidelines

If a QoS policy contains a VLAN tag adding action, apply it only to the incoming traffic of an interface.

If the traffic behavior already contains a VLAN tag adding action, the new one overwrites the old one.

Examples

# Configure traffic behavior b1 to add VLAN tag 123.

<Sysname> system-view
[Sysname] traffic behavior b1
[Sysname-behavior-b1] nest top-most vlan 123