Reference Guide

866 | Simple Network Management Protocol (SNMP)
www.dell.com | support.dell.com
Figure 43-21. Adding Tagged Ports to a VLAN using SNMP
Enable and Disable a Port using SNMP
Fetch Dynamic MAC Entries using SNMP
Step Task Command Syntax Command Mode
1 Create an SNMP community on the Dell Force10
system.
snmp-server community
CONFIGURATION
2 From the Dell Force10 system, identify the interface
index of the port for which you want to change the admin
status. Or, from the management system, use the
snmpwwalk command to identify the interface index.
show interface EXEC Privilege
3 Enter the command snmpset to change the admin status using either the object descriptor or the OID. Choose
integer 1 to change the admin status to Up, or 2 to change the admin status to Down.
snmpset with descriptor: snmpset -v version -c community agent-ip ifAdminStatus.ifindex i {1 | 2}
snmpset with OID: snmpset -v version -c community agent-ip .1.3.6.1.2.1.2.2.1.7.ifindex i {1 | 2}
Table 43-6. MIB Objects for Fetching Dynamic MAC Entries in the Forwarding Database
MIB Object OID Description MIB
dot1dTpFdbTable .1.3.6.1.2.1.17.4.3 List the learned unicast MAC addresses on the
default VLAN.
Q-BRIDGE MIB
dot1qTpFdbTable .1.3.6.1.2.1.17.7.1.2.
2
List the learned unicast MAC addresses on
non-default VLANs.
dot3aCurAggFdbTable .1.3.6.1.4.1.6027.3.2.
1.1.5
List the learned MAC addresses of aggregated
links (LAG).
F10-LINK-AGGREGATION
-MIB
>snmpset -v2c -c mycommunity 10.11.131.185 .1.3.6.1.2.1.17.7.1.4.3.1.2.1107787786 x "40 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00"
.1.3.6.1.2.1.17.7.1.4.3.1.4.1107787786 x "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00"
SNMPv2-SMI::mib-2.17.7.1.4.3.1.2.1107787786 = Hex-STRING: 40 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00
SNMPv2-SMI::mib-2.17.7.1.4.3.1.4.1107787786 = Hex-STRING: 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00