Professional Documents
Culture Documents
C is c o
IP
Requirement
Set a console password to cisco
Cisco Command
Router(config)#line con 0 Router(config-line)#login Router(config-line)#password cisco Router(config)#line vty 0 4 Router(config-line)#login Router(config-line)#password cisco Router(config)#line con 0 Router(config-line)#exec-timeout 0 0 Router(config)#enable password cisco Router(config)#enable secret peter
Protoc ols Set a telnet password Route rs Stop console timing out
S QL
Set the enable password to cisco Set the enable secret password to peter.
S e c urity
This password overrides the enable password and is encypted within the config file
T e le c ommunic a tions
T ools
Set the clock rate for a router with a DCE cable to 64K Set a logical bandwidth assignment of 64K to the serial interface To add an IP address to a interface
U nix
Router(config-if)bandwidth 64 Note that the zeroes are not missing Router(config-if)#ip addr 10.1.1.1 255.255.255.0 Router(config)#router rip Router(config-router)#network 172.16.0.0 Router(config)#no router rip Router(config)#router igrp 200 Router(config-router)#network 172.16.0.0 Router(config)#no router igrp 200 Router(config)#ip route 172.16.1.0 255.255.255.0 172.16.2.1 5
We b
Disable RIP To enable IRGP with a AS of 200, to all interfaces Disable IGRP Static route the remote network is 172.16.1.0, with a mask of 255.255.255.0, the next hop is 172.16.2.1, at a cost of 5 hops Disable CDP for the whole router
networking.ringofsaturn.com/Cisco/ciscocommandguide.php
1/3
11/24/13
Enable CDP for he whole router Disable CDP on an interface
Cisco Command
show interface e0 show ip interfaces brief show controllers 0 (note the space between the 's' and the '0') show cdp neighbor show cdp entry * show ip protocols show ip route show access-lists
Display a summary of connected cdp devices Display detailed information on all devices Display current routing protocols Display IP routing table Display access lists, this includes the number of displayed matches Check the router can see the ISDN switch Check a Frame Relay PVC connections show lmi traffic stats Display the frame inverse ARP table
show isdn status show frame-relay pvc show frame-relay lmi show frame-relay map
Cisco Command
networking.ringofsaturn.com/Cisco/ciscocommandguide.php
2/3
11/24/13
Compleat Command
Cisco Command
copy running-config startup-config
Cisco Command
networking.ringofsaturn.com/Cisco/ciscocommandguide.php
3/3