Chapter 10: BGP Configuration Guide
140
SmartSwitch Router User Reference Manual
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
Содержание SmartSwitch Router
Страница 1: ...SmartSwitch Router User Reference Manual 9032578 04...
Страница 12: ...Notice 12 SmartSwitch Router User Reference Manual...
Страница 28: ...Preface 28 SmartSwitch Router User Reference Manual...
Страница 68: ...Chapter 3 Bridging Configuration Guide 68 SmartSwitch Router User Reference Manual...
Страница 74: ...Chapter 4 SmartTRUNK Configuration Guide 74 SmartSwitch Router User Reference Manual...
Страница 84: ...Chapter 5 DHCP Configuration Guide 84 SmartSwitch Router User Reference Manual...
Страница 108: ...Chapter 7 VRRP Configuration Guide 108 SmartSwitch Router User Reference Manual...
Страница 207: ...SmartSwitch Router User Reference Manual 207 Chapter 12 Multicast Routing Configuration Guide...
Страница 208: ...Chapter 12 Multicast Routing Configuration Guide 208 SmartSwitch Router User Reference Manual...
Страница 222: ...Chapter 13 IP Policy Based Forwarding Configuration Guide 222 SmartSwitch Router User Reference Manual...
Страница 232: ...Chapter 14 Network Address Translation Configuration Guide 232 SmartSwitch Router User Reference Manual...
Страница 254: ...Chapter 16 IPX Routing Configuration Guide 254 SmartSwitch Router User Reference Manual...
Страница 270: ...Chapter 17 Access Control List Configuration Guide 270 SmartSwitch Router User Reference Manual...
Страница 282: ...Chapter 18 Security Configuration Guide 282 SmartSwitch Router User Reference Manual...
Страница 294: ...Chapter 19 QoS Configuration Guide 294 SmartSwitch Router User Reference Manual...
Страница 298: ...Chapter 20 Performance Monitoring Guide 298 SmartSwitch Router User Reference Manual...
Страница 338: ...Chapter 22 WAN Configuration Guide 338 SmartSwitch Router User Reference Manual...