ip Flashcards
ip
Show / manipulate routing, network devices, interfaces and tunnels.
ip [OPTIONS]
- h, -human, -human-readable
- b, -batch <filename></filename>
- force, Don’t terminate ip on errors in batch mode.
- s, -stats, -statistics, Output more information.
- d, -details, Output more detailed info.
- l, -loops <count>, Specify max loops the ip address flush logic will attempt.</count>
- f, -family <family>, Specifies the protocol family to use:</family>
- 4 shortcut for -family inet.
- 6 shortcut for -family inet6.
- B shortcut for -family bridge.
- D shortcut for -family decnet.
- I shortcut for -family ipx.
- M shortcut for -family mpls.
- 0 shortcut for -family link.
ip [OPTIONS]
- o, -oneline, Output each record on a single line.
- r, -resolve, Use the system’s name resolver to print DNS names.
- n, -netns <netns>, Switches ip to the specified network namespace NETNS.</netns>
- a, -all, Executes command over all objects.
- c[color][={always,auto,never}]
- t, -timestamp, Timestamp when using monitor.
-ts, -tshort, Shorter timestamp format.
rc, rcvbuf<size>, Set the netlink socket receive buffer size.</size>
- iec, Print human readable rates in IEC units.
- br, -brief, Print basic info.
- j, -json, Output json
- p, -pretty, Adds indentation for readability.
IP [OBJECT]
address - protocol address on device (IP or IPv6).
addrlabel - label configuration for protocol address.
l2tp - tunnel ethernet over IP (L2TPv3).
link - network device.
maddress - multicast address.
mroute - multicast routing cache entry.
neighbour - manage ARP or NDISC cache entries.
netns - manage network namespaces.
ntable - manage the neighbors cache’s operation.
route - routing table entry.
rule - rule in routing policy database.
tcp_metrices/tcpmetrics - manage TCP Metrics.
token - manage tokenized interface identifiers.
tunnel - tunnel over IP.
tuntap - manage TUNTAP devices.
xfrm - manage IPSec policies.