Set Port Vlan; Clear Port Vlan - Enterasys D2 D2G124-12P Cli Reference Manual

D-series ethernet switches
Table of Contents

Advertisement

set port vlan

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
port‐string
pvid
modify‐egress
no‐modify‐egress (Optional) Does not prompt for or make egress list changes.
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
7-8 802.1Q VLAN Configuration
Specifies the port(s) for which to configure a VLAN identifier. For a detailed 
description of possible port‐string values, refer to "Port String Syntax Used 
in the CLI" on page 4‐1.
Specifies the VLAN ID of the VLAN to which port(s) will be added.
(Optional) Adds port(s) to VLANʹs untagged egress list and removes them 
from other untagged egress lists.
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 7-8.
Specifies the port(s) to be reset to the host VLAN ID 1. For a detailed 
description of possible port‐string values, refer to "Port String Syntax Used 
in the CLI" on page 4‐1.
set port vlan

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterasys d2 d2g124-12D2g124-12D2g124-12p

Table of Contents