Specifications

interface
SecureStack C3 Configuration Guide 15-3
interface
UsethiscommandtoconfigureinterfacesforIProuting.
Syntax
interface vlan vlan-id | loopback loop-id
Parameters
Defaults
None.
Mode
Routerglobalconfigurationmode:C3(su)>router(Config)#
Usage
Thiscommandenablesinterfaceconfigurationmodefromglobalconfigurationmode,and,ifthe
interfacehasnotpreviouslybeencreated,thiscommandcreatesanewroutinginterface.For
detailsonconfigurationmodessupportedbytheSecureStackC3deviceandtheiruses,referto
Table 142inEnablingRouterConfigurationModeson
page 143.
VLANsmustbecreatedfromtheswitchCLIbeforetheycanbeconfiguredforIProuting.For
detailsoncreatingVLANsandconfiguringthemforIP,refertoEnablingRouterConfiguration
Modesonpage 143.
EachVLANinterfacemustbeconfiguredforroutingseparatelyusingtheinterfacecommand.
To
endconfigurationononeinterfacebeforeconfiguringanother,typeexitatthecommandprompt.
Enablinginterfaceconfigurationmodeisrequiredforcompletinginterfacespecificconfiguration
tasks.Foranexampleofhowthesecommandsareused,refertoPreRoutingConfiguration
Tasksonpage 141.
Aloopbackinterfaceisalways
expectedtobeup.Thisinterfacecanprovidethesourceaddressfor
sentpacketsandcanreceivebothlocalandremotepackets.Theloopbackinterfaceistypically
usedbyroutingprotocols.
EachSecureStackC3systemcansupportupto256routinginterfaces.Eachinterfacecanbe
configuredfortheRIPand/or
OSPFroutingprotocols.
Examples
ThisexampleshowshowtoenterconfigurationmodeforVLAN1:
C3(su)->router#configure
C3(su)->router(Config)#interface vlan 1
C3(su)->router(Config-if(Vlan 1))#
vlanvlanid Specifiesthenumberofthe VLANinterfacetobeconfiguredforrouting.
ThisinterfacemustbeconfiguredforIProutingasdescribedinPre
RoutingConfigurationTasksonpage 141.
loopbackloopid Specifiesthenumberoftheloopbackinterfacetobeconfiguredforrouting.
Thevalueof
loopidcanrangefrom0to7.
Note: For information about configuring tunnel interfaces, see “Configuring Tunnel Interfaces” on
page 15-8.