Set port vlan, Clear port vlan, Set port vlan -9 clear port vlan -9 – Enterasys Networks D-Series User Manual

Page 281

Advertising
background image

set port vlan

Enterasys D-Series CLI Reference

9-9

fe

.2.5 is set to 1

fe

.2.6 is set to 1

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

port‐string

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 6‐1.

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

set port vlan

command as described on page

9-9

.

Advertising