Presumably, network administrators have a headache for configuring a large number of complicated configuration commands for Huawei routers. The following is a simple configuration command for Huawei routers. Let's take a look!1. Common User Mode (1) help description of the help System; (2) telnet Remote logon; (3) language mode switch; (4) ping the network host t
Article title: The most common network commands in Linux and Unix systems. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source and other basic categories are undoubtedly, Linux and Unix are the most powerful command line operating systems. Although we can also use the graphical user interface (GUI) of t
/1.4.2>host: www.qq.com>accept:*/*>Curl-u User:password www.hao123.com-u can specify user name and passwordUse-o to download Web pages;example, download 51cto blog page, download the file is HTML document;[[emailprotected]~]#curlhttp://8802265.blog.51cto.com/8792265/1636847-o %total%received%xferdaveragespeed TimeTimeTimeCurrent dloadupload totalspentleftspeed10068527 06852700 176k0--:--:----:--:----:--:--224k[[email protected]~]#file16368471636847:iso-8859htmldocumenttext , NBSP;WITHNBSP;VERYN
Some basic commands often play a major role in protecting network security. The following commands play a very prominent role.
Detect Network Connections
If you suspect that someone else has installed a Trojan on your computer or is infected with a virus, but you do not have a complete tool in your hand to check whethe
1.ping
Ping 192.168.0.8
See if the terminals between two networks are in the path
With this command, we can see if there's no communication between the networks.
such as Ping Echo first address, such as: ping 127.0.0.1 to see if the network card is not a fault
Second ping yourself, such as: 192.168.0.10, to determine the settings without any problems
Ping the gateway again, such as: 192.18.0.1, to see if there is a path between the personal host
Name:MD Usage:MD "folder name" Useful: Batch Build folderThe shutdown command shutdown At 18:00 shutdown–s:xx shutdown Shutdown-s-T 3600 3600s rear shutdown03.ping Command-l Specifies the size of the packet , up to 65500 -n Specifies the number of packetsttl=64 description is win7 system ttl=250 description may be Unix system -T Unlimited number of commands issued04.nbtstatUsed to query the NETBIOS information of the
If if is not given, it will try to find the best interface for the given gateway.
Example6:If the local IP address is 172.16.1.100 and the gateway is 172.16.1.254, there is an existing ADSL line, and the router address is 172.161.200, you can access the Internet through this address. How can I access resources on the Internet? You only need to perform the following three steps:
Step 1: Change the local gateway address from 172.16.1.254 to 172.16.1.200.
Step 2: Route Delete 0.0.0.0 ma
Some basic commands often play a major role in protecting network security. The following commands play a very prominent role.
Detect Network Connections
If you suspect that someone else has installed a Trojan on your computer or is infected with a virus, but you do not have a complete tool in your hand to check whethe
1. Open the Run box first. Just press "Win + R" on the keyboard and then the Run box will pop up. Then enter "cmd" and press enter or confirm to open the command prompt window;2. A cmd command mode will pop up. In command mode, enter net share and click enter. Then, the computer will scan the internet shared resources on the computer according to the command, you can see the specific sha
Use the following command to configure the Ethernet
1. ifconfig
You can use the ifconfig command to configure and view the network interface configuration.
For example:
1) configure the IP address of eth0 and activate the device.
# Ifconfig eth0 192.168.1.10 netmask 255.255.255.0 up
2) configure the IP address of eth0: 1 and add a route.
# Ifconfig eth0: 1 192.168.1.3
# Route add-host 192.168.1.3 dev eth0: 1
3) activate the device.
# Ifconfig eth0: 1
. Numbers will be used instead of those names.The output can also be accelerated because there is no comparison query.# Netstat-anIf you just don't want one of these three names to be displayed, use the following command# netsat-a--numeric-ports# netsat-a--numeric-hosts# netsat-a--numeric-users6. Continuous output of netstat informationNetstat will output network information every second. -C9. Find out which port the program is running onNot all proce
The most commonly used Windows , Linux Summary of NETWORK commandsPreface : In the work often uses the Windows,theLinux Network command, the record summarizes the most commonly used, on the one hand to windows , Linux make a comparison, on the other hand, deepen the cognition of network commands. There is not the whole
www.google.comNslookup www.google.comServer:127.0.1.1Address:127.0.1.1#53Non-authoritative Answer:Name:www.google.comaddress:78.16.49.15Dig www.baidu.commodifying kernel parameters
Turn on route forwardingecho "1" >/proc/sys/net/ipv4/ip_forward
Disable ICMP packets (ping-forbidden)echo "1" >/proc/sys/net/ipv4/icmp_echo_ignore_all
Adjustment process can open the total amount of filesecho "108248" >/proc/sys/fs/file-max
This article is from the Linux Learning Notes blog, so
0 00:00:39The command is successfully completed.
10. Route Tracking commandA. tracert software.pchome.netB. pathping software.pchome.net in addition to displaying routes, it also provides S analysis to calculate the % of the dropped packets
11. Several commands on shared securityA. view the shared resources of your machine. NET ShareB. manually delete the share (you can compile a BAT file, start the instance and run it, and delete all the shares !)Co
Network commands for Linux are organized in the update1. Install the package:
Net-tools main commands: Netstat, ifconfig, route, Iptunnel
Iproute Main commands: ss, IP addr, ip route, IP tunnel
2.net-tools Series Main usage:
Netstat
#查看本机开启的 Tcp[-t] udp[-u] listener [-l] port, in digital
This article describes some of the Linux command-line tools that you can use to monitor network usage. These tools can monitor data transmitted over a network interface and measure the speed at which data is being transmitted. The inbound traffic is displayed separately from the outbound traffic.Some commands can show the bandwidth used by a single process. This
just [ip:port]Foreign Address: Remote host IP with port numberStat: Status bar, the main state contains:Establised: The status of the online has been established;Syn_sent: An online packet that sends an active online (SYN flag);SYN_RECV: Receive an active online package that requires online;FIN_WAIT1: The socket Service (socket) has been interrupted and the connection is disconnected;Fin_wait2: The connection has been hung up, but is waiting for the other host to respond to the packet disconnec
ping statistics--- 3 packets transmitted, 3 Received, 0% packet loss, time 2003ms Rtt Min/avg/max/mdev = 5.016/ 7.785/12.680/3.472 ms
The size of the BYTES:ICMP package, this value is a preset valueIcmp_seq=0: Number of detections, sorted sequentiallyttl=243: Time To LiveTime: Response times ping after no parameter, will be the contract, press the CTRL-C key to terminate the ping program. 0% packet loss packet loss 0% indicates that the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.