
Configuring VLANs Sample VLAN Configuration
OmniSwitch 6800/6850/9000 Network Configuration Guide June 2006 page 5-3
Sample VLAN Configuration
The following steps provide a quick tutorial that will create VLAN 255. Also included are steps to define
a VLAN description, IP router interface, and static switch port assignments.
Note. Optional. Creating a new VLAN involves specifying a VLAN ID that is not already assigned to an
existing VLAN. To determine if a VLAN already exists in the switch configuration, enter show vlan. If
VLAN 255 does not appear in the show vlan output, then it does not exist on the switch. For example,
-> show vlan
mble
vlan admin oper stree auth ip ipx tag name
+------+------+------+-------+-----+----+----+------+----------+
1 on off on off off NA off VLAN 1
30 on off on off off NA on VLAN 30
400 on off on off off NA on VLAN 400
1 Create VLAN 255 with a description (e.g., Finance IP Network) using the following command:
-> vlan 255 name “Finance IP Network”
2 Define an IP router interface using the following command to assign an IP host address of 21.0.0.10 to
VLAN 255 that will enable routing of VLAN traffic to other subnets:
-> ip interface vlan-255 address 21.0.0.10 vlan 255
3 Assign switch ports 2 through 4 on slot 3 to VLAN 255 using the following command:
-> vlan 255 port default 3/2-4
Note. Optional. To verify the VLAN 255 configuration, use the show vlan command. For example:
-> show vlan 255
Name : Finance IP Network,
Administrative State: enabled,
Operational State : disabled,
1x1 Spanning Tree State : enabled,
Flat Spanning Tree State : enabled,
Authentication : disabled,
IP Router Port : 21.0.0.10 255.0.0.0 forward e2,
IPX Router Port : none
Mobile Tag : off
To verify that ports 3/2-4 were assigned to VLAN 255, use the show vlan port command. For example:
-> show vlan 255 port
port type status
--------+---------+--------------
3/2 default inactive
3/3 default inactive
3/4 default inactive
Comentarios a estos manuales