Juniper FAQ

From Teknologisk videncenter
Revision as of 11:54, 8 December 2011 by Rael (talk | contribs) (Hvordan ser man rollback configurationen?)
Jump to: navigation, search

Juniper FAQ

Kan syslog filer deles i flere, som med traceoptions?

[edit system syslog]
root@SRX240# show
file messages {
    any any;
    archive size 512k files 10 world-readable;
}

Kan man lave en no keepalive på juniper?

[edit interfaces ge-0/0/0]
root@SRX240# show
gigether-options {
    loopback;
}

Hvordan ser man matches på en Route Policy?

Under [edit routing-options] opretter man en traceoption med flag policy, der matcher alt fra en routing policy. I Routing politikken tilføjer man trace under then for at logge det[1].

routing-options {
    traceoptions {
        file policy-log size 512k files 10 world-readable;
        flag policy;
    }
}
policy-options {
    policy-statement BGP-EXPORT-POLICY {
        term MATCH-AGG {
            from protocol aggregate;
            then accept;
        }
        term DENY-OTHER {
            then {
                trace;
                reject;
            }
        }
    }
}

Hvordan laver man en IPv6 Default Route?


routing-options {
    rib inet6.0 {
        static {
            route ::/0 next-hop 2001:218:420:146::1;
        }
    }
}

Hvordan ser man rollback configurationen?

Rollback configurationen kan kun vises fra operational mode, og ikke med run kommandoen.[2]
show system rollback <num>

root@SRX240> show system rollback 2 compare 3
[edit system]
+   services {
+       ssh;
+       telnet;
+   }

References