Port; Port Access Vlan - H3C S7500E Series Command Reference Manual

Lan switching
Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Field
VLAN passing
Tagged
Untagged

port

Syntax
port interface-list
undo port interface-list
View
VLAN view
Default Level
2: System level
Parameters
interface interface-list: Specifies an Ethernet port list, in the format of interface-list = { interface-type
interface-number [ to interface-type interface-number ] }&<1-10>, where &<1-10> indicates that you
can specify up to 10 ports or port ranges.
Description
Use the port command to assign the specified access port(s) to the current VLAN.
Use the undo port command to remove the specified access port(s) from the current VLAN.
By default, all ports are in VLAN 1.
Note that:
This command is only applicable on access ports.
All ports are access ports by default. However, you can manually configure the port type. For more
information, see port link-type.
You cannot assign a Layer 2 aggregate interface to the current VLAN.
Related commands: display vlan.
Examples
# Assign GigabitEthernet 2/0/1 through GigabitEthernet 2/0/3 to VLAN 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] port gigabitethernet 2/0/1 to gigabitethernet 2/0/3

port access vlan

Syntax
port access vlan vlan-id
undo port access vlan
VLANs whose packets are allowed to pass through the port.
VLANs whose packets are required to pass through the port tagged.
VLANs whose packets are required to pass through the port untagged.
13-12
Description

Advertisement

Table of Contents
loading

Table of Contents