Configuring Selective VLAN Mapping to VPLS

The CEP port is configured as normal. The existing command to associate VMAN to VPLS also does not change. The following example illustrates the three-step process:
  1. Create VMAN with CEP ports.
  2. Create VPLS.
  3. Associate the VMAN to the VPLS.
# create vman vm1
configure vman vm1 add ports 3 cep cvid 2 – 3

create vpls vsi1 fec-id-type pseudo-wire 35
configure vpls vsi1 add peer 192.168.0.2 core

configure vpls vsi1 add service vman vm1
Additionally, the display does not change. To show the mapping, you need to configure the following two-step process:
  1. Show the VPLS.
  2. Show the VMAN.

Here is an example:

# show vpls vsi1
L2VPN Name    VPN ID Flags   Services Name  Peer IP         State Flags 
------------  ------ ------- -------------- --------------- ----- ------
VSI1          35     EAX--L- vm1            192.168.0.2     Up    C---V-   

VPN Flags: (E) Admin Enabled, (A) Oper Enabled, (I) Include Tag,            
           (X) Exclude Tag, (T) Ethertype  Configured,            
           (V) VCCV HC Enabled, (W) VPN Type VPWS, (L) VPN Type 
           VPLS, (M) CFM MIP Configured
Peer Flags:(C) Core Peer, (S) Spoke Peer, (A) Active Core,            
           (p) Configured Primary Core, (s) Configured Secondary Core,              
           (N) Named LSP Configured, (V) VCCV HC Capabilities Negotiated,
           (F) VCCV HC Failed
# show vpls vsi1 detail
L2VPN Name: VSI1   
    VPN ID                 : 35              Admin State    : Enabled   
    Source Address         : 192.168.0.1     Oper State     : Enabled   
    VCCV Status            : Disabled        MTU            : 1500   
    VCCV Interval Time     : 5 sec.          Ethertype      : 0x88a8   
    VCCV Fault Multiplier  : 4               .1q tag        : exclude   
    L2VPN Type             : VPLS            Redundancy     : None   
    Service Interface      : vm1    

    Peer IP: 192.168.0.2      
        PW State          : Up      
        PW Uptime         : 0d:0h:4m:20s      
        PW Installed      : True      
        Local PW Status   : No Faults      
        Remote PW Status  : No Faults      
        Remote I/F MTU    : 1500      
        PW Mode           : Core-to-Core      
        Transport LSP     : LDP LSP (Not Configured)         
        Next Hop I/F      : vlan2         
        Next Hop Addr     : 11.0.2.2       Tx Label      : 0x00173      
        PW Rx Label       : 0x00174        PW Tx Label   : 0x00174      
        PW Rx Pkts        : 185920064      PW Tx Pkts    : 186031288      
        PW Rx Bytes       : 16732807110    PW Tx Bytes   : 16742817810      
        MAC Limit         : No Limit      
        VCCV HC Status    : Not Sending (VCCV Not Enabled For This L2VPN)         
            CC Type       : Rtr Alert                 Total Pkts Sent : 0         
            CV Type       : LSP Ping                  Total Pkts Rcvd : 0          
            Send Next Pkt : --         
            Total Failures: 0                Pkts During Last Failure : 0         
            Last Failure Tm: --
1.26 # show vman vm1
VMAN Interface with name vm1 created by user    
    Admin State:          Enabled    Tagging:Untagged (Internal tag 4091)     
    Description:          None    
    Virtual router:       VR-Default    
    IPv4 Forwarding:      Disabled    
    IPv4 MC Forwarding:   Disabled    
    IPv6 Forwarding:      Disabled    
    IPv6 MC Forwarding:   Disabled    
    IPv6:                 None    
    STPD:                 None    
    Protocol:             Match all unfiltered protocols    
    Loopback:             Disabled    
    NetLogin:             Disabled    
    OpenFlow:             Disabled    
    QosProfile:           None configured    
    Egress Rate Limit Designated Port: None configured    
    Flood Rate Limit QosProfile:       None configured    
    Ports:   1.            (Number of active ports=1)       
        CEP:         *3: CVID 2-3        
         Flags:     (*) Active, (!) Disabled, (g) Load Sharing port                  
         (b) Port blocked on the vlan, (m) Mac-Based port                  
         (a) Egress traffic allowed for NetLogin                  
         (u) Egress traffic unallowed for NetLogin                  
         (t) Translate VLAN tag for Private-VLAN                  
         (s) Private-VLAN System Port, (L) Loopback port                  
         (e) Private-VLAN End Point Port                  
         (x) VMAN Tag Translated port                  
         (G) Multi-switch LAG Group port                  
         (H) Dynamically added by MVRP                  
         (U) Dynamically added uplink port                  
         (V) Dynamically added by VM Tracking