Applying Policy Lists to Interfaces and Profiles ! 69
Chapter 2: Creating Policies
Examples Using the Ascend-Data-Filter Attribute
This section provides examples showing the configuration of policies that use the
Ascend-Data-Filter attribute.
Example 1 In this example, the following Ascend-Data-Filter attribute creates a RADIUS record
that configures an input policy. The policy filters all packets from network 10.2.1.0
with wildcard mask 0.0.0.255 to any destination. The values specified in the
Ascend-Data-Filter attribute are listed in Ta b l e 7 .
Ascend-Data-Filter="01000100 0A020100 00000000 18000000 00000000 00000000"
Use the show classifier-list and show policy-list commands to view information
about the policy:
host1#show classifier-list
Classifier Control List Table
---------- ------- ---- -----
IP clin_5_00.1 ip 10.2.1.0 0.0.0.255 any
host1#show policy-list
Policy Table
------ -----
IP Policy plin_5
Administrative state: enable
Reference count: 1
Classifier control list: clin_5_00, precedence 100
filter
Referenced by interface(s):
ATM4/0.0 input policy, statistics enabled, virtual-router default
Table 7: Ascend-Data-Filter Example 1 Values
Action or Classifier Hex Value Actual Value
Type 01 IP
Forward 00 Forward
Indirection 01 Ingress
Spare 00 None
Source IP address 0a020100 10.2.1.0
Destination IP address 00000000 Any
Source IP mask 18 24 (0.0.0.255)
Destination IP mask 00 0 (255.255.255.255)
Protocol 00 None
Established 00 None
Source port 0000 None
Destination port 0000 None
Source port qualifier 00 None
Destination port qualifier 00 None
Reserved 0000 None