GE ML1200 Configuring Tag VLANs through the Command Line Interface, Show-port port=portlistrange

Models: ML1200

1 344
Download 344 pages 51.98 Kb
Page 174
Image 174

VLAN

CHAPTER 10: VLAN

10.4 Configuring Tag VLANs through the Command Line Interface

10.4.1 Description

The VLAN information needs to be propagated on to other switches when multiple switches are connected on a network. In these situations it is best to use tag-based VLANs.

10.4.2 Commands

The set-portcommand for setting Tag VLANs has the following parameters. The default id parameter sets the default VLAN id (termed PVID in previous versions). The default VLAN id is the VLAN id assigned to the untagged packets received on that port. For the MultiLink ML1200 Managed Field Switch, the default VLAN id is 1

set-portport=<numberlistrange> default id=<number>

The filter parameter enables or disables the VLAN filtering function. When enabled, the switch will drop the packets coming in through a port if the port is not a member of the VLAN. For example, if port 1 is a member of VLANs 10, 20 and 30, if a packet with VLAN id 40 arrives at port 1 it will be dropped.

set-portport=<numberlistrange> filter status=<enabledisable>

The tagging id and status parameters define whether the outgoing packets from a port will be tagged or untagged. This definition is on a per VLAN basis. For example, the command set-port port=1 tagging id=10 status=tagged will instruct the switch to tag all packets going out of port 1 to belong to VLAN 10.

set-portport=<numberlistrange>

tagging id=<number> status=<taggeduntagged>

The join id parameter adds the specified port(s) to the specified VLAN id. This parameter works with active or pending VLANs.

set-portport=<numberlistrange> join id=<number>

The leave id parameter releases a specific port from a VLAN. For example if port 1 belongs to VLAN 10, 20, 30, 40 the command set-port port=1 leave id=40 makes port 1 belong to VLAN 10, 20, 30, dropping VLAN 40.

set-portport=<numberlistrange> leave id=<number>

The show-portcommand lists all parameters related to tag VLAN for the list of ports. If the port parameter is omitted, it will display all ports.

show-port [port=<portlistrange>]

To move Management Control on any VLAN:

add id=<vlan Id> [name=<vlan name>] port=<numberlistrange> [Forbid=<numberlistrange>][<mgtnomgt>]

To enable or disable Management Control on any VLAN:

edit id=<vlan Id>[name=<vlan name>][port=<numberlistrange>[<mgtnomgt>]

10–12

MULTILINK ML1200 MANAGED FIELD SWITCH – INSTRUCTION MANUAL

Page 174
Image 174
GE ML1200 instruction manual Configuring Tag VLANs through the Command Line Interface, Show-port port=portlistrange