Specifications

CHAPTER 4
InterVLAN Routing
An SVI is considered “up” as long as at least one port in its associated VLAN is active and forwarding. If all ports in the
VLAN are down, the interface goes down to avoid creating a routing black hole. You might not want the status of a
particular port (one not connected to a host) to affect the SVI’s status. Some Cisco switches enable you to use the follow-
ing command on that interface.
Switch(config-if)# switchport autostate exclude
To configure InterVLAN routing using a Layer 3 SVI, you need to:
n Enable IP routing.
n Create the VLANs.
n Create the SVIs.
n Associate an IP address with each SVI.
n Configure a dynamic routing protocol if needed.
Switch(config)#ip routing
Switch(config)# vlan 3
Switch(config)# interface vlan 3
Switch(config-if)#ip address 10.3.3.3 255.255.255.0
Routed Switch Port Configuration
To configure an interface as a routed port, you must remove the Layer 2 functionality with the no switchport interface
command. Then you can add an IP address and configure routing as needed:
sw1(config)# int fa 1/0/5
sw1(config-if)# no switchport
sw1(config-if)# ip address 10.5.5.5 255.255.255.0
[ 54 ]
© 2010 Pearson Education, Inc. All rights reserved. This publication is protected by copyright. Please see page 112 for more details.
CCNP SWITCH 642-813 Quick Reference by Denise Donohue