Enterasys Networks XSR CLI Router User Manual


 
Hardware Controller Commands
XSR CLI Reference Guide 4-91
Mode
Interfaceconfiguration:XSR(config-if<Sx>)#
Default
1
Example
Thefollowingexamplesets2stopbitsonSerialport1/0:
XSR(config-if<S1/0>)#stopbits 2
vlan
ThiscommandconfiguresaVirtualLAN(VLAN)IDonasubinterface.
Syntax
vlan vlan-id
Syntax of the “no” Form
ThenoformofthiscommandremovestheVLANIDconfiguration:
no vlan
Mode
SubInterfaceconfiguration: XSR(config-if<xx>)#
Examples
ThefollowingexampleconfiguresaFastEthernetsubinterfacewithVLANID10:
XSR(config)#interface fastethernet 2.1
XSR(config-if<F2.1>)#vlan 10
XSR(config-if<F2.1>)#ip address 1.2.3.4 255.255.255.0
XSR(config-if<F2.1>)#no shutdown
ThefollowingexampleconfiguresaVLANconfigurationwithPPPoE:
XSR(config)#interface fastethernet 2.4
XSR(config-if<F2.4>)#encapsulate ppp
XSR(config-if<F2.4>)#vlan 1400
XSR(config-if<F2.4>)#ip address negotiated
XSR(config-if<F2.4>)#ip mtu 1492
XSR(config-if<F2.4>)#no shutdown
Note: Similar to the PPPoE sub-interface, you must issue the no shutdown command to keep the
interface up.
vlan-id
Identifierofthesubinterface,rangingfrom0to4094.