Configurationof Tag TranslationUsing Dynamic Profiles
Considera final case where the bridge domain VLANs need translationat the VPLS
pseudowiretrunk interface. In this case,sales (VLAN 10) is mapped to VLAN 110 and
engineering(VLAN 20) is mapped to VLAN 120.
Thisconfiguration adds tag translationto the VPLS pseudowire traffic.
[editrouting-instances green]
instance-typevirtual-switch;
...# Other routing instance statements
protocolsvpls {
site-range10;
sitesample-site-1 {
site-identifier1;
}
associate-profilegreen_vpls_pw_4;# Apply profile here
}
...# Other routing instance statements
[editdynamic-profiles]
green_vpls_pw_4interfaces $junos-interface-ifd-name{
unit$junos-underlying-unit-number {
familybridge {
interface-modetrunk;
vlan-id-list[ 10 20 30 40 50 ]; # All VLANs
vlan-rewritetranslate110 10; # Sales VLAN
vlan-rewritetranslate120 20; # Engineering VLAN
}
}
}
NOTE: Thisis not a complete routerconfiguration.
Thistranslates the sales and engineering VLAN tagsegressing the VPLS pseudowire
accordingly.Atthe ingress of the VPLS pseudowire, VLANs 110 and 120 are translated
backto 10 and 20, respectively.
Related
Documentation
MXSeries Ethernet Services Routers SolutionsPage
DynamicProfiles for VPLS Pseudowireson page 63
Example:Configuring VPLS Pseudowires with Dynamic Profiles—BasicSolutions on
page64
Copyright© 2010, Juniper Networks,Inc.72
Junos10.4 MX Series Ethernet ServicesRouters Solutions Guide