show vlan Reviewing Existing VLANs
Enterasys Matrix DFE-Gold Series Configuration Guide 7-3
3. AddthehostportandthedesiredswitchporttotheegresslistfortheVLANcreatedinStep1.
(“setvlanegressonpage 718)
4. Setaprivatecommunitynameandaccesspolicy.(“setsnmpcommunityonpage 516)
ThecommandsusedtocreateasecuremanagementVLANarelistedinTable 71anddescribedin
theassociatedsectionsasshown.Thisexampleassumesthemanagementstationisattachedto
fe.1.1andwantsuntaggedframes.Theprocessdescribedinthissectionwouldberepeatedon
everydevicethatisconnectedinthenetworktoensurethateachdevicehasasecuremanagement
VLAN.

Reviewing Existing VLANs

Purpose
TodisplayalistofVLANscurrentlyconfiguredonthedevice,todeterminehowoneormore
VLANswerecreated,theportsallowedanddisallowedtotransmittrafficbelongingtoVLAN(s),
andifthoseportswilltransmitthetrafficwithaVLANtagincluded.
Command

show vlan

UsethiscommandtodisplayallinformationrelatedtooneormoreVLANs.
Syntax
show vlan [static] [vlan-list]
Note: By default at device startup, there is one VLAN configured on the Matrix Series device. It is
VLAN ID 1, the DEFAULT VLAN. The default community name, which determines remote access
for SNMP management, is set to “public” with read-write access.
Table 7-1 Command Set for Creating a Secure Management VLAN
To do this... Use these commands...
Create a new VLAN and confirm settings. set vlan create 2 (“set vlan” on page 7-6)
(Optional) show vlan 2 (“show vlan” on page 7-3)
Set the PVIDs to the new VLAN. set port vlan host.0.1; fe.1.1 2 (“set port vlan” on
page 7-10)
Add the ports to the new VLAN’s egress list. set vlan egress 2 host.0.1; fe.1.1 2 untagged (“set vlan
egress” on page 7-18)
Set a private community name and access
policy and confirm settings.
set snmp community private (“set snmp community” on
page 5-16)
(Optional) show snmp community (“show snmp
community” on page 5-15)
For information about... Refer to page...
show vlan 7-3