snmp – a family of commands for configuring SNMP monitoring

show snmp settings

Show information about applied SNMP monitoring settings.

show snmp engine-id

Show EngineID for SNMP v3.

show snmp profiles

Show information about all applied SNMP profiles.

show snmp views

Show information about all applied OID views.

show snmp profile <name>

Show information about applied SNMP profile.

show snmp view <name>

Show information about applied OID view.

snmp

Go to SNMP configuration submenu.

snmp > show

Show information about current SNMP monitoring settings.

snmp > [no] enable

Enable (or disable, if no) SNMP monitoring. Disabled by default.

snmp > port <port>

Set listening port for SNMP. Port 161 is used by default.

snmp > vrf <name>

Set the name of the virtual router to start the SNMP agent. The default is Management.

snmp > no profile <name>

Delete SNMP profile.

snmp > profile <name>

Create or edit SNMP profile and go to its submenu.

snmp > profile <name> > show

Show current state of the SNMP profile.

snmp > profile <name> > [no] enable

Enable (or disable, if no) SNMP profile. Disabled by default.

snmp > profile <name> > view <name>

Set OID view for current profile. By default, OID view 'default', which is always available.

snmp > profile <name> > v1 community <name>

Switch SNMP profile to v1 and set unique community name.

snmp > profile <name> > v2c community <name>

Switch SNMP profile to v2c and set unique community name. The v2c version is used by default and the community name is the same as the profile name.

snmp > profile <name> > v3 user <name>

Switch SNMP profile to v3 and set user name.

snmp > profile <name> > v3 auth-protocol (SHA-1|SHA-256)

Set authentication protocol for SNMP v3 profile. The SHA256 algorithm is used by default. When changing the authentication protocol, the auth-key and priv-key parameters are reset.

snmp > profile <name> > v3 auth-key <password>

Set authentication key for SNMP v3 profile. The password will be hashed with the specified authentication algorithm.

snmp > profile <name> > v3 priv-key <password>

Set encryption key for SNMP v3 profile. The password will be hashed with the specified authentication algorithm.

snmp > profile <name> > traps

Go to SNMP traps configuration submenu for SNMP profile.

snmp > profile <name> > traps > show

Show current state of SNMP profile.

snmp > profile <name> > traps > [no] enable

Enable (or disable, if no) SNMP traps. Disabled by default.

snmp > profile <name> > traps > [no] dst-host <host>

Set (or remove, if no) SNMP trap server address (IP address or domain name).

snmp > profile <name> > traps > dst-port <port>

Set SNMP trap server port. Port 162 is used by default.

snmp > no view <name>

Remove OID view.

snmp > view <name>

Create or edit OID view and go to its submenu. OID view 'default' is not editable.

snmp > view <name> > show

Show current state of OID view.

snmp > view <name> > include <oid> [<description>]

Include subtree in OID view. Optionally, you can specify a text description until the end of the command.

snmp > view <name> > exclude <oid> [<description>]

Exclude subtree from OID view. Optionally, you can specify a text description until the end of the command.

snmp > view <name> > no <oid>

Remove subtree from OID view. OID view used by profiles cannot be deleted. Default OID view cannot be deleted and is always available.

| Prev | Home | Next |