LoginSignup
1
2

More than 5 years have passed since last update.

SecureCRT(Cisco Catalyst)コマンドTips

Last updated at Posted at 2015-12-31

あまり需要はないと思うが、業務で使うのでTipsを書いていく。

Switchのバージョン

sh version

ステータス一覧

sh int status

エラーがおきてないかチェック

term mon

MAC Addressからポート検索

sh mac addr addr 00-21-86-FC-37-D9
show mac address-table address 00-21-86-FC-37-D9

ポートの設定確認

sh run int g4/25
show running-config interface GigabitEthernet 4/25

ポートのセッション確認

sh auth sess int g4/25
show authentication sessions interface GigabitEthernet 4/25

デスクリプションの一覧確認

sh int desc
show interface description

VLANを調べる。

show interfaces GigabitEthernet5/41 switchport | i vlan

条件追加

パイプ|ではさむ
例:結果から1024を含む行を抜き出す

sh mac addr | i 1024

条件検索

iでの後に検索したい文字を書く
例:デスクリプション一覧からの中からtestを含む結果を抽出する。

sh int desc | i test

今後気づいたらどんどん追加する。

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2