Basic VPLS Configuration on Nokia Service Routers

Basic VPLS Configuration on Nokia Service Routers

In this lab: Basic VPLS Configuration on Nokia Service Routers, you will configure VPLS 1 on routers R1 and R3, with a SAP towards router R5 on R1. You will also configure VPLS 2 on routers R2 and R4, with a SAP towards router R6 on R2. The two VPLS services will then be joined using a spoke-SDP. A hierarchy of VPLS (H-VPLS) connections removes the requirement for full mesh connectivity between all routers by using a mix of mesh and spoke SDPs.

Basic VPLS Configuration on Nokia Service Routers
Basic VPLS Configuration on Nokia Service Routers

Basic configuration and IP planning

This article will skip the basic configuration like: IP, OSPF, MPLS, TLDP and RSVP. All configurations you can download at the link below the article.

Use OSPF for internal routing
Use OSPF for internal routing

The system address is 10.10.10.X/32, with X as the router number.

RouterSystem IP
R110.10.10.1/32
R210.10.10.2/32
R310.10.10.3/32
R410.10.10.4/32
R510.10.10.5/32
R610.10.10.6/32
System IP of router

The IP address for all interfaces is numbered 10.X.Y.R/27, where

  • X is the lower router #,
  • Y is the higher router #,
  • R is the local router #.
  • R5: 192.168.0.1/27
  • R6: 192.168.0.2/27
VPLS logical topology
VPLS logical topology

Create an MPLS SDP from router R1 to router R3 using the configured LSP toR3.

#R1
/configure service
        sdp 3 mpls create
            far-end 10.10.10.3
            lsp "toR3"
            no shutdown
        exit

Create an MPLS SDP from router R3 to router R1 using the configured LSP toR1.

#R3
/configure service
        sdp 1 mpls create
            far-end 10.10.10.1
            lsp "toR1"
            no shutdown
        exit

Create VPLS 1 between routers R1 and R3.

#R1
/configure service
        vpls 1 customer 1 create
            mesh-sdp 3:1 create
                no shutdown
            exit
            no shutdown
        exit

#R3
/configure service
        vpls 1 customer 1 create
            mesh-sdp 1:1 create
                no shutdown
            exit
            no shutdown
        exit

On router R1, add a dot1q SAP towards router R5. Use VLAN 1 on port 1/1/4.

#R1
/configure port 1/1/4
        ethernet
            mode access
            encap-type dot1q
            mtu 9212
        exit
        no shutdown
/configure service vpls 1 sap 1/1/4:0 create

Create an MPLS SDP from router R2 to router R4 using the configured LSP toR4.

/configure service 
        sdp 2 mpls create
            far-end 10.10.10.2
            lsp "toR2"
            no shutdown
        exit

Create an MPLS SDP from router R4 to router R2 using the configured LSP toR2.

/configure service
        sdp 4 mpls create
            far-end 10.10.10.4
            lsp "toR4"
            no shutdown
        exit

Create VPLS 2 between routers R2 and R4.

#R2
/configure service
        vpls 2 customer 1 create
            mesh-sdp 4:2 create
                no shutdown
            exit
            no shutdown
        exit
#R4
/configure service
        vpls 2 customer 1 create
            mesh-sdp 2:2 create
                no shutdown
            exit
            no shutdown
        exit

On router R2, add a dot1q SAP towards router R6. Use VLAN 2 on port 1/1/4.

#R2
/configure port 1/1/4
        ethernet
            mode access
            encap-type dot1q
            mtu 9212
        exit
        no shutdown
/configure service vpls 2 sap 1/1/4:0 create

Create an MPLS SDP from router R1 to router R2 using the configured LSP toR2.

/configure service
        sdp 2 mpls create
            far-end 10.10.10.2
            lsp "toR2"
            no shutdown
        exit

Create an MPLS SDP from router R2 to router R1 using the configured LSP toR1.

/configure service
        sdp 1 mpls create
            far-end 10.10.10.1
            lsp "toR1"
            no shutdown
        exit

