Enabling priority flow control on multiple ports

Follow these steps to enable PFC on multiple ports.

Note: PFC is supported only on Ruckus ICX 7250 and ICX 7450 devices. The ICX 7150, ICX 7650, and the ICX 7850 devices do not support PFC.
PFC must be enabled on at least one PG before you can configure this feature on an interface.
  1. Enter global configuration mode.
    
    device# configure terminal
    
  2. Enter interface configuration mode for multiple interfaces.
    
    device(config)# interface ethernet 1/1/2 ethernet 1/1/3
    
  3. Enable PFC on the interfaces.
    
    device(config-mif-1/1/2,1/1/4)# priority-flow-control enable
    
  4. Enter interface configuration mode for a range of interfaces.
    
    device(config-mif-1/1/2,1/1/4)# interface ethernet 1/1/17 to 1/1/20
    
  5. Enable PFC on the interfaces.
    
    device(config-mif-1/1/17-1/1/24)# priority-flow-control enable
    
  6. Return to privileged EXEC mode.
    
    device(config-mif-1/1/32-1/1/43)# end
    
  7. Verify the configuration.
    
    device# show running-config interface ethernet 1/1/2 ethernet 1/1/4
    interface ethernet 1/1/2
     ip address 1.1.1.1 255.255.255.0
     ip address 2.2.2.2 255.255.255.0
     rate-limit input fixed 40000 burst 125000
     rate-limit output shaping 1304
     rate-limit output shaping 500 priority 7
     priority-flow-control enable
    !
    interface ethernet 1/1/4
     priority-flow-control enable
    !
    device# show running-config interface ethernet 1/1/17 to 1/1/20
    interface ethernet 1/1/17
     priority-flow-control enable
    !
    interface ethernet 1/1/18
     priority-flow-control enable
    !
    interface ethernet 1/1/19
     priority-flow-control enable
    !
    interface ethernet 1/1/20
     priority-flow-control enable
    !
    
  8. Save the configuration.
    
    device# write memory
    

Enable priority flow control on multiple ports configuration example


device# configure terminal
device(config)# interface ethernet 1/1/2 ethernet 1/1/3
device(config-mif-1/1/2,1/1/4)# priority-flow-control enable
device(config-mif-1/1/2,1/1/4)# interface ethernet 1/1/17 to 1/1/20
device(config-mif-1/1/17-1/1/24)# priority-flow-control enable
device(config-mif-1/1/32-1/1/43)# end
device# show running-config interface ethernet 1/1/2 ethernet 1/1/4
device# show running-config interface ethernet 1/1/17 to 1/1/20
device# write memory