VN/UN564:1VN/UN5674
LgvUvtgco" N4" Ocpcigf" Uykvej" ENK" Iwkfg
153
Rctcogvgt"
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.
Eqoocpf"Oqfg"
Global Configuration Mode
Gzcorng"
Add ACL whose ID is 120 to policy1 and create an action for them:
VN/UN564:*%ceeguu/nkuv"rqnke{"cevkqp"
policy1 120
"
tgfktgev"kpvgthceg"
Fguetkrvkqp"
The
" tgfktgev" kpvgthceg"
command is used to configure Direction function of
policy action for specified ports.
U{pvcz"
tgfktgev"kpvgthceg"
{
"hcuvGvjgtpgv
port
|
ikicdkvGvjgtpgv
port
}
Rctcogvgt"
port
—— The Destination Port of Redirect. The data packets matching the
corresponding ACL will be forwarded to the specific port. By default, it is All
Ports.
Eqoocpf"Oqfg"
Action Configuration Mode
Gzcorng"
Edit the actions for policy1. Forward the data packets matching ACL 120 in the
policy to Fast Ethernet port 2:
VN/UN564:*%ceeguu/nkuv"rqnke{"cevkqp"
policy1 120
"
VN/UN564:*eqphki/%tgfktgev"kpvgthceg"hcuvGvjgtpgv"
1/0/2
"
u/eqpfkvkqp"
Fguetkrvkqp"
The
" u/eqpfkvkqp"
command is used to configure Stream Condition function of
policy action.
"