Difference between revisions of "Juniper FAQ"
From Teknologisk videncenter
m (Created page with "=Juniper FAQ= ==Kan syslog filer deles i flere filer som med traceoptions?== <pre> [edit system syslog] root@SRX240# show file messages { any any; archive size 512k files...") |
m (→Kan man lave en no keepalive på juniper?) |
||
| Line 15: | Line 15: | ||
gigether-options { | gigether-options { | ||
loopback; | loopback; | ||
| + | } | ||
| + | </pre> | ||
| + | ==Hvordan ser man matches på en Route Policy?== | ||
| + | <pre> | ||
| + | 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; | ||
| + | } | ||
| + | } | ||
| + | } | ||
} | } | ||
</pre> | </pre> | ||
Revision as of 14:57, 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?
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;
}
}
}
}