
Enabling Router Configuration Modes
14-2 Preparing for Router Mode
Example
The
following
example
shows
how
to
configure
VLAN
1
on
IP
address
182.127.63.1
255.255.255.0
as
a
routing
interface.
G3(su)->router
G3(su)->router>enable
G3(su)->router#configure
Enter configuration commands:
G3(su)->router(Config)#interface vlan 1
G3(su)->router(Config-if(Vlan 1))#ip address 182.127.63.1 255.255.255.0
G3(su)->router(Config-if(Vlan 1))#no shutdown
Enabling Router Configuration Modes
The
G
‐
Series
CLI
provides
different
modes
of
router
operation
for
issuing
a
subset
of
commands
from
each
mode.
Table 14
‐
2
describes
these
modes
of
operation.
Table 14-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:
G3(su)->
2
Enable router Privileged
EXEC mode.
enable
Router:
G3(su)->router>
3
Enable global router
configuration mode.
configure
Router:
G3(su)->router#
4
Enable interface
configuration mode using the
routing VLAN or loopback id.
interface
{
vlan
vlan-id
|
loopback
loop-id
}
Router:
G3(su)>router(Config)#
“
interface
” on page
15-3
5
Assign an IP address to the
routing interface.
ip address
{
ip-address ip-mask
}
Router:
G3(su)->router (Config-if
(Vlan 1))#
“
interface
” on page
15-3
6
Enable the interface for IP
routing.
no shutdown
Router:
G3(su)->router(Config-if
(Vlan 1))#
“
no shutdown
” on
page 15-6
Table 14-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
.
G3(su)->router>
G3(su)->router#
Global Configuration
Mode
Set system-wide
parameters.
Type
configure
from
Privileged EXEC mode.
G3(su)->router (Config)#
Interface
Configuration Mode
Configure router
interfaces.
Type
interface vlan
or
loopback
and the
interface’s id from Global
Configuration mode.
G3(su)->router(Config-if
(Vlan 1))#
G3(su)->router(Config-if
(Lpbk 1))#
Summary of Contents for G3G170-24
Page 1: ...Enterasys G Series Ethernet Switch CLI Reference Firmware Version 1 00 xx P N 9034358 01...
Page 2: ......
Page 30: ...xxviii...
Page 100: ...set ssl 2 56 Basic Configuration...
Page 132: ...clear lldp port tx tlv 3 32 Discovery Protocol Configuration...
Page 272: ...show spantree nonforwardingreason 6 52 Spanning Tree Configuration...
Page 296: ...set garp timer 7 24 802 1Q VLAN Configuration...
Page 384: ...clear nodealias config 11 34 Logging and Network Management...
Page 438: ...Enabling Router Configuration Modes 14 4 Preparing for Router Mode...
Page 514: ...show ip pimsm staticrp 16 56 IPv4 Routing Protocol Configuration...
Page 524: ...traceroute ipv6 17 10 IPv6 Management...
Page 602: ...show ipv6 ospf virtual link 19 46 OSPFv3 Configuration...