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 IPv6
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 IPv6 Policy Lists
  • ipv6 policy-list
  • exception http-redirect
 

Creating Policy Lists for IPv6

The following example creates an IPv6 policy list named routeForIPv6. For information about creating the CLACL used in this example, see the previous sections.

  1. Create the policy list routeForIPv6.
    host1(config)#ipv6 policy-list routeForIPv6 host1(config-policy-list)#
  2. Create the classification group for the CLACL named ipv6tc67 and assign the precedence to the classification group.
    host1(config-policy-list)#classifier-group ipv6tc67 precedence 75 host1(config-policy-list-classifier-group)#
  3. Add a rule to color packets as red, and a second rule that sets the traffic class field of the packets to 7.
    host1(config-policy-list-classifier-group)#color red host1(config-policy-list-classifier-group)#mark tcfield 7
  4. Add a rule that specifies a group of forwarding solutions based on classifier control list ipv6tc67.
    host1(config-policy-list-classifier-group)#forward next-hop 3001:82ab:1020:87ec::/64 order 10 host1(config-policy-list-classifier-group)#forward next-hop 2001:82ab:1020:87ec::/64
    virtual-router vr1 ignore-default-route order 20
  5. Exit Policy List Configuration mode to save the configuration.
    host1(config-policy-list-classifier-group)#exit host1(config-policy-list)#exit host1(config)#
  6. Display the policy list.
    host1#show policy-list routeForIPv6
    
                                      Policy Table
                                      ------ -----
    IPv6 Policy routeForIPv6
       Administrative state: enable
       Reference count:      0
       Classifier control list: C1, precedence 90
       Classifier control list: ipv6tc67, precedence 75
          forward
             Virtual-router: default
             List:
               next-hop 3001:82ab:1020:87ec::/64, order 10, rule 2 (active)
             Virtual-router: vr1
             List:
               next-hop 2001:82ab:1020:87ec::/64, ignore-default-route, order 20, rule 3 
          color red
          mark tc-precedence 7 

You use the exception http-redirect command to create an exception rule within a policy classifier group to specify the client application for the destination of packets rather than forwarding them using the forwarding controller (FC).

In lower-numbered releases, the exception http-redirect command only supported the creation of exception rules within IPv4 policy lists. You can now configure the exception http-redirect command to create exception rules within IPv4 and IPv6 policy lists.

The following example creates an IPv6 policy list, epIPv6 for the http-redirect exception:

  1. Create the policy list epIPv6.
    host1(config)#ipv6 policy-list epIPv6 host1(config-policy-list)#
  2. Create the classification group to match all packets.
    host1(config-policy-list)#classifier-group * host1(config-policy-list-classifier-group)#
  3. Create an exception policy for http-redirect.
    host1(config-policy-list-classifier-group)#exception http-redirect
  4. Exit Policy List Configuration mode to save the configuration.
    host1(config-policy-list-classifier-group)#exit host1(config-policy-list)#exit host1(config)#
  5. Display the policy list.
    host1#show policy-list epIPv6
    
                                      Policy Table
                                      ------ -----
    IPv6 Policy epIPv6
       Administrative state: enable
       Reference count:      0
       Classifier control list: *, precedence 100
          exception http-redirect
          
 

Related Documentation

  • Creating or Modifying Classifier Control Lists for IPv6 Policy Lists
  • ipv6 policy-list
  • exception http-redirect
 

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