TP-LINK TL-SG5428 Guia do Utilizador Página 173

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 239
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 172
160
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-SG5428(config)# access-list policy action policy1 120
redirect interface
Description
The redirect interface command is used to configure Direction function of
policy action for specified ports.
Syntax
redirect interface gigabitEthernet port
Parameter
port —— The destination port number of redirect.
Command Mode
Action Configuration Mode
Example
Edit the actions for policy1. Forward the data packets matching ACL 120 in the
policy to port 2:
TL-SG5428(config)# access-list policy action policy1 120
Vista de página 172
1 2 ... 168 169 170 171 172 173 174 175 176 177 178 ... 238 239

Comentários a estes Manuais

Sem comentários