wiki:jazz/Cisco_Router

Version 4 (modified by jazz, 7 years ago) (diff)

--

Cisco Router

  • 進入管理者模式
    RTR> enable 
    Password: 
    RTR#
    
  • 顯示 CPU 使用狀態
    RTR# show processes cpu ?       
      autoprofile  Show processes cpu autoprofile information
      extended     Show last 5 sec extended process cpu usage information
      history      Show CPU history in graph format
      monitor      show CPU utilization continuously
      platform     Show platform CPU utilization per process
      sorted       Show sorted output based on percentage of utilization
      |            Output modifiers
      <cr>
    
    • Show CPU history in graph format
      RTR# show processes cpu history
      
    • 範例輸出
            554344333343334543333333334335433343433333333233233333334333633333434344
        100                                                                       
         90                                                                       
         80                                                                       
         70                                                                       
         60                                                                       
         50                                                                       
         40                                                                       
         30                                                                       
         20                                                                       
         10 **             *             *                              *         
           0....5....1....1....2....2....3....3....4....4....5....5....6....6....7..
                     0    5    0    5    0    5    0    5    0    5    0    5    0  
                         CPU% per hour (last 72 hours)
                        * = maximum CPU%   # = average CPU%
      
  • 顯示目前的完整設定
    RTR# show running-config ?
      aaa            Show AAA configurations
      all            Configuration with defaults
      bridge-domain  Show running bridge domain
      brief          configuration without certificate data
      class-map      Show class-map information
      flow           Global Flow configuration subcommands
      full           full configuration
      identity       Show identity profile/policy information
      interface      Show interface configuration
      linenum        Display line numbers in output
      map-class      Show map class information
      mdns-sd        Show mDNS-SD configurations
      partition      Configuration corresponding a partition
      policy-map     Show policy-map information
      service-group  Show running service-group
      view           View options
      vlan           Show L2 VLAN information
      vnet           Show Virtual NETwork aware configuration
      vrf            Show VRF aware configuration
      |              Output modifiers
      <cr>
    
  • 顯示 Log
    RTR# show logging ?
      count       Show counts of each logging message
      dram        Show DRAM ECC errors
      history     Show the contents of syslog history table
      onboard     onboard information
      persistent  Show the contents of the logging persistent
      uptime      Show board uptime data
      xml         Show the contents of XML logging buffer
      |           Output modifiers
      <cr>