Configuration Examples for Fabric QoS Mapping
Configuration Examples for Fabric QoS Mapping
Example: Copying Default Policy to Create a new User-defined Ingress and
Egress Policy
The following example shows how to create user-defined policies with the suffix '-in' for ingress policy and
'-out' for egress policy:
Switch# configure terminal
Switch(config)# qos copy policy-map type fabric-queuing system-in-policy suffix -in
Switch(config)# qos copy policy-map type fabric-queuing system-out-policy suffix -out
Example: Configuring Cos2q Fabric Mapping
The following example shows how to configure Cos2q fabric mapping for all the system-defined queues:
Switch# configure terminal
Switch(config)# class-map type queuing system-pq1
Switch(config-cmap-que)# match cos 0
Switch(config-cmap-que)# exit
Switch(config)# class-map type queuing system-q-default
Switch(config-cmap-que)# match cos 1
Switch(config-cmap-que)# exit
Switch(config)# class-map type queuing system-q2
Switch(config-cmap-que)# match cos 2
Switch(config-cmap-que)# exit
Switch(config)# class-map type queuing system-q3
Switch(config-cmap-que)# match cos 3
Switch(config-cmap-que)# exit
Example: Configuring the User-defined Policy on Fabric
The following example shows how to configure the user-defined system-in-policy and system-out-policy on
fabric:
Switch# configure terminal
Switch(config)# system fabric
Switch(config-sys-mfab)# service-policy type queuing input system-in-policy-in
Switch(config-sys-mfab)# service-policy type queuing output system-out-policy-out
Switch(config-sys-mfab)# exit
Example: Verifying System Fabric Configuration
The following sample output from the show policy-map system fabric command displays the input and output
policy applied on fabric:
Switch# show policy-map system fabric
Service-policy (queuing) input: system-in-policy-in
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
86
Configuring Fabric QoS Mapping