²é¿´ÍêÕû°æ±¾: kurtʮһѧϰͬ²½¼Æ»®(Îé¡¢Juniper·ÓÉÆ÷OSPFСʵÑé)

kurt 2007-10-6 16:15

kurtʮһѧϰͬ²½¼Æ»®(Îé¡¢Juniper·ÓÉÆ÷OSPFСʵÑé)

·ÓÉÍØÆËΪËĄ̈·ÓÉÆ÷R1-R2-R3-R4-R1

ÅäÖÃ

root@Juniperbbs-Kurt-M7i# show
## Last changed: 2007-10-06 15:55:47 CST
version 8.3R1.5;
system {
    host-name Juniperbbs-Kurt-M7i;
    time-zone Asia/Shanghai;
    authentication-order password;
    root-authentication {
        encrypted-password "$1$s2DjtpA5$igH5IA8QSqoEVCE3lmiSa."; ## SECRET-DATA
    }
    login {
        user kurt {
            full-name juniperbbs-kurt;
            uid 1000;
            class super-user;
            authentication {
                encrypted-password "$1$4iVGvaSm$0J8bcDkqiEVixYsL99l.V1"; ## SECRET-DATA
            }
        }
    }
    services {
        ftp;
        telnet;
    }               
    syslog {
        user * {
            any emergency;
        }
        file messages {
            any info;
            authorization info;
            archive size 2m files 10;
        }
        file interactive-commands {
            interactive-commands any;
        }
    }
    compress-configuration-files;
}
logical-routers {
    r1 {
        interfaces {
            fe-1/3/0 {
                unit 12 {
                    vlan-id 12;
                    family inet {
                        address 10.100.12.1/30;
                    }
                    family mpls;
                }
                unit 13 {
                    vlan-id 13;
                    family inet {
                        address 10.100.13.1/30;
                    }
                    family mpls;
                }
                unit 33 {
                    vlan-id 33;
                    family inet {
                        address 192.168.12.1/24;
                    }
                }
            }
            lo0 {
                unit 12 {
                    family inet {
                        address 202.202.10.1/32;
                    }
                }   
            }
        }
        routing-options {
            static {
                route 10.100.14.0/30 next-hop 10.100.12.2;
                route 10.100.15.0/30 next-hop 10.100.13.2;
            }
        }
    }
    r2 {
        interfaces {
            fe-1/3/1 {
                unit 12 {
                    vlan-id 12;
                    family inet {
                        address 10.100.12.2/30;
                    }
                    family mpls;
                }
                unit 14 {
                    vlan-id 14;
                    family inet {
                        address 10.100.14.2/30;
                    }
                    family mpls;
                }
                unit 44 {
                    vlan-id 44;
                    family inet {
                        address 192.168.14.1/24;
                    }
                }
            }
            lo0 {
                unit 22 {
                    family inet {
                        address 202.202.10.2/32;
                    }
                }
            }
        }
        routing-options {
            static {
                route 10.100.15.0/30 next-hop 10.100.14.1;
                route 10.100.13.0/30 next-hop 10.100.12.1;
            }      
        }
    }
    r3 {
        interfaces {
            fe-1/3/0 {
                unit 14 {
                    vlan-id 14;
                    family inet {
                        address 10.100.14.1/30;
                    }
                    family mpls;
                }
                unit 15 {
                    vlan-id 15;
                    family inet {
                        address 10.100.15.1/30;
                    }
                    family mpls;
                }
                unit 55 {
                    vlan-id 55;
                    family inet {
                        address 192.168.15.1/24;
                    }
                }
            }
            lo0 {
                unit 44 {
                    family inet {
                        address 202.202.10.3/32;
                    }
                }
            }
        }
        routing-options {
            static {
                route 10.100.12.0/30 next-hop 10.100.14.2;
                route 10.100.13.0/30 next-hop 10.100.15.2;
            }
        }
    }
    r4 {
        interfaces {
            fe-1/3/1 {
                unit 13 {
                    vlan-id 13;
                    family inet {
                        address 10.100.13.2/30;
                    }
                    family mpls;
                }
                unit 15 {
                    vlan-id 15;
                    family inet {
                        address 10.100.15.2/30;
                    }
                    family mpls;
                }
                unit 33 {
                    vlan-id 33;
                    family inet {
                        address 192.168.13.1/24;
                    }
                }
            }
            lo0 {
                unit 55 {
                    family inet {
                        address 202.202.10.4/32;
                    }
                }
            }
        }
        routing-options {
            static {
                route 10.100.14.0/30 next-hop 10.100.15.1;
                route 10.100.12.0/30 next-hop 10.100.13.1;
            }
        }
    }
}
chassis {
    alarm {
        management-ethernet {
            link-down ignore;
        }
    }
}
interfaces {
    fe-1/3/0 {
        vlan-tagging;
    }               
    fe-1/3/1 {
        vlan-tagging;
    }
}

¼ì²éÏà¹ØÅäÖýá¹û

root@Juniperbbs-Kurt-M7i> show route logical-router r1

inet.0: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

10.100.12.0/30     *[Direct/0] 00:17:47
                    > via fe-1/3/0.12
10.100.12.1/32     *[Local/0] 00:17:50
                      Local via fe-1/3/0.12
10.100.13.0/30     *[Direct/0] 00:17:47
                    > via fe-1/3/0.13
10.100.13.1/32     *[Local/0] 00:17:50
                      Local via fe-1/3/0.13
10.100.14.0/30     *[OSPF/10] 00:08:29, metric 2
                    > to 10.100.12.2 via fe-1/3/0.12
10.100.15.0/30     *[OSPF/10] 00:04:42, metric 2
                    > to 10.100.13.2 via fe-1/3/0.13
192.168.12.0/24    *[Direct/0] 00:17:47
                    > via fe-1/3/0.33
192.168.12.1/32    *[Local/0] 00:17:50
                      Local via fe-1/3/0.33
202.202.10.1/32    *[Direct/0] 00:19:27
                    > via lo0.12
202.202.10.2/32    *[OSPF/10] 00:08:29, metric 1
                    > to 10.100.12.2 via fe-1/3/0.12
202.202.10.3/32    *[OSPF/10] 00:04:42, metric 2
                      to 10.100.12.2 via fe-1/3/0.12
                    > to 10.100.13.2 via fe-1/3/0.13
202.202.10.4/32    *[OSPF/10] 00:04:42, metric 1
                    > to 10.100.13.2 via fe-1/3/0.13
224.0.0.5/32       *[OSPF/10] 00:10:25, metric 1
                      MultiRecv

root@Juniperbbs-Kurt-M7i> show route logical-router r2   

inet.0: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

10.100.12.0/30     *[Direct/0] 00:18:00
                    > via fe-1/3/1.12
10.100.12.2/32     *[Local/0] 00:18:03
                      Local via fe-1/3/1.12
10.100.13.0/30     *[OSPF/10] 00:08:41, metric 2
                    > to 10.100.12.1 via fe-1/3/1.12
10.100.14.0/30     *[Direct/0] 00:18:00
                    > via fe-1/3/1.14
10.100.14.2/32     *[Local/0] 00:18:03
                      Local via fe-1/3/1.14
10.100.15.0/30     *[OSPF/10] 00:06:43, metric 2
                    > to 10.100.14.1 via fe-1/3/1.14
192.168.14.0/24    *[Direct/0] 00:18:00
                    > via fe-1/3/1.44
192.168.14.1/32    *[Local/0] 00:18:03
                      Local via fe-1/3/1.44
202.202.10.1/32    *[OSPF/10] 00:08:41, metric 1
                    > to 10.100.12.1 via fe-1/3/1.12
202.202.10.2/32    *[Direct/0] 00:19:40
                    > via lo0.22
202.202.10.3/32    *[OSPF/10] 00:06:43, metric 1
                    > to 10.100.14.1 via fe-1/3/1.14
202.202.10.4/32    *[OSPF/10] 00:04:55, metric 2
                      to 10.100.12.1 via fe-1/3/1.12
                    > to 10.100.14.1 via fe-1/3/1.14
224.0.0.5/32       *[OSPF/10] 00:09:01, metric 1
                      MultiRecv

root@Juniperbbs-Kurt-M7i> show route logical-router r3   

inet.0: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

10.100.12.0/30     *[OSPF/10] 00:07:07, metric 2
                    > to 10.100.14.2 via fe-1/3/0.14
10.100.13.0/30     *[OSPF/10] 00:05:26, metric 2
                    > to 10.100.15.2 via fe-1/3/0.15
10.100.14.0/30     *[Direct/0] 00:18:24
                    > via fe-1/3/0.14
10.100.14.1/32     *[Local/0] 00:18:27
                      Local via fe-1/3/0.14
10.100.15.0/30     *[Direct/0] 00:18:24
                    > via fe-1/3/0.15
10.100.15.1/32     *[Local/0] 00:18:27
                      Local via fe-1/3/0.15
192.168.15.0/24    *[Direct/0] 00:18:24
                    > via fe-1/3/0.55
192.168.15.1/32    *[Local/0] 00:18:27
                      Local via fe-1/3/0.55
202.202.10.1/32    *[OSPF/10] 00:05:16, metric 2
                    > to 10.100.14.2 via fe-1/3/0.14
                      to 10.100.15.2 via fe-1/3/0.15
202.202.10.2/32    *[OSPF/10] 00:07:07, metric 1
                    > to 10.100.14.2 via fe-1/3/0.14
202.202.10.3/32    *[Direct/0] 00:20:04
                    > via lo0.44
202.202.10.4/32    *[OSPF/10] 00:05:26, metric 1
                    > to 10.100.15.2 via fe-1/3/0.15
224.0.0.5/32       *[OSPF/10] 00:07:17, metric 1
                      MultiRecv

root@Juniperbbs-Kurt-M7i> show route logical-router r4   

inet.0: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

10.100.12.0/30     *[OSPF/10] 00:05:26, metric 2
                    > to 10.100.13.1 via fe-1/3/1.13
10.100.13.0/30     *[Direct/0] 00:18:29
                    > via fe-1/3/1.13
10.100.13.2/32     *[Local/0] 00:18:32
                      Local via fe-1/3/1.13
10.100.14.0/30     *[OSPF/10] 00:05:31, metric 2
                    > to 10.100.15.1 via fe-1/3/1.15
10.100.15.0/30     *[Direct/0] 00:18:29
                    > via fe-1/3/1.15
10.100.15.2/32     *[Local/0] 00:18:32
                      Local via fe-1/3/1.15
192.168.13.0/24    *[Direct/0] 00:18:29
                    > via fe-1/3/1.33
192.168.13.1/32    *[Local/0] 00:18:32
                      Local via fe-1/3/1.33
202.202.10.1/32    *[OSPF/10] 00:05:26, metric 1
                    > to 10.100.13.1 via fe-1/3/1.13
202.202.10.2/32    *[OSPF/10] 00:05:26, metric 2
                      to 10.100.13.1 via fe-1/3/1.13
                    > to 10.100.15.1 via fe-1/3/1.15
202.202.10.3/32    *[OSPF/10] 00:05:31, metric 1
                    > to 10.100.15.1 via fe-1/3/1.15
202.202.10.4/32    *[Direct/0] 00:20:14
                    > via lo0.55
224.0.0.5/32       *[OSPF/10] 00:05:41, metric 1
                      MultiRecv

Á¬Í¨ÐÔ²âÊÔ

root@Juniperbbs-Kurt-M7i> ping 10.100.12.1 logical-router r1
PING 10.100.12.1 (10.100.12.1): 56 data bytes
64 bytes from 10.100.12.1: icmp_seq=0 ttl=64 time=0.164 ms
64 bytes from 10.100.12.1: icmp_seq=1 ttl=64 time=0.158 ms
^C
--- 10.100.12.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.158/0.161/0.164/0.003 ms

root@Juniperbbs-Kurt-M7i> ping 10.100.12.1 logical-router r2   
PING 10.100.12.1 (10.100.12.1): 56 data bytes
64 bytes from 10.100.12.1: icmp_seq=0 ttl=64 time=0.887 ms
64 bytes from 10.100.12.1: icmp_seq=1 ttl=64 time=0.860 ms
^C
--- 10.100.12.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.860/0.873/0.887/0.014 ms

root@Juniperbbs-Kurt-M7i> ping 10.100.12.1 logical-router r3   
PING 10.100.12.1 (10.100.12.1): 56 data bytes
64 bytes from 10.100.12.1: icmp_seq=0 ttl=63 time=0.968 ms
64 bytes from 10.100.12.1: icmp_seq=1 ttl=63 tim^C
--- 10.100.12.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.927/0.948/0.968/0.021 ms

root@Juniperbbs-Kurt-M7i> ping 10.100.12.1 logical-router r4   
PING 10.100.12.1 (10.100.12.1): 56 data bytes
64 bytes from 10.100.12.1: icmp_seq=0 ttl=64 time=0.873 ms
64 bytes from 10.100.12.1: icmp_seq=1 ttl=64 time=0.813 ms
^C
--- 10.100.12.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.813/0.843/0.873/0.030 ms


root@Juniperbbs-Kurt-M7i> show ospf neighbor logical-router r1
Address          Interface              State     ID               Pri  Dead
10.100.12.2      fe-1/3/0.12            Full      202.202.10.2     128    31
10.100.13.2      fe-1/3/0.13            Full      202.202.10.4     128    34

root@Juniperbbs-Kurt-M7i> show ospf neighbor logical-router r2   
Address          Interface              State     ID               Pri  Dead
10.100.12.1      fe-1/3/1.12            Full      202.202.10.1     128    32
10.100.14.1      fe-1/3/1.14            Full      202.202.10.3     128    39

root@Juniperbbs-Kurt-M7i> show ospf neighbor logical-router r3   
Address          Interface              State     ID               Pri  Dead
10.100.14.2      fe-1/3/0.14            Full      202.202.10.2     128    39
10.100.15.2      fe-1/3/0.15            Full      202.202.10.4     128    38

root@Juniperbbs-Kurt-M7i> show ospf neighbor logical-router r4   
Address          Interface              State     ID               Pri  Dead
10.100.13.1      fe-1/3/1.13            Full      202.202.10.1     128    39
10.100.15.1      fe-1/3/1.15            Full      202.202.10.3     128    33

root@Juniperbbs-Kurt-M7i> traceroute 10.100.12.1 logical-router r2
traceroute to 10.100.12.1 (10.100.12.1), 30 hops max, 40 byte packets
1  10.100.12.1 (10.100.12.1)  0.867 ms  0.819 ms  0.731 ms

root@Juniperbbs-Kurt-M7i> traceroute 10.100.12.1 logical-router r3   
traceroute to 10.100.12.1 (10.100.12.1), 30 hops max, 40 byte packets
1  10.100.14.2 (10.100.14.2)  0.738 ms  0.708 ms  0.617 ms
2  10.100.12.1 (10.100.12.1)  0.816 ms  0.898 ms  0.795 ms

root@Juniperbbs-Kurt-M7i> traceroute 10.100.12.1 logical-router r4   
traceroute to 10.100.12.1 (10.100.12.1), 30 hops max, 40 byte packets
1  10.100.12.1 (10.100.12.1)  0.879 ms  0.799 ms  0.740 ms

С© 2007-10-6 17:09

GOOD Ö§³ÖÒ»°Ñ°Ñ

webceleb 2007-10-6 21:21

²»´íµÄ¶«Î÷£¬¾ÍÊǽ²µÄÉÙÁ˵㡣

justblue 2007-11-7 23:05

:hug:       лл     ¼ÌÐø°¡£¡

huanxiong728 2008-5-15 12:55

987^345 987^345 987^345 987^345

shuhan 2008-5-16 18:40

²»´íµÄ¶«Î÷~12+ ~12+ ~12+

hua 2008-6-13 14:53

¹àË®¹àË®¹àË®¹àË®¹àË®¹àË®¹àË®¹àË®

zhaoyg 2008-7-26 20:58

¹àË®¹àË®¹àË®¹àË®¹àË®¹àË®¹àË®¹àË®

zhaoyg 2008-7-26 20:59

?<;+enu:": ~12+ n"lW :(kuna} xiexiexiexie

Ï¢ÓêÐà 2008-8-30 06:09

´ó¼Ò²»ÒªÇáÐÅÍøÉÏÁ÷´«µÄŶ

*** ×÷Õß±»½ûÖ¹»òɾ³ý ÄÚÈÝ×Ô¶¯ÆÁ±Î ***

yyandlmy 2008-10-4 22:21

·Ç³£²»´í 10.1Â¥Ö÷»¹¼á³Öѧϰ

tny 2008-10-5 21:49

ÔõôûÓÐÏêÏ¸ÍØÆË½á¹¹Í¼

abcd956 2008-11-29 03:27

ÇéÈ˽ÚÏÊ»¨£¬ÇéÈ˽ÚÏÊ»¨Ô¤¶¨£¬ÇéÈ˽ÚËÍ»¨È«¹ú

[url=http://www.lipinweb.com/city-jxpxxh.html][b]ÇéÈ˽ÚÏÊ»¨[/b][/url]£¬ÇéÈ˽ÚÏÊ»¨Ô¤¶¨£¬ÇéÈ˽ÚËÍ»¨È«¹ú010-86887442
Ò³: [1] 2
²é¿´ÍêÕû°æ±¾: kurtʮһѧϰͬ²½¼Æ»®(Îé¡¢Juniper·ÓÉÆ÷OSPFСʵÑé)