which are in the format of ``subtype == BGP4MP_ENTRY``.
@example
-@group
Constants:::
/* type value */
::
- @group
# zebra -d
# eigrpd -d
- @end group
Please note that *zebra* must be invoked before *eigrpd*.
::
- @group
!
router eigrp 1
network 10.0.0.0/8
!
- @end group
Passive interface
::
- @group
eigrpd> **show ip eigrp topology**
# show ip eigrp topo
P 10.0.2.0/24, 1 successors, FD is 256256, serno: 0
via Connected, enp0s3
- @end group
EIGRP Debug Commands
::
- @group
!
interface eth0
ip router isis FOO
net 47.0023.0000.0000.0000.0000.0000.0000.1900.0004.00
metric-style wide
is-type level-2-only
- @end group
A Traffic Engineering configuration, with Inter-ASv2 support.
::
- @group
hostname HOSTNAME
password PASSWORD
log file /var/log/zebra.log
mpls-te link unrsv-bw 7 1.25e+06
mpls-te link rsc-clsclr 0xab
mpls-te neighbor 10.1.1.2 as 65000
- @end group
- Then the 'isisd.conf' itself:
::
- @group
hostname HOSTNAME
password PASSWORD
log file /var/log/isisd.log
mpls-te router-address 10.1.1.1
!
line vty
- @end group
commands):
::
- @group
ip tunnel add gre1 mode gre key 42 ttl 64
ip addr add 10.255.255.2/32 dev gre1
ip link set gre1 up
- @end group
Note that the IP-address is assigned as host prefix to gre1. nhrpd will
command defines the GRE subnet):
::
- @group
router bgp 65555
address-family ipv4 unicast
network 172.16.0.0/16
redistribute nhrp
exit-address-family
- @end group
.. _Configuring_NHRP:
::
- @group
iptables -A FORWARD -i gre1 -o gre1 \\
-m hashlimit --hashlimit-upto 4/minute --hashlimit-burst 1 \\
--hashlimit-mode srcip,dstip --hashlimit-srcmask 24 --hashlimit-dstmask 24 \\
--hashlimit-name loglimit-0 -j NFLOG --nflog-group 1 --nflog-range 128
- @end group
You can fine tune the src/dstmask according to the prefix lengths you
with:
::
- @group
nhrp nflog-group 1
- @end group
To start sending these traffic notices out from hubs, use the nhrp
per-interface directive:
::
- @group
interface gre1
ip nhrp redirect
- @end group
.. _Integration_with_IKE:
::
- @group
router ospf6
timers throttle spf 200 400 10000
- @end group
In this example, the `delay` is set to 200ms, the @var{initial
following partial topology:
::
- @group
--------------------- Network: ......
| Designated Router IP: 192.168.1.3
| Router ID: 192.168.0.53
|
Router ID: 192.168.0.52
- @end group
Note the Router IDs, though they look like IP addresses and often are
::
- @group
# show ip ospf database external 192.168.165.0
LS age: 995
Options: 0x2 : *|-|-|-|-|-|E|*
Metric: 20
Forward Address: 0.0.0.0
External Route Tag: 0
- @end group
We can add this to our partial topology from above, which now looks
like:
::
- @group
--------------------- Network: ......
| Designated Router IP: 192.168.1.3
|
| Router ID: 192.168.0.53
|
Router ID: 192.168.0.52
- @end group
Summary LSAs
::
- @group
router ospf
timers throttle spf 200 400 10000
- @end group
In this example, the `delay` is set to 200ms, the @var{initial
::
- @group
router ospf
network 192.168.1.0/24 area 0.0.0.0
- @end group
Prefix length in interface must be equal or bigger (ie. smaller network) than
::
- @group
router ospf
network 192.168.1.0/24 area 0.0.0.0
network 10.0.0.0/8 area 0.0.0.10
area 0.0.0.10 range 10.0.0.0/8
- @end group
With configuration above one Type-3 Summary-LSA with routing info 10.0.0.0/8 is
::
- @group
router ospf
network 192.168.1.0/24 area 0.0.0.0
network 10.0.0.0/8 area 0.0.0.10
area 0.0.0.10 range 10.0.0.0/8 substitute 11.0.0.0/8
- @end group
One Type-3 summary-LSA with routing info 11.0.0.0/8 is announced into backbone area if
::
- @group
router ospf
network 192.168.1.0/24 area 0.0.0.0
network 10.0.0.0/8 area 0.0.0.10
!
access-list foo permit 10.10.0.0/16
access-list foo deny any
- @end group
With example above any intra-area paths from area 0.0.0.10 and from range
::
- @group
!
interface bge0
ip ospf authentication message-digest
router ospf
network 192.168.0.0/16 area 0.0.0.1
area 0.0.0.1 authentication message-digest
- @end group
An @acronym{ABR} router, with MD5 authentication and performing summarisation
::
- @group
!
password ABCDEF
log file /var/log/frr/ospfd.log
area 0.0.0.1 authentication message-digest
area 0.0.0.1 range 10.2.0.0/16
!
- @end group
A Traffic Engineering configuration, with Inter-ASv2 support.
::
- @group
hostname HOSTNAME
password PASSWORD
log file /var/log/zebra.log
mpls-te link unrsv-bw 7 1.25e+06
mpls-te link rsc-clsclr 0xab
mpls-te neighbor 192.168.2.2 as 65000
- @end group
- Then the 'ospfd.conf' itself:
::
- @group
hostname HOSTNAME
password PASSWORD
log file /var/log/ospfd.log
mpls-te inter-as area 1
!
line vty
- @end group
A router information example with PCE advsertisement:
::
- @group
!
router ospf
ospf router-id 192.168.1.1
pce neighbor as 65200
pce scope 0x80
!
- @end group
::
- @group
# zebra -d
# ripd -d
- @end group
Please note that *zebra* must be invoked before *ripd*.
::
- @group
!
router rip
network 10.0.0.0/8
network eth0
!
- @end group
Passive interface
::
- @group
!
router rip
distribute-list private in eth0
access-list private permit 10 10.0.0.0/8
access-list private deny any
!
- @end group
`distribute-list` can be applied to both incoming and outgoing data.
::
- @group
ripd> **show ip rip status**
Routing Protocol is "rip"
Sending updates every 30 seconds with +/-50%, next due in 35 seconds
203.181.89.241
Routing Information Sources:
Gateway BadPackets BadRoutes Distance Last Update
- @end group
RIP Debug Commands
::
- @group
route-map test permit 10
match ip address 10
set local-preference 200
- @end group
This means that if a route matches ip access-list number 10 it's
that sets the preferred source address, and applies the route-map to all
*rip* routes.
- @group
ip prefix-list ANY permit 0.0.0.0/0 le 32
route-map RM1 permit 10
match ip address prefix-list ANY
set src 10.0.0.1
ip protocol rip route-map RM1
- @end group
.. _zebra_FIB_push_interface:
::
- @group
Router# show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
B - BGP * - FIB route.
S 0.0.0.0/0 203.181.89.1
C* 127.0.0.0/8 lo
C* 203.181.89.240/28 eth0
- @end group
.. index:: Command {show ipv6 route} {}