320
[PE3] interface vlan-interface 102
[PE3-Vlan-interface102] mpls enable
[PE3-Vlan-interface102] mpls ldp enable
[PE3-Vlan-interface102] quit
[PE3] interface vlan-interface 103
[PE3-Vlan-interface103] mpls enable
[PE3-Vlan-interface103] mpls ldp enable
[PE3-Vlan-interface103] quit
# Create a VSI named
aaa
, specify the VSI to establish PWs statically, and configure PWs for it.
[PE3] vsi aaa
[PE3-vsi-aaa] pwsignaling static
[PE3-vsi-aaa-static] peer 1.1.1.1 pw-id 3 in-label 200 out-label 200
[PE3-vsi-aaa-static-1.1.1.1-3] quit
[PE3-vsi-aaa-static] peer 2.2.2.2 pw-id 3 in-label 300 out-label 300
[PE3-vsi-aaa-static-2.2.2.2-3] quit
[PE3-vsi-aaa-static] quit
[PE3-vsi-aaa] quit
# Bind HundredGigE 1/0/1 to VSI
aaa
.
[PE3] interface hundredgige 1/0/1
[PE3-HundredGigE1/0/1] service-instance 1
[PE3-HundredGigE1/0/1-srv1] encapsulation s-vid 5
[PE3-HundredGigE1/0/1-srv1] xconnect vsi aaa
[PE3-HundredGigE1/0/1-srv1] quit
[PE3-HundredGigE1/0/1] quit
# Enable MLD snooping globally.
[PE3] mld-snooping
[PE3-mld-snooping] quit
# Enable MLD snooping, and enable dropping unknown IPv6 multicast data for VSI
aaa
.
[PE3] vsi aaa
[PE3-vsi-aaa] mld-snooping enable
[PE3-vsi-aaa] mld-snooping drop-unknown
[PE3-vsi-aaa] quit
Verifying the configuration
# Display detailed information about dynamic MLD snooping group entries for VSI
aaa
on PE 1.
[PE1] display mld-snooping group vsi aaa verbose
Total 1 entries.
VSI aaa: Total 1 entries.
(::, FF1E::101)
Attribute: global port
FSM information: normal
Host slots (0 in total):
Host ports (1 in total):
NPW (Link ID 9) (00:02:24)
VLAN pairs (1 in total):
Outer VLAN 5 Inner VLAN 0 (00:02:24)
# Display detailed information about dynamic router ports for VSI
aaa
on PE 1.