configure

 

hostname# conf t firewall rule update 10 permit LAN WAN telnet

update source

Use configure terminal firewall rule update to update source and destination addresses for a firewall

and

rule. In this example, firewall rule 10 is updated so that it restricts source addresses to the address

destination

group 'engineers', but permits any destination address:

 

addresses

 

 

 

hostname# conf t firewall rule update 10 src-addr group engineers dst-addr all

move a

Use configure terminal firewall move to move a firewall rule. In this example, rule 10 is moved above

firewall rule

rule 7:

 

above another

 

 

 

hostname# conf t firewall move 10 above 7

 

move a

Use configure terminal firewall move to move a firewall rule to a specific position. In this example,

firewall rule to

rule 10 is moved to position 1 in the table:

 

a specific

 

 

position

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-entryschedule-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-entryschedule-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..

 

Note: The variable day_letters is seven characters to represent the days and

 

time1 and time2 are the time in 24 hours clock.

 

 

 

 

 

Using conf t firewall schedule

 

create a

Use configure terminal firewall schedule to create a schedule. In this example, a schedule named

schedule

'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

X Family CLI Reference V 2.5.1

47