You can make a yellow jacket trap, or possibly purchase them at the Tractor Supply, Home Depot or feed store.
Usually, you would do this in spring to attract the yellow jackets away from your area. Around here, people usually place them at the edge of their property (not near the neighbors) to lure yellow jackets away from the farm buildings when looking for nesting sites in spring.
The traps you purchase usually require an attractant that is placed onto a cotton ball, which is then placed inside the trap. We kept these up by the bee hive all last year and none of the honey bees bothered with them.
But this year, the yellow jackets started attacking our hummingbird feeders during the 2nd week of August, so that is when we set the traps up.
To make yellow jacket traps, you need plastic soda/pop/coke or water bottles ... pick some up at the local recycle center if you don't have any.
Cut the top 1/3 off the bottles, and invert the top to work as a funnel into the bottles. Make sure the fit is snug around the sides. Leave 1 1/2 to 2 inches of space at the bottom of the bottles.
Combine about 1/8 to 1/4 cup water 1/8 to 1/4 cup sugar and 1 Tablespoon vinegar (I used raw cider, because that's what I have) for each bottle. There should be enough space so that when the yellow jacket hits the cider syrup, they can't reach the edge of the funnel to pull themselves back out of the trap. You may need more cider syrup, if using larger bottles.
Place the traps near the location the yellow jackets are nesting. Check them late at night to see if they need emptied and more cider syrup put in them. If it rains, you will have to check them to make sure there is a space between the end of the funnel and the cider syrup.
We set up 4 and trapped 120 yellow jackets the first day! We also trapped 2 moths and a fly. None of the local honey bees came near the traps.
To get rid of the nest....you have to wait until after the first freeze or snow. Carefully remove it and burn it away from the tree.
hope this helps.... let me know if you have questions

.
edited for typos