interface
Enterasys B5 CLI Reference 19-3
Parameters
Defaults
None.
Mode
Routerglobalconfigurationmode:B5(su)‐>router(Config)#
Usage
Thiscommandenablesinterfaceconfigurationmodefromglobalconfigurationmode,and,ifthe
interfacehasnotpreviouslybeencreated,thiscommandcreatesanewroutinginterface.For
detailsonconfigurationmodessupportedbytheEnterasysB5deviceandtheiruses,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.Thisinterfacecanprovidethesourceaddressfor
sentpacketsandcanreceivebothlocalandremotepackets.Theloopbackinterfaceistypically
usedbyroutingprotocols,butitcanalsobeusedformanagementornetworkservicessuchas
RADIUS,SNMP,Syslog,SNTP,orsFlow.By
default,ifRADIUSisconfiguredwithnohostIP
addressonthedevice,itwillusetheloopbackinterface0IPaddress(ifithasbeenconfigured)as
itssourcefortheNAS‐IPattribute.(Administratorscanassignwheretosourcemanagementor
networkserviceIPpacketsviatheset
interfacecommands.)
EachEnterasysB5system(stack)cansupportupto24routinginterfaces.Eachinterfacecanbe
configuredfortheRIProutingprotocol.
Examples
ThisexampleshowshowtoenterconfigurationmodeforVLAN1:
B5(su)->router#configure
B5(su)->router(Config)#interface vlan 1
B5(su)->router(Config-if(Vlan 1))#
Thisexampleshowshowtoenterconfigurationmodeforloopback1:
B5(su)->router#configure
B5(su)->router(Config)#interface loopback 1
B5(su)->router(Config-if(Lpbk 1))#
vlanvlan‐id Specif iesthenumberoftheVLANinterfacetobeconfiguredforrouting.
ThisinterfacemustbeconfiguredforIProutingasdescribedin“Pre‐
RoutingConfigurationTasks”onpage 18‐1.
loopbackloop‐id Specifiesthenumberoftheloopbackinterfacetobeconfiguredforrouting.
Thevalueof
loop‐idcanrangefrom0to7.