- or download this
------------------------------------------------------------------
Port Speed Duplex Flow Ctrl Link Name
...
18 1G/10G full no no down 18
19 1000 full no no up 19
20 10000 full no no down 20
- or download this
open FILE,"interfacelink.txt" or die "cannot open file : $!";
#my $substring = "encap:"; #this is useful if search istring is long
...
}
}
- or download this
port is=Port
speed is=Speed
...
port is= 19
speed is= 1000
link is= up