H3C S5120-SI Series Command Reference Manual page 580

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

<Sysname> display time-range trname
Current time is 10:45:15 4/14/2005 Thursday
Time-range : trname ( Inactive )
from 08:00 12/1/2005 to 23:59 12/31/2100
Table 1-3 display time-range command output description
Current time
Time-range
packet-filter
Syntax
packet-filter { acl-number | name acl-name } inbound
undo packet-filter { acl-number | name acl-name } inbound
View
Ethernet port view, VLAN interface view
Default Level
2: System level
Parameters
acl-number: Specifies an ACL by its number:
2000 to 2999 for basic ACLs
3000 to 3999 for advanced ACLs
4000 to 4999 for Ethernet frame header ACLs
name acl-name: Specifies an ACL by its name. The acl-name argument takes a case insensitive string
of 1 to 32 characters. It must start with an English letter.
inbound: Filters incoming packets.
Description
Use the packet-filter command to apply an ACL to an interface to filter IPv4 packets or Ethernet
frames.
Use the undo packet-filter command to restore the default.
By default, an interface does not filter IPv4 packets or Ethernet frames.
If you execute the command repeatedly, the last configuration takes effect.
Examples
# Apply basic ACL 2001 to the inbound direction of interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
Field
Description
Current system time
Configuration and status of the time range, including the
name of the time range, its status (active or inactive), and
its start time and end time.
1-7

Advertisement

Table of Contents
loading

Table of Contents