Alcatel-Lucent 6850-48 网络指南

下载
页码 1162
Configuring VLAN Rule Definitions
Defining VLAN Rules
page 8-16
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
Defining IP Network Address Rules
IP network address rules capture frames that contain a source IP subnet address that matches the IP subnet 
address specified in the rule. If DHCP is used to provide client workstations with an IP address, consider 
using one of the DHCP rules in combination with an IP network address rule. Se
 for an example of how IP network address and DHCP rules are used in a typi-
cal network configuration.
Note. IP network address rules are applied to traffic received on both mobile and fixed (non-mobile) ports. 
As a result, fixed port traffic that contains an IP address that is included in the IP subnet specified by the 
rule is dropped. However, if the IP network address rule VLAN is also the default VLAN for the fixed 
port, then the fixed port traffic is forwarded and not dropped.
To define an IP network address rule, enter vlan followed by an existing VLAN ID then ip followed by a 
valid IP network address and an optional subnet mask. For example, the following command creates an IP 
network address rule for VLAN 1200:
-> vlan 1200 ip 31.0.0.0 255.0.0.0
In this example, frames received on any mobile port must contain a network 31.0.0.0 source IP address 
(e.g., 31.0.0.10, 31.0.0.4) to qualify for dynamic assignment to VLAN 1200.
If a subnet mask is not specified, the default class for the IP address is used (Class A, B, or C). For exam-
ple, either one of the following commands will create an IP network address rule for network 134.10.0.0:
-> vlan 1200 ip 134.10.0.0 255.255.0.0
-> vlan 1200 ip 134.10.0.0
The pool of available internet IP addresses is divided up into three classes, as shown in the following table. 
Each class includes a range of IP addresses. The range an IP network address belongs to determines the 
default class for the IP network when a subnet mask is not specified.
Use the no form of the 
 command to remove an IP network address rule. 
-> vlan 1200 no ip 134.10.0.0 
Defining IPX Network Address Rules
IPX network address rules capture frames that contain an IPX network address and encapsulation that 
matches the IPX network and encapsulation specified in the rule. This rule only applies to devices that 
already have an IPX network address assigned.
To define an IPX network address rule, enter vlan followed by an existing VLAN ID then ipx followed by 
a valid IPX network number and an optional encapsulation parameter value. For example, the following 
command creates an IPX network address rule for VLAN 1200:
-> vlan 1200 ipx a010590c novell
Network Range
Class
1.0.0.0 - 126.0.0.0
A
128.1.0.0 - 191.254.0.0
B
192.0.1.0 - 223.255.254.0
C