Deactivating A Statement Or Identifier - Juniper J2300 User Manual

J-series services router
Hide thumbs Also See for J2300:
Table of Contents

Advertisement

[edit]
user@host# show firewall
family inet {
filter filter1 {
term term1 {
from {
address {
192.168.0.0/16;
}
}
then {
reject;
}
}
term term2 {
from {
destination-port ssh;
}
then accept;
}
term term3 {
then {
reject;
}
}
}
}

Deactivating a Statement or Identifier

You can deactivate a statement or identifier so that it does not take effect when
you enter the
command. Any deactivated statements and identifiers are
commit
marked with the
inactive:
To deactivate a statement or identifier, use the
deactivate ( statement | identifier )
To reactivate a statement or identifier, use the
reactivate ( statement | identifier )
Reactivate removes the
inactive:
effect when you commit the configuration.
In both commands,
statement
The following example shows how to deactivate interface
the
hierarchy level:
[edit interfaces]
[edit interfaces]
user@host# deactivate fe-0/0/0
tag and remain in the configuration.
deactivate
reactivate
tag so that a statement or identifier takes
or
must be at the current hierarchy level.
identifier
Using the CLI Configuration Editor
Using J-series Configuration Tools
command:
command:
at
fe-0/0/0
153

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

J2350J2320J4300J6300J6350J4350

Table of Contents