summaryrefslogtreecommitdiff
path: root/docs/configuration/system/ip.rst
blob: 78aeef4e82f1ebab9c9408092c199e52e459fd1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
##
IP
##

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:: none

   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:: none

   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