Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Changing Duplex-Mode and Port-Speed with SNMP on IOS-Switches (4000/6500)?

As we have to change from CAT-OS to IOS on our switches I´m searching for a way to alter duplex-mode and Port-Speed on Catalyst 4000/6500-Switches via SNMP. I have OIDs for read-only-access but i did not succeed in setting the values. Do you know the right way/OID?

Thanks a lot for your help!

Ralf

  • Network Management
5 REPLIES
Silver

Re: Changing Duplex-Mode and Port-Speed with SNMP on IOS-Switche

Try this command

snmpwalk -c public ifMauDefaultType.5.1

MAU-MIB::ifMauDefaultType.5.1 = OID: SNMPv2-SMI::zeroDotZero

Set the ifMauDefaultType so it is not zeroDotZero then you should be able to set the ifMauAutoNegAdminStatus. Hope this helps.

New Member

Re: Changing Duplex-Mode and Port-Speed with SNMP on IOS-Switche

Dear R-Warnecke,

I'm very interested in even "reading" the duplex-mode of my switch-ports. I tried

snmpwalk berl-sw01-1 xxxxxxx .1.3.6.1.2.1.26, but i get no reply, probably the switch doesn't support the "mau-mib"? snmpwalk with other oids works fine.

We use IOS-Switches catalyst 6000, 2950 with ios V.12.1...

Do You have an idea how to read the duplex-mode-settings?

best regards

Frank

OSRAM, Berlin

New Member

Re: Changing Duplex-Mode and Port-Speed with SNMP on IOS-Switche

Use the following oids to set port speed and duplex settings.

CISCO-STACK-MIB::portAdminSpeed

CISCO-STACK-MIB::portDuplex

--

Prakash.

New Member

Re: Changing Duplex-Mode and Port-Speed with SNMP on IOS-Switche

Use the following oids to set port speed and duplex settings.

CISCO-STACK-MIB::portAdminSpeed

CISCO-STACK-MIB::portDuplex

--

Prakash.

New Member

Re: Changing Duplex-Mode and Port-Speed with SNMP on IOS-Switche

Hello Prakash,

I wish you a happy new year.

Thanks for your advice, but unfortunately it seems that most of my switches doesn't support this mib.

Frank.

606
Views
0
Helpful
5
Replies
This widget could not be displayed.