Allowing snmp access only to clients in a vlan, Identifying a system location, Disabling password checking – Brocade Virtual ADX Administration Guide (Supporting ADX v03.1.00) User Manual

Page 44: Specifying the source for all snmp traps

Advertising
background image

32

Brocade Virtual ADX Administration Guide

53-1003249-01

Configuring SNMP

1

Allowing SNMP access only to clients in a VLAN

You can allow SNMP access only to clients in a specific VLAN.

The following example configures the device to allow SNMP access only to clients connected to
ports within port-based VLAN 40. Clients connected to ports that are not in VLAN 40 are denied
access.

Virtual ADX(config)#snmp-server enable vlan 40

Syntax: [no] snmp-server enable vlan vlan-id

Enabling or disabling a station as an SNMP trap receiver

You can assign or remove a station as SNMP trap receiver. To assign the trap receiver, use the
command: snmp-server host. To later remove the trap receiver feature, enter no snmp-server host.

To disable a station as a SNMP trap receiver, enter a command such as the following.

Virtual ADX(config)#no snmp-server host version v1 10.22.3.33 public

Syntax: [no] snmp-server host version v1 | v2c | v3 ip-addr-of-trap-receiver-station

community-string

Identifying a system location

You can identify a system location for the Brocade Virtual ADX. This information is saved in the
configuration file for later reference. You can later access system location information using the
show snmp server command.

To identify a system location, enter a command such as the following.

Virtual ADX(config)#snmp-server location pulchritude_lane

Syntax: [no] snmp-server location text

Disabling password checking

You can disable password checking for SNMP set requests. If a third-party SNMP management
application does not add a password to the password field when it sends SNMP set requests to a
Brocade Virtual ADX, by default the Brocade Virtual ADX rejects the request.

To disable password checking, enter the following command.

Virtual ADX(config)#no snmp-server pw-check

Syntax: [no] snmp-server pw-check

Specifying the source for all SNMP traps

You can specify a port or virtual interface whose lowest-numbered IP address the Brocade Virtual
ADX must use as the source for all SNMP traps sent by the device. To do so, enter a command such
as the following.

Virtual ADX(config)#snmp-server trap-source ethernet 4

Syntax: [no] snmp-server trap-source {ethernet portnum | ve num}

Advertising