Users Guide

Switch Management Commands 2034
subnet-mask — Subnet mask of the interface
prefix-length — Length of the prefix. Must be preceded by a forward slash
(/). (Range: 1-30 bits)
secondary — Indicates the IP address is a secondary address.
Default Configuration
The N1100/N1500/N2000/N2100-ON/N2200-ON default IPv4 address
assignment method is DHCP on VLAN 1.
The N3000-ON/N3100-ON/N3200-ON default IPv4 address assignment
method on VLAN 1 is none, and the default address assignment on the out-
of-band port is DHCP. See the ip address (Out-of-band) command for more
information.
Use the no interface vlan command to remove an IP routing interface, clear
any bound IP address and set the address assignment method to the default.
Command Mode
Interface Configuration (VLAN, Loopback) mode
User Guidelines
This command also implicitly enables the VLAN or loopback interface for
routing (i.e. as if the user had issued the ‘routing’ interface command). By
default, configuring an IP address on a VLAN enables in-band management
for interfaces configured with that VLAN. Setting up an IP address on VLAN
1 enables switch management on all in-band interfaces except for those where
VLAN 1 is specifically excluded.
The ip address none command clears the currently assigned IPv4 address and
sets the IP address configuration method to none. The no ip address
command clears the currently assigned IPv4 address and sets the IP address
configuration method to the default (whatever the default is).
Use the show ip interface {management|vlan <vlanid>} command to
display the configured IP addresses.
A physical or loopback interface must be made a member of the VLAN in
order for the address configuration to be bound to an interface.