On router R1, connect VPLS 1 to VPLS 2 on router R2 using spoke-SDPs.

#R1
/configure service vpls 1 spoke-sdp 2:1 create
#R2
/configure service vpls 2 spoke-sdp 1:1 create

Verification VPLS Configuration on Nokia Service Routers

Verify that all configured SDPs are operationally up.

A:R1# show service sdp 

============================================================================
Services: Service Destination Points
============================================================================
SdpId  AdmMTU  OprMTU  Far End          Adm  Opr         Del     LSP   Sig
----------------------------------------------------------------------------
2      0       9190    10.10.10.2       Up   Up          MPLS    R     TLDP
3      0       9190    10.10.10.3       Up   Up          MPLS    R     TLDP
----------------------------------------------------------------------------
Number of SDPs : 2
----------------------------------------------------------------------------
Legend: R = RSVP, L = LDP, B = BGP, M = MPLS-TP, n/a = Not Applicable
        I = SR-ISIS, O = SR-OSPF, T = SR-TE, F = FPE
============================================================================

Verify that all components of VPLS 1 and VPLS 2 are operationally up.

A:R1# show service id 1 base 

===============================================================================
Service Basic Information
===============================================================================
Service Id        : 1                   Vpn Id            : 0
Service Type      : VPLS                
MACSec enabled    : no                  
Name              : 1
Description       : (Not Specified)
Customer Id       : 1                   Creation Origin   : manual
Last Status Change: 08/02/2021 00:02:13 
Last Mgmt Change  : 08/02/2021 00:01:49 
Etree Mode        : Disabled            
Admin State       : Up                  Oper State        : Up
MTU               : 1514                
SAP Count         : 1                   SDP Bind Count    : 2
Snd Flush on Fail : Disabled            Host Conn Verify  : Disabled
SHCV pol IPv4     : None
Propagate MacFlush: Disabled            Per Svc Hashing   : Disabled
Allow IP Intf Bind: Disabled            
Fwd-IPv4-Mcast-To*: Disabled            Fwd-IPv6-Mcast-To*: Disabled
Mcast IPv6 scope  : mac-based           
Def. Gateway IP   : None                
Def. Gateway MAC  : None                
Temp Flood Time   : Disabled            Temp Flood        : Inactive
Temp Flood Chg Cnt: 0                   
SPI load-balance  : Disabled            
TEID load-balance : Disabled            
Src Tep IP        : N/A                 
Vxlan ECMP        : Disabled            
MPLS ECMP         : Disabled            
VSD Domain        : <none>
 
-------------------------------------------------------------------------------
Service Access & Destination Points
-------------------------------------------------------------------------------
Identifier                               Type         AdmMTU  OprMTU  Adm  Opr
-------------------------------------------------------------------------------
sap:1/1/4:0                              q-tag        9212    9212    Up   Up
sdp:2:1 S(10.10.10.2)                    Spok         0       9190    Up   Up
sdp:3:1 M(10.10.10.3)                    Mesh         0       9190    Up   Up
===============================================================================
* indicates that the corresponding row element may have been truncated.
A:R2# show service id 2 base 

===============================================================================
Service Basic Information
===============================================================================
Service Id        : 2                   Vpn Id            : 0
Service Type      : VPLS                
MACSec enabled    : no                  
Name              : 2
Description       : (Not Specified)
Customer Id       : 1                   Creation Origin   : manual
Last Status Change: 08/02/2021 00:02:14 
Last Mgmt Change  : 08/02/2021 00:01:49 
Etree Mode        : Disabled            
Admin State       : Up                  Oper State        : Up
MTU               : 1514                
SAP Count         : 1                   SDP Bind Count    : 2
Snd Flush on Fail : Disabled            Host Conn Verify  : Disabled
SHCV pol IPv4     : None
Propagate MacFlush: Disabled            Per Svc Hashing   : Disabled
Allow IP Intf Bind: Disabled            
Fwd-IPv4-Mcast-To*: Disabled            Fwd-IPv6-Mcast-To*: Disabled
Mcast IPv6 scope  : mac-based           
Def. Gateway IP   : None                
Def. Gateway MAC  : None                
Temp Flood Time   : Disabled            Temp Flood        : Inactive
Temp Flood Chg Cnt: 0                   
SPI load-balance  : Disabled            
TEID load-balance : Disabled            
Src Tep IP        : N/A                 
Vxlan ECMP        : Disabled            
MPLS ECMP         : Disabled            
VSD Domain        : <none>
 
