|
|
|
| Command Set Lists | |
|
|
|
|
|
|
| vlan database | P | Enter VLAN configure | switch#vlan database |
|
|
|
| mode |
|
|
| Vlanmode | V | To set switch VLAN | switch(vlan)#vlanmode portbase |
|
| [portbase 802.1q gvrp] |
| mode. | or |
|
|
|
|
| switch(vlan)#vlanmode 802.1q |
|
|
|
|
| or |
|
|
|
|
| switch(vlan)#vlanmode gvrp |
|
| no vlan | V | No VLAN | Switch(vlan)#no vlan |
|
| Ported based VLAN configuration |
|
|
| |
| vlan | V | Add new port based | switch(vlan)#vlan |
|
| [Group Name] |
| VALN | test grpid 2 port |
|
| grpid |
|
| or |
|
| [GroupID] |
|
| switch(vlan)#vlan |
|
| port |
|
| test grpid 2 port 2,3,4 |
|
| [PortNumbers] |
|
|
|
|
| show vlan [GroupID] | V | Show VLAN information | switch(vlan)#show vlan 23 |
|
| or |
|
|
|
|
| show vlan |
|
|
|
|
| no vlan group | V | Delete port base group ID | switch(vlan)#no vlan group 2 |
|
| [GroupID] |
|
|
|
|
| IEEE 802.1Q VLAN |
|
|
|
|
| vlan 8021q name | V | Change the name of | switch(vlan)#vlan 8021q name test vid |
|
| [GroupName] |
| VLAN group, if the group | 22 |
|
| vid |
| didn’t exist, this command |
|
|
| [VID] |
| can’t be applied. |
|
|
| vlan 8021q port | V | Assign a access link for | switch(vlan)#vlan 8021q port 3 |
|
| [PortNumber] |
| VLAN by port, if the port |
|
|
|
| belong to a trunk group, |
|
| |
| [UntaggedVID] |
| this command can’t be |
|
|
|
|
| applied. |
|
|
| vlan 8021q port | V | Assign a trunk link for | switch(vlan)#vlan 8021q port 3 |
|
| [PortNumber] |
| VLAN by port, if the port |
|
|
|
| belong to a trunk group, | or |
| |
| [TaggedVID List] |
| this command can’t be | switch(vlan)#vlan 8021q port 3 |
|
|
|
| applied. |
|
|
| vlan 8021q port | V | Assign a hybrid link for | switch(vlan)#vlan 8021q port 3 |
|
| [PortNumber] |
| VLAN by port, if the port |
|
|
|
| belong to a trunk group, | or |
| |
| [UntaggedVID] |
| this command can’t be | switch(vlan)#vlan 8021q port 3 |
|
| tag |
| applied. |
|
|
| [TaggedVID List] |
|
|
|
|
| vlan 8021q trunk | V | Assign a access link for | switch(vlan)#vlan 8021q trunk 3 |
|
| [PortNumber] |
| VLAN by trunk group |
| |
|
|
|
|
| |
| [UntaggedVID] |
|
|
|
|
| vlan 8021q trunk | V | Assign a trunk link for | switch(vlan)#vlan 8021q trunk 3 |
|
| [PortNumber] |
| VLAN by trunk group |
| |
|
|
| or |
| |
| [TaggedVID List] |
|
| switch(vlan)#vlan 8021q trunk 3 |
|
|
|
|
|
|
|
| vlan 8021q trunk | V | Assign a hybrid link for | switch(vlan)#vlan 8021q trunk 3 |
|
| [PortNumber] |
| VLAN by trunk group |
|