Purpose
Command or Action
Enters interface configuration mode, and enters the VLAN
to which the IP information is assigned. The range is 1 to
4094.
interface vlan vlan-id
Example:
Device(config)#
interface vlan 99
Step 3
Enters the IP address and subnet mask.
ip address ip-address subnet-mask
Example:
Step 4
Device(config-vlan)#
ip address 10.10.10.2
255.255.255.0
Returns to global configuration mode.
exit
Example:
Step 5
Device(config-vlan)#
exit
Enters the IP address of the next-hop router interface that
is directly connected to the device where a default gateway
ip default-gateway ip-address
Example:
Step 6
is being configured. The default gateway receives IP packets
with unresolved destination IP addresses from the device.
Device(config)#
ip default-gateway 10.10.10.1
Once the default gateway is configured, the device has
connectivity to the remote networks with which a host needs
to communicate.
When your device is configured to route with
IP, it does not need to have a default gateway
set.
Note
The device capwap relays on default-gateway
configuration to support routed access point join
the device.
Note
Returns to privileged EXEC mode.
end
Example:
Step 7
Device(config)#
end
Displays the interfaces status for the specified VLAN.
show interfaces vlan vlan-id
Example:
Step 8
Device#
show interfaces vlan 99
Displays the Internet Control Message Protocol (ICMP)
redirect messages.
show ip redirects
Example:
Step 9
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
67
Performing Device Setup Configuration
Manually Assigning IP Information to Multiple SVIs