PurposeCommand or Action
Enters the IP address and subnet mask.ip address ip-address subnet-mask
Example:
Step 3
Device(config-vlan)# ip address
10.10.10.2 255.255.255.0
Returns to global configuration mode.exit
Example:
Step 4
Device(config-vlan)# exit
Enters the IP address of the next-hop router
interface that is directly connected to the device
ip default-gateway ip-address
Example:
Step 5
where a default gateway is being configured.
Device(config)# ip default-gateway
The default gateway receives IP packets with
unresolved destination IP addresses from the
device.
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 6
Device(config)# end
Verifies the configured IP address.show interfaces vlan vlan-id
Example:
Step 7
Device# show interfaces vlan 99
Verifies the configured default gateway.show ip redirects
Example:
Step 8
Device# show ip redirects
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
66
Performing Device Setup Configuration
Manually Assigning IP Information to Multiple SVIs