Home > Articles > Implementing Inter-VLAN Routing

Implementing Inter-VLAN Routing

Chapter Description

The CCNP and CCIE Enterprise Core & CCNP Enterprise Advanced Routing Portable Command Guide is a fully updated quick reference resource to help you memorize commands and concepts for CCNP or CCIE certifications. In this sample chapter, you will review information and commands related to implementing inter-VLAN routing.

Inter-VLAN Communication on a Multilayer Switch Through a Switch Virtual Interface

Configuring Inter-VLAN Communication on an L3 Switch

Switch9300(config)# interface
vlan 1

Creates a virtual interface for VLAN 1 and enters interface configuration mode

Switch9300(config-if)# ip address
172.16.1.1 255.255.255.0

Assigns an IP address and netmask

Switch9300(config-if)# no
shutdown

Enables the interface

Switch9300(config)# interface
vlan 10

Creates a virtual interface for VLAN 10 and enters interface configuration mode

Switch9300(config-if)# ip address
172.16.10.1 255.255.255.0

Assigns an IP address and netmask

Switch9300(config-if)# no
shutdown

Enables the interface

Switch9300(config)# interface
vlan 20

Creates a virtual interface for VLAN 20 and enters interface configuration mode

Switch9300(config-if)# ip address
172.16.20.1 255.255.255.0

Assigns an IP address and netmask

Switch9300(config-if)# no
shutdown

Enables the interface

Switch9300(config-if)# exit

Returns to global configuration mode

Switch9300(config)# ip routing

Enables routing on the switch

Removing L2 Switchport Capability of an Interface on an L3 Switch

Switch9300(config)# interface
gigabitethernet 0/1

Moves to interface configuration mode

Switch9300(config-if)#
no switchport

Creates a Layer 3 port on the switch

4. Configuration Example: Inter-VLAN Communication | Next Section Previous Section

Cisco Press Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Cisco Press and its family of brands. I can unsubscribe at any time.