Creating Classifier Groups and Policy Rules ! 39
Chapter 2: Creating Policies
! For IP policy lists only:
! You can use the forward interface command to specify multiple interfaces
and the forward next-hop command to specify next-hop addresses as
possible forwarding solutions. If you define multiple forwarding solutions
for a single CLACL, use the order keyword to specify the order in which the
router chooses the solutions. The router uses the first reachable solution in
the list, starting with the solution with the lowest order value. The default
order value is 100.
! If you specify a next-hop address as the forwarding solution, you can
specify that the default route is not used as a routing solution for the
next-hop address when selecting a reachable forward rule entry.
! You can no longer use an interface specifier of tunnel:mpls with the
forward interface command, because that usage requires IP interfaces on
top of RSVP-TE tunnels. Such interfaces are no longer present in the
redesigned MPLS architecture. However, you can configure a static route for
an address that is not otherwise used to point to a tunnel, and then use the
forward next-hop command in the policy:
host1(config)#ip route 10.10.10.10/32 tunnel mpls:foo
host1(config)#ip policy-list bar
host1(config-policy-list-classifier-group)#forward next-hop 10.10.10.10
! Example
host1(config-policy-list-classifier-group)#forward interface atm 0/0.1 order 10
host1(config-policy-list-classifier-group)#forward interface atm 3/1.2 order 20
! Use the no version to remove the forward rule from the classifier group.
green-mark
! Use to apply ToS mark value in the range 0–255 to packets that are classified
green by the rate-limit hierarchy.
! Example
host1(config-color-mark-profile)#green-mark 48
! Use the no version to restore the default.
log
! Use to define a rule that logs all packets conforming to the current CLACL.
! Example
host1(config-policy-list-classifier-group)#log
! Use the suspend version to suspend the log rule within the classifier group.
! Use the no version to remove the log rule from the classifier group.
NOTE: The forward interface and forward next-hop commands replace the
next-interface and next-hop commands.
The switch route processor (SRP) module Fast Ethernet port cannot be the
destination of the forward next-hop and forward next-interface commands.