This chapter provides information and commands concerning the following topics:
- Inter-VLAN communication using an external router: router-on-a-stick 
- Inter-VLAN communication tips 
- Inter-VLAN communication on a multilayer switch through an SVI - Configuring inter-VLAN communication on an L3 switch 
 
- Removing L2 switchport capability of an interface on an L3 switch 
- Configuration example: inter-VLAN communication 
- Configuration example: IPv6 inter-VLAN communication 
Inter-VLAN Communication Using an External Router: Router-on-a-Stick
| Router(config)# interface fastethernet 0/0 | Moves to interface configuration mode | 
| Router(config-if)# no shutdown | Enables the interface | 
| Router(config-if)# interface fastethernet 0/0.1 | Creates subinterface 0/0.1 and moves to subinterface configuration mode | 
| Router(config-subif)# description Management VLAN 1 | (Optional) Sets the locally significant description of the subinterface | 
| Router(config-subif)# encapsulation dot1q 1 native | Assigns VLAN 1 to this subinterface. VLAN 1 will be the native VLAN. This subinterface uses the 802.1q tagging protocol | 
| Router(config-subif)# ip address 192.168.1.1 255.255.255.0 | Assigns the IP address and netmask | 
| Router(config-subif)# interface fastethernet 0/0.10 | Creates subinterface 0/0.10 and moves to subinterface configuration mode | 
| Router(config-subif)# description Accounting VLAN 10 | (Optional) Sets the locally significant description of the subinterface | 
| Router(config-subif)# encapsulation dot1q 10 | Assigns VLAN 10 to this subinterface. This subinterface uses the 802.1q tagging protocol | 
| Router(config-subif)# ip address 192.168.10.1 255.255.255.0 | Assigns the IP address and netmask | 
| Router(config-subif)# end | Returns to interface configuration mode | 

