Интересует возможность по SNMP менять скорость на порту , а именно к примеру сменить 10 Half на 10 Full , ну или на 100 Full.
Под BPS нашел oid 1.3.6.1.4.1.45.1.6.15.1.1.1.7 - вроде похоже на правду, что надо, но
snmpwalk показывает следующее:
.1.3.6.1.4.1.45.1.6.15.1.1.1.7.1 = STRING: "П"
.1.3.6.1.4.1.45.1.6.15.1.1.1.7.2 = STRING: "П"
а в описании миба следующее:
This object is used to specify the port speed
and duplex abilities to be advertised during
link negotiation.
bit 0 - 10 half duplex advertised
bit 1 - 10 full duplex advertised
bit 2 - 100 half duplex advertised
bit 3 - 100 full duplex advertised
bit 4 - 1000 half duplex advertised
bit 5 - 1000 full duplex advertised
bit 6 - PAUSE frame support advertised
bit 7 - Asymmetric PAUSE frame support advertised
The abilities specified in this object are only used
when auto-negotiation is enabled on the port. If all
bits in this object are disabled, and auto-negotiation
is enabled on the port, then the physical link process
on the port will be disabled.
Any change in the value of this bit map will force the
PHY to restart the auto-negotiation process. This will
have the same effect as physically unplugging and
reattaching the cable plant attached to this port.
Only capabilities present in the hardware as indicated
by bnIfExtnExtHwAdvCapability can be advertised.
The default value for this object will be the value
of the associated instance of bnIfExtnExtHwAdvCapability.
Т.е не ясно, как из описания миба выше получить тот "String" который выдает snmpwalk.
Заранее благодарен за помощь.