We have a HSSI frame Relay interface with about 50 subinterfaces on it. We're running OSPF on all of them but have the need to run RIPv2 on a single new PVC.
How can I setup RIP to run on the specific sub interface without having to use the passive interface command on all the other subinterfaces ?
I'd also like to to stop OSPF routing updates on this interface also but am not sure if this is possible.
Simply cover all the interfaces under OSPF, as you normally would, and then passive that one interface out. For RIP, it's not so easy, since there's no wildcard bits under RIP. You can use the passive interface default command, as the first reply noted, under RIP, to resolve this.
2651A#sho run | b rip
no passive-interface FastEthernet0/0
You can use the "passive interface default" command to make all interfces passive, then enable RIP on the individual interfaces that require it:
no passive-interface s0/0.1
also if you make the OSPF network statements specific for an interface then you can control which interfaces you enable it on:
router ospf 1
network 10.1.1.1 0.0.0.0 area 0.0.0.0