diff options
| author | Emanuele Altomare <emanuele@common-net.org> | 2021-03-05 22:12:00 +0000 |
|---|---|---|
| committer | Emanuele Altomare <emanuele@common-net.org> | 2021-03-05 22:12:00 +0000 |
| commit | 3b1e3aab803ff2874ed23a1c19042b9510ecdf8f (patch) | |
| tree | f2958ed73332d7c17ee2e99b80f83ade0691f0b7 /lib/command_graph.h | |
| parent | 130daf24ae1acf5db602e55c13b9ffca139a1dbf (diff) | |
isisd: added support for routemap match tag in redistribution
Now it's possible to filter routes redistributed by another protocol using tag
which comes from zebra daemon.
Example of a possible configuration:
```
!
ipv6 route fd00::/48 blackhole tag 20
ipv6 route fd00::/60 blackhole tag 10
!
interface one
ipv6 router isis COMMON
isis circuit-type level-1
!
interface two
ipv6 router isis COMMON
isis circuit-type level-2-only
!
router isis COMMON
net fd.0000.0000.0000.0001.00
redistribute ipv6 static level-1 route-map static-l1
redistribute ipv6 static level-2 route-map static-l2
topology ipv6-unicast
!
route-map static-l1 permit 10
match tag 10
!
route-map static-l2 permit 10
match tag 20
!
```
Signed-off-by: Emanuele Altomare <emanuele@common-net.org>
Diffstat (limited to 'lib/command_graph.h')
0 files changed, 0 insertions, 0 deletions
