Specifications

Pre-Routing Configuration Tasks
14-2 Preparing for Router Mode
Example
ThefollowingexampleshowshowtoconfigureVLAN 1onIPaddress182.127.63.1255.255.255.0
asaroutinginterface.
C3(su)->router
C3(su)->router>enable
C3(su)->router#configure
Enter configuration commands:
C3(su)->router(Config)#interface vlan 1
C3(su)->router(Config-if(Vlan 1))#ip address 182.127.63.1 255.255.255.0
C3(su)->router(Config-if(Vlan 1))#no shutdown
Table 14-1 Enabling the Switch for Routing
To do this task... Type this command... At this prompt... For details, see...
Step 1 From admin (su) mode,
enable router mode.
router Switch:
C3(su)->
Step 2 Enable router Privileged
EXEC mode.
enable Router:
C3(su)->router>
Step 3 Enable global router
configuration mode.
configure Router:
C3(su)->router#
Step 4 Enable interface
configuration mode using the
routing VLAN or loopback id.
interface {vlan vlan-id | loopback
loop-id}
Router:
C3(su)>router(Config)#
interface” on
page 15-3
Step 5 Assign an IP address to the
routing interface.
ip address {ip-address ip-mask} Router:
C3(su)->router (Config-if
(Vlan 1))#
interface” on
page 15-3
Step 6 Enable the interface for IP
routing.
no shutdown Router:
C3(su)->router(Config-if
(Vlan 1))#
no shutdown” on
page 15-7