Enterasys Networks 9034313-07 Set port vlan, Clear port vlan, Modify‐egress, No‐modify‐egress

Models: 9034313-07

1 872
Download 872 pages 24.54 Kb
Page 333
Image 333

set port vlan

ge.2.5 is set to 1 ge.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

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

 

 

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).

C3(su)->set vlan create 4

C3(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.

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 10-9.

Syntax

clear port vlan port-string

SecureStack C3 Configuration Guide 10-9

Page 333
Image 333
Enterasys Networks 9034313-07 manual Set port vlan, Clear port vlan, Modify‐egress, No‐modify‐egress