Enabling Router Configuration Modes
18-2 Preparing for Router Mode
Example
ThefollowingexampleshowshowtoconfigureVLAN 1onIPaddress182.127.63.1255.255.255.0
asaroutinginterface.
B5(su)->router
B5(su)->router>enable
B5(su)->router#configure
Enter configuration commands:
B5(su)->router(Config)#interface vlan 1
B5(su)->router(Config-if(Vlan 1))#ip address 182.127.63.1 255.255.255.0
B5(su)->router(Config-if(Vlan 1))#no shutdown
Enabling Router Configuration Modes
TheEnterasysB5CLIprovidesdifferentmodesofrouteroperationforissuingasubsetof
commandsfromeachmode.Table 18‐2describesthesemodesofoperation.
Table 18-1 Enabling the Switch for Routing
Step To do this task... Type this command... At this prompt... For details, see...
1 From admin (su) mode,
enable router mode.
router Switch:
B5(su)->
2 Enable router Privileged
EXEC mode.
enable Router:
B5(su)->router>
3 Enable global router
configuration mode.
configure Router:
B5(su)->router#
4 Enable interface
configuration mode using the
routing VLAN or loopback id.
interface {vlan vlan-id | loopback
loop-id}
Router:
B5(su)>router(Config)#
“interface” on page
19-2
5 Assign an IP address to the
routing interface.
ip address {ip-address ip-mask} Router:
B5(su)->router (Config-if
(Vlan 1))#
“interface” on page
19-2
6 Enable the interface for IP
routing.
no shutdown Router:
B5(su)->router(Config-if
(Vlan 1))#
“no shutdown” on
page 19-6
Table 18-2 Router CLI Configuration Modes
Use this mode... To... Access method... Resulting Prompt...
Privileged EXEC
Mode
Set system operating
parameters
Show configuration
parameters
Save/copy
configurations
From the switch CLI:
Type router, then
Type enable.
B5(su)->router>
B5(su)->router#
Global Configuration
Mode
Set system-wide
parameters.
Type configure from
Privileged EXEC mode.
B5(su)->router (Config)#
Interface
Configuration Mode
Configure router
interfaces.
Type interface vlan or
loopback and the
interface’s id from Global
Configuration mode.
B5(su)->router(Config-if
(Vlan 1))#
B5(su)->router(Config-if
(Lpbk 1))#