2016年3月25日 星期五

Cisco Router 更改telnet(兩層)密碼參考步驟

Cisco Router 更改telnet(第一層)密碼步驟

1.telnet 至 Cisco Router,輸入 telnet password (enter)

2.輸入 enable,輸入 enable password (enter)

3.Router# configure terminal (enter)
註解 : 進入 configuration mode.

4.Router(config)# line vty 0 4 (enter)
註解 : 進入line mode.

5.Router(config)# password yourpassword (enter)
例如: password abc123
註解 : 設定 password.

6.按 Ctrl + Z (enter)
註解 : 跳出 configuration mode.

8.輸入 write (enter)
註解 : 將設定存檔.




Cisco Router更改enable密碼步驟

1.telnet至Cisco Router,輸入telnet password (enter)

2.輸入enable,輸入enable password (enter)

3.Router# configure terminal (enter)
註解 : 進入configuration mode.

4.Router(config)# enable password yourpassword (enter)
例如: enable password abc123
註解 : 更改enable密碼.

5.按Ctrl + Z (enter)
註解 : 跳出configuration mode.

6.輸入 write (enter)

註解 : 將設定將設定存檔.

2016年3月24日 星期四

[網路管理]Cisco port-channgel設定

摘要:[網路管理]Cisco port-channgel設定
Cisoc port-channgel設定
1. 下層
reload in 10 //設定十分鐘後重新啟動防止設定錯誤無法連線
conf t
in ra gi3/1 - 3 //要設定的port
sh //先關閉
in ra gi3/1 - 3 //要設定的port
channel-group 編號 mode auto //設定為 Pagp模式
(線路中斷)
 
2. 上層
conf t
in ra gi1/1/5 - 6 //要設定的port
channel-group 編號 mode desirable
(等一下, 線路應該會on 起來)
ping 192.168.1.61 //要設定的port
ping通以後去
reload cancel
再把gi3/1 - 3 no sh //要設定的port
再wr mem
 
ps:必須單一個port設定
並將channel-group 編號 shutdown
再將要設定的port shutdown
並將原本的channel-group 編號 mode on no掉再重新設定Pagp模式
設定完port後再 no shutdown
最後再將channgel-group no shutdown

Cisco 管理筆記(轉載)

Cisco 指令太久沒用會忘記,剛好看到有人整理了管理筆記,就收錄進來。 

1.
Config# enable password "明碼"
Config# enable Secret "暗碼"
Config# service password-encryption ← telnet 密碼加密


2.
Config# line console 0
Config-line# exec-timeout 0 0 ←保持console連線,注意有安全疑慮
Config-line# logging synchronous ←使游標還原到原來位置,重新顯示被覆蓋的命令


3.
# clock rate
DCE 設備的 interface 需設定 clock rate 64000 數字部分看狀況


4.
# sh process cpu ←查看 Process 的 CPU 使用狀態
# sh session ←看telnet的聯接
# clear line [號碼] ←清除telnet連接


5.關閉Debug
# no debug service ←關閉偵測除錯
# no debug all ←關閉所有偵測除錯 


6.
# sh spanning-tree
檢查 switch 上每各 port 為 forwarding 還是 blocking,可在L2上使用


7.
Config# mac-address-table static 1111.1111.1111 fa0/9
設定靜態Mac對應來限制封包從哪些特定來源才能通過
# sh mac-address-table static
8.
Config# mac-address-table secure 1111.1111.1111 fa0/9
設定具有安全性的 mac 是要確保只有特殊設備才能連上指定的 port
# sh mac-address-table secure


9.
# sh port security ←檢查有安全性設定的port


10. VTP (VLAN trunking Protocol)
*範圍相同的VTP領域(domain)名稱,而且互相連結在一起的switch
*VTP mode有三種,Server, Transparent, Client
*Server mode可建立、刪除、修改vlan,並進行資訊同步化
*Client mode只可接收被同步化


*設定vlan domain與密碼
# vlan database
(vlan)# vtp domain magic password cisco


*設定VTP模式
 # vlan database
(vlan)# vtp client (or # vtp server)


*顯示 VTP
# sh vtp status


*檢查 VLAN
# sh  vlan 
or
# sh  vlan  brief


