Cisco command-ten

Creative Commons License Creative Commons
  1. In the standard access-list command traffic filter creates a record in the table:
    Router (config) # access-list access-list-the permit Number {|} Source the deny-address [Source-address]
  2. Create a record in the extended traffic filter table with the command-List Access:
    Router (config) # Access-List Access-List-Number {the permit | the deny {Protocol | Protocol-keyword}} {Source Source-wildcard | the any} { destination destination-wildcard | any} [ protocol-specific options] [log]
  3. For in-band routing updates, update the routing configuration of the basic command format is: R1 (config-router) # distribute-list access-list-number | name in [type number]
  4. For band routing update, the routing update the basic configuration command format is:
    Rl (config-Router) the distribute # List-Access-List-Number | name OUT [INTE *** CE-name] Process-routing | autonomous- system-number
  5. set snmp命令选项: set snmp community {read-only|ready-write|read-write-all}[community_string]
  6. set snmp trap 命令格式如下:
    set snmp trap {enable|disable} [all|moudle|classis|bridge|repeater| auth|vtp|ippermit|vmps|config|entity|stpx]
    set snmp trap rvcr_addr rcvr_community
  7. 启用SNMP chassis 陷阱: Console>(enable) set snmp trap enable chassis
  8. Enable all SNMP chassis traps: Console> (enable) set snmp trap enable
  9. 禁用SNMP chassis 陷阱: Console>(enable) set snmp trap disable chassis
  10. SNMP trap receiving table to add a record: Console> (enable) set snmp trap 192.122.173.42 public
  11. show snmp output.
  12. Output of the command set snmp rmon enable the.
  13. Display SPAN information: Consile> show span

Guess you like

Origin blog.csdn.net/weixin_44774638/article/details/91848333