mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-11-02 20:02:05 +01:00
* order workflows and add submodule * rename gitmodules file * delete docs/.gitignore * add vyos custom linter * correct __pycache__ in gitignore * add test-coverage.py * move draw.io folder * arrange changelog, install history and about * arrange: firewall * arrange: highavailability * arrange: loadbalancing * arrange: nat * arrange: services * sort configexamples and configuration interfaces * wireles: rename wireless * rearrange: Protocols and Policy * rearrange: Firewall and Zone Policy * rearrange: Interfaces * rearrange: Interfaces * rearrange: dynamic DNS * hostinfo: add page to index * rearrange: appendix * venv: add Pipfile * rearrange: contributing * index: remove debugging * rearrange: fix all figure and refs * rearrange: commandtree * fix: cli, openvpn, install headline level * protocols: change headline * firewall: move mss clamping * ip: separate ipv4 and ipv6 * arp: move to static page * igmp: rename multicast page * Update to year 2021
76 lines
2.1 KiB
ReStructuredText
76 lines
2.1 KiB
ReStructuredText
.. _ip:
|
|
|
|
IPv4
|
|
====
|
|
|
|
System configuration commands
|
|
-----------------------------
|
|
|
|
|
|
.. cfgcmd:: set system ip disable-forwarding
|
|
|
|
Use this command to disable IPv4 forwarding on all interfaces.
|
|
|
|
|
|
.. cfgcmd:: set system ip arp table-size <number>
|
|
|
|
Use this command to define the maximum number of entries to keep in
|
|
the ARP cache (1024, 2048, 4096, 8192, 16384, 32768).
|
|
|
|
|
|
.. cfgcmd:: set system ip multipath layer4-hashing
|
|
|
|
Use this command to use Layer 4 information for IPv4 ECMP hashing.
|
|
|
|
|
|
Operational commands
|
|
--------------------
|
|
|
|
|
|
show commands
|
|
^^^^^^^^^^^^^
|
|
|
|
See below the different parameters available for the IPv4 **show** command:
|
|
|
|
.. code-block::
|
|
|
|
vyos@vyos:~$ show ip
|
|
Possible completions:
|
|
access-list Show all IP access-lists
|
|
as-path-access-list
|
|
Show all as-path-access-lists
|
|
bgp Show Border Gateway Protocol (BGP) information
|
|
community-list
|
|
Show IP community-lists
|
|
extcommunity-list
|
|
Show extended IP community-lists
|
|
forwarding Show IP forwarding status
|
|
groups Show IP multicast group membership
|
|
igmp Show IGMP (Internet Group Management Protocol) information
|
|
large-community-list
|
|
Show IP large-community-lists
|
|
multicast Show IP multicast
|
|
ospf Show IPv4 Open Shortest Path First (OSPF) routing information
|
|
pim Show PIM (Protocol Independent Multicast) information
|
|
ports Show IP ports in use by various system services
|
|
prefix-list Show all IP prefix-lists
|
|
protocol Show IP route-maps per protocol
|
|
rip Show Routing Information Protocol (RIP) information
|
|
route Show IP routes
|
|
|
|
|
|
reset commands
|
|
^^^^^^^^^^^^^^
|
|
|
|
And the different IPv4 **reset** commands available:
|
|
|
|
.. code-block::
|
|
|
|
vyos@vyos:~$ reset ip
|
|
Possible completions:
|
|
arp Reset Address Resolution Protocol (ARP) cache
|
|
bgp Clear Border Gateway Protocol (BGP) statistics or status
|
|
igmp IGMP clear commands
|
|
multicast IP multicast routing table
|
|
route Reset IP route
|