cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1997
Views
0
Helpful
5
Replies

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

r-warnecke
Level 1
Level 1

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

5 Replies 5

b.hsu
Level 5
Level 5

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.

f.joern
Level 1
Level 1

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

prakashrj
Level 1
Level 1

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

CISCO-STACK-MIB::portAdminSpeed

CISCO-STACK-MIB::portDuplex

--

Prakash.

prakashrj
Level 1
Level 1

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

CISCO-STACK-MIB::portAdminSpeed

CISCO-STACK-MIB::portDuplex

--

Prakash.

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.