Cisco CCNA cheat sheet

Boubakr Tech

[CCNA] Cisco Commands Cheat Sheet #1

CCNA RnS, Cisco, Network September 16, 2013 Comments: 14

In this serie of 4-5 posts, we’ll try to create a simple Cisco Commands Cheat Sheet as a reference for CCNA students.

Cisco Commands Cheat Sheet #2Cisco Commands Cheat Sheet #3Cisco Commands Cheat Sheet #4Cisco Commands Cheat Sheet #5Router Modes:Router>: User mode = Limited to basic monitoring commandsRouter#: Privileged mode (exec-level mode) = Provides access to all other router commandsRouter(config)#: global configuration mode = Commands that affect the entire systemRouter(config-if)#: interface mode = Commands that affect interfacesRouter(config-subif)#: subinterface mode = Commands that affect subinterfacesRouter(config-line)#: line mode = Commands that affect in lines modes (console, vty, aux…)Router(config-router)#: router configuration modeChanging switch hostname:

1

Switch(config)# hostname SW1

Configuring passwords:

1

2

SW1(config)# enable secret cisco    ! MD5 hash

SW1(config)# enable password notcisco    ! Clear text

Securing console port:

1

2

3

SW1(config)# line con 0

SW1(config-line)# password cisco

SW1(config-line)# login

Securing terminal lines:

1

2

3

SW1(config)# line vty 0 4

SW1(config-line)# password cisco

SW1(config-line)# login

Encrypting passwords:

1

SW1(config)# service password-encryption

Configuring banners:

1

2

3

4

5

SW1(config)# banner motd $

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

UNAUTHORIZED ACCESS IS PROHIBITED

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

$

Giving the switch an IP address:

1

2

3

SW1(config)# interface vlan 1

SW1(config-if)# ip address 172.16.1.11 255.255.255.0    ! or DHCP

SW1(config-if)# no shutdown

Setting the default gateway:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s