3com WX1200 用户手册

下载
页码 646
160
C
HAPTER
 7: IP S
ERVICES
 C
OMMANDS
set interface
Configures an IP interface on a VLAN.
Syntax —
 set interface  vlan-id  ip 
{ip-addr mask | ip-addr/mask-length}
„
vlan-id
 — VLAN name or number. 
„
ip-addr mask
 — IP address and subnet mask in dotted decimal 
notation (for example, 10.10.10.10 255.255.255.0).
„
ip-addr/mask-length
 — IP address and subnet mask length in CIDR 
format (for example, 10.10.10.10/24).
Defaults — None.
Access — Enabled.
History— Introduced in MSS Version 3.0.
Usage — You can assign one IP interface to each VLAN.
If an interface is already configured on the VLAN you specify, this 
command replaces the interface. If you replace an interface that is in use 
as the system IP address, replacing the interface can interfere with system 
tasks that use the system IP address, including the following:
„
Mobility domain operations
„
Topology reporting for dual-homed MAP access points
„
Default source IP address used in unsolicited communications such as 
AAA accounting reports and SNMP traps
Examples — The following command configures IP interface 
10.10.10.10/24 on VLAN default:
WX1200# set interface default ip 10.10.10.10/24
success: set ip address 10.10.10.10 netmask 255.255.255.0 on vlan default
The following command configures IP interface 10.10.20.10 
255.255.255.0 on VLAN mauve:
WX1200# set interface mauve ip 10.10.20.10 255.255.255.0
success: set ip address 10.10.20.10 netmask 255.255.255.0 on vlan mauve