Configuring a Routed Port
Step 1 : Configure IP routing.
Switch(config)#ip routing
Step 2 : Create a routed port.
Switch(config-if)#no switchport
Step 3 : Assign an IP address to the routed port.
Switch(config-if)#ip address ip-address mask
Step 4 : Configure the IP routing protocol if needed.
Switch(config)#router ip_routing_protocol <options>
To configure a routed port, perform these steps.
Steps for Inter-VLAN Routing Configuration
|
Step |
Description |
Notes and Comments |
|
1. |
Switch(config)#ip routing |
Enable IP routing on the router. |
|
2. |
Switch(config)#no switchport |
Create the SVI interface or navigate to configuration mode for the interface. |
|
3. |
Switch(config-if)#ip address n.n.n.n subnet-mask |
Assign an IP address to the SVI for the VLAN. |
|
4. |
(Optional) Specify an IP routing protocol. Switch(config)#router ip routing_protocol <options> |
This step is necessary for the switch to exchange dynamic routing updates with other routing devices. The routing protocol specified may require additional options. Refer to the documentation for the routing protocol for further details. |
© 2006 Cisco Systems, Inc. Implementing Inter-VLAN Routing 4-29
Continue reading here: FIB Table Updates
Was this article helpful?
Readers' Questions
-
Oskar5 months ago
- Reply
-
leonie5 months ago
- Reply
-
lidya8 months ago
- Reply
-
CARLENE SAUCEDO11 months ago
- Reply
-
Aleksi11 months ago
- Reply
-
regan12 months ago
- Reply
-
BANDOBRAS1 year ago
- Reply
-
Semolina1 year ago
- Reply
-
orsola1 year ago
- Reply
-
faramond1 year ago
- Reply
-
Michelle1 year ago
- Reply
-
Kevin1 year ago
- Reply
-
kimmo1 year ago
- Reply
-
ARI-PEKKA H1 year ago
- Reply
-
patricia1 year ago
- Reply
-
MARC1 year ago
- Reply
-
genet1 year ago
- Reply
-
simone fiorentini1 year ago
- Reply
-
donna1 year ago
- Reply