11.在交換器上設定Vlan
Config-if# int fa0/2
Config-if# switchport access vlan 2
Config-if# int fa0/3
Config-if# switchport access vlan 3
Config-if# int fa0/4
Config-if# switchport access vlan 4


Config# vlan 2-10 ←同時建立 2-10 的vlan
Config-vlan# end
Config# no vlan 2-10 ←同時刪除 2-10 的vlan


注意:只可以同時對一個vlan進行命名


12.
設定 trunk(2960)
Config# int fa0/2
Config-if# switchport mode trunk


設定trunk(3750 or 6509)
Config# int fa0/2
Config-if# switchport mode trunk


設定trunk
Config-if# switchport trunk encapsulation dot1q
1.進入介面配置 Switch(config)
# interface fastethernet 5/8
2.關閉介面
Config-if# shutdown
3.選擇封裝類型
Config-if# switchport trunk encapsulation dot1q
4.配置介面允許通過 VLAN
Config-if# switchport trunk allowed vlan 1,5,11,1002-1005(add,all,except,none,remove)
5.配置界面為trunk
Config-if# switchport mode trunk
6.指定 trunking native vlan
Config-if# switchport trunk native vlan 99
7.Switch(config-if)# switchport nonegotiate
8.啟動介面
Config-if# no shutdown
9.檢查trunk配置
# show interfaces fastEthernet 5/8 switchport
fa5/8
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 99 (trunk_only)
Trunking VLANs Enabled: 1,5,11,1002-1005
Pruning VLANs Enabled: 2-1001


13.Access Link 允許一個 Vlan 在線路上傳遞資料,Trunk Link 允許一個以上 Vlan 傳遞資料


14.CIDR指的是,192.168.1.1 和192.168.2.1 分別屬於兩各不同的 class C,若要整合進去同一筆,可向前借位,將原來要兩筆192.168.1.0/24,192.168.2.0/24 改成 192.168.1.0/23,打破原來class A, B, C的限制。


15.ip subnet-zero 告訴 Router 打破不能使用第一個與最後一個子網路的規則。


16.想在某一介面下新增第二筆IP,使用
Router(config-if)# ip address 172.16.20.2 255.255.255.0 secondary


17. # sh protocols ←可檢視每各介面的第一層與第二層狀態


18.static route:
# ip route [destination_network]  [mask]  [next-hop_address]
Ex:
(config)# ip route 172.16.3.0 255.255.255.0 192.168.2.4


*使用sh ip route,可看到S標記
# ip route 172.16.3.0(遠端,也就是要去哪個網段) 255.255.255.0 192.168.2.4(下個router ip)


