9 firewall, Clear access, Group – PLANET XGS3-24042 User Manual

Page 945: Statistic interface, Firewall

Advertising
background image

47-11

Command Mode:

Global mode

Default Configuration:

No access-list configured.

Usage Guide:

When the user assign specific <num> for the first time, ACL of the serial number is created, then the

lists are added into this ACL.

Examples:

Permit the passage of packets with source MAC address 00-00-XX-XX-00-01, and deny passage of

packets with source MAC address 00-00-00-XX-00-ab.

Switch(config)# access-list 700 permit 00-00-00-00-00-01 00-00-FF-FF-00-00

Switch(config)# access-list 700 deny 00-00-00-00-00-ab 00-00-00-FF-00-00

47.8 clear access-group (in | out) statistic interface

Command:

clear access-group (in | out) statistic interface

{<interface-name> | ethernet

<interface-name> }

Functions:

Empty packet statistics information of assigned interfaces.

Parameters:

<interface-name>: Interface name.

Command Mode:

Admin mode

Examples:

Empty packet statistics information of interface1/0/1.

Switch#clear access-group out statistic interface ethernet 1/0/1

47.9 firewall

Command:

firewall {enable | disable}

Functions:

Enable or disable firewall.

Parameters:

Advertising
This manual is related to the following products: