106
Policy is used to control the data packets those match the corresponding ACL
rules by configuring ACLs and actions together for effect. The operations here
include stream mirror, stream condition, QoS Remarking and redirect.
Syntax
access-list policy name
name
no access-list policy name
name
Parameter
name
——
The Policy Name, ranging from 1 to 16 characters.
Command Mode
Global Configuration Mode
Example
Add a Policy named policy1:
TL-SL2428(config)# access-list policy name
policy1
access-list policy action
Description
The
access-list policy action
command is used to add ACLs and create
actions for the policy. To set the detailed configuration of actions for a policy,
please use
access-list policy action
command to access Action Configuration
Mode. To delete the corresponding actions, please use
no access-list policy
action
command.
Syntax
access-list policy action
policy-name
acl-id
no access-list policy action
policy-name
acl-id
Parameter
policy-name
——
The Policy Name, ranging from 1 to 16 characters.
acl-id
——
The ID of the ACL to which the above policy is applied.
Command Mode
Global Configuration Mode
Example
Add ACL whose ID is 120 to policy1 and create an action for them:
TL-SL2428(config)# access-list policy action
policy1 120
Содержание TL-SL2210
Страница 1: ...TL SL2210 TL SL2218 TL SL2428 TL SL2452 Smart Switch REV1 1 0 1910010971...
Страница 43: ...33 Example Display the security configuration information of the users TL SL2428 config show user configuration...
Страница 54: ...44 Example Display the global configuration of SSH TL SL2428 config show ip ssh...
Страница 81: ...71 Example Show the cable diagnostics of port 3 TL SL2428 show cable diagnostics interface fastEthernet 1 0 3...