Commit 17af143c authored by Robert Ricci's avatar Robert Ricci

Add support for setting ports to gigabit speeds.

parent 5a6a8932
......@@ -28,13 +28,14 @@ use snmpit_lib;
#
my %cmdOIDs =
(
"enable" => ["ifAdminStatus","up"],
"disable"=> ["ifAdminStatus","down"],
"100mbit"=> ["portAdminSpeed","s100000000"],
"10mbit" => ["portAdminSpeed","s10000000"],
"full" => ["portDuplex","full"],
"half" => ["portDuplex","half"],
"auto" => ["portAdminSpeed","autoDetect",
"enable" => ["ifAdminStatus","up"],
"disable" => ["ifAdminStatus","down"],
"1000mbit"=> ["portAdminSpeed","s1000000000"],
"100mbit" => ["portAdminSpeed","s100000000"],
"10mbit" => ["portAdminSpeed","s10000000"],
"full" => ["portDuplex","full"],
"half" => ["portDuplex","half"],
"auto" => ["portAdminSpeed","autoDetect",
"portDuplex","auto"]
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment