Alcatel-Lucent 6850-48 ネットワークガイド

ページ / 1162
Quick Steps for Configuring IP Forwarding
Configuring IP
page 24-4
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
Quick Steps for Configuring IP Forwarding
Using only IP, which is always enabled on the switch, devices connected to ports on the same VLAN are 
able to communicate at Layer 2. The initial configuration for all Alcatel-Lucent switches consists of a 
default VLAN 1. All switch ports are initially assigned to this VLAN. In addition, when a stackable 
OmniSwitch is added to a stack of switches or a switching module is added to a chassis-based 
OmniSwitch, all ports belonging to the new switch and/or module are also assigned to VLAN 1. If addi-
tional VLANs are not configured on the switch, the entire switch is treated as one large broadcast domain, 
and all ports receive all traffic from all other ports.
Note. The operational status of a VLAN remains inactive until at least one active switch port is assigned to 
the VLAN. Ports are considered active if they are connected to an active network device. Non-active port 
assignments are allowed, but do not change the operational state of the VLAN.
To forward packets to a different VLAN on a switch, you must create a router interface on each VLAN. 
The following steps show you how to enable IP forwarding between VLANs “from scratch”. If active 
VLANs have already been created on the switch, you only need to create router interfaces on each VLAN 
(Steps 5 and 6).
Create VLAN 1 with a description (e.g., VLAN 1) by using the 
 command. For example:
-> vlan 1 name “VLAN 1”
Create VLAN 2 with a description (e.g., VLAN 2) by using the vlan command. For example:
-> vlan 2 name “VLAN 2”
Assign an active port to VLAN 1 by using the 
 command. For example, the follow-
ing command assigns port 1 on slot 1 to VLAN 1:
-> vlan 1 port default 1/1
Assign an active port to VLAN 2 by using the vlan port default command. For example, the follow-
ing command assigns port 2 on slot 1 to VLAN 2:
-> vlan 2 port default 1/2
Create an IP router interface on VLAN 1 using the 
 command. For example:
-> ip interface vlan-1 address 171.10.1.1 vlan 1
Create an IP router interface on VLAN 2 using the ip interface command. For example:
-> ip interface vlan-2 address 171.11.1.1 vlan 2
Note. See 
 for more information about how to create VLANs and 
VLAN router interfaces.