Set port vlan, Clear port vlan, Set port vlan -8 clear port vlan -8 – Enterasys Networks Enterasys D2 D2G124-12P User Manual
Page 252
set port vlan
7-8 802.1Q VLAN Configuration
set port vlan
Use this command to configure the PVID (port VLAN identifier) for one or more ports.
Syntax
set port vlan port-string pvid [modify-egress | no-modify-egress]
Parameters
Defaults
None.
Mode
Switch command, read‐write.
Usage
The PVID is used to classify untagged frames as they ingress into a given port.
Example
This example shows how to add ge.1.10 to the port VLAN list of VLAN 4 (PVID 4).
D2(su)->set vlan create 4
D2(su)->set port vlan ge.1.10 4 modify-egress
clear port vlan
Use this command to reset a port’s 802.1Q port VLAN ID (PVID) to the host VLAN ID 1.
Syntax
clear port vlan port-string
Parameters
port‐string
Specifies the port(s) for which to configure a VLAN identifier. For a detailed
description of possible port‐string values, refer to “
pvid
Specifies the VLAN ID of the VLAN to which port(s) will be added.
modify‐egress
(Optional) Adds port(s) to VLANʹs untagged egress list and removes them
from other untagged egress lists.
no‐modify‐egress (Optional) Does not prompt for or make egress list changes.
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
port‐string
Specifies the port(s) to be reset to the host VLAN ID 1. For a detailed
description of possible port‐string values, refer to “