Vlan – Enterasys Networks X-Pedition XSR CLI User Manual
Page 143

Hardware Controller Commands
XSR CLI Reference Guide 4-91
Mode
Interface configuration:
XSR(config-if<Sx>)#
Default
1
Example
The following example sets 2 stopbits on Serial port 1/0:
XSR(config-if<S1/0>)#stopbits 2
vlan
This command configures a Virtual LAN (VLAN) ID on a sub‐interface.
Syntax
vlan vlan-id
Syntax of the “no” Form
The no form of this command removes the VLAN ID configuration:
no vlan
Mode
Sub‐Interface configuration:
XSR(config-if<xx>)#
Examples
The following example configures a FastEthernet sub‐interface with VLAN ID 10:
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
The following example configures a VLAN configuration with PPPoE:
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
Identifier of the sub‐interface, ranging from 0 to 4094.