]> git.proxmox.com Git - mirror_frr.git/blame - doc/user/ripngd.rst
Merge pull request #13649 from donaldsharp/unlock_the_node_or_else
[mirror_frr.git] / doc / user / ripngd.rst
CommitLineData
0efdf0fe 1.. _ripng:
42fc5d26
QY
2
3*****
4RIPng
5*****
6
c1a54c05
QY
7*ripngd* supports the RIPng protocol as described in :rfc:`2080`. It's an IPv6
8reincarnation of the RIP protocol.
42fc5d26 9
0efdf0fe 10.. _invoking-ripngd:
42fc5d26
QY
11
12Invoking ripngd
13===============
14
c1a54c05 15There are no `ripngd` specific invocation options. Common options can be
0efdf0fe 16specified (:ref:`common-invocation-options`).
42fc5d26 17
0efdf0fe 18.. _ripngd-configuration:
42fc5d26
QY
19
20ripngd Configuration
21====================
22
23Currently ripngd supports the following commands:
24
e71a9424 25.. clicmd:: router ripng [vrf NAME]
42fc5d26 26
c1a54c05 27 Enable RIPng.
42fc5d26 28
c1a54c05 29.. clicmd:: network NETWORK
42fc5d26 30
c1a54c05 31 Set RIPng enabled interface by NETWORK.
42fc5d26 32
c1a54c05 33.. clicmd:: network IFNAME
42fc5d26 34
c1a54c05 35 Set RIPng enabled interface by IFNAME.
42fc5d26 36
c1a54c05 37.. clicmd:: route NETWORK
42fc5d26 38
c1a54c05 39 Set RIPng static routing announcement of NETWORK.
42fc5d26 40
993b236b
DA
41.. clicmd:: allow-ecmp [1-MULTIPATH_NUM]
42
43 Control how many ECMP paths RIPng can inject for the same prefix. If specified
44 without a number, a maximum is taken (compiled with ``--enable-multipath``).
42fc5d26 45
0efdf0fe 46.. _ripngd-terminal-mode-commands:
42fc5d26
QY
47
48ripngd Terminal Mode Commands
49=============================
50
e71a9424 51.. clicmd:: show ipv6 ripng [vrf NAME] status
42fc5d26 52
c1a54c05 53.. clicmd:: show debugging ripng
42fc5d26 54
c1a54c05 55.. clicmd:: debug ripng events
42fc5d26 56
c1a54c05 57.. clicmd:: debug ripng packet
42fc5d26 58
c1a54c05 59.. clicmd:: debug ripng zebra
42fc5d26 60
42fc5d26
QY
61
62ripngd Filtering Commands
63=========================
64
8a7be4dd 65RIPng routes can be filtered by a distribute-list.
42fc5d26 66
8a7be4dd 67.. clicmd:: distribute-list [prefix] LIST <in|out> IFNAME
a8c90e15 68
8a7be4dd
DS
69 You can apply access lists to the interface with a `distribute-list` command.
70 If prefix is specified LIST is a prefix-list. If prefix is not specified
71 then LIST is the access list name. `in` specifies packets being received,
72 and `out` specifies outgoing packets. Finally if an interface is specified
73 it will be applied against a specific interface.
74
75 The ``distribute-list`` command can be used to filter the RIPNG path.
76 ``distribute-list`` can apply access-lists to a chosen interface. First, one
77 should specify the access-list. Next, the name of the access-list is used in
78 the distribute-list command. For example, in the following configuration
79 ``eth0`` will permit only the paths that match the route 10.0.0.0/8
80
81 .. code-block:: frr
82
83 !
84 router ripng
85 distribute-list private in eth0
86 !
87 access-list private permit 10 10.0.0.0/8
88 access-list private deny any
89 !
90
91
92 `distribute-list` can be applied to both incoming and outgoing data.
42fc5d26 93
b832909b
QY
94
95Sample configuration
96====================
97
98.. code-block:: frr
99
100 debug ripng events
101 debug ripng packet
102
103 router ripng
104 network sit1
105 route 3ffe:506::0/32
106 distribute-list local-only out sit1
107
108 ipv6 access-list local-only permit 3ffe:506::0/32
109 ipv6 access-list local-only deny any