All MIBs › FOUNDRY-SN-SWITCH-GROUP-MIB › snSwPortInfoPortNum
snSwPortInfoPortNum
Module: FOUNDRY-SN-SWITCH-GROUP-MIB
OID (symbolic): FOUNDRY-SN-SWITCH-GROUP-MIB::snSwPortInfoPortNum
OID (numeric): 1.3.6.1.4.1.1991.1.1.3.3.1.1.1
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description:
The port index. The bit 0 to bit 7: port number. The bit 8 to bit 11: slot number (slot for chassis only).
What is snSwPortInfoPortNum?
This index object encodes both the port number and the chassis slot number into a single integer value, where bits 0-7 contain the port number and bits 8-11 contain the IO slot number (slot number plus 10 for chassis-based systems). This compact encoding allows efficient table indexing in enterprise switch hardware with modular expansion slots. Network managers use this combined index when querying port-specific tables to identify both the physical port and its slot location within a multi-chassis system.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.3.3.1.1.1 snmpwalk -v2c -c public <target> FOUNDRY-SN-SWITCH-GROUP-MIB::snSwPortInfoPortNum
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.3.3.1.1.1.1 snmpget -v2c -c public <target> FOUNDRY-SN-SWITCH-GROUP-MIB::snSwPortInfoPortNum.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.1991 | foundry | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1 | products | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1 | switch | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1.3 | snSwitch | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1.3.3 | snSwPortInfo | FOUNDRY-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.1991.1.1.3.3.1 | snSwPortInfoTable | FOUNDRY-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.1991.1.1.3.3.1.1 | snSwPortInfoEntry | FOUNDRY-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.1991.1.1.3.3.1.1.1 | snSwPortInfoPortNum | FOUNDRY-SN-SWITCH-GROUP-MIB |