Associating a dial rule with a dialup interface
A dial rule determines when a dialup interface initiates DDR calls. You need to configure dial rules only on the initiator of DDR calls.
You can configure a dial rule to match only IP packets or use an ACL to match packets.
Permitted protocol packets or packets that match a permit statement of an ACL are interesting packets. When receiving an interesting packet, DDR performs one of the following operations:
Sends it out and resets the idle-timeout timer if a link is present.
Initiates a new call to establish a link if no link is present.
Denied protocol packets or packets that match a deny statement of an ACL are uninteresting packets. When receiving an uninteresting packet, DDR performs one of the following operations:
Sends it out without resetting the idle-timeout timer if a link is present.
Drops it if no link is present.
For DDR to forward packets correctly, configure a dial rule and associate it with the dialup interface.
To associate a dial rule with a dialup interface:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a dialer group and configure a dial rule. | dialer-group group-number rule { ip | ipv6 } { deny | permit | acl { acl-number | name acl-name } } | By default, no dialer group is created. |
3. Enter dialup interface view. | interface dialer number | N/A |
4. Associate the dialer group with the dialup interface. | dialer-group group-number | By default, a dialup interface is not associated with a dialer group. A dialup interface can be associated with only one dialer group. |