Common Linux Network Management commands (bottom)

Source: Internet
Author: User

IP: Change or display information such as routing, IP, protocol     ip link: interface Management              show [device]: Display NIC interface information              set [DEVICE]                      [up | down]: Turn network interface on or off                      multicast  [on | off]: Turn multicast on or off     IP ADDR: protocol address Management              ip addr [show | flush] [device]: Display or empty network card device information                           Example:ip addr show ens33            &nbsP;ip addr [add | del] address dev [device]: Add or remove IP addresses to the specified NIC, add IP will not overwrite the original IP, Instead, a new IP is added, and the ifconfig command does not see                           Example: Ip addr add 10.0.0.1 dev  ens33            ip addr [add  | del] address dev [device] label [devalias] broadcast [mask] : Add an alias IP, and the ifconfig command can be viewed                           Example: Ip addr add 172.168.0.1 dev  ens33 label ens33:1 broadcast 255.255.255.0    ip  Route: Routing Management             ip route  List: View routing table information      &nbsP;      ip route flush: Emptying the routing table information              ip route add [destination] via [address] src  [sourec_address] dev [device]: Configure routing Address                           Example: Ip route  add 10.0.0.0 via 192.168.0.1 src 192.168.0.210 dev eth0             ip route del [destination]: Delete the specified route information                           Example: ip route del 10.0.0.0ss: Another command to view the network and related information          -T&NBSP: Displaying TCP information         -u: displaying UDP information       &nbSP;  -P: Display process information         -l : Display monitoring information          -n: Host name not resolved         -a: Show All information          -E: Display extended information         -m: Display socket-related memory usage information         -o state: Displays only the connections in the specified state, and can also specify the filter criteria           Example: SS -ANPT

This article is from "Xiao Yang" blog, please be sure to keep this source http://princepar.blog.51cto.com/1448665/1657579

Common Linux Network Management commands (bottom)

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.