Maybe I've always misunderstood how this works. The default MTU size on switch settings is 9578. Isn't that already doing what you want?
I was always a little surprised to see that value, cause I thought I would have seen 1500 or 1522 there instead.
All my sites now that I think about it have that default value of jumbo frame enabled at the 9578. Starting to wonder if I should change it now lol