思科命令 十

2021-09-24 10:38:07 字數 1141 閱讀 1854

用命令access-list在標準通訊量過濾表中建立一條記錄:

router(config)# access-list access-list-number source-address [source-address]

用命令access-list在擴充套件通訊量過濾表中建立一條記錄:

router(config)#access-list access-list-number }[protocol-specific options][log]

對於帶內路由更新,配置路由更新的最基本的命令格式是: r1(config-router)#distribute-list access-list-number|name in [type number]

對於帶外路由更新,配置路由更新的最基本的命令格式是:

r1(config-router)#distribute-list access-list-number|name out [inte***ce-name] routing-process| autonomous-system-number

set snmp命令選項: set snmp community [community_string]

set snmp trap 命令格式如下:

set snmp trap [all|moudle|classis|bridge|repeater| auth|vtp|ippermit|vmps|config|entity|stpx]

set snmp trap rvcr_addr rcvr_community

啟用snmp chassis 陷阱: console>(enable) set snmp trap enable chassis

啟用所有snmp chassis 陷阱: console>(enable) set snmp trap enable

禁用snmp chassis 陷阱: console>(enable) set snmp trap disable chassis

給snmp陷阱接收表加一條記錄: console>(enable) set snmp trap 192.122.173.42 public

show snmp 輸出結果。

命令set snmp rmon enable 的輸出結果。

顯示span資訊:consile> show span

位址池命令 思科理由 思科命令

思科命令 特權口令 enable password 控制台口令 line console 0 password login exit 關閉網域名稱查詢 no ip domain lookup 啟用ssh ip domain name 網域名稱指定使用 ssh version2 ip ssh vers...

思科巡檢命令

1 show inte ce stats 檢視交換機所有介面當前介面流量 2 show running config 檢視當前裝置配置 3 show version 檢視ios版本資訊及裝置正常執行時間 4 show clock 檢視裝置時鐘資訊 5 show vtp status 檢視交換機vtp...

網路(思科) 基礎命令

許多年沒有接觸網路了,曾經熟悉的那些配置也忘得差不多,最近重新撿起來回顧一下,順便整理一些筆記。先來簡單的回顧 1 osi七層模型,從低到高 物理層 資料鏈路層 網路層 傳輸層 會話層 表示層 應用層 2 tcp ip五層模型,從低到高 物理層 資料鏈路層 網路層 傳輸層 應用層。3 交換機三種交換...