set vlan egress

Use this command to add ports to the VLAN egress list for the device, or to prevent one or more ports from participating in a VLAN. This determines which ports will transmit frames for a particular VLAN.

Syntax

set vlan egress vlan-listport-string [untagged | forbidden | tagged]

Parameters

vlan-list Specifies the VLAN where a port(s) will be added to the egress list.
port-string Specifies one or more ports to add to the VLAN egress list of the specified vlan-list. For a detailed description of possible port-string values, refer to Port String Syntax Used in the CLI in the S-, K-, and 7100 Series Configuration Guide.
untagged (Optional) Adds the specified port(s) as untagged which causes the port(s) to transmit frames without an IEEE 802.1Q header tag.
forbidden (Optional) Adds the specified port(s) as forbidden, which instructs the device to ignore dynamic requests (either through GVRP or dynamic egress) from the port(s) to join the VLAN and disallows egress on that port.
tagged (Optional) Adds the specified port(s) as tagged, which causes the port(s) to transmit 802.1Q tagged frames.

Defaults

If untagged, forbidden or tagged is not specified, the port will be added to the VLAN egress list as tagged.

Mode

All command modes.

Examples

This example shows how to add ports 5 through 10 to the egress list of VLAN 7. This means that these ports will transmit VLAN 7 frames as tagged:

System(rw)->set vlan egress 7 ge.1.5-10

This example shows how to forbid ports 13 through 15 from joining VLAN 7 and disallow egress on those ports:

System(rw)->set vlan egress 7 ge.1.13-15 forbidden

This example shows how to allow port 2 to transmit VLAN 7 frames as untagged:

System(rw)->set vlan egress 7 ge.1.2 untagged