All MIBs › GSWITCH-MIB › nbsPortSpaning
nbsPortSpaning
Module: GSWITCH-MIB
OID (symbolic): GSWITCH-MIB::nbsPortSpaning
OID (numeric): 1.3.6.1.4.1.629.2.5.1.1.9
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Spaning Tree Enable. Meaniningful only when Spaning Tree for the switch is set (nbsSpanningTree) is set. 1 - All packets are accepted. 2 - The Switch-G discards all incoming/outgoing packets except for BPDU packets
What is nbsPortSpaning?
This read-write OID, meaningful only when nbsSpanningTree is enabled, controls whether this port accepts all packets (value 1) or discards everything except BPDU packets (value 2). An admin sets a port to discard-except-BPDU while it's in a Spanning Tree blocking state.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.629.2.5.1.1.9 snmpwalk -v2c -c public <target> GSWITCH-MIB::nbsPortSpaning
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.629.2.5.1.1.9.1 snmpget -v2c -c public <target> GSWITCH-MIB::nbsPortSpaning.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.629.2.5.1.1.9.1 i <value>
Start monitoring Nbase Communications (later Nbase-Xyplex) managed Ethernet switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the GSWITCH-MIB::nbsPortSpaning OID value, configure state conditions and alerts, and monitor any Nbase Communications (later Nbase-Xyplex) managed Ethernet switch from a single console.
OID Breakdown
Upper-level ancestors (6 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.629 | nbase | GSWITCH-MIB |
| 1.3.6.1.4.1.629.2 | gswitch | GSWITCH-MIB |
| 1.3.6.1.4.1.629.2.5 | nbsPortsControl | GSWITCH-MIB |
| 1.3.6.1.4.1.629.2.5.1 | nbsPortsContTable | GSWITCH-MIB |
| 1.3.6.1.4.1.629.2.5.1.1 | nbsPortsContEntry | GSWITCH-MIB |
| 1.3.6.1.4.1.629.2.5.1.1.9 | nbsPortSpaning | GSWITCH-MIB |