mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
528 B
Plaintext
26 lines
528 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ip netconf
|
|
|
|
> Display configuration parameters.
|
|
> More information: <https://manned.org/ip-netconf>.
|
|
|
|
- Show network configuration for all interfaces:
|
|
|
|
`ip {{[netc|netconf]}}`
|
|
|
|
- Show network configuration for a specific interface:
|
|
|
|
`ip {{[netc|netconf]}} {{[s|show]}} dev {{network_interface}}`
|
|
|
|
- Show only IPv4 network configuration:
|
|
|
|
`ip -4 {{[netc|netconf]}}`
|
|
|
|
- Show only IPv6 network configuration:
|
|
|
|
`ip -6 {{[netc|netconf]}}`
|