ip Flashcards

1
Q

ip

A

Show / manipulate routing, network devices, interfaces and tunnels.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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>
A
  • 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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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.
A

-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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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.

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly