< Home

dialer-rule

Function

The dialer-rule command configures the conditions, which are contained in a data packet, of triggering a call.

The undo dialer-rule command removes the setting.

Format

dialer-rule dialer-number { { ip | ipv6 } { deny | permit } | { acl | acl6 } acl-number }

undo dialer-rule dialer-number [ acl | acl6 | ip | ipv6 ]

Parameters

Parameter Description Value
dialer-number Indicates the number of dialer access group. The value ranges from 1 to 255. Is related to group-number in the dialer-group command.
ip Indicates IP packets. -
ipv6 Indicates IPv6 packets. -
deny Denies the packets of the IP protocol. -
permit Permits the packets of the IP protocol. -
acl IPv4-based ACL rule. -
acl6 IPv6-based ACL rule. -
acl-number Indicates the number of ACL to which the access control group corresponds. It ranges from 2000 to 3999.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Configure the dial-up control list to allow all packets to pass through the Dialer 1 interface.

<sysname> system-view
[sysname] dialer-rule 1 ip permit
[sysname] interface dialer 1
[sysname-Dialer1] dialer-group 1

# Configure the dial-up control list to allow the packets whose source IP address is 10.1.1.0/24 to pass through the Dialer 1 interface.

<sysname> system-view
[sysname] acl 2000
[sysname-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255
[sysname-acl-basic-2000] quit
[sysname] dialer-rule 1 acl 2000
[sysname] interface dialer 1
[sysname-Dialer1] dialer-group 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >