beautypg.com

Preserving interface statistics in snmp – Brocade Multi-Service IronWare Administration Guide (Supporting R05.6.00) User Manual

Page 98

background image

80

Multi-Service IronWare Administration Guide

53-1003028-02

Configuring snAgentConfigModuleType to return original values

2

Brocade(config)# snmp-server legacy iftype

Syntax: [no] snmp-server legacy iftype

When this command is configured, the values gigabitEthernet (117) or fastEther(62) are returned
for ifType. If you issue a no snmp-server legacy iftype, ifType returns ethernetCsmacd(6) for
Ethernet interfaces.

Configuring snAgentConfigModuleType to return
original values

Enumeration values for snAgentConfigModuleType object in the SNMP MIB have been changed in
Release 04.0.00 for the Brocade NetIron XMR and Brocade MLX series to resolve enumeration
conflicts with other hardware modules in the Unified IP MIB. For example, an SNMP get of the
snAgentConfigModuleType of the 10x1GC module returned xmr20PortGigCopperSPModule(84).
Beginning with Release 04.0.00, snAgentConfigModuleType returns
fdryXmr20PortGigCopperSPModule(1084) for the 10x1GC module.

If you want snAgentConfigModuleType to return the enumeration values used before Release
04.0.00, configure the following command.

Brocade(config)# snmp-server legacy module-type

Syntax: [no] snmp-server legacy module-type

Refer to the Unified IP MIB Reference for details on snAgentConfigModuleType.

Preserving interface statistics in SNMP

By default, statistics for an interface is cleared from both the CLI and SNMP when the following
commands are entered on the CLI:

clear statistics ethernet slot-number/port-number

clear statistics slot-number/port-number

clear rmon statistics

clear statistics log slot-number/port-number

If you want to preserve interface statistics in SNMP when these commands are entered, configure
the following command at the Global level of the CLI.

Brocade(config)# snmp-server preserve-statistics

Syntax: [no] snmp-server preserve-statistics

For details on which interface statistics are preserved in SNMP, refer to the “Preserved interface
statistics for SNMP” section of the “Supported Standard MIBs” chapter in the Unified IP MIB
Reference
.