beautypg.com

Vlan – Enterasys Networks X-Pedition XSR CLI User Manual

Page 143

background image

Hardware Controller Commands

XSR CLI Reference Guide 4-91

Mode

Interface configuration: 

XSR(config-ifx>)#

Default

1

Example

The following example sets 2 stopbits on Serial port 1/0:

XSR(config-if)#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)#vlan 10
XSR(config-if)#ip address 1.2.3.4 255.255.255.0
XSR(config-if)#no shutdown

The following example configures a VLAN configuration with PPPoE:

XSR(config)#interface fastethernet 2.4
XSR(config-if)#encapsulate ppp
XSR(config-if)#vlan 1400
XSR(config-if)#ip address negotiated
XSR(config-if)#ip mtu 1492
XSR(config-if)#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.