[j-nsp] Generating inet6 routes

Sabri Berisha sabri at cluecentral.net
Tue Aug 14 10:18:36 EDT 2007


On Tue, Aug 14, 2007 at 03:02:02PM +0100, Ras wrote:

Hi,

> However, a commit check shows:
> # commit check
> [edit routing-options generate]
>   'route ::/0'
>     RT: invalid destination ::/0 for family inet
> error: configuration check-out failed

[edit routing-options]
lab at j6300-1# show
rib inet6.0 {
    generate {
        route ::/0 {
            metric 10000;
            discard;
        }
    }
}

[edit routing-options]
lab at j6300-1# commit
commit complete

[edit routing-options]
lab at j6300-1# run show route table inet6.0 hidden

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

::/0                [Aggregate] 00:01:04, metric 10000
                      Discard


http://www.juniper.net/techpubs/software/junos/junos83/swconfig83-routing/id-10388137.html


Enjoy :)

-- 
Sabri
JNCIE-M #261
JNCIS-ER #6


More information about the juniper-nsp mailing list