Difference between revisions of "Juniper FAQ"
From Teknologisk videncenter
m (→Hvordan ser man matches på en Route Policy?) |
m (→Hvordan ser man matches på en Route Policy?) |
||
Line 41: | Line 41: | ||
} | } | ||
</pre> | </pre> | ||
+ | ==Hvordan laver man en IPv6 Default Route?== | ||
+ | <pre> | ||
+ | |||
+ | routing-options { | ||
+ | rib inet6.0 { | ||
+ | static { | ||
+ | route ::/0 next-hop 2001:218:420:146::1; | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </pre> | ||
+ | |||
=References= | =References= | ||
<references /> | <references /> |
Revision as of 15:02, 7 December 2011
Contents
Juniper FAQ
Kan syslog filer deles i flere filer 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; } } }