19 service-policy input, Service, Policy input – PLANET XGS3-24042 User Manual
Page 293
15-139
Creates a policy map and enters the policy map mode; the “no policy-map <policy-map-name>”
command deletes the specified policy map.
Parameters:
< policy-map-name> is the policy map name.
Default:
No policy map is configured by default.
Command mode:
Global Mode
Usage Guide:
classification matching and remarking can be done in policy map configuration mode.
Example:
Creating and deleting a policy map named “p1”.
Switch(config)#policy-map p1
Switch(Config-PolicyMap-p1)#exit
Switch(config)#no policy-map p1
15.19 service-policy input
Command:
service-policy input <policy-map-name>
no service-policy input <policy-map-name>
Function:
Applies a policy map to the specified port; the no command deletes the specified policy map applied
to the port.
Parameters:
input <policy-map-name> applies the specified policy map to the ingress direction of switch port.
Default:
No policy map is bound to port and VLAN interface by default.
Command mode:
Port Configuration Mode.
Usage Guide:
Only one policy map can be applied to each direction of each port. Egress policy map is not
supported yet.
Example:
Bind policy p1 to ingress Ethernet port1/0/1.
Switch(config)#interface ethernet 1/0/1