Cisco 的基本配置实例之六----常排错命令

Posted 狙击手 ▄︻┻═┳一

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Cisco 的基本配置实例之六----常排错命令相关的知识,希望对你有一定的参考价值。

TEST#terminal monitor

# 排除网络故障以前,请打开这一命令以便实时的接收到交换机的提示信息。

TEST#

TEST#sh run        

技术分享图片
#显示所有的配置清单,可将这些配置保存成文本作为交换机的配置备份。

Building configuration...

 

Current configuration : 9200 bytes

!

version 12.2

no service pad

service timestamps debug uptime

service timestamps log uptime

service password-encryption

service compress-config

!

hostname TEST

!

boot-start-marker

boot system flash cat4000-i9s-mz.122-25.EWA8.bin

boot system bootflash:cat4000-i9s-mz.122-25.EWA8.bin

boot-end-marker

!

enable secret 5 $1$c2Ge$eLS42O.0h04yCn1tDZGsB/

enable password 7 1119130A12010E1E122F39

!

no aaa new-model

ip subnet-zero

ip dhcp excluded-address 192.168.112.200 192.168.112.254

ip dhcp excluded-address 192.168.115.200 192.168.115.254

!

ip dhcp pool Wlan

   network 192.168.112.0 255.255.255.0

   default-router 192.168.112.254

   dns-server 202.102.128.68 202.102.134.68

!

ip dhcp pool Client

   network 192.168.115.0 255.255.255.0

   default-router 192.168.115.254

   dns-server 202.102.134.68 202.102.128.68

!

ip dhcp pool test

   host 192.168.112.98 255.255.255.0

   client-identifier 0100.1b77.2fa0.39

   default-router 192.168.112.254

   dns-server 202.102.134.68

!

ip dhcp pool lijing

   host 192.168.112.100 255.255.255.0

   client-identifier 0100.0e35.891b.46

   default-router 192.168.112.254

   dns-server 202.102.128.68 202.102.134.68

!

!

no file verify auto

errdisable recovery cause arp-inspection

spanning-tree mode pvst

spanning-tree extend system-id

power redundancy-mode redundant

!

!

!

vlan internal allocation policy ascending

!

interface FastEthernet1

 no ip address

 speed auto

 duplex auto

!

interface GigabitEthernet1/1

 switchport access vlan 2

!

interface GigabitEthernet1/2

!

interface GigabitEthernet1/3

!

interface GigabitEthernet1/4

!

interface GigabitEthernet1/5

!

interface GigabitEthernet1/6

!

interface GigabitEthernet1/7

!

interface GigabitEthernet1/8

!

interface GigabitEthernet1/9

!

interface GigabitEthernet1/10

!

interface GigabitEthernet1/11

!

interface GigabitEthernet1/12

!

interface GigabitEthernet1/13

 switchport trunk encapsulation dot1q

 switchport mode trunk

!

interface GigabitEthernet1/14

!

interface GigabitEthernet1/15

 switchport trunk encapsulation dot1q

 switchport mode trunk

!

interface GigabitEthernet1/16

!

interface GigabitEthernet1/17

!

interface GigabitEthernet1/18

!

interface GigabitEthernet1/19

!

interface GigabitEthernet1/20

!

interface GigabitEthernet3/1

 switchport access vlan 150

 no cdp enable

!

interface GigabitEthernet3/2

 switchport access vlan 150

!

interface GigabitEthernet3/3

 switchport access vlan 150

!

interface GigabitEthernet3/4

 switchport access vlan 150

!

interface GigabitEthernet3/5

 switchport access vlan 150

!

interface GigabitEthernet3/6

 switchport access vlan 150

!

interface GigabitEthernet3/7

 switchport access vlan 150

!

interface GigabitEthernet3/8

 switchport access vlan 150

!

interface GigabitEthernet3/9

 switchport access vlan 10

!

interface GigabitEthernet3/10

 switchport access vlan 10

!

interface GigabitEthernet3/11

 switchport access vlan 160

!

interface GigabitEthernet3/12

!

interface GigabitEthernet3/13

!

interface GigabitEthernet3/14

!

interface GigabitEthernet3/15

 switchport access vlan 160

!

interface GigabitEthernet3/16

!

interface GigabitEthernet3/17

 switchport trunk encapsulation dot1q

 switchport mode trunk

