tabacha / ProSafeLinux

Configure Netgear ProSafe Plus Switches on linux
Other
137 stars 62 forks source link

posibility to set more than one (recuring) option at at time #17

Open tabacha opened 12 years ago

tabacha commented 12 years ago

./psl.py --debug --interface eth1 set --mac e0:46:9a:25:35:9d --passwd password --vlan802_id 1 1,3 2 --vlan802_id 4 4 2 --vlan802_id 5 5 2 --vlan802_id 6 6 2 --vlan802_id 7 7 2 --vlan802_id 8 8 2 Changing Values..

send to ip 255.255.255.255 data = 010100000000000000163e19e1e1e0469a25359d0000042f4e534450000000000004000000060000ffff0000 recv=010200000000000000163e19e1e1e0469a25359d0000042f4e5344500000000000040006e0469a25359d00060004c0a80b74ffff0000 cmd= 4 len= 6 data= e0469a25359d cmd= 6 len= 4 data= c0a80b74 cmd= 65535 len= 0 data= Store MAC, IP: e0:46:9a:25:35:9d 192.168.11.116 send to ip 192.168.11.116 data = 010300000000000000163e19e1e1e0469a25359d000004304e53445000000000000a000870617373776f72642800000400080140ffff0000 recv=010400000000000000163e19e1e1e0469a25359d000004304e53445000000000ffff0000 cmd= 65535 len= 0 data= {<psl_typ.PslTypEnd instance at 0x24967a0>: None, 'ctype': 260, 'flags': 0, 'mymac': '00163e19e1e1', 'seq': 1072, 'theirmac': 'e0469a25359d'} success