12 show class-map, Show class – PLANET XGS3-24040 User Manual

Page 229

Advertising
background image

14-95

Parameters:

input <policy-map-name> applies the specified policy map to the ingress redirection of switch port

or VLAN interface.

Default:

No policy map is bound to port and VLAN interface by default.

Command mode:

Interface Configuration Mode(Switch port or VLAN interface).

Usage Guide:

Configuring port trust status and applying policy map on the port are two conflicting operations; the

later configuration will override the earlier configuration. Only one policy map can be applied to each

direction of each port or VLAN interface. Egress policy map is not supported yet.

Example:

Bind policy p1 to ingress Ethernet port 1/1.

Switch(config)#interface ethernet 1/1

Switch(Config-If-Ethernet1/1)#service-policy input p1

Bind policy p1 to ingress redirection of v1 interface.

Switch(config)#interface vlan 1

Switch(Config-If-vlan1)#service-policy input p1

14.12 show class-map

Command:

show class-map [<class-map-name>]

Function:

Displays class map of QoS.

Parameters:

< class-map-name> is the class map name.

Default:

N/A.

Command mode:

Admin Mode.

Usage Guide:

Displays all configured class-map or specified class-map information.

Example:

Switch # show class-map

Class map name:c1, used by 1 times

match acl name:1

Advertising