SNMP & NTP

SNMP – Simple network management protocol

  • Manager – Monitoring device
  • Agent – Devices being monitored
  • MIB – management information Base
  • UDP port 161
  • Uses GETs and SETs
  • SNMP Traps
    • Agent informs the manager.
  • SNMPv1 and 2c have community strings.
  • SNMPv3 has encryption and authentication.
    • auth – Group using the AuthNoPriv Security Level
      • Authentication: yes
      • Privacy ( encryption ): no
    • noauth – Group using the noAuthNoPriv Security Level
      • Authentication: no
      • Privacy ( encryption ): no
    • Priv – Group using the AuthPriv Security Level
      • Authentication: yes
      • Privacy ( encryption ): yes
  • If no read view is defined , all objects can be read.
  • If no write view is defined , no objects can be written.
  • If no notify view is defined , group members are not sent notifications.

NTP – Network Time Protocol

  • UDP port 123
  • Correct time is needed for various, syslogging, certifcates, leases.
  • Stratum-0 device on top the hirarchy.
  • Stratum-1 device means it’s 1 hop away from the stratum-0 server.
  • Master – Client mode
  • Broadcast mode
    • on the interface

Master:

R1#(config)ntp master 4

AUTH:

R1#(config)ntp authentication-key 1 md5 CCNP
R1#(config)ntp trusted-key 1

Client:

R2#(config)ntp server 10.10.10.1 prefer

AUTH:

R2#(config)ntp authentication-key 1 md5 CCNP
R2#(config)ntp trusted-key 1
R2#(config)ntp server 10.10.10.1 key 1

 

 

Add a Comment

Your email address will not be published. Required fields are marked *


CAPTCHA Image
Reload Image