Ciscoスイッチのいろいろ

あるメモがてら記載。
いずれもスイッチのコマンドですが、1つはIOS系、1つはcat OS系です。

set spantree portfast 4/1-4/4 enable

・コンソールやテルネットからもアクセスする
・PWはすべて暗号化する

Switch(config)#enable password xxxx
Switch(config)#line console0
Switch(config-line)#password xxxx
Switch(config-line)#line vty 0 4
Switch(config-line)#login
Switch(config)#service password-encryption
Switch(config)#access-list1 permit 192.168.123.11 0.0.0.255
Switch(config)#line vty 0 4
Switch(config-line)#access-class 1 in
Switch(config-line)#Ctrl-Z
Switch#write memory

・STPの2番目のrootとして設定された場合にSTPブリッジの優先権はデフォルト値からどの値へと変更されるか?

1番目:8192
2番目:16384

・PIMのルーティングキャッシュの表示方法

show ip pim rp[group-name | group-address][mapping]