0% found this document useful (0 votes)
3 views2 pages

Basic Cisco Router CLI Commands

This document provides instructions for basic router and switch configuration using CLI commands. It outlines steps for configuring a router such as enabling passwords, configuring interfaces, and copying the running configuration. It also lists commands for initial switch configuration including IP address and VLAN setup.

Uploaded by

Islandboy Fiji
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Basic Cisco Router CLI Commands

This document provides instructions for basic router and switch configuration using CLI commands. It outlines steps for configuring a router such as enabling passwords, configuring interfaces, and copying the running configuration. It also lists commands for initial switch configuration including IP address and VLAN setup.

Uploaded by

Islandboy Fiji
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

BASIC ROUTER CLI

telnet to router by rollover cable / rollover cable with Telnet/Putty


>en
#conf t
(confg)#banner motd #xxxxxxx#
==============================================================================
(confg)#enable secret class
(confg)#line con 0
(confg-line)#password cisco
(confg-line)#login
(confg-line)#exit

===============================================================
(confg)#line vty 0 4
(confg)#privilege level 15====enable telnet direct to privilege mode
(confg-line)#password cisco
(confg-line)#login
(confg-line)#exit

================================================================
(confg)#int fa

0/0 ====shortcut for interface fastethernet or int serial.

(confg-if)#ip address [Link] [Link]


(confg-if)#desp xxxxxxxxxxxxxxx ====must describe the int
(confg-if)#no shut

================================================================
(confg-if)#exit
(confg)#exit

Or ctrl z or end
#copy ru con =========or ===== wr or wri
#sh ru confg ====or =======sh ru

Switch VLAN setup

en

Switch>

conf t

Switch#

int vlan 1

Switch(confg)#

ip add [Link]

Switch(confg-if)#

Switch(config-if)#

no shut

exit x2 or ctrl z

Switch(config-if)#

ip default gateway [Link] ===same as host / router fa0/0

Switch(config)#

Switch(config)#ext x2 or

wr====save

Switch#

ctrl z

You might also like