PORT-BASED VLAN CONFIGURATION

40 COMMANDS

port

Syntax port interface-list

undo port interface-list

View VLAN interface view

Parameter interface interface-list: Ethernet interface list, in the format of { interface-typeinterface-number[ to interface-typeinterface-number] }&<1-10>, where &<1-10> means that you can specify up to 10 port ranges.

Description Use the port command to add one Access port or a group of Access ports to a 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.

Related command: display vlan.

Example # 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

Syntax port access vlan vlan-id

undo port access vlan

View Ethernet interface view, port group view

Parameter vlan-id : VLAN ID, in the range 1 to 4094.

Page 639
Image 639
3Com MSR 50, MSR 30 manual PORT-BASED Vlan Configuration Commands, Port access vlan