! Listing 7.9: Second hub router using OSPF and RIPv2 highlighting changes from primary ! !Copyright (C) 2001 by Vincent C Jones. All Rights Reserved. version 11.2 ! hostname Hub2 ! interface Loopback0 description Network Management & OSPF Identification ip address 10.0.0.202 255.255.255.255 ! interface Loopback1 description Primary target for Frame Relay users ip address 10.0.0.2 255.255.255.255 ! interface Serial1/0 no ip address encapsulation frame-relay frame-relay traffic-shaping frame-relay class Spokes frame-relay lmi-type ansi ! interface Serial1/0.101 point-to-point description Spoke 101 ip address 10.101.128.10 255.255.255.252 frame-relay interface-dlci 101 ! ! . . . Other frame relay subinterfaces go here ! router ospf 1 redistribute rip metric 2000 subnets passive-interface Serial1/0.101 passive-interface Serial1/0.102 passive-interface Serial1/0.103 ! . . . Hushing of other spoke subinterfaces goes here network 10.0.0.0 0.255.255.255 area 1 ! router rip version 2 timers basic 5 15 15 30 passive-interface Ethernet0/0 passive-interface Ethernet0/1 ! . . . Turn off RIP on interfaces to other hub routers network 10.0.0.0 distribute-list 10 out Serial1/0.101 distribute-list 10 out Serial1/0.102 distribute-list 10 out Serial1/0.103 ! . . . Filters for other spoke subinterfaces go here no auto-summary ! ip classless ! map-class frame-relay Spokes frame-relay traffic-rate 56000 56000 access-list 10 permit 10.0.0.2 access-list 10 permit 0.0.0.0 access-list 10 deny any ! end