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

Add support for setting ports to gigabit speeds.

parent 5a6a8932
...@@ -28,13 +28,14 @@ use snmpit_lib; ...@@ -28,13 +28,14 @@ use snmpit_lib;
# #
my %cmdOIDs = my %cmdOIDs =
( (
"enable" => ["ifAdminStatus","up"], "enable" => ["ifAdminStatus","up"],
"disable"=> ["ifAdminStatus","down"], "disable" => ["ifAdminStatus","down"],
"100mbit"=> ["portAdminSpeed","s100000000"], "1000mbit"=> ["portAdminSpeed","s1000000000"],
"10mbit" => ["portAdminSpeed","s10000000"], "100mbit" => ["portAdminSpeed","s100000000"],
"full" => ["portDuplex","full"], "10mbit" => ["portAdminSpeed","s10000000"],
"half" => ["portDuplex","half"], "full" => ["portDuplex","full"],
"auto" => ["portAdminSpeed","autoDetect", "half" => ["portDuplex","half"],
"auto" => ["portAdminSpeed","autoDetect",
"portDuplex","auto"] "portDuplex","auto"]
); );
......
Supports Markdown
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