!

interface GigabitEthernet3/18

 switchport access vlan 50

 switchport mode access

!

interface GigabitEthernet3/19

 switchport access vlan 20

 switchport mode access

 no cdp enable

!

interface GigabitEthernet3/20

 switchport trunk encapsulation dot1q

 switchport mode trunk

 ip arp inspection trust

!

interface GigabitEthernet3/21

 switchport trunk encapsulation dot1q

 switchport mode trunk

!

interface GigabitEthernet3/22

 switchport trunk encapsulation dot1q

 switchport mode trunk

!

interface GigabitEthernet3/23

 switchport trunk encapsulation dot1q

 switchport mode trunk

!

interface GigabitEthernet3/24

 switchport trunk encapsulation dot1q

 switchport mode trunk

!

interface Vlan1

 ip address 192.168.113.254 255.255.255.0

 ip helper-address 192.168.100.100

 no ip redirects

!

interface Vlan2

 ip address 172.16.0.2 255.255.255.252

 ip helper-address 192.168.100.100

 no ip redirects

 no ip unreachables

!

interface Vlan10

 ip address 192.168.101.254 255.255.255.0

 ip helper-address 192.168.100.100

 no ip redirects

!

interface Vlan20

 ip address 192.168.102.254 255.255.255.0

 ip helper-address 192.168.100.100

 no ip redirects

!

interface Vlan30

 ip address 192.168.103.254 255.255.255.0

 ip helper-address 192.168.100.100

 no ip redirects

!

interface Vlan40

 ip address 192.168.104.254 255.255.255.0

 ip helper-address 192.168.100.100

 no ip redirects

!

interface Vlan50

 ip address 192.168.105.254 255.255.255.0

 ip helper-address 192.168.100.100

 no ip redirects

!

interface Vlan60

 ip address 192.168.106.254 255.255.255.0

 ip helper-address 192.168.100.100

 no ip redirects

!

interface Vlan70

 ip address 192.168.107.254 255.255.255.0

 ip helper-address 192.168.100.100

 no ip redirects

!

interface Vlan80

 ip address 192.168.108.254 255.255.255.0

 ip helper-address 192.168.100.100

 no ip redirects

!

interface Vlan100

 ip address 192.168.110.254 255.255.255.0

 ip helper-address 192.168.100.100

 no ip redirects

!

interface Vlan110

 ip address 192.168.111.254 255.255.255.0

 ip helper-address 192.168.100.100

!

interface Vlan120

 ip address 192.168.112.254 255.255.255.0

 ip access-group 101 in

 ip helper-address 192.168.100.100

!

interface Vlan150

 ip address 192.168.100.254 255.255.255.0

 ip helper-address 192.168.100.100

 no ip redirects

!

interface Vlan160

 ip address 192.168.115.254 255.255.255.0

 ip access-group 100 in

 ip access-group 100 out

 ip helper-address 192.168.100.100

 no ip redirects

!

ip route 0.0.0.0 0.0.0.0 172.16.0.1

ip http server

!

!

access-list 100 deny   ip 192.168.115.0 0.0.0.255 192.168.101.0 0.0.0.255

access-list 100 deny   ip 192.168.115.0 0.0.0.255 192.168.102.0 0.0.0.255

access-list 100 deny   ip 192.168.115.0 0.0.0.255 192.168.103.0 0.0.0.255

access-list 100 deny   ip 192.168.115.0 0.0.0.255 192.168.104.0 0.0.0.255

access-list 100 deny   ip 192.168.115.0 0.0.0.255 192.168.105.0 0.0.0.255

access-list 100 deny   ip 192.168.115.0 0.0.0.255 192.168.106.0 0.0.0.255

access-list 100 deny   ip 192.168.115.0 0.0.0.255 192.168.107.0 0.0.0.255

access-list 100 deny   ip 192.168.115.0 0.0.0.255 192.168.108.0 0.0.0.255

access-list 100 deny   ip 192.168.115.0 0.0.0.255 192.168.110.0 0.0.0.255

access-list 100 deny   ip 192.168.115.0 0.0.0.255 192.168.111.0 0.0.0.255

access-list 100 deny   ip 192.168.115.0 0.0.0.255 192.168.112.0 0.0.0.255

access-list 100 deny   ip 192.168.115.0 0.0.0.255 192.168.113.0 0.0.0.255

access-list 100 deny   ip 192.168.115.0 0.0.0.255 192.168.100.0 0.0.0.255

access-list 100 permit ip any any

access-list 101 deny   ip 192.168.112.0 0.0.0.255 192.168.101.0 0.0.0.255

access-list 101 deny   ip 192.168.112.0 0.0.0.255 192.168.102.0 0.0.0.255

access-list 101 deny   ip 192.168.112.0 0.0.0.255 192.168.103.0 0.0.0.255

access-list 101 deny   ip 192.168.112.0 0.0.0.255 192.168.104.0 0.0.0.255

access-list 101 deny   ip 192.168.112.0 0.0.0.255 192.168.105.0 0.0.0.255

access-list 101 deny   ip 192.168.112.0 0.0.0.255 192.168.106.0 0.0.0.255

access-list 101 deny   ip 192.168.112.0 0.0.0.255 192.168.107.0 0.0.0.255

access-list 101 deny   ip 192.168.112.0 0.0.0.255 192.168.108.0 0.0.0.255

access-list 101 deny   ip 192.168.112.0 0.0.0.255 192.168.110.0 0.0.0.255

access-list 101 deny   ip 192.168.112.0 0.0.0.255 192.168.111.0 0.0.0.255

access-list 101 deny   ip 192.168.112.0 0.0.0.255 192.168.113.0 0.0.0.255

access-list 101 permit ip host 192.168.112.100 host 192.168.100.103

access-list 101 permit ip host 192.168.112.98 192.168.100.0 0.0.0.255

access-list 101 deny   ip 192.168.112.0 0.0.0.255 192.168.100.0 0.0.0.255

access-list 101 permit ip any any

!

snmp-server community pjoe RW

snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart

snmp-server enable traps tty

snmp-server enable traps vtp

snmp-server enable traps vlancreate

snmp-server enable traps vlandelete

snmp-server enable traps stpx

snmp-server enable traps rf

snmp-server enable traps port-security

snmp-server enable traps config

snmp-server enable traps entity

snmp-server enable traps cpu threshold

snmp-server enable traps copy-config

snmp-server enable traps fru-ctrl

snmp-server enable traps flash insertion removal

snmp-server enable traps syslog

snmp-server enable traps bridge

snmp-server enable traps envmon fan shutdown supply temperature status

snmp-server enable traps hsrp

snmp-server enable traps bgp

snmp-server enable traps ospf state-change

snmp-server enable traps ospf errors

snmp-server enable traps ospf retransmit

snmp-server enable traps ospf lsa

snmp-server enable traps ospf cisco-specific state-change

snmp-server enable traps ospf cisco-specific errors

snmp-server enable traps ospf cisco-specific retransmit

snmp-server enable traps ospf cisco-specific lsa

snmp-server enable traps pim neighbor-change rp-mapping-change invalid-pim-message

snmp-server enable traps ipmulticast

snmp-server enable traps msdp

snmp-server enable traps rtr

snmp-server enable traps vlan-membership

snmp-server host 192.168.100.105 pjoe

!

!

line con 0

 password 7 0014190901480E1419245E

 stopbits 1

line vty 0 4

 password 7 03145104031C245E580C0B

 login

!

!

end
View Code

 

 TEST#

TEST#sh ip int b    #显示所有端口的状态

技术分享图片
Interface              IP-Address      OK? Method Status                Protocol

FastEthernet1          unassigned      YES NVRAM  down                  down   

Vlan1                  192.168.113.254 YES NVRAM  up                    up     

Vlan2                  172.16.0.2      YES NVRAM  up                    up     

Vlan10                 192.168.101.254 YES NVRAM  up                    up     

Vlan20                 192.168.102.254 YES NVRAM  up                    up     

Vlan30                 192.168.103.254 YES NVRAM  up                    up     

Vlan40                 192.168.104.254 YES NVRAM  up                    up     

Vlan50                 192.168.105.254 YES NVRAM  up                    up     

Vlan60                 192.168.106.254 YES NVRAM  up                    up     

Vlan70                 192.168.107.254 YES NVRAM  up                    up     

Vlan80                 192.168.108.254 YES NVRAM  up                    up     

