カテゴリ:

IOSでフレームリレーの設定をする際にmap-classをよく使いますが、設定値の確認はどうすればいいのでしょうか。class-mapであればそのままshowコマンドで指定できますが、同じことをmap-classで実行するとエラーとなります。何か納得いかないですね…。

R1#show version | include IOS
Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(15)T12, RELEASE SOFTWARE (fc3)
R1#show class-map
Class Map match-any class-default (id 0)
   Match any

Class Map match-all MYCLASS (id 1)
   Match input-interface Loopback0

R1#show map-class

% Invalid input detected at '^' marker.

map-classを確認するにはshow running-configを利用します。

R1#show running-config map-class
Building configuration...

Current configuration:
!
map-class frame-relay FRTS
frame-relay cir 192000
frame-relay bc 19200
end

もちろん"show running-config | begin map-class"としても基本的には同じです。