CONFIGURING PASSIVE INTERFACES  

Friday, November 14, 2008

configuring passive interfaces in ospf

CODE
r3#

r3#sir
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

C 192.168.30.0/24 is directly connected, Loopback30
C 192.168.25.0/24 is directly connected, Loopback25
C 192.168.40.0/24 is directly connected, Loopback40
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C 172.16.23.0/24 is directly connected, Serial2/1
C 172.16.3.0/24 is directly connected, Loopback0
O 172.16.2.1/32 [110/65] via 172.16.23.2, 00:34:42, Serial2/1
C 192.168.20.0/24 is directly connected, Loopback20
C 192.168.35.0/24 is directly connected, Loopback35
r3#config t
Enter configuration commands, one per line. End with CNTL/Z.
r3(config)#do siib
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES NVRAM administratively down down
FastEthernet0/1 unassigned YES NVRAM administratively down down
Ethernet1/0 unassigned YES NVRAM administratively down down
Ethernet1/1 unassigned YES NVRAM administratively down down
Ethernet1/2 unassigned YES NVRAM administratively down down
Ethernet1/3 unassigned YES NVRAM administratively down down
Serial2/0 unassigned YES NVRAM administratively down down
Serial2/1 172.16.23.3 YES NVRAM up up
Serial2/2 unassigned YES NVRAM administratively down down
Serial2/3 unassigned YES NVRAM administratively down down
Loopback0 172.16.3.1 YES NVRAM up up
Loopback20 192.168.20.1 YES NVRAM up up
Loopback25 192.168.25.1 YES NVRAM up up
Loopback30 192.168.30.1 YES NVRAM up up
Loopback35 192.168.35.1 YES NVRAM up up
Loopback40 192.168.40.1 YES NVRAM up up


r3(config)#router ospf 1
r3(config-router)#passive-interface default
r3(config-router)#
*Mar 1 00:57:38.575: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.2.1 on Serial2/1 from FULL to DOWN, Neighbor Down: Interface down or detached
r3(config-router)#no passive-interface s2/1
r3(config-router)#
*Mar 1 00:57:47.591: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.2.1 on Serial2/1 from LOADING to FULL, Loading Done

-----------------------------------------------------------------------

r3(config-router)#do show ip proto
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 192.168.40.1
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
172.16.3.1 0.0.0.0 area 0
172.16.23.3 0.0.0.0 area 0
192.168.20.1 0.0.0.0 area 0
192.168.25.1 0.0.0.0 area 0
192.168.30.1 0.0.0.0 area 0
192.168.35.1 0.0.0.0 area 0
192.168.40.1 0.0.0.0 area 0
Reference bandwidth unit is 100 mbps
Passive Interface(s):
FastEthernet0/0
FastEthernet0/1
Ethernet1/0
Ethernet1/1
Ethernet1/2
Ethernet1/3
Serial2/0
Passive Interface(s):
Serial2/2
Serial2/3
Loopback0
Loopback20
Loopback25
Loopback30
Loopback35
Loopback40
Routing Information Sources:
Gateway Distance Last Update
172.16.2.1 110 00:00:19
Distance: (default is 110)

r3(config-router)#

Design by Blogger Buster | Distributed by Blogging Tips