Overview
Retreive SECY MIB data for MACsec interfaces by using SNMP commands.
Retrieve SECY MIB information from a device using SNMP commands.
You need to query SECY MIB data for MACsec interfaces on a device with SNMP enabled.
Before you begin
Ensure you have the correct SNMP community string, management IP address, and interface ifIndex.
Follow these steps to retrieve SECY MIB data:
Procedure
| 1. | Walk the entire SECY MIB subtree to enumerate all objects. Example:
|
|
| 2. | Query the TxSCI value for a specific interface using its ifIndex: Example:
|
|
| 3. | Find the ifIndex of the MACsec controlled port by performing an SNMP walk on the IfMib: Example:
|
|
| 4. | Alternatively, use the show snmp interface command to display SNMP interface information: |
You will obtain SECY MIB data and the interface index needed for targeted SNMP queries.