Administrator Guide

Layer 3 Routing Commands 1550
configuration method to none. The no ip address command clears the
currently assigned IPv4 address sets the IP address configuration method to
the default (whatever the default is). Use the show ip interface command to
display the configured IP addresses.
Syntax
ip address
ip-address
{
subnet-mask
|
prefix-length
} [secondary]
no ip address
ip-address
{
subnet-mask
|
prefix-length
} [secondary]
ip-address
— IP address of the interface.
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 N1500/N2000 default IPv4 address assignment method is DHCP on
VLAN 1.
The N3000/N4000 default IPv4 address assignment method on VLAN 1 is
none.
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.
IP addresses assigned to Ethernet interfaces support up to 31 bit subnet
masks. IP addresses assigned to loopback ports support a full 32 bit subnet
mask.
2CSNXXX_SWUM204.book Page 1550 Monday, January 25, 2016 1:25 PM