Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Creating Policy Lists for Frame Relay

    The following example creates a Frame Relay policy that on egress marks the DE bit to 1, and on ingress colors frames with a DE bit of 1 as red.

    1. Create the policy list used to mark egress traffic, then create the classifier group for packets conforming to CLACL frMatchDeSet. Add a rule that marks the DE bit as 1.
      host1(config)#frame-relay policy-list frOutputPolicyhost1(config-policy-list)#classifier-group frMatchDeSethost1(config-policy-list-classifier-group)#mark-de 1host1(config-policy-list-classifier-group)#exithost1(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 frInputPolicyhost1(config-policy-list)#classifier-group frGroupAhost1(config-policy-list-classifier-group)#color redhost1(config-policy-list-classifier-group)#exithost1(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
    5. Display the classifier list.
      host1#show classifier-list detailed
       
      
                               Classifier Control List Table
                               ---------- ------- ---- -----
      Frame relay Classifier Control List frMatchDeSet
         Reference count:      1
         Entry count:          1
         Classifier-List frMatchDeSet Entry 1
            DE Bit:                     1
    6. Display the policy lists.
      host1#show policy-list
      
                                        Policy Table
                                        ------ -----
      Frame relay Policy frOutputPolicy
         Administrative state: enable
         Reference count:      0
         Classifier control list: frMatchDeSet, precedence 100
            mark-de 1
      Frame relay Policy frInputPolicy
         Administrative state: enable
         Reference count:      0
         Classifier control list: frGroupA, precedence 100
           color red

    Published: 2014-08-14