1-7
Examples
# Display all time ranges.
<Sysname> display time-range all
Current time is 17:01:34 May/21/2007 Monday
Time-range : tr ( Active )
12:00 to 18:00 working-day
Time-range : tr1 ( Inactive )
From 12:00 Jan/1/2008 to 12:00 Jun/1/2008
Table 1-4 Description on the fields of the display time-range command.
Field Description
Current time is 17:01:34 May/21/2007 Monday Current system time
Time-range Name of the time range
Active
Status of the time range, which can be:
z Active: The time range is active currently.
z Inactive: The time range is not inactive now.
12:00 to 18:00 working-day
The periodic time range is from 12:00 to 18:00 on
each working day.
From 12:00 Jan/1/2008 to 12:00 Jun/1/2008
The absolute time range is from 12:00 January 1,
2008 to 12:00 June 1, 2008.
packet-filter
Syntax
packet-filter { inbound | outbound } acl-rule
undo packet-filter { inbound | outbound } acl-rule
View
Ethernet port view
Parameters
inbound: Filters inbound packets.
outbound: Filters outbound packets.
acl-rule: ACL/ACL rules to be applied. This argument can be one of those listed in
Table 1-5.
Table 1-5 Combined application of ACLs
Combination mode The acl-rule argument
Apply all the rules of an ACL that is of IP type (The
ACL can be a basic ACL or an advanced ACL.)
ip-group acl-number
Apply a rule of an ACL that is of IP type ip-group acl-number rule rule-id