beautypg.com

Displaying and maintaining acls – H3C Technologies H3C S10500 Series Switches User Manual

Page 19

background image

11

To do…

Use the command…

Remarks

Enter system view

system-view

Enter interface view

interface interface-type
interface-number

Apply an IPv6 basic or IPv6
advanced ACL to the interface to
filter IPv6 packets

packet-filter ipv6 { acl6-number |
name acl6-name } { inbound |
outbound }

Required
By default, no IPv6 ACL is applied

to the interface.

Displaying and maintaining ACLs

To do...

Use the command…

Remarks

Display configuration and match
statistics for one or all IPv4 ACLs (in

standalone mode)

display acl { acl-number | all | name acl-name }
[ slot slot-number ] [ | { begin | exclude | include }

regular-expression ]

Available in any
view

Display configuration and match
statistics for one or all IPv4 ACLs (in

IRF mode)

display acl { acl-number | all | name acl-name }
[ chassis chassis-number slot slot-number ] [ | { begin

| exclude | include } regular-expression ]

Available in any
view

Display configuration and match
statistics for one or all IPv6 ACLs (in

standalone mode)

display acl ipv6 { acl6-number | all | name
acl6-name } [ slot slot-number ] [ | { begin | exclude

| include } regular-expression ]

Available in any
view

Display configuration and match
statistics for one or all IPv6 ACLs (in

IRF mode)

display acl ipv6 { acl6-number | all | name
acl6-name } [ chassis chassis-number slot

slot-number ] [ | { begin | exclude | include }

regular-expression ]

Available in any
view

Display the usage of ACL rules (in
standalone mode)

display acl resource [ slot slot-number ] [ | { begin |
exclude | include } regular-expression ]

Available in any
view

Display the usage of ACL rules (in
IRF mode)

display acl resource [ chassis chassis-number slot
slot-number ] [ | { begin | exclude | include }

regular-expression ]

Available in any
view

Display the application status of
packet filtering ACLs on interfaces

(in standalone mode)

display packet-filter { { all | interface interface-type
interface-number } [ inbound | outbound ] |

interface vlan-interface vlan-interface-number
[ inbound | outbound ] [ slot slot-number ] } [ |

{ begin | exclude | include } regular-expression ]

Available in any
view

Display the application status of
packet filtering ACLs on interfaces

(in IRF mode)

display packet-filter { { all | interface interface-type
interface-number } [ inbound | outbound ] |

interface vlan-interface vlan-interface-number

[ inbound | outbound ] [ chassis chassis-number slot
slot-number ] } [ | { begin | exclude | include }

regular-expression ]

Available in any
view

Display the configuration and
status of one or all time ranges

display time-range { time-range-name | all } [ |
{ begin | exclude | include } regular-expression ]

Available in any
view

Clear statistics for one or all IPv4

ACLs

reset acl counter { acl-number | all | name

acl-name }

Available in user

view

Clear statistics for one or all IPv6
basic and advanced ACLs

reset acl ipv6 counter { acl6-number | all | name
acl6-name }

Available in user
view

This manual is related to the following products: