Switchport Access Vlan - Zte ZXR10 Command Manual

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

Advertisement

Syntax
Description
Instructions
Example
Related
Commands
Purpose
Command Modes
Syntax
Syntax
Description
Defaults
Instructions
Example
no switchport {pvid | untag | tag}<port-list>
pvid
tag
untag
<port-list>
The configuration of the PVID takes effect o0n all ports. The config-
uration of the tag port takes effect on ports in trunk/hybrid mode.
The configuration of the untag port takes effect on hybrid ports.
If the mode is wrong, the system prompts error information for
users.
This example describes how to set the PVID of ports 1~10 on the
line interface board fei_1 to 2.
ZXR10(config)#vlan 2
ZXR10(config-vlan)#switchport pvid fei_1/1-10
show vlan

switchport access vlan

Use this command to add the access port to some VLAN. If the
VLAN does not exist, it is created. Remove the access port from a
VLAN with the no form of this command.
Interface configuration
switchport access vlan {<vlan-id>|<vlan-name>}
no switchport access vlan
<vlan-id>
<vlan-name>
The Layer 2 port is in VLAN 1 by default.
Use the show running-config command to display information
about the configuration on the interface.
This example describes how to add the access port fei_1/1 to vlan
10.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#switchport access vlan 10
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 VLAN Configuration
Sets the PVID of a port
Sets the port in the VLAN to untag
Sets the port in the VLAN to tag
Port list
VLAN ID, range: 1~4094
VLAN name
29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents