Command Manual – User Access
H3C SecPath Series Security Products
Chapter 3 PPPoE Client Configuration Commands
3-4
3.1.5 dialer-rule
Syntax
dialer-rule
dialer-number
{
protocol-name
{
permit
|
deny
} |
acl
acl-number
}
undo dialer-rule
dialer-number
View
System view
Parameter
dialer-number
: Sequence number of access control group, in the range of 1 to 255. It is
related to the parameter
group-number
in
dialer-group
command in DCC interface
configuration.
protocol-name
:
Network protocol, the value can be
IP
alike.
permit
: Permits the packets of the specified protocol.
deny
: Denies the packets of the specified protocol.
acl acl-number
:
Number of the access control list to which the access control group
corresponds.
Description
Use the
dialer-rule
command to configure the conditions of the data packet that can
trigger a DCC call.
Use the
undo dialer-rule
command to cancel the setting.
By default, no conditions of packet-triggering DCC calls are set for dial interfaces.
This command is used to set the DCC call packet-triggering control to which an access
control group corresponds. And a dial interface can be placed in an access control
group through the
dialer-group
command. Thereby, the DCC call’s packet-triggering
on the DCC interface can be controlled.
If an access control group
cannot find the corresponding dialer-rule, DCC will regard
the packets as Uninteresting packets.
Related command:
dialer-group
.
Example
# Set a dialer-rule.
[H3C] acl number 3101
[H3C-acl-adv-3101] rule permit ip source 0.0.0.0 255.255.255.255 destination
0.0.0.0 255.255.255.255
[H3C-acl-adv-3101] quit
[H3C] dialer-rule 1 acl 3101