Catalyst snmp-server communityコマンドの使い方

環境
Catalyst

構文
snmp-server community コミュニティ名 [ ro | rw ]
roは読み取り、rwは読み書きを示します。

使用例
1.読み取り時のコミュニティ名を設定する

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
Cisco(config)# snmp-server community testA ro
Cisco(config)# snmp-server community testA ro
Cisco(config)# snmp-server community testA ro

2.読み書き時のコミュニティ名を設定する

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
Cisco(config)# snmp-server community testB rw
Cisco(config)# snmp-server community testB rw
Cisco(config)# snmp-server community testB rw

 

Cisco

Posted by arkgame