3com 8807 User Guide

Page of 883
650
C
HAPTER
 52: VPLS C
ONFIGURATION
[PE2-vsi-3Com-ldp] vsi-id 500
 
[PE2-vsi-3Com-ldp] peer 5.6.7.8
 
[PE2-vsi-3Com-ldp] quit 
# Configure a private VLAN, add a port to it, and bind a VSI instance.
[PE2] vlan 100
 
[PE2-vlan-100] port Ethernet 6/1/48
 
[PE2-vlan-100] interface vlan 100
 
[PE2-vlan-interface100] l2 binding vsi 3Com access-mode ethernet 
# Enable VLAN-VPN on the port of the private network.
[PE2] interface Ethernet 6/1/48
 
[PE2-Ethernet6/1/48] vlan-vpn enable 
# Configure user-defined flow template, and ACL redirection rule to allow for 
MPLS packets with VPLS labels.
[PE2] flow-template user-defined slot 4 ethernet-protocol vlanid
 
[PE2] acl number 4000
 
[PE2-acl-link-4000] rule 0 permit mpls l2label-range ingress any egress any
 
[PE2-acl-link-4000] quit 
# Define user flow template in port view and configure redirection rule to redirect 
VPLS packets back from the public network to the VPLS service processor card and 
specify the VLAN ID of the redirect flow.
[PE2] interface GigabitEthernet4/1/1
 
[PE2-GigabitEthernet4/1/1] flow-template user-defined
 
[PE2-GigabitEthernet4/1/1] traffic-redirect inbound link-group 4000 rule 0 
 
slot 5 10 join vlan 
Note that, if a common interface module on slot 4 and all the eight label ranges 
corresponding to the rule are not assigned, you must configure the following 
command to prevent the flow in other label ranges not matched from being 
reported to the CPU:
# Configure an ACL redirection rule for denying the MPLS packets with VPLS 
labels.
[PE1] acl number 4001
 
[PE1-acl-link-4001] rule 1 deny mpls l2label-range ingress any egress any 
# Enable the ACL in port view.
[PE1] interface GigabitEthernet4/1/1
 
[PE1-GigabitEthernet4/1/1] packet-filter inbound link-group 4001 rule 1 
Troubleshooting VPLS
Symptom 1: PW is not in UP state.
Solution:
The LSP tunnel over the public network is not set up for the two ends: verify 
that the route is available on both ends, you can successfully ping the loopback 
port of the peer, and the LDP session is normal.