How to Configure IP Address on a Cisco Switch Interface
Configure a management IP address on a Cisco switch VLAN interface (SVI) for remote access via SSH/Telnet.
Step-by-step
- Enter global configuration mode:
enable→configure terminal - Enter VLAN interface (default VLAN 1):
interface vlan 1 - Assign IP address and subnet mask:
ip address <ip-address> <subnet-mask> - Enable the interface:
no shutdown - Set default gateway for management traffic:
ip default-gateway <gateway-ip>(global config) - Verify:
show ip interface briefandping <gateway-ip>
Reference: www.tutorialspoint.com