interface
SecureStack C2 Configuration Guide 19-3
Parameters
Defaults
None.
Mode
Routerglobalconfigurationmode:C2(su)‐>router(Config)#
Usage
Thiscommandenablesinterfaceconfigurationmodefromglobalconfigurationmode,and,ifthe
interfacehasnotpreviouslybeencreated,thiscommandcreatesanewroutinginterface.For
detailsonconfigurationmodessupportedbytheSecureStackC2deviceandtheiruses,referto
Table 18‐2in“EnablingRouterConfigurationModes”on
page 18‐2.
VLANsmustbecreatedfromtheswitchCLIbeforetheycanbeconfiguredforIProuting.For
detailsoncreatingVLANsandconfiguringthemforIP,referto“EnablingRouterConfiguration
Modes”onpage 18‐2.
EachVLANinterfacemustbeconfiguredforroutingseparatelyusingtheinterfacecommand.
To
endconfigurationononeinterfacebeforeconfiguringanother,typeexitatthecommandprompt.
Enablinginterfaceconfigurationmodeisrequiredforcompletinginterface‐specificconfiguration
tasks.Foranexampleofhowthesecommandsareused,referto“Pre‐RoutingConfiguration
Tasks”onpage 18 ‐1.
Aloopbackinterfaceisalways
expectedtobeup.This interfacecanprovidethesourceaddressfor
sentpacketsandcanreceivebothlocalandremotepackets.Theloopbackinterfaceistypically
usedbyroutingprotocols.IfRADIUSisconfiguredwithnohostIPaddressonthedevice,itwill
usetheloopbackinterface0IP
address(ifithasbeenconfigured)asitssourcefortheNAS‐IP
attribute.
EachSecureStackC2system(stack)cansupportupto24routinginterfaces.Eachint erfacecanbe
configuredfortheRIPand/orOSPFroutingprotocols.
Examples
Thisexampleshowshowtoenterconfigurat ionmodeforVLAN1:
C2(su)->router#configure
C2(su)->router(Config)#interface vlan 1
C2(su)->router(Config-if(Vlan 1))#
Thisexampleshowshowtoenterconfigurat ionmodeforloopback1:
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 18‐1.
loopbackloop‐id Specifiesthenumberoftheloopbackinterfacetobeconfiguredforrouting.
Thevalueof
loop‐idcanrangefrom0to7.