19.
Jan 02 12:59:26 163.25.96.241 134: *Mar  1 01:49:23: %SYS-4-CONFIG_RESOLVE_FAILURE: System config parse from (tftp://255.255.255.255/network-confg) failed
Jan 02 13:00:04 163.25.96.241 135: *Mar  1 01:50:01: %SYS-4-CONFIG_RESOLVE_FAILURE: System config parse from (tftp://255.255.255.255/cisconet.cfg) failed
Jan 02 13:00:42 163.25.96.241 136: *Mar  1 01:50:39: %SYS-4-CONFIG_RESOLVE_FAILURE: System config parse from (tftp://255.255.255.255/eng4f-confg) failed


解決方式:(config)# no service config


20.OSPF設定
# Config t
# router ospf 1 (1無意義,可隨意選數字)
# network 10.1.1.1  0.0.0.0  area  0 (0為區域碼,需相同才能互通)
# network 10.5.2.1  0.0.0.0  area  0


檢查設定指令
# sh  ip  route
# sh  ip  ospf
# sh  ip  ospf  database
# sh  ip  ospf  interface
# sh  ip  ospf  neighbor
# sh  ip  protocols


OSPF debug
# debug ip ospf events
# debug ip ospf packet


21.default route
# ip route 0.0.0.0 0.0.0.0 192.168.1.9(下個router IP,或自身要離開的介面,如s0/0)


使用 default route,必須加上ip classless
另一種寫法
# ip default-network 217.124.6.0
Config# sh ip route ←檢查


22.設定 domain server
# ip domain-lookup ←預設即打開,如未使用建議可關閉
# ip name-server 163.25.114.1
# ip domain-name cgu.edu.tw


23.不讓日誌消息打擾你的配置過程
Cisco IOS中另一個我認為的小毛病就是在我配置路由器時,控制臺介面就不斷彈出日誌消息(可能是控制台端口,AUX端口或VTY端口)。要預防這一點,你可以這樣做。所以在每一條端口線路上,我使用日誌同步命令。舉例如下:
Router(config)# line con 0
Router(config-line)# logging synchronous
Router(config)# line aux 0
Router(config-line)# logging synchronous
Router(config)# line vty 0 4
Router(config-line)# logging synchronous


除此之外,你可以在端口上修改這些端口的執行超時時間。例如,我們假設你想禁用 VTY線路上默認的十分鐘超時時間。在線路配置模式下使用 exec-timeout 0 0 命令,使路由器永不退出。


24.備份IOS
Router(config)# copy flash tftp


25. 升級IOS
Router(config)# copy tftp flash

Cisco 常用指令

資料來源節錄: https://www.cyut.edu.tw/~ywfan/201109ios/Chapter3.htm

熱鍵和快捷方式

IOS CLI 提供熱鍵和快捷方式,以便設定、監控和排除故障。

下列快捷方式值得特別說明:
Tab — 填寫命令或關鍵字的剩下部分。
Ctrl-R — 重新顯示一行
Ctrl-Z — 退出設定模式並返回到執行模式
向下箭頭 — 用於在前面用過的命令的列表中向前捲動
向上箭頭 — 用於在前面用過的命令的列表中向後捲動
Ctrl-Shift-6 — 用於中斷諸如 ping 或 traceroute 之類的 IOS 程序
Ctrl-C — 放棄當前命令並退出設定模式

 

9.使用Show命令查看機器狀態

Cisco 路由器有一系列的指令,可讓您決定路由器是否運作正常,或是發生問題的位置。除此之外,路由器狀態指令顯示如下:

show version -- 顯示系統硬體、軟體版本、組態檔名稱與來源與開機影像
show processes -- 顯示作用程序中的訊息
show protocols -- 顯示已設定的協定。此處會顯示所有已設定的的第三層協定
show memory -- 顯示路由器記憶體的統計資料,包括記憶體可用儲存區統計資料
show stacks -- 監看程序的堆疊使用情況、中斷例行作業並顯示系統最近重新開機的原因
show buffers -- 提供路由器上緩衝器儲存區的統計資料
show flash -- 顯示快閃記憶體的設備資訊
show running-config  -- 顯示作用中的組態檔案
show startup-config  -- 顯示備份組態檔
show interfaces -- 顯示路由器上所有已設定介面的統計資料 。
show ip interface brief--這可用於快速獲取介面及其工作狀態的摘要資訊。


例如:Router#show version

用於顯示與當前載入的軟體版本以及硬體和設備相關的資訊。此命令顯示的部分資訊如下:
軟體版本 — IOS 軟體版本(儲存在快閃記憶體中)
Bootstrap 版本 — Bootstrap 版本(儲存在引導 ROM 中)
系統持續執行時間 — 自上次重新啟動以來的時間
系統重新開機資訊 — 重新啟動方法(例如,重新通電)
軟體映射名稱 — 儲存在快閃記憶體中的 IOS 檔案名
路由器類型和處理器類型 — 型號和處理器類型
記憶體類型和分配情況(共用/主)— 主處理器記憶體和共用封包輸入/輸出緩衝區
軟體功能 — 支援的協定/功能集
硬體介面 — 路由器上提供的介面
設定暫存器 — 用於確定啟動規範、主控台速度設定和相關參數。

Cisco VLAN設定

靜態VLAN
1.設定VLAN名稱
Switch(config)#vlan 2 name sales
Switch(config)#vlan 3 name marketing
Switch(config)#exit
或
Switch(config)#vlan 2
Switch(config-vlan)#name sales
Switch(config-vlan)#vlan 3
Switch(config-valn)#namae marketing
Switch(config-vlan)#^z
P.S. VLAN 1為預設的,不能修改,刪除,或是重新命名
2.指定交換port給VLAN
Switch(config)#int E0/2
Switch(config)#vlan-membership static 2  //指定介面2給vlan2
Switch(config)#int E0/4
Switch(config)#vlan-membership static 3  //指定介面4給vlan3
或
Switch(config-if)#int f0/2
Switch(config-if)#switchport access vlan 2
Switch(config-if)#int f0/3
Switch(config-if)#switchport access vlan 3
3.設定主幹port
Switch(config)#int f0/26
Switch(config-if)#trunk {auto|desirable|nonegoniate|off|on}
                                 //自動|想要的  |不協商        |關閉|開啟
或
Switch(config)#int f0/12
Switch(config-if)#switchport mode trunk
Switch(config-if)#^z
4.設定跨VLAN遶送
必須要有router或是layer 3的交換器(1)ISL遶送
Switch(config)#int f0/0.1
Switch(config-if)#encapsulation isl vlan#  //vlan#表示他在哪個區塊
(2)802.1Q遶送
Switch(config)#int f0/0.1
Switch(config-if)#encapsulation dot1q vlan#
P.S.當產生主幹鏈路時,預設上所有VLAN都可以讓資料通過
5.設定VTP
Switch(config)#vtp ?
Switch(config)#vtp client    //設成客戶端模式,無法新增,修改,刪除
Switch(config)#vtp server   //設成伺服器模式(預設為伺服器模式)Switch(config)#vtp domain 伺服器名稱 //相同的domain才會分享VTP資訊Switch(config)#vtp password 密碼     //VTP密碼
====================================================================
Switch config部分
Switch(config)#int f0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#int f0/2
Switch(config-if)#switchport access vlan 1
Switch(config-if)#int f0/3
Switch(config-if)#switchport access vlan 1
Switch(config-if)#int f0/4
Switch(config-if)#switchport access vlan 3
Switch(config-if)#int f0/5
Switch(config-if)#switchport access vlan 3
Switch(config-if)#int f0/6
Switch(config-if)#switchport access vlan 2
VLAN1:192.168.10.16/28
VLAN2:192.168.10.32/28
VLAN3:192.168.10.48/28
Router(config)#int f0/0
Router(config-if)#no ip address
Router(config-if)#no shutdown
Router(config-if)#int f0/0.1
Router(config-subif)#encapsulation dot1q 1
Router(config-subif)#ip address 192.168.10.17 255.255.255.240  //使用範圍中的任一個IP做VLAN都可以Router(config-subif)#int f0/0.2
Router(config-subif)#encapsulation dot1q 2
Router(config-subif)#ip address 192.168.10.33 255.255.255.240
Router(config-subif)#int f0/0.3
Router(config-subif)#encapsulation dot1q 3
Router(config-subif)#ip address 192.168.10.49 255.255.255.240

Switch#show vlan
VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                              active    Fa0/46, Fa0/48
2    VLAN0002                         active    
4    VLAN0004                         active    Fa0/38, Fa0/39
5    VLAN0005                         active   
1002 fddi-default                     active    
1003 token-ring-default           active    
1004 fddinet-default                active    
1005 trnet-default                    active   
VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        1002   1003
2    enet  100002     1500  -      -      -        -    -        0      0   
4    enet  100004     1500  -      -      -        -    -        0      0   
5    enet  100005     1500  -      -      -        -    -        0      0  
1002 fddi    101002     1500  -          -      -        -        -        1      1003
1003 tr       101003     1500 1005 3276   -        -      srb      1      1002
1004 fdnet 101004     1500  -           -      1       ibm    -        0      0   
1005 trnet  101005    1500  -           -      15      ibm    -        0      0 
Switch#show vlan brief
VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                              active    Fa0/46, Fa0/48
2    VLAN0002                         active    
4    VLAN0004                         active    Fa0/38, Fa0/39
5    VLAN0005                         active   
1002 fddi-default                      active    
1003 token-ring-default            active    
1004 fddinet-default                 active    
1005 trnet-default                    active
Switch#sh vtp status
VTP Version                     : 2
Configuration Revision          : 343
Maximum VLANs supported locally : 254
Number of existing VLANs        : 199
VTP Operating Mode                : Client                //VTP模式VTP Domain Name                   : SwitchTPA         //甲乙兩端設定需一樣VTP Pruning Mode                   : Disabled
VTP V2 Mode                           : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x02 0xD1 0x35 0x8E 0x0A 0xF3 0x9E 0x40 
Configuration last modified by 123.123.123.2 at 6-23-10 08:48:52

Cisco show interface詳解

Cisco show interface詳解
顯示該介面的資料
Router#sh int s1/0
Serial1/0 is up, line protocol is up 
//show interface 各項欄位所代表的意義
Etherent is UP/Serial is UP:
表示這個線路目前正在運作中。如果系統管理者主動停掉線路,
則輸出會變成Etherent is administratively down/Serial is administratively down。
如果輸出是Etherent is disadled/Serial is disadled,表示Route在一定時間內(預設是10秒)收到5,000個錯誤。

Line protocol is up/down:
表示處理路線協定的軟體程序認定的介面狀態。
在序列埠上,Line protocol is down 表次無法偵測到它與CUS/DSU的連線,這可能是硬體故障、
線路沒啟動、或是纜線有問題。
 
  Hardware is M4T                                
 //硬體的類型和位址
  Description:<12345> Superman company (223D-00001; 4M/2M; QoS-2M; 27Mar2009)
//介面描述,隨便你要寫啥都行,看的懂就可以
  Internet address is 192.168.1.245/30   
 //介面的IP位址和子網路遮罩
  MTU 1500 bytes, BW 2000 Kbit, DLY 20000 usec, 
 //MTU:此介面最大可傳輸單位 
   BW:界面的頻寬,單位是kbps
  DLY:延遲時間,單位是微秒  reliability 255/255, txload 1/255, rxload 1/255       
 //Rely:界面的可靠度衡量,以分母為255的分數來表示。
   255/255表示百分百的可靠度。
   Load:界面的利用率,以分母255的分數表示;平均5分鐘。
  Encapsulation PPP, LCP Open                               
  //Encapsulation:指定給界面的封裝格式。
  Open: IPCP, crc 16, loopback not set                    
 //Loopback:表示界面是否有loopback的設定,通常是測試用功能。
  Keepalive set (10 sec)                                           
//Keepalive:是否設定Keepalive(定期回報是否正常的功能)。
  Restart-Delay is 0 secs
  Last input 16:45:14, output 00:00:01, output hang never   
//Last input/last output:最後一次透過該界面接收/傳送封包的時間,以小時/分/秒表示。
  Last clearing of "show interface" counters 8w3d
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 51493
  Queueing strategy: weighted fair
  Output queue: 0/1000/64/0 (size/max total/threshold/drops) 
//Output queue,input queue,drops:
串列中的封包數目、最大的串列大小、以及因為串列滿了而丟棄的封包數目。

     Conversations  0/89/256 (active/max active/max total)
     Reserved Conversations 0/0 (allocated/max allocated)
     Available Bandwidth 1500 kilobits/sec
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
//5 minute input/output rate:前5分內,平均每秒的傳輸位元數目和封包數目。

     106020342 packets input, 2037140418 bytes, 0 no buffer
//Packets/bytes input:界面所接收的正確的封包數目和位元組數目。
  No buffer:因為沒有緩衝區可供儲存而丟棄的封包數目。

     Received 0 broadcasts, 1 runts, 0 giants, 0 throttles
//Received…broadcasts:界面接收的廣播或多點傳撥的封包數目。
     2182 input errors, 1339 CRC, 0 frame, 0 overrun, 0 ignored, 843 abort
//Runts,giants,input errors,CRC,frame,overrun,ignored,abort,dribble condition:
  與以上各類有相關問題的封包數目。

     107980451 packets output, 4266958768 bytes, 0 underruns
//Packets/bytes outpus:界面傳送出去的正確封包數目和位元數目。
     0 output errors, 0 collisions, 6 interface resets

 //Output errors:因為有錯誤,所以無法轉傳的封包總和。
  Collisions:因為碰撞而必須重送的乙太網路封包數目。這可以用來判斷LAN纜線是否過度延伸。
  Interface resets/restarts:界面重置或重新啟動的次數,通常是錯誤造成的。

     0 output buffer failures, 0 output buffers swapped out
     6 carrier transitions     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up
//DCD = data carrier detect
DSR = data set ready
DTR = data terminal ready
RTS = request to send
CTS = clear to send
如果DCD、DSR、CTS中的某些信號狀態為down,說明問題在DCD設備,可能本端DCD設備本身有問題,也可能遠端DCD設備有問題或本端DCD設備與遠端DCD設備連接有問題,此時可以打環進一步確定問題所在;
如果DTR、RTS信號狀態為down,說明問題在路由器,檢查接口配置是否做了shutdown的操作,沒有的話可能問題在串口模塊本身或路由器插槽,先換插槽、再換串口模塊來進一步確定問題。

以下是一些序列線的狀況以及問題,和它們代表的意義。

1.Interface is administrator down , line protocol is down
a)這個界面以命令方式關閉了
b)重複的IP位址且路由器關閉了這個界面


2.Interface is down , line protocol is down
a)纜線沒接好(Improper cabling)
b)沒有訊號從ISP傳來
c)硬體失敗界面或是CUS/DSU或是佈線的問題

