Add 2 lines to /etc/ssh/ssh_config or to ~/.ssh/config:
You have to login for the first time, the first session will initiate a Control Master by creating a file at ~/.ssh indicate the login name, host and port. After that you can duplicate a ssh session by just execute a ssh command the same way you did for the first login, but this time password is not required.
Original is taken from here:
“hosts” = file containing hosts.
cat hosts | sort -n -t. -k 1,1 -k 2,2 -k 3,3 -k 4,4
This sorts all octets as well.
Huawei made his own GNS3!
Here is the summary information that I got from Huawei GTAC.
The switch has no any ingress buffers. The whole switch has 2.5 MB of interface buffer space for egress buffering. Each 10GE interface as well as 1GE has 8 egress queues. By default each queue has 6.25KB of buffer statically alocated to them, so summary we have 50KB per each interface.
If you install an extension card into S5300 then new interfaces will share the same common buffer pool and grab 50KB per each interface. Even when interface is shut down it still holds it’s 50 KB reserved.
Since the size of default interface buffer is quite small there can be buffering issues leading to packet drops when the buffer space is exhausted. You can release buffer space that is hold by unused interfaces:
qos queue 0 length 0
qos queue 1 length 0
qos queue 2 length 0
qos queue 3 length 0
qos queue 4 length 0
qos queue 5 length 0
qos queue 6 length 0
qos queue 7 length 0
This configuration returns 50KB of buffer space into common pool. Then you can increase queue length on a highly congested or bursty interface:
qos queue 0 length 500000
It is possible to know the size of buffer space available in common pool:
Enter system view, return user view with Ctrl+Z.
[hua-hua-GigabitEthernet0/0/10]qos queue 0 length 1000000000
Error: This queue support the length range of (0~1134208)
I intentionally try to configure huge buffer size and get CLI hint revealing real buffer space available: 1134208.
Change login shell:
usermod -s /bin/false username
usermod -L username
Add a existing user to existing group
usermod -a -G groupname username
Official website: http://www.grid.unina.it/software/ITG/
It can provide much more bandwidth without consuming much CPU. Here is simple example.
ITGSend -a -sp 9400 -rp 9500 -C 100 -c 1000 -t 30000 -x log.txt
This will use UDP source port 9400, dst port 9500, send 100pps each 1000bytes long during 30000ms. After testing it will create log file log.txt on the receiver side.
group-member GigabitEthernet 0/0/4 to GigabitEthernet 0/0/24
.22.214.171.124.126.96.36.199.188.8.131.52 – provides names for hwEntityId
184.108.40.206.4.1.2011.5.25.31.220.127.116.11.11 – temperature sensors
.18.104.22.168.4.1.2011.5.25.31.22.214.171.124.12 – temperature sensors high threshold
.126.96.36.199.4.1.2011.5.25.31.188.8.131.52.16 – temperature sensors low threshold
.184.108.40.206.4.1.2011.5.25.31.220.127.116.11.22 – transceiver optical power rx (NE40E)
.18.104.22.168.4.1.2011.5.25.31.22.214.171.124.8 – transceiver optical power rx (switches)
cat file | sed -n ‘/regexp/,$p’