Cabletron Systems 9032578-02 Router User Manual


 
SmartSwitch Router User Reference Manual 83
Chapter 6: BGP Configuration Guide
In this example, OSPF is configured as the IGP in the autonomous system. The following
lines in the router SSR6 configuration file configure OSPF:
The following lines in the Cisco router configure OSPF:
The following lines in the SSR6 set up peering with the Cisco router using the Routing
group type.
#
# Create a secondary address for the loopback interface
#
interface add ip lo0 address-netmask 172.23.1.26/30
ospf create area backbone
ospf add interface to-SSR4 to-area backbone
ospf add interface to-SSR1 to-area backbone
#
# This line is necessary because we want CISCO to peer with our loopback
# address.This will make sure that the loopback address gets announced
# into OSPF domain
#
ospf add stub-host 172.23.1.26 to-area backbone cost 1
ospf set interface to-SSR4 priority 2
ospf set interface to-SSR1 priority 2
ospf set interface to-SSR4 cost 2
ospf start
The following lines on the CISCO 4500 configures it for OSPF.
router ospf 1
network 10.12.1.1 0.0.0.0 area 0
network 10.12.1.6 0.0.0.0 area 0
network 172.23.1.14 0.0.0.0 area 0
# Create a internal routing group.
bgp create peer-group ibgp1 type routing autonomous-system 64801 proto any
interface all
# Add CISCO to the above group
bgp add peer-host 172.23.1.25 group ibgp1
# Set our local address. This line is necessary because we want CISCO to
# peer with our loopback
bgp set peer-group ibgp1 local-address 172.23.1.26
# Start BGP
bgp start