You are on page 1of 1

R1

conf term
hostname R1
int g1/0
ip address 192.168.1.1 255.255.255.0
no shutdown

int s2/0
ip address 192.168.2.1 255.255.255.252
clock rate 8064000
no shutdown

line console 0
logging synchronous

R2
conf t
hostname R2
int s2/0
ip address 192.168.2.2 255.255.255.252
no shutdown
exit

line console 0
logging synchronous
exit

CONFIGURE A SNMPv2 agent

S1
conf t
line console 0
logging synchronous
snmp-server community ciscolab ro SNMP_ACL
snmp-server location Company_HQ
snmp-server contact admin@company.com
snmp-server host 192.168.1.3 version 2c ciscolab
snmp-server enable traps
ip access-list standard SNMP_ACL
permit 192.168.1.3

to verify show snmp

You might also like