St-
Command
ep
1
interface < interface-name>
ZXR10(config)#
2
ZXR10(config-if)#
{<vlan-id>|<vlan-name>}
St-
Command
ep
1
interface < interface-name>
ZXR10(config)#
2
ZXR10(config-if)#
St-
Command
ep
1
interface < interface-name>
ZXR10(config)#
2
ZXR10(config-if)#
<vlan-list>[tag|untag]
Command
switchport {pvid|tag|untag}<por
ZXR10(config-vlan)#
t-list>
Adding VLAN Member Port
Access port can join only one vlan, while trunk port and hybrid
port can join multiple vlans.
�
Joining access port to designated vlan.
switchport access vlan
�
Joining trunk port to designated vlan.
switchport trunk vlan <vlan-list>
�
Joining Hybrid port to designated vlan.
switchport hybrid vlan
�
Adding VLAN member ports in batch.
Setting Port Native VLAN
Access port only belongs to one VLAN, so its native VLAN is that it
locates and it doesn't need to set native VLAN.
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 VLAN Configuration
Function
This accesses L2 interface on
switch.
This sets the vlan where port
belongs to.
Function
This accesses L2 interface on
switch.
This sets the vlan where port
belongs to.
Function
This accesses L2 interface on
switch.
This sets the vlan where
port belongs to and specifies
whether to tag packets sent
from these vlans.
Function
This adds vlan member ports
in batch in vlan configuration
mode.
13