beautypg.com

Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1774

background image

SNMP Introduction

Software Reference for x310 Series Switches

67.16

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

Step 3:

Create a community with read-only access for the regional

NMS.

Create a read-only access community called “example2ro” for use by the regional network
management station at 192.168.16.1. Use an ACL to give the regional NMS SNMP access to
the switch using that community name.

Step 4:

Enable link traps.

Enable link traps for the desired interfaces. In this example, the NSMs are in VLAN 2 and
VLAN 3 and other ports are in VLAN 1 for simplicity.

Note that link traps on VLANs are sent when the last port in the VLAN goes down. You will
only see a trap for a VLAN if the trap host is in a different VLAN.

You can also enable link traps on channel groups and switch ports. For example, to enable
traps on a range of switch ports:

You can also enable link traps on channel groups and switch ports. For example, to enable
traps on a range of switch ports:

Step 5:

Configure trap hosts.

Specify the IP address or addresses that the traps will get sent to. In this example, traps will
be sent to both NMSes.

Step 6:

Check the configuration.

Check that the current configuration of the SNMP communities matches the desired
configuration:

awplus(config)#

access-list 67 permit 192.168.16.1

awplus(config)#

snmp-server community example2ro ro 67

awplus(config)#

interface vlan1-3

awplus(config-if)#

snmp trap link-status

awplus(config)#

int port1.0.4-1.0.6

awplus(config-if)#

snmp trap link-status

awplus(config)#

snmp-server host 192.168.11.5 version 2c
example1rw

awplus(config)#

snmp-server host 192.168.16.1 version 2c
example2ro

awplus#

show snmp-server

awplus#

show snmp-server community

awplus#

show run snmp