set vlan egress

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” on page 7‐1.

untagged forbidden tagged

(Optional) Adds the specified ports as:

untagged — Causes the port(s) to transmit frames without an IEEE 802.1Q header tag.

forbidden — 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 — 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

Switch command, read‐write.

Examples

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

C3(su)->set vlan egress 7 ge.1.5-10 untagged

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

C3(su)->set vlan egress 7 ge.1.13-15 forbidden

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

C3(su)->set vlan egress 7 ge.1.2 untagged

clear vlan egress

Use this command to remove ports from a VLAN’s egress list.

Note: The following command will reset the specified port’s egress status to tagged. To set the specified ports back to the default egress status of untagged, you must issue the set vlan egress command as described on page 10-15.

SecureStack C3 Configuration Guide 10-15

Page 339
Image 339
Enterasys Networks 9034313-07 manual Set vlan egress, Clear vlan egress, Untagged forbidden tagged