Vlan100                192.168.110.254 YES NVRAM  up                    up     

Vlan110                192.168.111.254 YES NVRAM  up                    up     

Vlan120                192.168.112.254 YES NVRAM  up                    up     

Vlan150                192.168.100.254 YES NVRAM  up                    up     

Vlan160                192.168.115.254 YES NVRAM  up                    up     

GigabitEthernet1/1     unassigned      YES unset  up                    up     

GigabitEthernet1/2     unassigned      YES unset  down                  down   

GigabitEthernet1/3     unassigned      YES unset  down                  down   

GigabitEthernet1/4     unassigned      YES unset  down                  down   

GigabitEthernet1/5     unassigned      YES unset  down                  down   

GigabitEthernet1/6     unassigned      YES unset  down                  down   

GigabitEthernet1/7     unassigned      YES unset  down                  down   

GigabitEthernet1/8     unassigned      YES unset  down                  down   

GigabitEthernet1/9     unassigned      YES unset  down                  down   

GigabitEthernet1/10    unassigned      YES unset  down                  down   

GigabitEthernet1/11    unassigned      YES unset  down                  down   

GigabitEthernet1/12    unassigned      YES unset  down                  down   

GigabitEthernet1/13    unassigned      YES unset  down                  down   

GigabitEthernet1/14    unassigned      YES unset  down                  down   

GigabitEthernet1/15    unassigned      YES unset  up                    up     

GigabitEthernet1/16    unassigned      YES unset  down                  down   

GigabitEthernet1/17    unassigned      YES unset  down                  down   

GigabitEthernet1/18    unassigned      YES unset  down                  down   

GigabitEthernet1/19    unassigned      YES unset  down                  down   

GigabitEthernet1/20    unassigned      YES unset  down                  down   

GigabitEthernet3/1     unassigned      YES unset  up                    up     

GigabitEthernet3/2     unassigned      YES unset  up                    up     

GigabitEthernet3/3     unassigned      YES unset  up                    up     

GigabitEthernet3/4     unassigned      YES unset  up                    up      

GigabitEthernet3/5     unassigned      YES unset  up                    up     

GigabitEthernet3/6     unassigned      YES unset  up                    up     

GigabitEthernet3/7     unassigned      YES unset  up                    up     

GigabitEthernet3/8     unassigned      YES unset  up                    up     

GigabitEthernet3/9     unassigned      YES unset  down                  down   

GigabitEthernet3/10    unassigned      YES unset  down                  down   

GigabitEthernet3/11    unassigned      YES unset  down                  down   

GigabitEthernet3/12    unassigned      YES unset  down                  down   

GigabitEthernet3/13    unassigned      YES unset  down                  down   

GigabitEthernet3/14    unassigned      YES unset  down                  down   

GigabitEthernet3/15    unassigned      YES unset  down                  down   

GigabitEthernet3/16    unassigned      YES unset  down                  down   

GigabitEthernet3/17    unassigned      YES unset  up                    up     

GigabitEthernet3/18    unassigned      YES unset  up                    up     

GigabitEthernet3/19    unassigned      YES unset  up                    up     

GigabitEthernet3/20    unassigned      YES unset  up                    up     

GigabitEthernet3/21    unassigned      YES unset  up                    up     

GigabitEthernet3/22    unassigned      YES unset  up                    up     

GigabitEthernet3/23    unassigned      YES unset  up                    up      

GigabitEthernet3/24    unassigned      YES unset  up                    up  
View Code

   

TEST#  

TEST#

TEST#sh vlan # 显示所有的vlan信息

 

技术分享图片
VLAN Name                             Status    Ports

---- -------------------------------- --------- -------------------------------

1    default                           active    Gi1/2, Gi1/3, Gi1/4, Gi1/5, Gi1/6, Gi1/7, Gi1/8, Gi1/9, Gi1/10, Gi1/11, Gi1/12,Gi1/13, Gi1/14, Gi1/16, Gi1/17, Gi1/18, Gi1/19, Gi1/20, Gi3/12, Gi3/13, Gi3/14,Gi3/16

2    firewall                           active    Gi1/1

10   Engineering                      active    Gi3/9, Gi3/10

20   Procurement                      active    Gi3/19

30   QAQC                         active   

40   Operation                              active   

