Taking traffic to a router
These commands create a trunk (more than one vlan) to take voice and data traffic to a router.
Switch(config)# int fa 0/48 context for port 48
Switch(config-if)# des “Uplink trunk to
router R1” description of port usage
Switch(config-if)# switchport trunk encap
dot1q define port 48 as a data trunk using 802.1Q
Switch(config-if)# switchport mode trunk enable trunking mode
Switch(config-if)# switchport nonegotiate trunk port 48 will not negotiate a trunk status with the
other end of the link
Switch(config-if)# switchport trunk allowed
vlan remove 2-19,21-4094 remove unneeded vlans