Commands for configuring a trunk will vary depending on the operating system version of your switch. The commands shown here are for an IOS-software based switch. –