Enabling priority flow control on multiple ports
Follow these steps to enable PFC on multiple ports.
- Enter global configuration mode.
- Enter interface configuration mode for multiple interfaces.
- Enable PFC on the interfaces.
- Enter interface configuration mode for a range of interfaces.
- Enable PFC on the interfaces.
- Return to privileged EXEC mode.
- 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 !
- Save the configuration.
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