
Enabling Router Configuration Modes
18-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.
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
Enabling Router Configuration Modes
The
SecureStack
C3
CLI
provides
different
modes
of
router
operation
for
issuing
a
subset
of
commands
from
each
mode.
Table 18
‐
2
describes
these
modes
of
operation.
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:
C3(su)->
2
Enable router Privileged
EXEC mode.
enable
Router:
C3(su)->router>
3
Enable global router
configuration mode.
configure
Router:
C3(su)->router#
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
19-3
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
19-3
6
Enable the interface for IP
routing.
no shutdown
Router:
C3(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
.
C3(su)->router>
C3(su)->router#
Global Configuration
Mode
Set system-wide
parameters.
Type
configure
from
Privileged EXEC mode.
C3(su)->router (Config)#
Interface
Configuration Mode
Configure router
interfaces.
Type
interface vlan
or
loopback
and the
interface’s id from Global
Configuration mode.
C3(su)->router(Config-if
(Vlan 1))#
C3(su)->router(Config-if
(Lpbk 1))#
Summary of Contents for SECURESTACK C3
Page 2: ......
Page 34: ...xxxii...
Page 40: ...Getting Help xxxviii About This Guide...
Page 126: ...clear license 4 6 Activating Licensed Features...
Page 132: ...set port inlinepower 5 6 Configuring System Power and PoE...
Page 228: ...clear port protected name 7 60 Port Configuration...
Page 270: ...clear snmp interface 8 42 SNMP Configuration...
Page 396: ...clear port txq 12 10 Port Priority Configuration...
Page 414: ...ip igmp robustness 13 18 IGMP Configuration...
Page 542: ...clear arpinspection statistics 17 32 DHCP Snooping and Dynamic ARP Inspection...
Page 546: ...Enabling Router Configuration Modes 18 4 Preparing for Router Mode...
Page 640: ...traceroute ipv6 21 10 IPv6 Management...
Page 698: ...show ipv6 dhcp binding 24 20 DHCPv6 Configuration...
Page 746: ...show ipv6 ospf virtual link 25 48 OSPFv3 Configuration...
Page 834: ...ip access group 26 88 Authentication and Authorization Configuration...
Page 848: ...TACACS Configuration clear tacacs interface 27 14...
Page 866: ...sFlow Configuration show sflow agent 28 18...
Page 872: ...Index 4...