3.Interface is up , line protocol is down
a)甲端或乙端的介面組態錯誤
b)ISP有問題
c) keepalive序號沒有增加
d)硬體故障(甲端或乙端的界面以及CSU/DSU)
e)線路有雜訊(會不停的up/down或增加CRC)

4.carrier transitions 數字增加
a)從ISP傳來的傳訊(signaling)動作不穩定
b)佈線上的錯誤
c)硬體故障(本地端或遠端的界面以及CSU/DSU)

5.界面重設次數增加
a)佈線錯誤造成訊號的遺失
b)硬體錯誤
c)線路阻塞

6.輸入被棄置、錯誤的CRC 以及分訊框錯誤
a)線路的速度超過路由器界面的能力
b)ISP有問題
c)線路有雜訊
d)佈線上的錯誤(Faulty cabling)
e)不恰當的佈線(Improper cabling)
f)硬體錯誤

7.輸出被棄置
a)界面能傳送的速度比線路能擔負的還高

cisco基本指令(show)

cisco基本指令(show)

show controllers serial     //顯示特定介面的硬體資訊
show clock                      //顯示路由器的時間設定
show hosts                       //顯示主機名和位址資訊
show users = show user    //顯示所有連接到路由器的用戶
show history                     //顯示鍵入過的命令歷史列表
show flash                        //顯示flash記憶體資訊以及記憶體中的IOS映象檔
show version                    //顯示路由器資訊和IOS資訊
show arp = show ip arp     //顯示路由器的位址解析協議列表
show protocol + 介面       //顯示全局和介面的第三層協定的特定狀態
sh ip protocols                    //顯示目前路由器所執行的
show startup-configuration //顯示存儲在非易失性記憶體(NVRAM)的配置檔
show running-configuration //顯示存儲在記憶體中的當前正確配置檔
sh int +介面(s1/0,e0,f0/15)  //顯示該介面的資料
sh int trunk                                 //檢視所有 VLAN 狀態(Status),預設為 trunking 
sh run int + 介面(s2/1,atm2/1.3) //顯示該介面  running-configuration 相關設定
sh process                                  //顯示目前裝置使用效能
sh process memory                    //顯示記憶體使用狀況
sh process cpu history                //顯示CPU使用狀況
sh ip in brief                              //顯示每一個路由器介面的IP位址資訊以及第二層的狀態資訊
sh vtp status                               //顯示 VTP 資訊
sh sessions                                 //顯示路由器與遠端裝置正在進行的連線,可用 disconnect 終止連線
sh ip arp                                     //顯示ARP快取
sh ip route                                  //顯示整個路由表
sh ip route eigrp                         //只顯示路由表內 EIGRP 項目
sh ip route eigrp neighbors         //顯示所有 EIGRP 鄰居
sh ip route eigrp topology          //顯示 EIGRP 拓墣表
 sh ip ospf                                   // 顯示 OSPF 運行資訊
sh ip cache flow         //顯示目前ip/介面流量
sh mac-address-table     //顯示 MAC 表
sh vlan                  //顯示 VLAN 狀態
sh spanning-tree         //顯示交換器優先權資訊
sh terminal              //顯示終端機歷史大小
% Incomplete command.                     非完整命令
% Invalid input detected at '^' marker.   標記為無效指令
% Ambiguous command:"XXX"                 不清楚的指令

AI 待觀察素材

UI UX Pro Max Design Intelligence https://www.uupm.cc/