How2pass.com Forums
AR537 - Printable Version

+- How2pass.com Forums (https://www.how2pass.com/forum)
+-- Forum: CCNP (https://www.how2pass.com/forum/forum-6.html)
+--- Forum: CCNP ENARSI 300-410 Forum (https://www.how2pass.com/forum/forum-15.html)
+--- Thread: AR537 (/thread-2284.html)



AR537 - pc_evans - 03-02-2024

R1#sh run | inc snmp
mmi snmp-timeout 180
R1#
R1#
R1#
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#snmp-server community ccnp
R1(config)#
R1(config)#do sh snmp community

Community name: ILMI
Community Index: ILMI
Community SecurityName: ILMI
storage-type: read-only  active


Community name: ccnp
Community Index: ccnp
Community SecurityName: ccnp
storage-type: nonvolatile        active



Adding the command, 'snmp-server host 172.16.4.4 ccnp' has no impact on the output of 'show snmp community'.  There is no way to tell from the question if the command is present.



R1(config)#snmp-server host 172.16.4.4 ccnp
R1(config)#
R1(config)#
R1(config)#do sh snmp community

Community name: ILMI
Community Index: ILMI
Community SecurityName: ILMI
storage-type: read-only  active


Community name: ccnp
Community Index: ccnp
Community SecurityName: ccnp
storage-type: nonvolatile        active


The command snmp-server community ccnp 4 is present.  It requries the snmp server to only allow hosts permitted in access-list 4.


R1(config)#snmp-server community ccnp ?
  <1-99>      Std IP accesslist allowing access with this community string
  <1300-1999>  Expanded IP accesslist allowing access with this community
              string
  WORD        Access-list name
  ipv6        Specify IPv6 Named Access-List
  ro          Read-only access with this community string
  rw          Read-write access with this community string
  view        Restrict this community to a named MIB view
  <cr>

R1(config)#snmp-server community ccnp 4
R1(config)#
R1(config)#do sh snmp community

Community name: ILMI
Community Index: ILMI
Community SecurityName: ILMI
storage-type: read-only  active


Community name: ccnp
Community Index: ccnp
Community SecurityName: ccnp
storage-type: nonvolatile        active access-list: 4


R1(config)#


RE: AR537 - help_desk - 03-03-2024

The question has been corrected. Thank you!