How to recognize port type of cisco switch via SNMP?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I would like to filter just copper ports with snmp walks from a Cisco 2960 L2 switch.
I already searched the Cisco SNMP Mibs but I did not found anything if the port is a copper or SFP port.



ifType (1.3.6.1.2.1.2.2.1.3) is 6 (Ethernet) whether copper or SFP port.



Thank you in advance.










share|improve this question







New contributor




user51576 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • There are also copper SFP modules. I think you mean copper or fiber.
    – Ron Maupin♦
    2 hours ago














up vote
1
down vote

favorite












I would like to filter just copper ports with snmp walks from a Cisco 2960 L2 switch.
I already searched the Cisco SNMP Mibs but I did not found anything if the port is a copper or SFP port.



ifType (1.3.6.1.2.1.2.2.1.3) is 6 (Ethernet) whether copper or SFP port.



Thank you in advance.










share|improve this question







New contributor




user51576 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • There are also copper SFP modules. I think you mean copper or fiber.
    – Ron Maupin♦
    2 hours ago












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I would like to filter just copper ports with snmp walks from a Cisco 2960 L2 switch.
I already searched the Cisco SNMP Mibs but I did not found anything if the port is a copper or SFP port.



ifType (1.3.6.1.2.1.2.2.1.3) is 6 (Ethernet) whether copper or SFP port.



Thank you in advance.










share|improve this question







New contributor




user51576 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I would like to filter just copper ports with snmp walks from a Cisco 2960 L2 switch.
I already searched the Cisco SNMP Mibs but I did not found anything if the port is a copper or SFP port.



ifType (1.3.6.1.2.1.2.2.1.3) is 6 (Ethernet) whether copper or SFP port.



Thank you in advance.







cisco snmp sfp






share|improve this question







New contributor




user51576 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




user51576 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




user51576 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 hours ago









user51576

61




61




New contributor




user51576 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user51576 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user51576 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • There are also copper SFP modules. I think you mean copper or fiber.
    – Ron Maupin♦
    2 hours ago
















  • There are also copper SFP modules. I think you mean copper or fiber.
    – Ron Maupin♦
    2 hours ago















There are also copper SFP modules. I think you mean copper or fiber.
– Ron Maupin♦
2 hours ago




There are also copper SFP modules. I think you mean copper or fiber.
– Ron Maupin♦
2 hours ago










1 Answer
1






active

oldest

votes

















up vote
3
down vote













You can get this information from the ifMauType which returns a value from this list



This is defined in the MAU-MIB from RFC4836






share|improve this answer




















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "496"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    user51576 is a new contributor. Be nice, and check out our Code of Conduct.









     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f54500%2fhow-to-recognize-port-type-of-cisco-switch-via-snmp%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    3
    down vote













    You can get this information from the ifMauType which returns a value from this list



    This is defined in the MAU-MIB from RFC4836






    share|improve this answer
























      up vote
      3
      down vote













      You can get this information from the ifMauType which returns a value from this list



      This is defined in the MAU-MIB from RFC4836






      share|improve this answer






















        up vote
        3
        down vote










        up vote
        3
        down vote









        You can get this information from the ifMauType which returns a value from this list



        This is defined in the MAU-MIB from RFC4836






        share|improve this answer












        You can get this information from the ifMauType which returns a value from this list



        This is defined in the MAU-MIB from RFC4836







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 hours ago









        Jeremy Gibbons

        2,219414




        2,219414




















            user51576 is a new contributor. Be nice, and check out our Code of Conduct.









             

            draft saved


            draft discarded


















            user51576 is a new contributor. Be nice, and check out our Code of Conduct.












            user51576 is a new contributor. Be nice, and check out our Code of Conduct.











            user51576 is a new contributor. Be nice, and check out our Code of Conduct.













             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f54500%2fhow-to-recognize-port-type-of-cisco-switch-via-snmp%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What does second last employer means? [closed]

            Installing NextGIS Connect into QGIS 3?

            One-line joke