50   Yard                            active    Gi3/18

60   BM                             active   

70   HRAD                           active   

80   Facility                          active   

100  Finance                        active   

110  GO                               active   

120  Wlan                          active   

150  Server                           active    Gi3/1, Gi3/2, Gi3/3, Gi3/4, Gi3/5, Gi3/6, Gi3/7, Gi3/8

160  Client                           active    Gi3/11, Gi3/15

1002 fddi-default                       act/unsup

1003 token-ring-default                  act/unsup

1004 fddinet-default                     act/unsup

1005 trnet-default                       act/unsup

 

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2

---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------

1    enet  100001     1500  -      -      -        -    -        0      0  

2    enet  100002     1500  -      -      -        -    -        0      0  

10   enet  100010     1500  -      -      -        -    -        0      0  

20   enet  100020     1500  -      -      -        -    -        0      0  

30   enet  100030     1500  -      -      -        -    -        0      0  

40   enet  100040     1500  -      -      -        -    -        0      0  

50   enet  100050     1500  -      -      -        -    -        0      0  

60   enet  100060     1500  -      -      -        -    -        0      0  

70   enet  100070     1500  -      -      -        -    -        0      0  

80   enet  100080     1500  -      -      -        -    -        0      0  

100  enet  100100     1500  -      -      -        -    -        0      0  

110  enet  100110     1500  -      -      -        -    -        0      0  

120  enet  100120     1500  -      -      -        -    -        0      0  

150  enet  100150     1500  -      -      -        -    -        0      0  

160  enet  100160     1500  -      -      -        -    -        0      0  

1002  fddi  101002     1500  -      -      -        -    -        0      0  

 

 
View Code

 

TEST#

TEST#sh vtp sta            # 显示vtp协议的相关配置

技术分享图片
VTP Version                       : 2

Configuration Revision                : 23

Maximum VLANs supported locally    : 1005

Number of existing VLANs           : 19

VTP Operating Mode              : Server

VTP Domain Name                  : pjoe

VTP Pruning Mode                : Disabled

VTP V2 Mode                     : Disabled

VTP Traps Generation                : Enabled

MD5 digest                      : 0xEC 0x30 0xEF 0x6F 0xA5 0x9A 0x39 0x7B

Configuration last modified by 192.168.113.254 at 12-3-07 22:58:54

Local updater ID is 192.168.113.254 on interface Vl1 (lowest numbered VLAN interface found)
View Code

 

TEST#

TEST#

TEST#sh int gi1/2         # 显示具体物理接口的信息

技术分享图片
GigabitEthernet1/2 is down, line protocol is down (notconnect)

  Hardware is GigabitEthernetPort, address is 001a.6db4.a3c1 (bia 001a.6db4.a3c1)

  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,

     reliability 255/255, txload 1/255, rxload 1/255

  Encapsulation ARPA, loopback not set

  Keepalive set (10 sec)

  Auto-duplex, Auto-speed, link type is auto, media type is 10/100/1000-TX

  input flow-control is off, output flow-control is off

  ARP type: ARPA, ARP Timeout 04:00:00

  Last input never, output never, output hang never

  Last clearing of "show interface" counters never

  Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0

  Queueing strategy: fifo

  Output queue: 0/40 (size/max)

  5 minute input rate 0 bits/sec, 0 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

     0 packets input, 0 bytes, 0 no buffer

     Received 0 broadcasts (0 multicast)

     0 runts, 0 giants, 0 throttles

     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

     0 input packets with dribble condition detected

     0 packets output, 0 bytes, 0 underruns

     0 output errors, 0 collisions, 0 interface resets

     0 babbles, 0 late collision, 0 deferred

     0 lost carrier, 0 no carrier

     0 output buffer failures, 0 output buffers swapped out
View Code

 

  

TEST#

TEST#

TEST#sh ip route   # 显示这台交换机的所有路由信息

技术分享图片
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route

 

Gateway of last resort is 172.16.0.1 to network 0.0.0.0

 

C    192.168.106.0/24 is directly connected, Vlan60

C    192.168.107.0/24 is directly connected, Vlan70

C    192.168.104.0/24 is directly connected, Vlan40

C    192.168.105.0/24 is directly connected, Vlan50

C    192.168.110.0/24 is directly connected, Vlan100

