...
Code Block |
---|
|
Router # Conf t
Router(config)# snmp-server view {Enter View Name Here} iso included
Router(Config)# snmp-server group <Group Name> v3 [priv|auth|noauth] read <View Name >
Router(Config)# snmp-server user <username> <Group Name> v3 [encrypted] [auth {md5 | sha} auth-password]} [priv {aes 128 | aes 196 | aes 256 | des} priv]
Router(Config)# snmp-server host <Enter VSM Probe IP Address here> version 3 [auth|no auth|priv] <Enter user name here>
Router(Config)# exit |
...
Code Block |
---|
|
Router(Config)# snmp-server view virsaelab iso included
Router(Config)# snmp-server group VSMMonitor v3 priv read virsaelab
Router(Config)# snmp-server user VSMUser VSMMonitor v3 auth sha P@ssword123 priv aes 256 P@ssword123
Router(Config)# snmp-server host 192.168.5.180 version 3 priv VSMUser
Router(Config)# snmp-server enable traps
Router(Config)# Exit
|
Verification output :
Code Block |
---|
|
Router # Show snmp user
User name: VSMUser
Engine ID: 800000090300005056BA6363
storage-type: nonvolatile active
Authentication Protocol: SHA
Privacy Protocol: AES256
Group-name: VSMMonitor
Router # Show snmp host
Notification host: 192.168.5.180 udp-port: 162 type: trap user: VSMUser security model: v3 priv
|
The following demonstrates a sample configuration of SNMP Version outputs, the following demonstrates a sample configuration of SNMP Version 3 with Parameters shown in the following table with option to enable traps with Authentication Only
...
Code Block |
---|
|
Router(Config)# snmp-server view virsaelab iso included
Router(Config)# snmp-server group VSMMonitor v3 auth read virsaelab
Router(Config)# snmp-server user VSMUser VSMMonitor v3 auth sha P@ssword123
Router(Config)# snmp-server host 192.168.5.180 version 3 auth VSMUser
Router(Config)# snmp-server enable traps
Router(Config)# Exit |
...