
configure
X Family CLI Reference V 2.5.1 47
hostname# conf t firewall rule update 10 permit LAN WAN telnet
update source
and
destination
addresses
Use configure terminal firewall rule update to update source and destination addresses for a firewall
rule. In this example, firewall rule 10 is updated so that it restricts source addresses to the address
group 'engineers', but permits any destination address:
hostname# conf t firewall rule update 10 src-addr group engineers dst-addr all
move a
firewall rule
above another
Use configure terminal firewall move to move a firewall rule. In this example, rule 10 is moved above
rule 7:
hostname# conf t firewall move 10 above 7
move a
firewall rule to
a specific
position
Use configure terminal firewall move to move a firewall rule to a specific position. In this example,
rule 10 is moved to position 1 in the table:
hostname# conf t firewall move 10 to 1
conf t firewall schedule
The configure terminal firewall schedule command limits when a firewall rule will operate.
add-entry schedule-name day_letters [from time1 to time2]
add an entry to the named firewall schedule (without overwriting the other days).
remove schedule-name
deletes the named schedule.
remove-entry schedule-name day_letters [from time1 to time2]
deletes an entry from a named schedule.
update schedule-name [days day_letters [from time1 to time2] ]
creates a named firewall schedule or updated an existing schedule..
Using conf t firewall schedule
create a
schedule
Use configure terminal firewall schedule to create a schedule. In this example, a schedule named
'work' is created and scheduled for Monday through Friday from 9am to 5pm:
hostname# conf t firewall schedule update work days -MTWTF- from 0900 to 1700
In this example, a schedule named 'weekend' is created and scheduled for all day Saturday and Sunday:
hostname# conf t firewall schedule update weekend days S-----S
Note: The variable day_letters is seven characters to represent the days and
time1 and time2 are the time in 24 hours clock.
Commentaires sur ces manuels