[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Creating Policy Lists for GRE Tunnels

The following example creates a GRE tunnel policy list named routeGre50. For information about creating the CLACL used in this example, see the previous sections.

  1. Create the policy list routeGre50.
  2. host1(config)#gre-tunnel policy-list routeGre50
    
    
    
  3. Create the classification group for the CLACL named gre8 and assign a precedence of 150 to it.
  4. host1(config-policy-list)#classifier-group gre8 precedence 150
    
    host1(config-policy-list-classifier-group)#
    
    
    
  5. Add two rules for traffic based on the CLACL named gre8: one rule to color packets as red, and a second rule that specifies the ToS DS field value to be assigned to the packets.
  6. host1(config-policy-list-classifier-group)#color red
    
    host1(config-policy-list-classifier-group)#mark dsfield 20
    
    host1(config-policy-list-classifier-group)#
    
    
    
  7. Exit Policy List Configuration mode to save the configuration.
  8. host1(config-policy-list-classifier-group)#exit
    
    host1(config-policy-list)#exit
    
    host1(config)#
    
    
    
  9. Display the policy list.
  10. host1#show policy-list routeGre50
    
    
    
                                      Policy Table
    
                                      ------ -----
    
    GRE Tunnel Policy routeGre50
    
       Administrative state: enable
    
       Reference count:      0
    
       Classifier control list: gre8, precedence 150
    
          color red
    
          mark dsfield 20
    

Related Topics


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]