Difference between revisions of "Juniper FAQ"
From Teknologisk videncenter
m (→Kan man lave en no keepalive på juniper?) |
m (→Hvordan ser man matches på en Route Policy?) |
||
Line 18: | Line 18: | ||
</pre> | </pre> | ||
==Hvordan ser man matches på en Route Policy?== | ==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<ref>http://www.juniper.net/techpubs/en_US/junos9.5/information-products/topic-collections/config-guide-policy/policy-configuring-actions-in-routing-policy-terms.html#id-10467981</ref>. | ||
<pre> | <pre> | ||
routing-options { | routing-options { | ||
Line 40: | Line 41: | ||
} | } | ||
</pre> | </pre> | ||
+ | =References= | ||
+ | <references /> |
Revision as of 15:00, 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; } } } }