route is break ,when one of link break.
 xorp router ======swithch-------cisco router
 cisco router configure:
 !
interface FastEthernet0/0.1
 encapsulation dot1Q 101
 ip address 192.168.3.1 255.255.255.252
!
interface FastEthernet0/0.2
 encapsulation dot1Q 102
 ip address 192.168.3.5 255.255.255.252
!
interface FastEthernet0/1
 ip address 192.168.6.1 255.255.255.0
 duplex auto
 speed 100
!
router ospf 878
 router-id 192.168.6.1
 log-adjacency-changes
 network 192.168.3.0 0.0.0.7 area 0.0.0.0
 network 192.168.6.0 0.0.0.255 area 0.0.0.0
!
ip classless
ip http server
!
!
line con 0
line aux 0
line vty 0 4
 password 123456
 login
!
!
!
end
 Router#
 xorp router configure
 [email protected]# show
    protocols {
        ospf4 {
            router-id: 192.168.1.1
            area 0.0.0.0 {
                area-range 192.168.1.0/24 {
                }
                area-range 192.168.3.0/29 {
                }
                interface fxp1 {
                    vif fxp1 {
                        address 192.168.3.6 {
                        }
                    }
                }
                interface bge0 {
                    vif bge0 {
                        address 192.168.3.2 {
                        }
                    }
                }
            }
            export: "a1"
        }
    }
    policy {
        policy-statement a1 {
            term a {
                from {
                    protocol: "connected"
                }
            }
        }
    }
    interfaces {
        interface bge0 {
            vif bge0 {
                address 192.168.3.2 {
                    prefix-length: 30
                }
            }
        }
        interface fxp0 {
            vif fxp0 {
                address 192.168.1.1 {
                    prefix-length: 24
                }
            }
        }
        interface fxp1 {
            vif fxp1 {
                address 192.168.3.6 {
                    prefix-length: 30
                }
            }
        }
    }
 [edit]
 --More-- (END) 
[email protected]#
_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to