0% found this document useful (0 votes)
72 views

Using The Commands On The Router: Show Version Show Ip Interface Brief (Or Show Interface)

The document provides instructions for basic commands and configurations for Cisco routers. It includes commands to view router information and interface status, set IP addresses and default gateways, enter configuration mode, set passwords, configure interfaces, establish router connectivity, and optional connectivity to other networks. The document also includes tables listing Cisco commands for router configuration, show commands, basic operations, and copy commands.

Uploaded by

sambradshaw945
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views

Using The Commands On The Router: Show Version Show Ip Interface Brief (Or Show Interface)

The document provides instructions for basic commands and configurations for Cisco routers. It includes commands to view router information and interface status, set IP addresses and default gateways, enter configuration mode, set passwords, configure interfaces, establish router connectivity, and optional connectivity to other networks. The document also includes tables listing Cisco commands for router configuration, show commands, basic operations, and copy commands.

Uploaded by

sambradshaw945
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

BASIC COMMANDS

Using the commands on the router:

 show version
 show ip interface brief (or show interface)

Answer the following questions:

1. Router name:
2. Router type:
3. IOS version:
4. Memory amount:
5. Flash ROM amount:
6. Number and types of interfaces:

Part 2
Part 3
Set up a new IP address, mask and Default Gateway on each WG PC

 Each WG should decide which IP addresses will be used (from each subnet) for PC to router connection and f
router to router connection .
 Start -> Settings -> Control panel -> Network -> TCP/IP Ethernet… -> Properties -> IP address and Gateway

Part 4
Displaying the configurations

Enter privilege mode (enable)

Display the configuration saved in NVRAM (show config)

Display the running configuration (show running-config)

Setting and changing the configuration

Enter the configuration mode (conf term)

Change the router name (hostname)

Exit the privilege mode (CTRL-Z), you are back in Privileged mode!

Save the configuration (copy running-config startup-config)

Setting the passwords (REMEMBER YOUR PASSWORD)

Enter the configuration mode (conf term)

Specify virtual terminal lines you would like to configure (line vty 0 4)

Request login authentication (login)

Set a password for the exec mode (password my_password)

Set a password for the privileged (enable secret my_password)

Exit the privilege mode (CTRL-Z), you are back in Privileged mode!

Configuring the interface


Enter the configuration mode (conf term)

Select first ethernet interface


(interface ethernet - you got all the types of interfaces from part 1 task – for example Interface Ethernet0/0)

Select the ip address and subnet mask (ip address your_IP_address mask )

Enable the interface (no shut)

Exit the privilege mode (CTRL-Z), you are back in Privileged mode!

Checking router status and IP connectivity

Check host connectivity (ping connected_PC_ip_address)

Check host reachability (trace connected_PC_ip_address)

Check status of an interface (show interface eth?)

Display debug information (debug ip icmp)

Disable debug information (undebug all)

Part 5
Establishing router to router connectivity:

Configuring the Serial interface:

Enter the configuration mode (conf term)

Select first Serial interface


(interface Serial - you got all the types of interfaces from part 1 task – for example Interface Serial0)

Select the ip address and subnet mask (ip address your_IP_address mask )

Find out which Serial interface got connected DCE and which DTE CISCO cable

· DTE (Data Terminal Equipment – MALE conector)

· DCE (Data Communication Equipment – FEMALE connector)

On Serial Interface with DCE cable enable line CLOCK by entering the command:

· clock rate 1000000

Enable the interface (no shut)

Exit the privilege mode (CTRL-Z), you are back in Privileged mode!
Connect DTE and DCE cable

Checking router status and IP connectivity

Check neighbor router connectivity (ping connected_router_ip_address)

Check status of an interface (show interface serial?)

Provide routers with info where other (not directly connected) subnets are by configuring static routes on each router:

The command is:

ip route <subnet> <subnet_mask> <next_hop_IP_address>

· <subnet> is the subnet used for router-to-PC connection on the neighbor router

or the subnet between next two routers

· <next_hop_IP_address> is IP address of serial interface on the neighbor router

Check connectivity (ping) from your PC to all other PC’s in your WG

· open DOS window (Start -> Programs -> DOS)

· ping host_ip_address

Check reachibility (traceroute) from your PC to all other PS’s in your WG

