{
    "mode": "man",
    "parameter": "snmp-bridge-mib",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/snmp-bridge-mib/1/json",
    "generated": "2026-06-17T13:40:45Z",
    "synopsis": "snmp-bridge-mib {bridge}",
    "sections": {
        "NAME": {
            "content": "snmp-bridge-mib - provide Linux bridge information via SNMP\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "snmp-bridge-mib {bridge}\n",
            "subsections": []
        },
        "ARGUMENTS": {
            "content": "The following arguments are required:\n",
            "subsections": [
                {
                    "name": "bridge",
                    "content": "The name of the Linux bridge for which you want to provide information via SNMP, e.g.\nbr0.\n"
                }
            ]
        },
        "DESCRIPTION": {
            "content": "The snmp-bridge-mib is an extension to net-snmp. It collects information about a bridge in a\nLinux system and exports them for query from other (remote) systems for management purposes.\n\nCONFIGURATION:\nThe preferred method of snmp-bridge-mib to attach to net-snmp is agentx. For this to work,\nyou will have to add the following line to /etc/snmp/snmpd.conf,\n\nmaster agentx\n\n\nrestart snmpd and start snmp-bridge-mib. snmp-bridge-mib will then connect to the running\nsnmpd daemon.\n\nAnother way of attaching snmp-bridge-mib to is to run it as an embedded perl module. You have\nto add\n\nperl do \"path to location of snmp-bridge-mib\"\n\n\nand restart snmpd.\n\nEXAMPLE:\nFollow the instructions in this manpage and type\n\nperl /usr/bin/snmp-bridge-mib br0\n\n\nYou´ll get the following output:\n\nregistering at .1.3.6.1.2.1.17\nrunning as a subagent.\ndot1qbridge agent started.\nNET-SNMP version 5.4.2.1 AgentX subagent connected\n\n\nNow it´s time for a first test:\n\n$ export MIBS=+BRIDGE-MIB\n$ snmpwalk localhost .1.3.6.1.2.1.17\n\n\nThe output produced should look like\n\nBRIDGE-MIB::dot1dStpBridgeHelloTime = INTEGER: 199 centi-seconds\nBRIDGE-MIB::dot1dStpBridgeForwardDelay = INTEGER: 1499 centi-seconds\nBRIDGE-MIB::dot1dStpPort.1 = INTEGER: 1\nBRIDGE-MIB::dot1dStpPort.3 = INTEGER: 3\nBRIDGE-MIB::dot1dStpPortPriority.1 = INTEGER: 32\nBRIDGE-MIB::dot1dStpPortPriority.3 = INTEGER: 32\nBRIDGE-MIB::dot1dStpPortState.1 = INTEGER: disabled(1)\nBRIDGE-MIB::dot1dStpPortState.3 = INTEGER: disabled(1)\nBRIDGE-MIB::dot1dStpPortEnable.1 = INTEGER: disabled(2)\nBRIDGE-MIB::dot1dStpPortEnable.3 = INTEGER: disabled(2)\nBRIDGE-MIB::dot1dStpPortPathCost.1 = INTEGER: 2\nBRIDGE-MIB::dot1dStpPortPathCost.3 = INTEGER: 4\nBRIDGE-MIB::dot1dStpPortDesignatedRoot.1 = STRING: \"8000.001018382c78\"\nBRIDGE-MIB::dot1dStpPortDesignatedRoot.3 = STRING: \"8000.001018382c78\"\nBRIDGE-MIB::dot1dStpPortDesignatedCost.1 = INTEGER: 0\nBRIDGE-MIB::dot1dStpPortDesignatedCost.3 = INTEGER: 0\nBRIDGE-MIB::dot1dStpPortDesignatedBridge.1 = STRING: \"8000.001018382c78\"\nBRIDGE-MIB::dot1dStpPortDesignatedBridge.3 = STRING: \"8000.001018382c78\"\nBRIDGE-MIB::dot1dStpPortDesignatedPort.1 = STRING: \"32769\"\nBRIDGE-MIB::dot1dStpPortDesignatedPort.3 = STRING: \"32770\"\nBRIDGE-MIB::dot1dStpPortPathCost32.1 = INTEGER: 2\nBRIDGE-MIB::dot1dStpPortPathCost32.3 = INTEGER: 4\nBRIDGE-MIB::dot1dTpLearnedEntryDiscards = Counter32: 0\nBRIDGE-MIB::dot1dTpAgingTime = INTEGER: 300 seconds\nBRIDGE-MIB::dot1dTpFdbAddress.´...8,x´ = STRING: 0:10:18:38:2c:78\nBRIDGE-MIB::dot1dTpFdbAddress.´.!^/B|´ = STRING: 0:21:5e:2f:42:7c\nBRIDGE-MIB::dot1dTpFdbPort.´...8,x´ = INTEGER: 1\nBRIDGE-MIB::dot1dTpFdbPort.´.!^/B|´ = INTEGER: 3\nBRIDGE-MIB::dot1dTpFdbStatus.´...8,x´ = INTEGER: learned(3)\nBRIDGE-MIB::dot1dTpFdbStatus.´.!^/B|´ = INTEGER: learned(3)\nBRIDGE-MIB::dot1dTpPort.1 = INTEGER: 1\nBRIDGE-MIB::dot1dTpPort.3 = INTEGER: 3\nBRIDGE-MIB::dot1dTpPortMaxInfo.1 = INTEGER: 1500 bytes\nBRIDGE-MIB::dot1dTpPortMaxInfo.3 = INTEGER: 1500 bytes\nBRIDGE-MIB::dot1dTpPortInFrames.1 = Counter32: 18082 frames\nBRIDGE-MIB::dot1dTpPortInFrames.3 = Counter32: 1546072 frames\nBRIDGE-MIB::dot1dTpPortOutFrames.1 = Counter32: 11601 frames\nBRIDGE-MIB::dot1dTpPortOutFrames.3 = Counter32: 10988 frames\nBRIDGE-MIB::dot1dTpPortInDiscards.1 = Counter32: 0 frames\nBRIDGE-MIB::dot1dTpPortInDiscards.3 = Counter32: 0 frames\n\n",
            "subsections": []
        },
        "BUGS": {
            "content": "1. snmp-bridge-mib currently only supports one bridge which has to be specified on the\ncommandline.\n\n2. Not all elements of RFC 4188 because they are either not available in sysfs or difficult\nto extract from the existing data.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "snmpd.conf(5), Net::SNMP(3)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Jens Osterkamp <jens@linux.vnet.ibm.com>\nDeveloper\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright © 2009, 2010 IBM Corp., All Rights Reserved\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software\nand associated documentation files (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or\nsubstantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING\nBUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\nDAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n\nhttp://www.ibm.com/ v6                       26 Mar 2010                          SNMP-BRIDGE-MIB(1)",
            "subsections": []
        }
    },
    "summary": "snmp-bridge-mib - provide Linux bridge information via SNMP",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "snmpd.conf",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/snmpd.conf/5/json"
        },
        {
            "name": "SNMP",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/SNMP/3/json"
        }
    ]
}