To activate a VLAN in the switch, set the VLAN egress Ethertype, set the loopback-related configuration, use the command vlan in VLAN Configuration Mode. The no form of this command resets the VLAN egress Ethertype to the default value.
Parameter | Type | Description |
---|---|---|
active |
Enter activate a VLAN in the switch. Note:
Only default VLAN (VLAN 1) is activated once the switch is started. |
|
egress |
Enter to set the VLAN Egress Ethertype. | |
ether-type |
Enter to set the VLAN Egress Ethertype. | |
STAG |
Enter to configure the secondary Ethertype as 0x9100. | |
CTAG |
Enter to configure the secondary Ethertype as 0x8100. This is the default option of CTAG (C-tag) (0x8100). | |
QINQ |
Enter to configure the secondary Ethertype as | |
user-defined |
Enter to configure the user-defined TPID as VLAN Egress
Ethertype. Note:
This value can be set only if user-defined TPID is configured. |
|
loopback |
Enter to sets the loopback status for the VLAN interface | |
enable |
Enter to enable loopback feature for the VLAN interface. When loopback is enabled, all data packets received in the vlan will be sent back in the same port from which the packets are received | |
disable |
Enter to disable loopback feature for the VLAN interface. This is default. | |
nestedvlan |
Enter to select nested vlan | |
enable |
Enter to enable loopback feature for the VLAN interface. When loopback is enabled, all data packets received in the vlan will be sent back in the same port from which the packets are received | |
disable |
Enter to disable loopback feature for the VLAN interface. This is default. |
VLAN Configuration Mode
iS5Comm(config-vlan)# vlan active
iS5Comm(config-vlan)# vlan egress ether-type CTAG
iS5Comm(config-vlan) # vlan loopback enable