User Tools

Site Tools


documentation:examples:simple_bgp-rip-ospf_lab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
documentation:examples:simple_bgp-rip-ospf_lab [2019/08/10 14:12] – [Router 3] olivierdocumentation:examples:simple_bgp-rip-ospf_lab [2019/08/10 14:14] – [Router 4] olivier
Line 282: Line 282:
 sysrc hostname=router4 sysrc hostname=router4
 sysrc frr_enable=YES sysrc frr_enable=YES
-cat > /usr/local/etc/frr/zebra.conf <<EOF+cat > /usr/local/etc/frr/frr.conf <<EOF
 log syslog log syslog
 +!
 interface em2 interface em2
  ip address 192.168.34.4/24  ip address 192.168.34.4/24
 + ip ospf bfd
 + ip ospf message-digest-key 1 md5 superpass
  ipv6 address 2001:db8:34::4/64  ipv6 address 2001:db8:34::4/64
 + ipv6 ospf6 bfd
 +!
 +interface em3
 + ip address 192.168.45.4/24
 + ip router isis BSDRP
 + ipv6 address 2001:db8:45::4/64
 + ipv6 router isis BSDRP
 + isis circuit-type level-2-only
 +!
 interface vtnet2 interface vtnet2
  ip address 192.168.34.4/24  ip address 192.168.34.4/24
 + ip ospf bfd
 + ip ospf message-digest-key 1 md5 superpass
  ipv6 address 2001:db8:34::4/64  ipv6 address 2001:db8:34::4/64
-interface em3 + ipv6 ospf6 bfd 
- ip address 192.168.45.4/24 +!
- ipv6 address 2001:db8:45::4/64+
 interface vtnet3 interface vtnet3
  ip address 192.168.45.4/24  ip address 192.168.45.4/24
 + ip router isis BSDRP
  ipv6 address 2001:db8:45::4/64  ipv6 address 2001:db8:45::4/64
-EOF + ipv6 router isis BSDRP 
-cat > /usr/local/etc/frr/ospfd.conf <<EOF + isis circuit-type level-2-only 
-interface em2 +!
- ip ospf message-digest-key 1 md5 superpass +
- ip ospf bfd +
-interface vtnet2 +
- ip ospf message-digest-key 1 md5 superpass +
- ip ospf bfd+
 router ospf router ospf
  ospf router-id 4.4.4.4  ospf router-id 4.4.4.4
 + redistribute connected
  redistribute isis  redistribute isis
- redistribute connected 
  network 192.168.34.0/24 area 0.0.0.0  network 192.168.34.0/24 area 0.0.0.0
  area 0.0.0.0 authentication message-digest  area 0.0.0.0 authentication message-digest
-EOF +!
-cat > /usr/local/etc/frr/ospf6d.conf <<EOF +
-interface em2 +
- ipv6 ospf6 bfd +
-interface vtnet2 +
- ipv6 ospf6 bfd+
 router ospf6 router ospf6
- router-id 4.4.4.4+ redistribute connected
  redistribute isis  redistribute isis
- redistribute connected 
  interface em2 area 0.0.0.0  interface em2 area 0.0.0.0
  interface vtnet2 area 0.0.0.0  interface vtnet2 area 0.0.0.0
-EOF +!
-cat > /etc/local/frr/isisd.conf <<EOF +
-interface em3 +
- ip router isis BSDRP +
- ipv6 router isis BSDRP +
- isis circuit-type level-2-only +
-interface vtnet3 +
- ip router isis BSDRP +
- ipv6 router isis BSDRP +
- isis circuit-type level-2-only+
 router isis BSDRP router isis BSDRP
 + is-type level-1-2
  net 49.0000.0000.0004.00  net 49.0000.0000.0004.00
- metric-style wide 
  redistribute ipv4 ospf level-2  redistribute ipv4 ospf level-2
 + redistribute ipv4 connected level-2
  redistribute ipv6 ospf6 level-2  redistribute ipv6 ospf6 level-2
- redistribute ipv4 connected level-2 
  redistribute ipv6 connected level-2  redistribute ipv6 connected level-2
-EOF +!
-cat > /usr/local/etc/frr/bfdd.conf <<EOF+
 bfd bfd
  peer 2001:db8:34::3 local-address 2001:db8:34::4  peer 2001:db8:34::3 local-address 2001:db8:34::4
   label router3-6   label router3-6
   no shutdown   no shutdown
 + !
  peer 192.168.34.3  peer 192.168.34.3
   label router3-4   label router3-4
   no shutdown   no shutdown
 + !
 +!
 EOF EOF
 +
 hostname router4 hostname router4
 service frr start service frr start
 +config save
 </code> </code>
  
documentation/examples/simple_bgp-rip-ospf_lab.txt · Last modified: 2023/05/01 07:03 by olivier

Except where otherwise noted, content on this wiki is licensed under the following license: BSD 2-Clause
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki