interface
SecureStack C2 Configuration Guide 16-3
Parameters
Defaults
None.
Mode
Routerglobalconfigurationmode:C2(su)‐>router(Config)#
Usage
Thiscommandenablesinterfaceconfigurationmodefromglobalconfigurationmode,and,ifthe
interfacehasnotpreviouslybeencreated,thiscommandcreatesanewroutinginterface.For
detailsonconfigurationmodessupportedbytheSecureStackC2deviceandtheiruses,referto
Table 15‐2in“EnablingRouterConfigurationModes”on
page 15‐2.
VLANsmustbecreatedfromtheswitchCLIbeforetheycanbeconfiguredforIProuting.For
detailsoncreatingVLANsandconfiguringthemforIP,referto“EnablingRouterConfiguration
Modes”onpage 15‐2.
EachVLANinterfacemustbeconfiguredforroutingseparatelyusingtheinterfacecommand.
To
endconfigurationononeinterfacebeforeconfiguringanother,typeexitatthecommandprompt.
Enablinginterfaceconfigurationmodeisrequiredforcompletinginterface‐specificconfiguration
tasks.Foranexampleofhowthesecommandsareused,referto“Pre‐RoutingConfiguration
Tasks”onpage 15‐1.
Aloopbackinterfaceisalways
expectedtobeup.Thisinterfacecanprovidethesourceaddressfor
sentpacketsandcanreceivebothlocalandremotepackets.Theloopbackinterfaceistypically
usedbyroutingprotocols.IfRADIUSisconfiguredwithnohostIPaddressonthedevice,itwill
usetheloopbackinterface0IP
address(ifithasbeenconfigured)asitssourcefortheNAS‐IP
attribute.
EachSecureStackC2systemcansupportupto24routinginterfaces.Eachinterfacecanbe
configuredfortheRIPand/orOSPFroutingprotocols.
Examples
Thisexampleshowshowtoenterconfiguration modeforVLAN1:
C2(su)->router#configure
C2(su)->router(Config)#interface vlan 1
C2(su)->router(Config-if(Vlan 1))#
Thisexampleshowshowtoenterconfiguration modeforloopback1:
C2(su)->router#configure
C2(su)->router(Config)#interface loopback 1
C2(su)->router(Config-if(Lpbk 1))#
vlanvlan‐id SpecifiesthenumberoftheVLANinterfacetobeconfiguredforrouting.
ThisinterfacemustbeconfiguredforIProutingasdescribedin“Pre‐
RoutingConfigurationTasks”onpage 15‐1.
loopbackloop‐id Specifiesthenumberoftheloopbackinterfacetobeconfiguredforrouting.
Thevalueof
loop‐idcanrangefrom0to7.