C    192.168.111.0/24 is directly connected, Vlan110

C    192.168.108.0/24 is directly connected, Vlan80

     172.16.0.0/30 is subnetted, 1 subnets

C       172.16.0.0 is directly connected, Vlan2

C    192.168.115.0/24 is directly connected, Vlan160

C    192.168.113.0/24 is directly connected, Vlan1

C    192.168.112.0/24 is directly connected, Vlan120

C    192.168.102.0/24 is directly connected, Vlan20

C    192.168.103.0/24 is directly connected, Vlan30

C    192.168.100.0/24 is directly connected, Vlan150

C    192.168.101.0/24 is directly connected, Vlan10

S*   0.0.0.0/0 [1/0] via 172.16.0.1
View Code

 

  

 

TEST#

TEST#sh processes cpu  # 显示交换机的cpu利用率。当前是正常的。

技术分享图片
CPU utilization for five seconds: 11%/0%; one minute: 15%; five minutes: 14%

 PID Runtime(ms)   Invoked      uSecs   5Sec   1Min   5Min TTY Process

   1         4        33        121  0.00%  0.00%  0.00%   0 Chunk Manager   

   2          36    107157          0  0.00%  0.00%  0.00%   0 Load Meter      

   3         76       160        475  0.00%  0.00%  0.00%   0 SpanTree Helper 

   4          0         1          0  0.00%  0.00%  0.00%   0 Deferred Events 

   5      679368     81333       8352  0.00%  0.11%  0.11%   0 Check heaps     

   6         0         4          0  0.00%  0.00%  0.00%   0 Pool Manager    

   7         0         2          0  0.00%  0.00%  0.00%   0 Timers          

   8          0         2          0  0.00%  0.00%  0.00%   0 Serial Backgroun

   9          0         1          0  0.00%  0.00%  0.00%   0 AAA_SERVER_DEADT

  10           0         2          0  0.00%  0.00%  0.00%   0 AAA high-capacit

  11           0         1          0  0.00%  0.00%  0.00%   0 Policy Manager  

  12           4      8931          0  0.00%  0.00%  0.00%   0 IPC Dynamic Cach

  13           0         1          0  0.00%  0.00%  0.00%   0 IPC Zone Manager

  14         212    535724          0  0.00%  0.00%  0.00%   0 IPC Periodic Tim

  15         148    535724          0  0.00%  0.00%  0.00%   0 IPC Deferred Por

  16           0         1          0  0.00%  0.00%  0.00%   0 IPC Seat Manager

  17           0         1          0  0.00%  0.00%  0.00%   0 IFS Agent Manage

  18       88044    191372        460  0.00%  0.00%  0.00%   0 ARP Input       

  19          24        14       1714  0.00%  0.00%  0.00%   0 Entity MIB API  

  20           0         1          0  0.00%  0.00%  0.00%   0 SERIAL Adetect 

  21         212    535723          0  0.00%  0.00%  0.00%   0 Dynamic ARP Insp

  22         180    133945          1  0.00%  0.00%  0.00%   0 HC Counter Timer

  23           0         1          0  0.00%  0.00%  0.00%   0 Critical Bkgnd  

  24         204     99691          2  0.00%  0.00%  0.00%   0 Net Background   

  25           0        61          0  0.00%  0.00%  0.00%   0 Logger          

  26         200    535701          0  0.00%  0.00%  0.00%   0 TTY Background  

  27         584    536572          1  0.00%  0.00%  0.00%   0 Per-Second Jobs 

  28      214812     11512      18659  0.00%  0.04%  0.00%   0 Per-minute Jobs 

  29     8227772  42204744        194  4.07%  4.33%  4.33%   0 Cat4k Mgmt HiPri

  30    24446620  19487756       1254  5.91%  8.93%  8.04%   0 Cat4k Mgmt LoPri

  31         936     98689          9  0.00%  0.00%  0.00%   0 Galios Reschedul

  32           0        11          0  0.00%  0.00%  0.00%   0 IOS ACL Helper  

  33           0         2          0  0.00%  0.00%  0.00%   0 NAM Manager     

  34          24         2      12000  0.00%  0.00%  0.00%   0 rf task         

  35           0        59          0  0.00%  0.00%  0.00%   0 BACK CHECK      

  36       10224    303460         33  0.00%  0.00%  0.00%   0 Net Input       

  37        1236    109614         11  0.00%  0.01%  0.00%   0 Compute load avg

  38           0         1          0  0.00%  0.00%  0.00%   0 chkpt message ha

  39           0         2          0  0.00%  0.00%  0.00%   0 cpf_process_msg_

  40           0         1          0  0.00%  0.00%  0.00%   0 cpf_process_ipcQ

  41           0        12          0  0.00%  0.00%  0.00%   0 AggMgr Process  

  42           0         1          0  0.00%  0.00%  0.00%   0 SFF8472         

  43           0         4          0  0.00%  0.00%  0.00%   0 Collection proce

 PID Runtime(ms)   Invoked      uSecs   5Sec   1Min   5Min TTY Process

  44           0         3          0  0.00%  0.00%  0.00%   0 CEF switching ba

  45           0         2          0  0.00%  0.00%  0.00%   0 AAA Dictionary R

  46           0         2          0  0.00%  0.00%  0.00%   0 AAA Server      

  47           0         1          0  0.00%  0.00%  0.00%   0 AAA ACCT Proc   

  48           0         1          0  0.00%  0.00%  0.00%   0 ACCT Periodic Pr

  49     3795480   5491845        691  0.79%  0.73%  0.73%   0 Spanning Tree   

  50       12884    632248         20  0.00%  0.01%  0.00%   0 DTP Protocol    

  51           8     53580          0  0.00%  0.00%  0.00%   0 Ethchnl         

  52         224    535802          0  0.00%  0.00%  0.00%   0 UDLD            

  53           4      4815          0  0.00%  0.00%  0.00%   0 DHCP Snooping   

  54           4      8930          0  0.00%  0.00%  0.00%   0 Port-Security   

  55     2192160   4404802        497  0.23%  0.19%  0.20%   0 IP Input        

  56           0         1          0  0.00%  0.00%  0.00%   0 ICMP event handl

  57       15904    318168         49  0.00%  0.02%  0.00%   0 CDP Protocol    

  59           0         3          0  0.00%  0.00%  0.00%   0 SNMP Timers     

  61         468      9106         51  0.00%  0.00%  0.00%   0 CEF background p

  62           0         2          0  0.00%  0.00%  0.00%   0 XDR mcast       

  63           0         1          0  0.00%  0.00%  0.00%   0 IPC LC Message H

  64           0         1          0  0.00%  0.00%  0.00%   0 XDR RP Ping Back

  65           0      4493          0  0.00%  0.00%  0.00%   0 XDR RP backgroun

  66           0         1          0  0.00%  0.00%  0.00%   0 XDR RP Test Back

  67           0         1          0  0.00%  0.00%  0.00%   0 IP IRDP         

  68        9692    813686         11  0.07%  0.07%  0.07%   0 CEF: IPv4 proces

  69           0        37          0  0.00%  0.00%  0.00%   0 ADJ background  

  70          80      1199         66  0.00%  0.00%  0.00%   0 L2MM            

  71           0         1          0  0.00%  0.00%  0.00%   0 MRD             

  72         120       898        133  0.00%  0.00%  0.00%   0 IGMPSN          

  73           0         1          0  0.00%  0.00%  0.00%   0 IGMPSN-HA       

  74           0         1          0  0.00%  0.00%  0.00%   0 Socket Timers   

  75           0         2          0  0.00%  0.00%  0.00%   0 L2TRACE SERVER  

  76         176     24774          7  0.00%  0.00%  0.00%   0 TCP Timer       

  77          12        36        333  0.00%  0.00%  0.00%   0 TCP Protocols   

  78       41232    184874        223  0.00%  0.02%  0.00%   0 HTTP CORE       

  79          0         1          0  0.00%  0.00%  0.00%   0 CHKPT EXAMPLE   

  80           0         1          0  0.00%  0.00%  0.00%   0 CHKPT DevTest   

  81           0         2          0  0.00%  0.00%  0.00%   0 ATIP_UDP_TSK    

  82           0         1          0  0.00%  0.00%  0.00%   0 DHCP Snooping HA

  83           0         1          0  0.00%  0.00%  0.00%   0 Probe Input     

  84           0         1          0  0.00%  0.00%  0.00%   0 RARP Input      

  85       23496     78863        297  0.00%  0.00%  0.00%   0 DHCPD Receive   

  86          88      9115          9  0.00%  0.00%  0.00%   0 IP Background   

  87          52      8939          5  0.00%  0.00%  0.00%   0 IP RIB Update   

  88           0         1          0  0.00%  0.00%  0.00%   0 COPS            

  89           0      6700          0  0.00%  0.00%  0.00%   0 Cluster L2      

  90           0     53582          0  0.00%  0.00%  0.00%   0 Cluster RARP    

 PID Runtime(ms)   Invoked      uSecs   5Sec   1Min   5Min TTY Process

  91           0         2          0  0.00%  0.00%  0.00%   0 LOCAL AAA       

  92           0         2          0  0.00%  0.00%  0.00%   0 AAA Cached Serve

  93           0         2          0  0.00%  0.00%  0.00%   0 TPLUS           

  94          0         3          0  0.00%  0.00%  0.00%   0 RADIUS TEST CMD 

  95              0         2         0  0.00%  0.00%  0.00%   0 AAA SEND STOP EV

  96        3612   2831796          1  0.00%  0.01%  0.00%   0 PM Callback     

  97         580     17887         32  0.00%  0.00%  0.00%   0 VLAN Manager    

  98           0      4465          0  0.00%  0.00%  0.00%   0 DHCPD Timer     

  99           4        12        333  0.00%  0.00%  0.00%   0 VTP Trap Process

 100           0         2          0  0.00%  0.00%  0.00%   0 DHCP Security He

 101           0         1          0  0.00%  0.00%  0.00%   0 DiagCard1/-1    

 102           0         1          0  0.00%  0.00%  0.00%   0 DiagCard3/-1    

 103           0         1          0  0.00%  0.00%  0.00%   0 Syslog Traps    

 104          0         2          0  0.00%  0.00%  0.00%   0 VTPMIB EDIT BUFF

 105           0         5          0  0.00%  0.00%  0.00%   0 SPAN switch     

 106          24       200        120  0.00%  0.00%  0.00%   0 IP SNMP         

 107          0         7          0  0.00%  0.00%  0.00%   0 PDU DISPATCHER  

 108           0         7          0  0.00%  0.00%  0.00%   0 SNMP ENGINE     

 109          0         1          0  0.00%  0.00%  0.00%   0 SNMP ConfCopyPro

 110         444       216       2055  0.00%  0.00%  0.00%   0 SNMP Traps      

 111        1016    151762          6  0.00%  0.00%  0.00%   0 DHCPD Database  

 112         112    267874          0  0.00%  0.00%  0.00%   0 System polling  

 113        2340      4468        523  0.39%  0.55%  0.37%   2 Virtual Exec 
