Commands

Modules: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | All |

Module 7: Layer 1-7 Troubleshooting

7.1.3

Eliminating Layer 4

> Router#show access-lists [access-list-number | access-list-name]

7.2.2

Common TCP/IP Commands

> Router> ping [protocol] {host-name | system-address}
> Router> trace [protocol] [destination]

7.2.5

System logs

> Router(config)#service timestamp message-type datetime [msec] [localtime] [show-timezone]

7.2.6

Syslog destinations

> Router(config)#logging on
> Router(config)#logging buffered
> Router(config)#logging monitor severity-level
> Router#clear logging
> Router#logging synchronous [level severity-level | all] [limit number-of-buffers]
> Router#terminal monitor
> Router(config)#logging console level
> Router(config)#logging host-name
> Router(config)#logging trap level

7.3. 3

Terminals and consoles (TELNET, Terminal Services)

> Router#telnet host [port] [keyword]
> Router#debug telnet
> Router#terminal monitor
> Router(config)#ip telnet source-interface interface

7.3.4

Web traffic

> Router#debug ip http

7.3.6

File transfer

> Router#copy tftp destination
> Router#debug tftp

7.3.7

Network Management and Time protocols

> Router(config)#clock timezone
> Router(config)#clock summer-time
> Router(config)#ntp server ip-address [version number] [key keyid] [source interface] [prefer]
> Router(config)#ntp source type number
> Router#show ntp associations [detail]
> Router#show ntp status
> Router#debug snmp packet
> Router#debug ntp {adjust | authentication | events | loopfilter | packets | params | refclock | select | sync | validity}
> Router(config)#snmp-server enable traps [notification-type]
> Router(config)#snmp-server community string [view view-name] [ro | rw] [number] Router(config)#snmp-server host host-addr [traps | informs] [version {1 | 2c | 3 [auth | noauth | priv]}] community-string [udp-port port] [notification-type]
> Router(config)#ntp peer ip-address [version number] [key keyid] [source interface] [prefer]

7.3.8

Name resolution

> Router(config)#ip domain-lookup
> Router(config)#ip name-server server-address1 [server-address2...server-address6]
> Router(config)#ip domain-list name
> Router(config)#ip domain-name name
> C:\WINNT\system32>nslookup

7.3.9

Dynamic Host Configuration Protocol (DHCP)

> Router(config)#ip helper-address
> Router(config)#show ip dhcp binding [ip-address]
> Router(config)#show dhcp {server | lease [interface async [number]]}
> Rjouter#debug dhcp [detail]
> Router(config)#debug ip dhcp server events

7.4.1

Troubleshooting Telnet problems

> Router#show clock [detail]
> Router#show logging
> Router#show access-lists
> Router#show ip route
> Router#show ip interface

7.4.2

Troubleshooting HTTP problems

> Router(config-if)#ip http authentication {aaa | enable | local | tacacs}
> Router(config-if)#ip http port port-number
> Router(config-if)#ip http server

7.4.4

Troubleshooting FTP problems

> rommon >?
> rommon >boot
> rommon >reset
> rommon >dir
> rommon >dir flash:
> rommon >tftpdnld
> rommon >IP_ADDRESS= ip-address
> rommon >IP_SUBNET_MASK= subnet-mask
> rommon >DEFAULT_GATEWAY= default-gateway
> rommon >TFTP_SERVER= server-address
> rommon >TFTP_FILE=filename

| Close Window |

| All contents copyright © 2003 Cisco Systems, Inc. All rights reserved.