PurposeCommand 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
ip default-gateway ip-address
Example:
Step 6
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 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
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
60
Performing Device Setup Configuration
Manually Assigning IP Information to Multiple SVIs