JUNOS Routing Options

static route rib

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;
        }
    }
}
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
juniper/junos/routing-options.txt · 上一次變更: 2012/11/13 16:39 由 jal
上一頁 | 下一頁 | 回首頁 | RSS Feed | Facebook