Enterasys Networks D2G124-12P Benutzerhandbuch

Seite von 496
set vlan egress
7-14 802.1Q VLAN Configuration
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-list port-string [untagged | forbidden | tagged]
Parameters
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
:
D2(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:
D2(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
:
D2(su)->set vlan egress 7 ge.1.2 untagged
clear vlan egress
Use this command to remove ports from a VLAN’s egress list.
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 
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.
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 
 
command as described on page 
.