Switchport Mode - Zte ZXR10 Command Manual

Router/ethernet switch
Hide thumbs Also See for ZXR10:
Table of Contents

Advertisement

Instructions
Example
Related
Commands
Purpose
Command Modes
Syntax
Syntax
Description
Defaults
Instructions
Example
Related
Commands
The ports on which this command is executed must be in hybrid
mode. Otherwise, the system prompts error information.
Use the show running-config command to display informa-
tion about the configuration on the interface. If there is no
tag/untag keyword after this command, it is tag by default.
At most 4000 VLANs can be configured on each interface. Un-
der this circumstance, the efficiency of batch deletion is low.
There are at most 8 ports on which 4000 VLANs are configured.
If the number of these ports exceeds 8, the system gives a
warning.
This example describes how to add the hybrid port fei_1/1 to VLAN
10.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#switchport hybrid vlan 10
show vlan

switchport mode

Use this command to set the VLAN link mode for the port. Restore
default with the no form of this command.
Interface configuration
switchport mode {access | trunk | hybrid}
no switchport mode
access
trunk
hybrid
The Layer 2 port works in access mode.
If a trunk/hybrid port is changed to an access port, it is necessary
to delete the tag and untag VLANs of this port at the same time
because the access port can belong to one VLAN only.
This example describes how to set the VLAN link mode of the in-
terface fei_1/1 to trunk.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#switchport mode trunk
show vlan
show interface
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 VLAN Configuration
Sets a port to access (mode)
Sets a port to trunk (mode)
Sets a port to hybrid (mode)
31

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ZXR10 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF