Configuring an snmp view, Clearing all statistics for snmp server traffic – Brocade Virtual ADX Administration Guide (Supporting ADX v03.1.00) User Manual
Page 45

Brocade Virtual ADX Administration Guide
33
53-1003249-01
Configuring SNMP
1
The ethernet portnum parameter specifies a virtual port on the device.
The ve num parameter specifies a virtual interface, where num is the number of a virtual interface
configured on the device. It uses the lowest-numbered address on the interface.
NOTE
The command snmp-server trap-source will change the source IP address used for syslog messages
to a syslog server.
Configuring an SNMP view
You can use an SNMP view as an argument with other commands.
SNMP views are named groups of MIB objects that can be associated with user accounts to allow
limited access for viewing and modification of SNMP statistics and system configuration. SNMP
views can also be used with other commands that take SNMP views as an argument. SNMP views
reference MIB objects using object names, numbers, wildcards, or a combination of the three. The
numbers represent the hierarchical location of the object in the MIB tree. You can reference
individual objects in the MIB tree or a subset of objects from the MIB tree.
To configure an SNMP view, enter commands such as the following.
Virtual ADX(config)#snmp-server view Maynes system included
Virtual ADX(config)#snmp-server view Maynes system.2 excluded
Virtual ADX(config)#snmp-server view Maynes 2.3.*.6 excluded
Virtual ADX(config)#write mem
Syntax: [no] snmp-server view name mib_tree included | excluded
The name variable can be any alphanumeric name you choose to identify the view. The names
cannot contain spaces.
The mib_tree variable is the name of the MIB object or family. MIB objects and MIB sub-trees can
be identified by name or by the numbers representing the position of the object or sub-tree in the
MIB hierarchy. You can use a wildcard (*) in the numbers to specify a sub-tree family.
The included | excluded parameter specifies whether the MIB objects identified by the mib_family
parameter are included in the view or excluded from the view.
NOTE
The snmp-server view command supports the MIB objects as defined in RFC 1445.
Clearing all statistics for SNMP server traffic
To clear all statistics for SNMP server traffic, enter the following command.
Virtual ADX#clear snmp-server traffic
Syntax: clear snmp-server traffic