· open DOS window (Start -> Programs -> DOS)

· tracert host_ip_address

Part 6 (optional)
Connect your network to other WG network (by Ethernet or Serial connection):

· decide which subnet will be used for interconnection

· configure static routes to other subnets

· Check connectivity (ping) from your PC to all other PC’s (in others WG)

· Check reachibility (traceroute) from your PC to all other PS’s (in others WG)
Configuring router

Requirement Cisco Command


Set a console password to cisco Router(config)#line con 0
Router(config-line)#login
Router(config-line)#password cisco

Set a telnet password Router(config)#line vty 0 4


Router(config-line)#login
Router(config-line)#password cisco

Stop console timing out Router(config)#line con 0


Router(config-line)#exec-timeout 0 0

Set the enable password to cisco Router(config)#enable password cisco

Set the enable secret password to peter. Router(config)#enable secret peter

This password overrides the enable password


and is encypted within the config file

Enable an interface Router(config-if)#no shutdown

To disable an interface Router(config-if)#shutdown

Set the clock rate for a router with a DCE cable to 64K Router(config-if)clock rate 64000

Set a logical bandwidth assignment of 64K to the serial interface Router(config-if)bandwidth 64


Note that the zeroes are not missing

To add an IP address to a interface Router(config-if)#ip addr 10.1.1.1


255.255.255.0

To enable RIP on all 172.16.x.y interfaces Router(config)#router rip


Router(config-router)#network 172.16.0

Disable RIP Router(config)#no router rip

To enable IRGP with a AS of 200, to all interfaces Router(config)#router igrp 200


Router(config-router)#network 172.16.0

Disable IGRP Router(config)#no router igrp 200

Static route the remote network is 172.16.1.0, with a mask of 255.255.255.0, Router(config)#ip route 172.16.1.0
the next hop is 172.16.2.1, at a cost of 5 hops 255.255.255.0 172.16.2.1 5

Disable CDP for the whole router Router(config)#no cdp run

Enable CDP for he whole router Router(config)#cdp run


Disable CDP on an interface Router(config-if)#no cdp enable

Cisco Router Show Commands

Requirement Cisco Command

View version information show version

View current configuration (DRAM) show running-config

View startup configuration (NVRAM) show startup-config

Show IOS file and flash space show flash

Shows all logs that the router has in its memory show log

View the interface status of interface e0 show interface e0

Overview all interfaces on the router show ip interfaces brief

View type of serial cable on s0 show controllers 0 (note the space between the 's' and
'0')

Display a summary of connected cdp devices show cdp neighbor

Display detailed information on all devices show cdp entry *

Display current routing protocols show ip protocols

Display IP routing table show ip route

Display access lists, this includes the number of displayed show access-lists
matches

Check the router can see the ISDN switch show isdn status

Check a Frame Relay PVC connections show frame-relay pvc

show lmi traffic stats show frame-relay lmi

Display the frame inverse ARP table show frame-relay map

Cisco Router Basic Operations


Requirement Cisco Command

Enable Enter privileged mode

Return to user mode from privileged disable

Exit Router Logout or exit or quit

Recall last command up arrow or <Ctrl-P>

Recall next command down arrow or <Ctrl-N>

Suspend or abort <Shift> and <Ctrl> and 6 then x

Refresh screen output <Ctrl-R>

Compleat Command TAB

Cisco Router Copy Commands

Requirement Cisco Command

Save the current configuration from DRAM to copy running-config startup-config


NVRAM

Merge NVRAM configuration to DRAM copy startup-config running-config

Copy DRAM configuration to a TFTP server copy runing-config tftp

Merge TFTP configuration with current router copy tftp runing-config


configuration held in DRAM

Backup the IOS onto a TFTP server copy flash tftp

Upgrade the router IOS from a TFTP server copy tftp flash

Cisco Router Debug Commands

Requirement Cisco Command

Enable debug for RIP debug ip rip

Enable summary IGRP debug information debug ip igrp events


Enable detailed IGRP debug information debug ip igrp transactions

Debug IPX RIP debug ipx routing activity

Debug IPX SAP debug IPX SAP

Enable debug for CHAP or PAP debug ppp authentication

Switch all debugging off no debug all


undebug all

You might also like