Creating Policy Lists ! 25
Chapter 2: Creating Policies
host1(config-policy-list-classifier-group)#mark-de 1
host1(config-policy-list-classifier-group)#exit
host1(config-policy-list)#exit
2. Create the policy list used for the ingress traffic. and create the classifier group
conforming to CLACL frMatchDeSet. Add a rule that colors the ingress traffic.
host1(config)#frame-relay policy-list frInputPolicy
host1(config-policy-list)#classifier-group frGroupA
host1(config-policy-list-classifier-group)#color red
host1(config-policy-list-classifier-group)#exit
host1(config-policy-list)#exit
3. Apply the policy lists.
host1(config)#interface serial 5/0:1/1.1
host1(config-subif)#frame-relay policy output frOutputPolicy statistics enabled
host1(config-subif)#ip address 10.0.0.1 255.255.255.0
host1(config-subif)#exit
host1(config)#interface serial 5/1:1/1.1
host1(config-subif)#frame-relay policy input frInputPolicy statistics enabled
host1(config-subif)#exit
4. Display interface information to view the applied policies.
host1#show frame-relay subinterface
Frame relay sub-interface SERIAL5/0:1/1.1, status is up
Number of sub-interface down transitions is 0
Time since last status change 03:04:59
No baseline has been set
In bytes: 660 Out bytes: 660
In frames: 5 Out frames: 5
In errors: 0 Out errors: 0
In discards: 0 Out discards: 0
In unknown protos: 0
Frame relay policy output frOutputPolicy
classifier-group frGroupA entry 1
5 packets, 640 bytes
mark-de 1
Frame relay sub-interface SERIAL5/1:1/1.1, status is up
Number of sub-interface down transitions is 0
Time since last status change 03:05:09
No baseline has been set
In bytes: 660 Out bytes: 660
In frames: 5 Out frames: 5
In errors: 0 Out errors: 0
In discards: 0 Out discards: 0
In unknown protos: 0
Frame relay policy input frInputPolicy
classifier-group frMatchDeSet entry 1
5 packets, 660 bytes
color red