add inner-vlan
To configure VLAN stacking rule, use the add inner-vlan command in VLAN profile configuration mode. To delete the VLAN stacking rule, use the no add inner-vlan command.
add inner-vlan inner-vlan-id {priority | outer-vlan outer-vlan-id [priority] }
no add inner-vlan inner-vlan-id [priority]
Syntax Description
inner-vlan-id |
The inner VLAN ID. The range is from 0 to 4094. |
outer-vlan-id |
The outer VLAN ID. The range is from 0 to 4094. |
priority |
The 802.1 priority value. The range is from 0 to 7. |
Command Modes
VLAN profile configuration (deploy-profile-vlan)
Usage Guidelines
A VLAN profile type must be configured.
Modifying and activating the VLAN template will cause the ONT that references the template to go online again.
Examples
This example shows how to configure VLAN stacking rule.
Device> enable
Device# configure terminal
Device(config)# deploy profile vlan
Device(deploy-profile-vlan)# aim 5
Device(deploy-profile-vlan-5)# add inner-vlan 2 3 outer-vlan 2 3
Device(deploy-profile-vlan-5)# active