October 2

Basic Cisco Switch Configuration Checklist 1

  • Hostname 

enable

conf t

hostname abc

no IP domain-lookup

  • Console password

line con 0

login

password abcd

logging sync

 

  • Telnet password

line vty 0 4

login

password abcd

exec-timeout 0 0 (minutes  seconds, 0 means unlimited)

(exec-timeout ?  ? to set a time for admin console to log off)

 

or

line vty o4

login local

(this will use the local account to log into the system)

use the following command to create a local user

conf t

username John secret abc123

  • Enable security password

enable secret abc (encrypted password for console and telnet to enter/enable privilege mode)

enable password abc  (clear text, no encrypted password for console and telnet to enter/enable privilege mode)

If none above enabled, a user can log into console and access the privilege mode without using a password.  A Telnet user can use the telnet password to access and enter the privilege mode.

  • Management (VLAN) IP address

interface vlan 1

ip address 10.10.10.10  255.255.255.0

no shutdown

  • Default gateway

switch(config)#ip default-gateway 1.1.1.1

  • Shutdown (disable not used ports)

interface g3/0/24

shutdown

  • Logon Banner

Banner motd  ^abc^

  • Saving configurations

copy running-config startup-config

or

Write mem

 

 

note : service password-encryption  (encrypt lin con & line vty pw)

show ip interface brief

show run   (do show run)

show ip route

Category: Cisco | LEAVE A COMMENT