問題
IOS-XE 16.8 以降のバージョンで以前使用できていた隠しコマンドが使用できません。
IOS-XE バージョンの動作比較
IOS-XE 16.8 より前のバージョン
隠しコマンド (※) はタブキーやヘルプ (?) で候補コマンドが表示されませんが、フルスペルでコマンドを打つことで出力が得られます。
※ TAC の指示に基づいて使用してください。
以下、show ip spd や show interfaces switching は隠しコマンドです。
Router#show ip sp?
% Unrecognized command
Router#show ip spd
Current mode: normal.
Queue min/max thresholds: 73/74, Headroom: 1000, Extended Headroom: 10
IP normal queue: 0, priority queue: 0.
SPD special drop mode: none
Router#
Router#show interfaces swi?
switchport
Router#show interfaces switching
GigabitEthernet0/0/0
Throttle count 0
Drops RP 0 SP 0
SPD Flushes Fast 0 SSE 0
SPD Aggress Fast 0
SPD Priority Inputs 120314 Drops 0
Protocol IP
Switching path Pkts In Chars In Pkts Out Chars Out
Process 18 6354 0 0
Cache misses 0 - - -
Fast 0 0 0 0
Auton/SSE 115609 8085789 142940 10544636
/省略/
IOS-XE 16.8 以降のバージョン
Router#show ip sp?
% Unrecognized command
Router#show ip spd
^
% Invalid input detected at '^' marker.
Router#show interfaces swi?
switchport
Router#show interfaces switching
^
% Invalid input detected at '^' marker.
Router#
原因
IOS-XE 16.8 から隠しコマンドをサポートしなくなりました。
解決策
IOS-XE 16.8 より前に隠しコマンド扱いとなっていたコマンドを IOS-XE 16.8 以降で使用するためにはコンフィギュレーション モードで service internal (※) を有効にする必要があります。
※ TAC の指示に基づいて使用してください。
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#service internal
Router(config)#end
Router#
Router#show ip sp?
spd
Router#show ip spd
Current mode: normal.
Queue min/max thresholds: 73/74, Headroom: 1000, Extended Headroom: 10
IP normal queue: 0, priority queue: 0.
SPD special drop mode: none
Router#
Router#show interfaces swi?
switching switchport
Router#show interfaces switching
GigabitEthernet0/0/0
Throttle count 0
Drops RP 0 SP 0
SPD Flushes Fast 0 SSE 0
SPD Aggress Fast 0
SPD Priority Inputs 85192 Drops 0
Protocol IP
Switching path Pkts In Chars In Pkts Out Chars Out
Process 0 0 0 0
Cache misses 0 - - -
Fast 498986 28329528 0 0
Auton/SSE 967742 63151433 992802 61311606
/省略/
備考