Alcatel-Lucent 6850-48 Guida Di Rete

Pagina di 1162
Sample VLAN Configuration
Configuring VLANs
page 4-4
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
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
                          stree                         mble
vlan  type admin oper  1x1    flat    auth   ip   ipx   tag   name
----+-----+-----+----+-----+--------+------+----+-----+-----+--------------
 1    std    on   on   on      on      off   NA   off   off   VLAN 1
 2    gvrp   on   on   off     off     off   NA   off   off   GVRPVLAN 2
 3    ipmv   on   on   off     off     off   NA   off   off   IPMVVLAN 3
 4    vstk   on   on   on      on      off   NA   off   off   SVLAN 4
Create VLAN 255 with a description (e.g., Finance IP Network) using the following command:
-> vlan 255 name “Finance IP Network”
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
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 
 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 th
 command. For example:
-> show vlan 255 port
  port     type      status
--------+---------+--------------
   3/2    default   inactive
   3/3    default   inactive
3/4
 default   inactive