R2511-HP MSR Router Series Layer 2 - WAN Command Reference(V5)

177
Examples
# Add interface Serial 2/0 to dialer access group 1.
<Sysname> system-view
[Sysname] dialer-rule 1 acl 3101
[Sysname] interface serial 2/0
[Sysname-Serial2/0] dialer-group 1
Related commands
dialer-rule
dialer-rule
Use dialer-rule to set the condition for a DCC call to be placed for a dialer access group either by
directly configuring a rule or by referencing an ACL.
Use undo dialer-rule to remove the setting.
Syntax
dialer-rule group-number { protocol-name { deny | permit } | acl { acl-number | name acl-name } }
undo dialer-rule group -number
Views
System view
Default command level
2: System level
Parameters
group-number: Number of a dialer access group, the same as the group-number argument in the
dialer-group command. The value range is 1 to 255.
protocol-name: Network protocol, which can take ip or bridge.
deny: Denies packets of the specified protocol.
permit: Permits packets of the specified protocol.
acl-number: Specifies an ACL by its ACL number in the range of 2000 to 3999. An ACL number in the
range of 2000 to 2999 identifies a basic ACL. An ACL number in the range of 3000 to 3999 identifies
an advanced ACL.
name acl-name: Specifies an ACL by its name.
Usage guidelines
You can configure a dial ACL to filter traffic that traverses a dialup interface. Packets include two
categories, depending on whether they are in compliance with the permit or deny statements in the dial
ACL.
Packets that match a permit statement or that do not match any deny statements. When receiving
such a packet, DCC either sends it out if a link is present and resets the idle-timeout timer or
originates a new call to set up a link if no link is present.
Packets that do not match any permit statements or that match a deny statement. When receiving
such a packet, DCC either sends it out without resetting the idle-timeout timer if a link is present, or
drops it without originating calls for link setup if no link is present.