Switch 1 VLAN 1 and Default Gateway

  1. Step 1 (configure the switch for vty (telnet) access)
    Switch1 (config)#interface vlan 1
  2. Step 2 (IP and SM)
    Switch1(config-if)#ip address 192.168.1.2 255.255.255.224
  3. Step 3 (turn on the interface)
    Switch1 (config-if)#no shut
  4. Step 4
    Switch1 (config-if)#exit
  5. Step 5 (IP of default gateway)
    Switch1 (config)#ip default-gateway 192.168.1.1
  6. Step 6
    Switch1(config)#exit
  7. Step 7 (ping default gateway to verify configuration)
    Switch1#ping 192.168.1.1
  8. Step 8
    Switch1#copy run start
Author
Luimi
ID
343958
Card Set
Switch 1 VLAN 1 and Default Gateway
Description
Configuring Vlan and Gateway
Updated