Alcatel-Lucent 6850-48 参照ガイド

ページ / 3444
Port Mobility Commands
page 20-20
OmniSwitch CLI Reference Guide
September 2009
vlan ip
Defines an IP network address rule for an existing VLAN. If a device sends traffic that matches the IP 
address specified in the rule, the device and its mobile port will join the rule’s VLAN.
Note. On an OmniSwitch 6800, 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.
vlan vid ip ip_address [subnet_mask]
vlan vid no ip ip_address [subnet_mask]
Syntax Definitions
vid
VLAN ID number (1–4094).
ip_address
IP network address (e.g., 10.0.0.0, 171.15.0.0, 196.190.254.0)
subnet_mask
Class A, B, or C subnet mask (e.g., 255.0.0.0, 255.255.0.0, or 
255.255.255.0).
Defaults
By default, the subnet mask is set to the default subnet mask value for the IP address class.
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• Use the no form of this command to delete an IP network address rule from the specified VLAN.
• Network address rules take precedence behind DHCP, binding, and MAC address rules.
• Note that on an OmniSwitch 6800 when the contents of a mobile port frame matches the values speci-
fied in both an IP network address rule and a port-protocol binding rule, the IP network address rule 
takes precedence. However, if the contents of such frame violates the port-protocol binding rule, the 
frame is dropped.
• Use DHCP rules in combination with IP network address rules to capture and forward DHCP traffic.
• Rules are only assigned to existing VLANs. Use the vlan command to create a new VLAN.
Examples
-> vlan 10 ip 51.0.0.0 255.0.0.0
-> vlan 20 ip 21.0.0.0
-> vlan 10 no ip 21.0.0.0 255.0.0.0
-> vlan 10 no ip 51.0.0.0