SNMP Over IPv6
SNMP Over IPv6
SNMP Over IPv6
Americas Headquarters:
Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
An access list of IP addresses of the SNMP managers that are permitted to use the community string to
gain access to the agent.
A MIB view, which defines the subset of all MIB objects accessible to the given community.
Read and write or read-only permission for the MIB objects accessible to the community.
You can configure one or more community strings. To remove a specific community string, use the no
snmp-server community command.
The snmp-server host command specifies which hosts will receive SNMP notifications, and whether you
want the notifications sent as traps or inform requests. The snmp-server enable traps command globally
enables the production mechanism for the specified notification types (such as Border Gateway Protocol
[BGP] traps, config traps, entity traps, and Hot Standby Router Protocol [HSRP] traps).
SUMMARY STEPS
1. enable
2. configure terminal
3. snmp-server community string [view view-name] [ro | rw] [ipv6 nacl] [access-list-number]
4. snmp-server engineID remote {ipv4-ip-address | ipv6-address} [udp-port udp-port-number] [vrf vrfname] engineid-string
5. snmp-server group group-name {v1 | v2c | v3 {auth | noauth | priv}} [context context-name] [read
read-view] [write write-view] [notify notify-view] [access [ipv6 named-access-list ] {acl-number | aclname}]
6. snmp-server host {hostname | ip-address} [vrf vrf-name] [traps | informs] [version {1 | 2c | 3 [auth |
noauth | priv]}] community-string [udp-port port] [notification-type]
7. snmp-server user username group-name [remote host [udp-port port]] {v1 | v2c | v3 [encrypted]
[auth {md5 | sha} auth-password]} [access [ipv6 nacl] [priv {des | 3des | aes {128 | 192 | 256}}
privpassword] {acl-number | acl-name} ]
8. snmp-server enable traps [notification-type] [vrrp]
DETAILED STEPS
Command or Action
Step 1 enable
Purpose
Enables privileged EXEC mode.
Example:
Device> enable
Command or Action
Step 2 configure terminal
Purpose
Enters global configuration mode.
Example:
Device# configure terminal
Example:
Device(config)# snmp-server community mgr view
restricted rw ipv6 mgr2
Example:
Device(config)# snmp-server engineID remote
3ffe:b00:c18:1::3/127 remotev6
Example:
Device(config)# snmp-server group public v2c access ipv6
public2
Example:
Device(config)# snmp-server host host1.com 2c vrf trapvrf
Command or Action
Purpose
Example:
Device(config)# snmp-server user user1 bldg1 remote
3ffe:b00:c18:1::3/127 v2c access ipv6 public2
Example:
Device(config)# snmp-server enable traps bgp
snmp-server
snmp-server
snmp-server
snmp-server
snmp-server
community public
enable traps bgp
host 172.16.1.27 version 2c public
host 172.16.1.111 version 1 public
host 3ffe:b00:c18:1::3/127 public
Additional References
Related Documents
Related Topic
Document Title
IPv6 commands
Title
IPv6 RFCs
MIBs
MIB
MIBs Link
Technical Assistance
Description
Link
http://www.cisco.com/cisco/web/support/
index.html
Feature Name
Releases
Feature Information
12.2(33)SRB
12.2(33)SXI
12.2(44)SE
12.2(44)SG
12.3(14)T
15.0(2)SG
Cisco IOS XE Release 2.1
3.2SG
Feature Name
Releases
Feature Information
12.2(33)SRB
12.2(33)SXI
12.2(50)SG
12.2(52)SE
12.4(2)T
15.0(2)SG
Cisco IOS XE Release 2.1
3.2SG
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S.
and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks.
Third-party trademarks mentioned are the property of their respective owners. The use of the word partner
does not imply a partnership relationship between Cisco and any other company. (1110R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be
actual addresses and phone numbers. Any examples, command display output, network topology diagrams,
and other figures included in the document are shown for illustrative purposes only. Any use of actual IP
addresses or phone numbers in illustrative content is unintentional and coincidental.
2012 Cisco Systems, Inc. All rights reserved.