Enable And Disable A Port Using Snmp; Fetch Dynamic Mac Entries Using Snmp - Dell Force10 C150 Configuration Manual

Ftos configuration guide ftos 8.4.2.7 e-series terascale, c-series, s-series (s50/s25)
Hide thumbs Also See for Force10 C150:
Table of Contents

Advertisement

Enable and Disable a Port using SNMP

Step
Task
1
Create an SNMP community on the Dell Force10
system.
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.
3
Enter the command
integer 1 to change the admin status to Up, or 2 to change the admin status to Down.
snmpset with descriptor:
snmpset with OID:

Fetch Dynamic MAC Entries using SNMP

Dell Force10 supports the RFC 1493 dot1d table for the default VLAN and the dot1q table for all other
VLANs.
Note: The 802.1q Q-BRIDGE MIB defines VLANs with regard to 802.1d, as 802.1d itself does not define
them. As a switchport must belong a VLAN (the default VLAN or a configured VLAN), all MAC address
learned on a switchport are associated with a VLAN. For this reason, the Q-Bridge MIB is used for MAC
address query. Moreover, specific to MAC address query, dot1dTpFdbTable is indexed by MAC address
only for a single forwarding database, while dot1qTpFdbTable has two indices —VLAN ID and MAC
address —to allow for multiple forwarding databases and considering that the same MAC address is
learned on multiple VLANs. The VLAN ID is added as the first index so that MAC addresses can be read
by VLAN, sorted lexicographically. The MAC address is are part of the OID instance, so in this case,
lexicographic order is according to the most significant octet.
Table 48-6. MIB Objects for Fetching Dynamic MAC Entries in the Forwarding Database
MIB Object
OID
dot1dTpFdbTable .1.3.6.1.2.1.17.4.3
dot1qTpFdbTable .1.3.6.1.2.1.17.7.1.2.
2
dot3aCurAggFdb
.1.3.6.1.4.1.6027.3.2.
Table
1.1.5
In
Figure
48-22, R1 has one dynamic MAC address, learned off of port GigabitEthernet 1/21, which a
member of the default VLAN, VLAN 1. The SNMP walk returns the values for dot1dTpFdbAddress,
dot1dTpFdbPort, and dot1dTpFdbStatus.
snmpset
to change the admin status using either the object descriptor or the OID. Choose
snmpset -v version -c community agent-ip ifAdminStatus.ifindex i
snmpset -v version -c community agent-ip .1.3.6.1.2.1.2.2.1.7.ifindex i
Description
List the learned unicast MAC addresses on the
default VLAN.
List the learned unicast MAC addresses on
non-default VLANs.
List the learned MAC addresses of aggregated
links (LAG).
Command Syntax
snmp-server community
show interface
MIB
Q-BRIDGE MIB
F10-LINK-AGGREGATION
-MIB
Simple Network Management Protocol | 1001
Command Mode
CONFIGURATION
EXEC Privilege
1
2
{
|
}
1
2
{
|
}

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents