All MIBs › CISCOSB-vlan-MIB › vlanSwitchPortModeCategory
vlanSwitchPortModeCategory
Module: CISCOSB-vlan-MIB
OID (symbolic): CISCOSB-vlan-MIB::vlanSwitchPortModeCategory
OID (numeric): 1.3.6.1.4.1.9.6.1.101.48.64.1.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Indicated if a port is switchport (l2 port) or no switchport (l3 port) 1 - switchport 2 - no switchport. Default is 1
What is vlanSwitchPortModeCategory?
This read-write INTEGER, defaulting to l2(1), declares whether a port operates as a Layer 2 switchport or a Layer 3 routed (no-switchport) interface. An admin changes this when repurposing a port for IP routing instead of VLAN switching, which affects whether VLAN membership settings on that port even apply. For example, setting a port to l3(2) converts it into a routed interface suitable for directly connecting a router, at which point its VLAN trunk/access settings no longer apply.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.6.1.101.48.64.1.1 snmpwalk -v2c -c public <target> CISCOSB-vlan-MIB::vlanSwitchPortModeCategory
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.6.1.101.48.64.1.1.1 snmpget -v2c -c public <target> CISCOSB-vlan-MIB::vlanSwitchPortModeCategory.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.6.1.101.48.64.1.1.1 i <value>
Start monitoring Cisco Small Business managed switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCOSB-vlan-MIB::vlanSwitchPortModeCategory OID value, configure state conditions and alerts, and monitor any Cisco Small Business managed switch from a single console.
OID Breakdown
Upper-level ancestors (11 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 |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.6 | otherEnterprises | CISCO-SMI |
| 1.3.6.1.4.1.9.6.1 | ciscoSB | CISCO-SMI |
| 1.3.6.1.4.1.9.6.1.101 | switch001 | CISCOSB-MIB |
| 1.3.6.1.4.1.9.6.1.101.48 | vlan | CISCOSB-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.6.1.101.48.64 | vlanSwitchPortModeTable | CISCOSB-vlan-MIB |
| 1.3.6.1.4.1.9.6.1.101.48.64.1 | vlanSwitchPortModeEntry | CISCOSB-vlan-MIB |
| 1.3.6.1.4.1.9.6.1.101.48.64.1.1 | vlanSwitchPortModeCategory | CISCOSB-vlan-MIB |