Output of show snmp-server command with IPv6 address


snmpv3 targetaddress <name> params <params_name>


[ addr–mask <ipv4–addr> ]

[ filter < none | debug | all | not–info | critical > ]

[ max–msg–size <484–65535> ]

[ port–mask <tcp–udp port> ]

[ retries <0–255> ]

[ taglist <tag_name> ]

[ timeout <0–2147483647> ]

[ udp–port <port–number> ]

Executed at the global config level to configure an SNMPv3 management station to which notifications (traps and informs) are sent.

IPv6 is not supported in the configuration of an interface IPv6 address as the default source IP address used in the IP headers of SNMP notifications (traps and informs) or responses sent to SNMP requests. Only IPv4 addresses are supported in the following configuration commands:

snmp–server trap–source < ipv4–addr | loopback <0–7>

snmp–server response–source [dst–ip–of–request | ipv4–addr | loopback <0–7> ]

The show snmp–server command displays the current SNMP policy configuration, including SNMP communities, network security notifications, link-change traps, trap receivers (including the IPv4 or IPv6 address) that can receive SNMPv1 and SNMPv2c traps, and the source IP (interface) address used in IP headers when sending SNMP notifications (traps and informs) or responses to SNMP requests.

Switch(config)# show snmp-server

 SNMP Communities

  Community Name       MIB View Write Access
  –––––––––––––––––––– –––––––– ––––––––––––
  public               Manager  Unrestricted
  marker               Manager  Unrestricted

 Trap Receivers

  Link–Change Traps Enabled on Ports [All] : All

  Traps Category                  Current Status
  ––––––––––––––––––––––––––––    –––––––––––––––
  SNMP Authentication           : Extended
  Password change               : Enabled
  Login failures                : Enabled
  Port–Security                 : Enabled
  Authorization Server Contact  : Enabled
  DHCP–Snooping                 : Enabled
  Dynamic ARP Protection        : Enabled

  Address               Community Events   Type Retry Timeout
  ––––––––––––––––––––– ––––––––– –––––––– –––– ––––– –––––––          public    All      trap 3     15          public    Critical trap 3     15
  :0217:a4ff:feff:1f70  marker    Critical trap 3     15

 Excluded MIBs

 Snmp Response Pdu Source–IP Information

 Selection Policy : rfc1517

Note: An IPv6 address is displayed on two lines.

Output of show snmpv3 targetaddress command with IPv6 address

The show snmpv3 targetaddress command displays the configuration (including the IPv4 or IPv6 address) of the SNMPv3 management stations to which notification messages are sent.

Switch(config)# show snmpv3 targetaddress

 snmpTargetAddrTable [rfc2573]

  Target Name      IP Address              Parameter
  –––––––––––––––– ––––––––––––––––––––––– ––––––––––
  1                  1
  2                  2
  PP.217             marker_p
  PP.218           2540:0:260:211
                      :217:a4ff:feff:1f70  marker_p

Note: An IPv6 Address is displayed on two lines