182
To do…
Use the command…
Remarks
Clear the traffic statistics for a
service instance on an interface
reset service-instance statistics
[
interface
interface-type interface-number
[
service-instance
instance-id
[
inbound
|
outbound
] ] ]
Available in user view
MPLS L2VPN configuration example
NOTE:
By default, Ethernet interfaces, VLAN interfaces, and aggregate interfaces are in DOWN state. To
configure such an interface, first use the
undo shutdown
command to bring the interface up.
Configuring a Martini MPLS L2VPN connection based on Layer
2 Ethernet interface and VLAN
Network requirements
CEs are connected to PEs through VLAN interfaces.
Establish a Martini MPLS L2VPN connection between CE 1 and CE 2.
Figure 45
Network diagram
Device
Interface
IP address
Device
Interface
IP address
CE 1
Vlan-int10
100.1.1.1/24
P
Loop0
192.4.4.4/32
PE 1
Loop0
192.2.2.2/32
Vlan-int20 10.1.1.2/24
Vlan-int20
10.1.1.1/24
Vlan-int30
10.2.2.2/24
CE 2
Vlan-int10
100.1.1.2/24
PE 2
Loop0
192.3.3.3/32
Vlan-int30 10.2.2.1/24
Configuration procedure
1.
Configure CE 1.
<Sysname> system-view
[Sysname] sysname CE1
[CE1] interface vlan-interface 10
[CE1-Vlan-interface10] ip address 100.1.1.1 24