Port -Based Vlan Configuration Commands; Port; Port Access Vlan - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

40

port

Syntax
View
Parameter
Description
Related command:
Example

port access vlan

Syntax
View
Parameter
P
-B
ORT
ASED
C
OMMANDS
port interface-list
undo port interface-list
VLAN interface view
interface interface-list: Ethernet interface list, in the format of { interface-type
interface-number [ to interface-type interface-number ] }&<1-10>, where
&<1-10> means that you can specify up to 10 port ranges.
Use the
command to add one Access port or a group of Access ports to a
port
VLAN. Use the undo port command to remove one Access port or a group of
Access ports from a VLAN.
Note:
This command is only applicable to Access ports.
All ports have their default link type configured as Access, however, users can
manually configure the port type. For more information, refer to "port
link-type" on page 642.
display vlan.
# Add the ports from Ethernet 1/1 to Ethernet 1/3 to VLAN 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] port ethernet 1/1 to ethernet 1/3
port access vlan vlan-id
undo port access vlan
Ethernet interface view, port group view
vlan-id : VLAN ID, in the range 1 to 4094.
VLAN C
ONFIGURATION

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents