差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

juniper:junos:routing-options [2012/11/13 16:39] (目前版本)
jal 建立
行 1: 行 1:
 +====== JUNOS Routing Options ======
  
 +===== static route rib =====
 +<​code>​
 +routing-options {
 +    rib inet.0 {
 +        static {
 +            route 0.0.0.0/0 next-hop 1.1.1.1;
 +            route 10.38.0.0/​16 next-hop 10.255.255.1;​
 +        }
 +    }
 +    rib inet6.0 {
 +        static {
 +            route ::/0 next-hop 2001:​b030:​ffff::​1;​
 +            route 2001:​b030:​ffff:​38::/​64 next-hop 2001:​b030:​ffff:​f5::​1;​
 +        }
 +    }
 +}
 +</​code>​
 +<​code>​
 +set routing-options rib inet.0 static route 0.0.0.0/0 next-hop 1.1.1.1
 +set routing-options rib inet.0 static route 10.38.0.0/​16 next-hop 10.255.255.1
 +set routing-options rib inet6.0 static route ::/0 next-hop 2001:​b030:​ffff::​1
 +set routing-options rib inet6.0 static route 2001:​b030:​ffff:​38::/​64 next-hop 2001:​b030:​ffff:​f5::​1
 +</​code>​