Assigning static MAC entries to priority queues

Follow these steps to configure a static MAC entry and assign the entry to the premium queue.

By default, all MAC entries are in the best-effort queue. When you configure a static MAC entry, you can assign the entry to a higher QoS level.
  1. Enter global configuration mode.
    
    device# configure terminal
    
  2. Enter VLAN configuration mode.
    
    device(config)# vlan 1
    
  3. Assign the priority.
    
    device(config-vlan-1)# static-mac-address 0000.0063.67FF ethernet 1/1/1 priority 7
    
  4. Return to privileged EXEC mode.
    
    device(config-vlan-1)# end
    
  5. Verify the MAC address configuration.
    
    device# show mac-address ethernet 1/1/1
    Total static entries from port 1/1/1 = 1
    MAC-Address     Port                 Type         VLAN
    0000.0063.67ff  1/1/1                Static       1
    
  6. Verify the priority configuration.
    
    device# show running-config interface ethernet 1/1/1
    interface ethernet 1/1/1
     port-name ERSPAN
     dual-mode
     rate-limit input fixed 40000 burst 120000
     mon profile 1 both
     priority 7
     speed-duplex 1000-full
     broadcast limit 96 kbps
     multicast limit 400 kbps
     unknown-unicast limit 96 kbps
     pvst-mode
     port security
      age 2 absolute
    !
    
  7. Save the configuration.
    
    device# write memory
    

Assign static MAC entries to priority queues configuration example


device# configure terminal
device(config)# vlan 1
device(config-vlan-1)# static-mac-address 0000.0063.67FF ethernet 1/1/1 priority 7
device(config-vlan-1)# end
device# show mac-address ethernet 1/1/1
device# show running-config interface ethernet 1/1/1
device# write memory