GE ML2400 Switch User Manual

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.
For versions 1.6.1 and below, the use of tag VLANs needed the set-ingress and set-
egress commands to set the flow of incoming and outgoing traffic. These commands
are defunct as of MultiLink Switch Software version 1.6.1. For legacy purposes, these
commands will still work with release 1.6.1 (and will print a message on the screen
indicating the commands are deprecated), however, GE strongly recommends avoiding
these commands and using the
set-port command instead.
10.4.2 Commands
The set-port command 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
Multilink family of switches, the default VLAN id is 1
set-port port=<number|list|range>
default id=<number>
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-port port=<number|list|range>
filter status=<enable|disable>
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
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-port port=<number|list|range>
tagging id=<number> status=<tagged|untagged>
join id parameter adds the specified port(s) to the specified VLAN id. This parameter
works with active or pending VLANs.
set-port port=<number|list|range>
join id=<number>
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-port port=<number|list|range>
leave id=<number>
show-port command lists all parameters related to tag VLAN for the list of ports. If
port parameter is omitted, it will display all ports.
show-port [port=<port|list|range>]