3com S7906E 설치 설명서
1-14
z
L2VPN connection’s destination address and PW ID
z
PW class template
Configuration Procedure
Follow these steps to configure an MPLS L2VPN connection based on Layer 2 Ethernet interface and
VLAN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a PW class template
and enter PW class template
view
and enter PW class template
view
pw-class pw-class-name
Optional
By default, no PW class
template is created.
template is created.
Specify the PW transport mode trans-mode { ethernet | vlan }
Optional
VLAN by default
Specify the tunneling policy
pw-tunnel-policy policy-name
Optional
By default, the default tunneling
policy is used, that is, LSP
tunnels are used and the
number of paths for load
balancing is 1.
policy is used, that is, LSP
tunnels are used and the
number of paths for load
balancing is 1.
Return to system view
quit
—
Enter the view of the interface
connecting the CE
connecting the CE
interface interface-type
interface-number
interface-number
—
Create a service instance and
enter service instance view
enter service instance view
service-instance instance-id
Required
By default, no service instance
is created.
is created.
Configure a packet matching
rule for the service instance
rule for the service instance
encapsulation s-vid vlan-list
Required
By default, no packet matching
rule is configured for the
service instance.
rule is configured for the
service instance.
Create a Martini MPLS L2VPN
connection based on Layer 2
Ethernet interface and VLAN
connection based on Layer 2
Ethernet interface and VLAN
xconnect peer
peer-ip-address pw-id pw-id
[ pw-class pw-class-name ]
[ mtu mtu-value ]
[ access-mode { ethernet |
vlan } ]
peer-ip-address pw-id pw-id
[ pw-class pw-class-name ]
[ mtu mtu-value ]
[ access-mode { ethernet |
vlan } ]
Required
After this command is
executed, the VLAN ID, access
mode, and MTU configured for
the service instance cannot be
changed. To modify these
parameters, you need to use
the undo xconnect peer
command to remove the
L2VPN connection first.
executed, the VLAN ID, access
mode, and MTU configured for
the service instance cannot be
changed. To modify these
parameters, you need to use
the undo xconnect peer
command to remove the
L2VPN connection first.
Display information about one
or all service instances
configured on the interface
or all service instances
configured on the interface
display service-instance
interface interface-type
interface-number
[ service-instance
instance-id ]
interface interface-type
interface-number
[ service-instance
instance-id ]
Available in any view