View Code

 

  

TEST#

TEST#reload        # 这条命令可重新启动交换机

 TEST#

TEST#sh ver          # 显示当前设备的版本信息

技术分享图片
Cisco IOS Software, Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version 12.2(25)EWA8, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2007 by Cisco Systems, Inc.

Compiled Wed 24-Jan-07 14:38 by pwade

Image text-base: 0x10000000, data-base: 0x114EECF0

 

ROM: 12.2(20r)EW1

Dagobah Revision 226, Swamp Revision 4

 

TEST uptime is 6 days, 4 hours, 50 minutes

System returned to ROM by power-on

System image file is "bootflash:cat4000-i9s-mz.122-25.EWA8.bin"

 

cisco WS-C4503 (MPC8245) processor (revision 4) with 262144K bytes of memory.

Processor board ID FOX104406TX

MPC8245 CPU at 267Mhz, Supervisor II+TS

Last reset from PowerUp

15 Virtual Ethernet interfaces

44 Gigabit Ethernet interfaces

511K bytes of non-volatile configuration memory.

 

Configuration register is 0x2102
View Code

 

  

 

TEST#

以上是关于Cisco 的基本配置实例之六----常排错命令的主要内容,如果未能解决你的问题,请参考以下文章

H3C和CISCO交换机做聚合配置实例教学

Cisco路由器配置命令

cisco防火墙配置的基本配置

cisco交换机MSTP传输的配置命令是啥啊???

Cisco PIX防火墙配置命令

Cisco交换机VLAN与TRUNK链路配置命令