R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)
173
Examples
# Specify the AAL5 encapsulation for PVC 1/32 on interface ATM 2/4/0 as aal5snap.
<Sysname>system-view
[Sysname] interface atm 2/4/0
[Sysname-ATM2/4/0] pvc 1/32
[Sysname-ATM2/4/0-pvc-1/32] encapsulation aal5snap
interface virtual-ethernet
Use interface virtual-ethernet to enter VE interface view or VE subinterface view. If the specified interface
or subinterface does not exist, the command creates the interface or subinterface and enters its view.
Use undo interface virtual-ethernet to remove a VE interface or subinterface.
Syntax
interface virtual-ethernet { interface-number | interface-number.subnumber }
undo interface virtual-ethernet { interface-number | interface-number.subnumber }
Default
No VE interface or subinterface exists.
Views
System view
Predefined user roles
network-admin
Parameters
interface-number: Specifies a VE interface by its number.
interface-number.subnumber: Specifies a VE subinterface by its number. The interface-number argument
represents the number of the VE interface. The subnumber argument represents the number of the
subinterface.
Usage guidelines
The baud rate of the VE interface is 10000000 bps.
Examples
# Create VE interface Virtual-Ethernet 2/4/1 and enter its view.
<Sysname> system-view
[Sysname] interface virtual-ethernet 2/4/1
[Sysname-Virtual-Ethernet2/4/1]
# Create VE subinterface Virtual-Ethernet 2/4/1.1 and enter its view.
<Sysname> system-view
[Sysname] interface virtual-ethernet 2/4/1.1
[Sysname-Virutal-Ethernet2/4/1.1]
mac-address
Use mac-address to specify the MAC address for a VE interface.
Use undo mac-address to restore the default.