snmp

service snmp
SDE M10-Smart M2 RS420

Enable Simple Network Management Protocol (SNMP)

service snmp community <txt>
SDE M10-Smart M2 RS420

Create a new community

Values
  • txt – Community name (1-32)

Instances

Multiple

service snmp community <txt> client <ipv4|ipv6|ipv4net|ipv6net>
SDE M10-Smart M2 RS420
Values
  • ipv4 – IP address of SNMP client allowed to contact system

  • ipv6 – IP address of SNMP client allowed to contact system

  • ipv4net – IP address of SNMP client allowed to contact system

  • ipv6net – IP address of SNMP client allowed to contact system

Instances

Multiple

service snmp community <txt> notify-traps
SDE M10-Smart M2 RS420

Set notify traps for this community

service snmp community <txt> notify-traps advisor <id>
SDE M10-Smart M2 RS420
Values
  • id – Advisors to be notified for this community

Instances

Multiple

service snmp community <txt> notify-traps alarm <id>
SDE M10-Smart M2 RS420
Values
  • id – Alarms to be notified for this community

Instances

Multiple

SDE M10-Smart M2 RS420

Link-down notification for this community. Reports an error in one of the router interfaces

SDE M10-Smart M2 RS420

Link-up notification for this community. Notifies that the down interface is now up and operating again

service snmp community <txt> view <txt>
SDE M10-Smart M2 RS420

Set a view for this community

Reference

service snmp view <txt>

service snmp engine-id <txt>
SDE M10-Smart M2 RS420

Set Engine ID (SNMPv3)

Values
  • txt – Hex value (e.g., 0x80000009010a0101c1)

service snmp listen
SDE M10-Smart M2 RS420

Endpoints to listen for incoming SNMP requests (by default, on all interfaces on port 161)

service snmp listen address <ipv4|ipv6>
SDE M10-Smart M2 RS420
Values
  • ipv4 – IPv4/IPv6 address to listen for incoming requests

  • ipv6 – IPv4/IPv6 address to listen for incoming requests

Local IP address

Instances

Multiple

service snmp listen address <ipv4|ipv6> port <u32>
SDE M10-Smart M2 RS420

Port to listen for incoming requests

Values
  • u32 – Numeric IP port (1-32767)

  • u32 – Numeric IP port (60000-65535)

Instances

Multiple

service snmp listen port <u32>
SDE M10-Smart M2 RS420

Port to listen for incoming requests (on all interfaces)

Values
  • u32 – Numeric IP port (1-32767)

  • u32 – Numeric IP port (60000-65535)

Instances

Multiple

service snmp local-address <ipv4|ipv6>
SDE M10-Smart M2 RS420

Local IP address used to generate notifications

Values
  • ipv4 – IP address

  • ipv6 – IPv6 address

Local IP address

service snmp local-vrf <id>
SDE M10-Smart M2 RS420

Bind to local Virtual Routing and Forwarding domain name

Reference

system vrf <id>

service snmp log-level <txt>
SDE M10-Smart M2 RS420

SNMP log-level

Values
  • emerg – Emergency messages

  • alert – Urgent messages

  • crit – Critical messages

  • err – Error messages

  • warning – Warning messages

  • notice – Messages for further investigation

  • info – Informational messages

  • debug – Debug messages

service snmp trap-target <fqdn|ipv4|ipv6>
SDE M10-Smart M2 RS420

Address of notification target

Values
  • ipv4 – IPv4 address

  • ipv6 – IPv6 address

  • fqdn – Hostname

Instances

Multiple

Required

service snmp trap-target <fqdn|ipv4|ipv6> version
SDE M10-Smart M2 RS420

Version of SNMP to use

Instances

Unique

service snmp trap-target <fqdn|ipv4|ipv6> version v1
SDE M10-Smart M2 RS420

Use SNMPv1 (only traps notifications)

Required

service snmp community <txt>

Required

service snmp trap-target <fqdn|ipv4|ipv6> version v1 community <txt>
SDE M10-Smart M2 RS420

Community used when sending notification information

Reference

service snmp community <txt>

service snmp trap-target <fqdn|ipv4|ipv6> version v1 port <u32>
SDE M10-Smart M2 RS420

Destination port used for notification

Values
  • u32 – Numeric IP port (1-65535)

service snmp trap-target <fqdn|ipv4|ipv6> version v1 source <ipv4|ipv6>
SDE M10-Smart M2 RS420
Values
  • ipv4 – Local IP address to use as source for notifications

  • ipv6 – Local IP address to use as source for notifications

