Closed Phill93 closed 3 years ago
switch output
IP Address I/F I/F Status Type Redirect Status
admin/oper
------------------ --------- ---------- ------- -------- ------
0.0.0.0/32 vlan 1 UP/UP DHCP enable Not
receiv
ed
192.168.1.254/24 vlan 1 UP/UP Default enable Valid
Gateway IP Address Activity status Type
----------------------- ----------------------- --------
It looks like SG500 is "strange" beast ...
May be we would have apply the same attitude as in #39 with detecting field width instead of spliting on " " ...
The output is from an SG300-10. We have the problem with all models:
The interface part of the get_interfaces_ip method is wrong. The VLAN ID is cut off
Example: IP 192.168.1.254 at VLAN 1