Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

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
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Support
Technical Documentation
Content Explorer New
 
Enterprise MIBs
 
EOL Documentation
 
Feature Explorer Login required New
 
File Format Help
 
Glossary
 
Portable Libraries
 
 
Home > Support > Technical Documentation > JunosE Software > Creating Policy Lists for IP
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...
 

Related Documentation

  • Creating or Modifying Classifier Control Lists for IP Policy Lists
  • Creating Multiple Forwarding Solutions with IP Policy Lists
  • ip policy-list
 

Creating Policy Lists for IP

The following example creates an IP policy list named routeForABCCorp. For information about creating the CLACLs and rate-limit profile used in this example, see the previous sections.

  1. Create the policy list routeForABCCorp.
    host1(config)#ip policy-list routeForABCCorp host1(config-policy-list)#
  2. Create the classification group for the CLACL named ipCLACL10 and assign the precedence to the classification group.
    host1(config-policy-list)#classifier-group ipCLACL10 precedence 75 host1(config-policy-list-classifier-group)#
  3. Add a rule that specifies a group of forwarding solutions based on classifier list ipCLACL10.
    host1(config-policy-list-classifier-group)#forward next-hop 192.0.2.12 order 10 host1(config-policy-list-classifier-group)#forward next-hop 192.0.100.109
    order 20
    host1(config-policy-list-classifier-group)#forward next-hop 192.120.17.5 order 30 host1(config-policy-list-classifier-group)#forward interface ip 3/1 order 40
  4. Add a rule that sets a ToS byte value of 125 for packets based on classifier list ipCLACL10.
    host1(config-policy-list-classifier-group)#mark tos 125
  5. Add a rule that uses rate-limit profile ipRLP25.
    host1(config-policy-list-classifier-group)#rate-limit-profile ipRLP25
  6. Exit Classifier Group Configuration mode for ipCLACL10, then create a new classification group for classifier list ipCLACL20. Add a rule that filters packets based on classifier list ipCLACL20.
    host1(config-policy-list-classifier-group)#exit host1(config-policy-list)#classifier-group ipCLACL20 precedence 125 host1(config-policy-list-classifier-group)#filter
  7. Exit Policy List Configuration mode to save the configuration.
    host1(config-policy-list-classifier-group)#exit host1(config-policy-list)#exit host1(config)#
  8. Display the policy list.
    host1#show policy-list routeForABCCorp
    
                                      Policy Table
                                      ------ -----
    IP Policy routeForABCCorp
       Administrative state: enable
       Reference count:      0
       Classifier control list: ipCLACL10, precedence 75
          forward
             Virtual-router: default
             List:
               next-hop 192.0.2.12, order 10, rule 2 (active)
               next-hop 192.0.100.109, order 20, rule 3 (reachable)
               next-hop 192.120.17.5, order 30, rule 4 (reachable)
               interface ip3/1, order 40, rule 5
          mark tos 125
          rate-limit-profile ipRLP25
       Classifier control list: ipCLACL20, precedence 125
          filter
 

Related Documentation

  • Creating or Modifying Classifier Control Lists for IP Policy Lists
  • Creating Multiple Forwarding Solutions with IP Policy Lists
  • ip policy-list
 

Published: 2012-06-21

 
  • About Juniper
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Green Networking
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Developers
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out