Local IP address

service snmp trap-target <fqdn|ipv4|ipv6> version v2c
SDE M10-Smart M2 RS420

Use SNMPv2c

Required

service snmp community <txt>

service snmp trap-target <fqdn|ipv4|ipv6> version v2c community <txt>
SDE M10-Smart M2 RS420

Community used when sending notification information

Reference

service snmp community <txt>

service snmp trap-target <fqdn|ipv4|ipv6> version v2c port <u32>
SDE M10-Smart M2 RS420

Destination port used for notification

Values
  • u32 – Numeric IP port (1-65535)

service snmp trap-target <fqdn|ipv4|ipv6> version v2c type <txt>
SDE M10-Smart M2 RS420

Type of this notification

Values
  • trap – Traps are one-way communication

  • inform – Informs imply receiver acknowledgement

service snmp trap-target <fqdn|ipv4|ipv6> version v3
SDE M10-Smart M2 RS420

Use SNMPv3

Required

service snmp user <txt>

service snmp trap-target <fqdn|ipv4|ipv6> version v3 port <u32>
SDE M10-Smart M2 RS420

Destination port used for notification

Values
  • u32 – Numeric IP port (1-65535)

service snmp trap-target <fqdn|ipv4|ipv6> version v3 type <txt>
SDE M10-Smart M2 RS420

Type of this notification

Values
  • trap – Traps are one-way communication

  • inform – Informs imply receiver acknowledgement

service snmp trap-target <fqdn|ipv4|ipv6> version v3 user <txt>
SDE M10-Smart M2 RS420

SNMPv3 user used when sending notification information

Reference

service snmp user <txt>

service snmp user <txt>
SDE M10-Smart M2 RS420

Create a new SNMPv3 user

Values
  • txt – Username (1-32)

Instances

Multiple

service snmp user <txt> authentication
SDE M10-Smart M2 RS420

Enable authentication

Required

Required

service snmp user <txt> authentication encrypted-password <password>
SDE M10-Smart M2 RS420
Values
  • password – Encrypted authentication key

service snmp user <txt> authentication password <txt>
SDE M10-Smart M2 RS420

Authentication key

Values
  • txt – Passphrase (between 8 and 32 characters) (8-32)

service snmp user <txt> authentication protocol <txt>
SDE M10-Smart M2 RS420
Values
  • txt – Authentication protocol

service snmp user <txt> notify-traps
SDE M10-Smart M2 RS420

Set notify traps for this user

service snmp user <txt> notify-traps advisor <id>
SDE M10-Smart M2 RS420
Values
  • id – Advisors to be notified for this user

Instances

Multiple

service snmp user <txt> notify-traps alarm <id>
SDE M10-Smart M2 RS420
Values
  • id – Alarms to be notified for this user

Instances

Multiple

SDE M10-Smart M2 RS420

Link-down notification for this user. Reports an error in one of the router interfaces

SDE M10-Smart M2 RS420

Link-up notification for this user. Notifies that the down interface is now up and operating again

service snmp user <txt> privacy
SDE M10-Smart M2 RS420

Enable privacy

Required

Required

service snmp user <txt> privacy encrypted-password <password>
SDE M10-Smart M2 RS420
Values
  • password – Encrypted text password

service snmp user <txt> privacy password <txt>
SDE M10-Smart M2 RS420

Privacy key

Values
  • txt – Passphrase (between 8 and 32 characters) (8-32)

service snmp user <txt> privacy protocol <txt>
SDE M10-Smart M2 RS420
Values
  • txt – Privacy protocol

service snmp user <txt> view <txt>
SDE M10-Smart M2 RS420

Set a view for this user

Reference

service snmp view <txt>

service snmp view <txt>
SDE M10-Smart M2 RS420

Create a subset of the overall OID tree

Values
  • txt – View name (1-32)

Instances

Multiple

Required

service snmp view <txt> oid <txt>
SDE M10-Smart M2 RS420

OID to include/exclude from the view

Values
  • txt – OID (e.g., 1.2.1.2)

Instances

Multiple

service snmp view <txt> oid <txt> mask <txt>
SDE M10-Smart M2 RS420

Bit-mask to set significant subidentifiers for this OID

Values
  • txt – OID bit-mask (e.g., 00:0f:aa)

service snmp view <txt> oid <txt> type <txt>
SDE M10-Smart M2 RS420
Values
  • txt – Include/exclude this OID