Specifications
set interface
Chapter 8
IP Services Commands
111
See Also
l set arp on page 109
l show arp on page 156
set interface
Configures an IP interface on a VLAN.
Syntax
set interface vlan-id ip {ip-addr mask | ip-addr/mask-length}
Defaults
None.
Access
Enabled.
Usage
You can assign one IP interface to each VLAN.
If an interface is already configured on the specified VLAN, 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:
l Mobility domain operations
l Topology reporting for dual-homed AP
l 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:
PROMPT# 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
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).