snmp configuration

Note:
Default snmp verstion is 2c

cmd:
!access list
ip access-list standard AL_SNMP
permit 192.168.1.1
end
!
show ip access-list
!
snmp community server CISCO_READ ro AL_SNMP
snmp-server host 192.1
!snmp-server view "view-name" oid-tree {include|exclude}
snmp-server view SNMP_VIEW_SAMPLE internet include !include all MIBS
snmp-server view SNMP_VIEW_SAMPLE ifMIB exclude    !except for the interface MIB
show snmp view
!
show snmp community
show snmp contact
show snmp location

Tags:

About Alexis Katsavras

Working as Freelance Cisco Unified Communications Consultant in the UK. www.NetPacket.co.uk