[Xorp-hackers] OSPF is not working with cisco router?

wxh585 at 126.com wxh585 at 126.com
Wed Dec 8 21:10:34 PST 2010


OSPF is not working with cisco router
I connect CISCO router with xorp router,use ospf,it is not work.
CISCO 2800------xorp router
xorp router config
admin at a.RouterA# show -all
    protocols {
        ospf4 {
            router-id: 192.168.2.1
            rfc1583-compatibility: true
            ip-router-alert: false
            area 0.0.0.0 {
                area-type: "normal"
                area-range 192.168.9.0/24 {
                    advertise: true
                }
                area-range 192.168.2.0/24 {
                    advertise: true
                }
                interface vr1 {
                    link-type: "broadcast"
                    vif vr1 {
                        address 192.168.9.1 {
                            priority: 128
                            hello-interval: 10
                            router-dead-interval: 40
                            interface-cost: 1
                            retransmit-interval: 5
                            transit-delay: 1
                            disable: false
                        }
                    }
                }
                interface fxp0 {
                    link-type: "broadcast"
                    vif fxp0 {
                        address 192.168.2.1 {
                            priority: 128
                            hello-interval: 10
                            router-dead-interval: 40
                            interface-cost: 1
                            retransmit-interval: 5
                            transit-delay: 1
                            disable: false
                        }
                    }
                }
            }
        }
    }
    interfaces {
        restore-original-config-on-shutdown: false
        interface vr1 {
            description: ""
            disable: false
            discard: false
            unreachable: false
            management: false
            vif vr1 {
                disable: false
                address 192.168.9.6 {
                    prefix-length: 24
                    disable: false
                }
            }
        }
        interface fxp0 {
            description: ""
            disable: false
            discard: false
            unreachable: false
            management: false
            vif fxp0 {
                disable: false
                address 192.168.2.1 {
                    prefix-length: 24
                    disable: false
                }
            }
        }
    }
[edit]
admin at a.RouterA# quit
admin at a.RouterA> show route table ipv4 unicast ospf
192.168.1.0/24  [ospf(110)/11]
                > to 192.168.2.6 via fxp0/fxp0
admin at a.RouterA> show ospf4 neighbor
  Address         Interface             State      ID              Pri  Dead
192.168.2.6      fxp0/fxp0              Full      192.168.2.6        1    38
admin at a.RouterA> show ospf4 database
   OSPF link state database, Area 0.0.0.0
 Type       ID               Adv Rtr           Seq      Age  Opt  Cksum  Len
Router  *192.168.2.1      192.168.2.1      0x80000007   267  0x2  0x195   36
Router   192.168.2.6      192.168.2.6      0x80000009   273  0x22 0xe0f6  48
Network  192.168.2.6      192.168.2.6      0x80000001   273  0x22 0x8eea  32
admin at a.RouterA>
routerB config
routerB#show run
......
interface FastEthernet0/0
 ip address 192.168.2.6 255.255.255.0
 duplex auto
 speed 10
!
interface FastEthernet0/1
 ip address 192.168.1.6 255.255.255.0
 duplex auto
 speed 10
!
router ospf 878
 router-id 192.168.2.6
 log-adjacency-changes
 network 192.168.1.0 0.0.0.255 area 0.0.0.0
 network 192.168.2.0 0.0.0.255 area 0.0.0.0
!
......
RouterB#show int
FastEthernet0/0 is up, line protocol is up
  Hardware is AmdFE, address is 000a.f40b.b17a (bia 000a.f40b.b17a)
  Internet address is 192.168.2.6/24
  MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 10Mb/s, 100BaseTX/FX
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:07, output 00:00:02, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     646 packets input, 53076 bytes
     Received 624 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog
     0 input packets with dribble condition detected
     1124 packets output, 108434 bytes, 0 underruns
     0 output errors, 0 collisions, 5 interface resets
     0 babbles, 0 late collision, 0 deferred
     2 lost carrier, 0 no carrier
     0 output buffer failures, 0 output buffers swapped out
FastEthernet0/1 is up, line protocol is up
  Hardware is AmdFE, address is 000a.f40b.b17b (bia 000a.f40b.b17b)
  Internet address is 192.168.1.6/24
  MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 10Mb/s, 100BaseTX/FX
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:13, output 00:00:03, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     204 packets input, 13464 bytes
     Received 204 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog
     0 input packets with dribble condition detected
     1091 packets output, 104031 bytes, 0 underruns
     0 output errors, 0 collisions, 6 interface resets
     0 babbles, 0 late collision, 0 deferred
     6 lost carrier, 0 no carrier
     0 output buffer failures, 0 output buffers swapped out
RouterB#show ip route
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.1.0/24 is directly connected, FastEthernet0/1
C    192.168.2.0/24 is directly connected, FastEthernet0/0
RouterB#show route ?
  WORD  route-map name
  |     Output modifiers
  <cr>
RouterB#show ip ospf ?
  <1-65535>            Process ID number
  border-routers       Border and Boundary Router Information
  database             Database summary
  flood-list           Link state flood list
  interface            Interface information
  mpls                 MPLS related information
  neighbor             Neighbor list
  request-list         Link state request list
  retransmission-list  Link state retransmission list
  sham-links           Sham link information
  summary-address      Summary-address redistribution Information
  virtual-links        Virtual link information
  |                    Output modifiers
  <cr>
RouterB#show ip ospf nei
Neighbor ID     Pri   State           Dead Time   Address         Interface
192.168.2.1     128   FULL/BDR        00:00:32    192.168.2.1     FastEthernet0/0
Router#show ip ospf data
            OSPF Router with ID (192.168.2.6) (Process ID 878)
                Router Link States (Area 0.0.0.0)
Link ID         ADV Router      Age         Seq#       Checksum Link count
192.168.2.1     192.168.2.1     435         0x80000007 0x000195 1
192.168.2.6     192.168.2.6     438         0x80000009 0x00E0F6 2
                Net Link States (Area 0.0.0.0)
Link ID         ADV Router      Age         Seq#       Checksum
192.168.2.6     192.168.2.6     438         0x80000001 0x008EEA
Router#



--


王星海

电话:13312601392
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20101209/7238cd49/attachment-0001.html 


More information about the Xorp-hackers mailing list