vlanmode [disable | VLAN | To set switch VLAN |
|
|
|
| |
mode .Use the no form of |
|
| Switch (vlan)# | ||||
portbase 802.1q | database | Disable | |||||
this command to restore | vlanmode 802.1q | ||||||
gvrp] | mode |
|
| ||||
to default. |
|
|
|
| |||
|
|
|
|
|
| ||
|
|
|
|
|
|
| |
Port Base VLAN |
|
|
|
|
|
| |
|
|
|
|
|
|
| |
vlan [Group Name] | VLAN |
|
|
|
| Switch | |
|
|
|
| (vlan)# vlan | |||
grpid [Group ID] | database | Add new Port Base VLAN |
|
| |||
|
| v2 grpid 2 | |||||
port [Port Number] | mode |
|
|
|
| ||
|
|
|
| port | |||
|
|
|
|
|
| ||
|
|
|
|
|
|
| |
no vlan Group | VLAN |
|
|
|
| Switch | |
database | Delete port base VLAN group |
|
| (vlan)# no | |||
Name] [Group ID] |
|
| |||||
mode |
|
|
|
| vlan v2 2 | ||
|
|
|
|
| |||
|
|
|
|
|
|
| |
show vlan | VLAN |
|
|
|
| Switch | |
[GroupName] | Show VLAN of Group Name |
|
| (vlan)# | |||
database |
|
| |||||
[GroupID] or show | or Group ID information |
|
| Show vlan | |||
mode |
|
| |||||
vlan |
|
|
|
| v2 2 | ||
|
|
|
|
| |||
|
|
|
|
|
|
| |
vlan [Group name] | VLAN | Set the port of some port |
|
| Switch | ||
add [port Number] | database |
|
| (vlan)# vlan | |||
group tagged or untagged |
|
| |||||
[tagged untagged] | mode |
|
| v2 add 5 | |||
|
|
|
| ||||
|
|
|
|
|
|
| |
vlan [Group name] | VLAN | Remove the port from it’s port |
|
| Switch | ||
delete [port | database |
|
| (vlan)# vlan | |||
group. |
|
| |||||
Number] | mode |
|
| v2 delete 5 | |||
|
|
|
| ||||
|
|
|
|
|
| ||
| 802.1Q 802.1Q with GVRP VLAN mode |
|
| ||||
|
|
|
|
|
|
| |
vlan [Group name] |
| Add new 802.1Q VLAN |
|
| Switch(vlan | ||
|
|
|
|
|
| ||
| VLAN | [VLAN name]: |
|
| )# vlan v2 | ||
vlanid [Vlan ID] port |
|
|
| ||||
|
|
| vlanid 2 | ||||
database |
|
|
|
| |||
|
|
|
|
| |||
[port Number] tag |
|
|
|
|
| ||
mode | VLAN name |
|
| port | |||
|
|
| |||||
|
|
|
|
|
| ||
[port Number] |
| [VLAN ID]: 1 ~ 4094 |
|
| tag | ||
|
|
|
| ||||
|
|
|
|
|
|
|