Log in
|
How to Buy
|
Contact Us
|
United States (Change)

## Choose Country

### North America

- United States

### Europe

- Deutschland - Germany
- España - Spain
- France
- Italia - Italy
- Россия - Russia
- United Kingdom

### Asia Pacific

- Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
- Australia
- 中国 - China
- India
- 日本 - Japan
- 대한민국 - Korea
- 台灣 - Taiwan

Remember my choice

# Technical Documentation

Download Software
Research a Problem
Case Management
Contract & Product Management
Technical Documentation
Documentation Archive
Enterprise MIBs
File Format Help
Glossary
Portable Libraries
End-of-Life Products
Contact Support
Guidelines and Policies
Security Resources
Rate and give feedback: Feedback Received. Thank You!
Rate and give feedback:
This document helped resolve my issue. Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:
E-mail:

## Related Documentation

- frame-relay policy-list

# 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 frOutputPolicy host1(config-policy-list)#classifier-group frMatchDeSet 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

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

## Related Documentation

- frame-relay policy-list

#### Published: 2011-09-30

Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2011 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out