Re: [c-nsp] How to disable ILMI/SNMP CSCvs33325

Gert Doering via cisco-nsp <[email protected]>
Newsgroups gmane.network.nsp.cisco
Message-ID <[email protected]>
Hi,

so, more on this...

- on ASR9k, SNMPv3 is subject to regular control plane ACLs, so
  unless a SNMPv3 sender shows up in

    control-plane
     management-plane
      inband
       interface all
	allow all peer
	 address ipv4 1.2.3.4/32
	!
	allow SNMP peer
	 address ipv4 3.4.5.6/32

  the ASR9k will not reply (I assume that's generic IOS XR).  Good.

- on IOS XE, I found something that "seems to do the right thing", as
  in, block all SNMPv3 packets, including discovery, while still permitting
  SNMPv2

    asr920(config)#access-list 99 deny any log
    asr920(config)#snmp-server drop report  access 99 
    asr920(config)#do term mon
    asr920(config)#
    Sep 21 12:25:07: %SEC-6-IPACCESSLOGS: list 99 denied 1.1.27.20 1 packet 
    Sep 21 12:25:11: %SEC-6-IPACCESSLOGS: list 99 denied 1.1.0.18 1 packet 
    Sep 21 12:31:03: %SEC-6-IPACCESSLOGS: list 99 denied 1.1.27.20 5 packets 
    Sep 21 12:31:03: %SEC-6-IPACCESSLOGS: list 99 denied 1.1.0.18 5 packets 

  (these are the two test hosts that could do SNMP v3 discovery before)

  - since we're not using SNMPv3 anywhere, that is good enough for us.

  This is on IOS XE 16.06.10.

  Older IOS XE and IOS versions have "snmp-server drop unknown-user", but
  that still permits discovery.


So maybe the "snmp-server drop report" will at least help Hank... :-)

gert

-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]

_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
signature.asc (application/pgp-signature, 630 B)
-----BEGIN PGP SIGNATURE-----

iQGcBAEBAgAGBQJjKulXAAoJEB2Cnv7KVigSgSkL/R59MOX/dORnqotp0yJXalOG
DlC59jEVLyWLWdf0YqJut0eW+sAIha303F7GMYEOoF7kPycckzmi4d8K7xfhw58J
zz7GbRauP0Oy5oazYKqOQmk2UkMplXfBQaeIaoMFkSUDmBk8vosuKAwS+BVjK5g/
uvyS/FEd6posXoZCVZ/QkqE0HRlpSzdCYOqWdwYMTEbuOs2/fjp3BWEuy2CqQjNS
x8IBENZQtn8Fw4+nmtrVw2KGiTyvtrLvif/F3a6ChjF7T5Xng3dZwU89GxxBOVR7
2N3axrqk/l7+M0RfYAFsDO1Tk97R9eMKF2HFAz9dxWC9PxaiQcagmbq87Vg6JkqA
cqckoVVaKgnwYFESRLV9O5l046xH2iSyjsn6+bpc0ZuP9XH2dAFgSAq5SHbjNYys
D5TtfZp109XDi33aE4Szfad73r16okK7LkhqzuXGMOD4mJY7BjAxwOHaRLb2zvR3
jT9qiAtYhH8Popc1dOetQUrznt9QjLPVXPAVmXLF5g==
=4WOl
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.