Assigning IP Addresses to SVIs
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
interface vlan vlan-id
Step 4
ip address ip-address subnet-mask
Example:
Switch(config-if)# ip address 10.1.5.1
255.255.255.0
Step 5
end
Example:
Switch(config)# end
Step 6
show interfaces [interface-id]
Example:
Switch# show ip interface gigabitethernet 1/0/1
Step 7
show ip interface [interface-id]
Example:
Switch# show ip interface gigabitethernet 1/0/1
Step 8
show running-config
Example:
Switch# show running-config
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
674
Purpose
Enables privileged EXEC mode. Enter your
password if prompted.
Enters the global configuration mode.
Enters interface configuration mode, and specifies
the Layer 3 VLAN to configure.
Configures the IP address and IP subnet mask.
Returns to privileged EXEC mode.
Verifies your entries.
Verifies your entries.
Verifies your entries.