7 service-policy, Service, Policy – PLANET XGS3-24040 User Manual
Page 241
15-107
Function:
Set the next hop IP for the classed flows; the no set {ipv6 nexthop} will cancel the new set value.
Parameters:
Default:
There is no configuration by default.
Command Mode:
Policy-class-map Mode.
Usage Guide:
The policy of setting the next hop IP can only adopt the class-map matching IPv6 ACL.
Example:
Set the next hop of the messages meeting c1 classing rules as 3ffe:506::.
Switch(config)#policy-map p1
Switch(config-PolicyMap)#class c1
Switch(config--Policy-Class)#set ip nexthop 3ffe:506::
Switch(config--Policy-Class)#exit
Switch(config-PolicyMap)#exit
15.7 service-policy
Command:
service-policy {input <policy-map-name> | output <policy-map-name>}
no service-policy {input <policy-map-name> | output <policy-map-name>}
Function:
Apply a policy-map on a switch port; the no operation of this command will delete a specified
policy-map applied to the switch port.
Parameters:
input <policy-map-name> applies the policy-map with the specified name to the input of the switch
port; output <policy-map-name> applies the policy-map with the specified name to the output of
the switch port.
Default:
There is no bound policy-map by default.
Command Mode:
Port Configuration Mode.
Usage Guide:
Configuring the trust state of a port is mutually exclusive to applying policy-map on a port, the later
configuration will overwrite the former one; there can be only one policy-map on each direction of a
port. The output policy-map is not supported at present.