-------------------------------------------------------------------------------
Service Access & Destination Points
-------------------------------------------------------------------------------
Identifier                               Type         AdmMTU  OprMTU  Adm  Opr
-------------------------------------------------------------------------------
sap:1/1/4:0                              q-tag        9212    9212    Up   Up
sdp:1:1 S(10.10.10.1)                    Spok         0       9190    Up   Up
sdp:4:2 M(10.10.10.4)                    Mesh         0       9190    Up   Up
===============================================================================
* indicates that the corresponding row element may have been truncated.

Ping 192.168.0.2 from router R5. Ping 192.168.0.1 from router R6. The pings must be successful.

A:R5# ping 192.168.0.2 
PING 192.168.0.2 56 data bytes
64 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=19.4ms.
64 bytes from 192.168.0.2: icmp_seq=2 ttl=64 time=58.6ms.
64 bytes from 192.168.0.2: icmp_seq=3 ttl=64 time=14.0ms.
64 bytes from 192.168.0.2: icmp_seq=4 ttl=64 time=12.9ms.
64 bytes from 192.168.0.2: icmp_seq=5 ttl=64 time=2.05ms.

---- 192.168.0.2 PING Statistics ----
5 packets transmitted, 5 packets received, 0.00% packet loss
round-trip min = 2.05ms, avg = 21.4ms, max = 58.6ms, stddev = 19.4ms

A:R6# ping 192.168.0.1 
PING 192.168.0.1 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=14.1ms.
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=2.29ms.
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=10.7ms.
64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=2.94ms.
64 bytes from 192.168.0.1: icmp_seq=5 ttl=64 time=2.04ms.

---- 192.168.0.1 PING Statistics ----
5 packets transmitted, 5 packets received, 0.00% packet loss
round-trip min = 2.04ms, avg = 6.42ms, max = 14.1ms, stddev = 5.02ms

Check MAC addresses are learned

A:R1# show service id 1 fdb detail 

===============================================================================
Forwarding Database, Service 1
===============================================================================
ServId     MAC               Source-Identifier       Type     Last Change
            Transport:Tnl-Id                         Age      
-------------------------------------------------------------------------------
1          50:00:00:05:00:03 sap:1/1/4:0             L/29     08/02/21 03:06:37
1          50:00:00:06:00:03 sdp:2:1                 L/29     08/02/21 03:06:37
-------------------------------------------------------------------------------
No. of MAC Entries: 2
-------------------------------------------------------------------------------
Legend:  L=Learned O=Oam P=Protected-MAC C=Conditional S=Static Lf=Leaf
===============================================================================
A:R2# show service id 2 fdb detail 

===============================================================================
Forwarding Database, Service 2
===============================================================================
ServId     MAC               Source-Identifier       Type     Last Change
            Transport:Tnl-Id                         Age      
-------------------------------------------------------------------------------
2          50:00:00:05:00:03 sdp:1:1                 L/30     08/02/21 03:06:38
2          50:00:00:06:00:03 sap:1/1/4:0             L/30     08/02/21 03:06:38
-------------------------------------------------------------------------------
No. of MAC Entries: 2
-------------------------------------------------------------------------------
Legend:  L=Learned O=Oam P=Protected-MAC C=Conditional S=Static Lf=Leaf
===============================================================================

Download full config and unl file of lab Basic VPLS Configuration on Nokia Service Routers

If you have any questions or need to discuss, do not hesitate to comment below.

Để lại một bình luận