how to configure cisco router or switch ip address default gateway

The example is brief and complete way to setup or configure management interface IP address for your router or switch. This example is tested for Cisco OS 12.2 and is compatible with all Cisco Switches and routers but also is assumed to be compatible with other vendors.


Switch1# conf t
Switch1(config)#int vlan1
Switch1(config-if)#ip address 192.168.10.100 255.255.255.0
Switch1(config-if)#no shutdown
Switch1( config-if)#end.
Switch1(config)# #ip default-gateway 192.168.10.1
Switch1(config)#end
Switch1#wr
Building configuration…
[OK]
Switch1#


Publisher: abdirahman isse

Share this post