Huawei SmartAX MA5603T Configuration Manual page 528

Access module
Hide thumbs Also See for SmartAX MA5603T:
Table of Contents

Advertisement

SmartAX MA5600T/MA5603T/MA5608T Multi-service
Access Module
Commissioning and Configuration Guide
4.
5.
Step 2 Configure VLAN, and enable MPLS for VLAN and VLAN interfaces.
1.
2.
3.
Step 3 Configure routes.
VPLS has no special requirements on routing policy. You can use static route, RIP, or OSPF
policy. In the following example, OSPF is used.
Set the OSPF process ID to 100 and OSPF area ID to 1. In addition, configure the interfaces
(VLAN interface and loopback interface) that run OSPF and configure the areas of the interfaces.
huawei(config)#ospf 1
huawei(config-ospf-1)#area 100
huawei(config-ospf-1-area-0.0.0.100)#network 10.50.50.0 0.0.0.255
huawei(config-ospf-1-area-0.0.0.100)#network 10.10.10.10 0.0.0.0
huawei(config-ospf-1-area-0.0.0.100)#return
Step 4 Configure the remote LDP session.
Configure the remote LDP session from the MA5600T/MA5603T/MA5608T to PE1 (LSR ID:
5.5.5.5), PE2 (LSR ID: 2.2.2.2), PE3 (LSR ID: 3.3.3.3), and PE4 (LSR ID: 4.4.4.4) respectively.
Name the sessions to_pe1, to_pe2, to_pe3, and to_pe4 respectively.
huawei(config)#mpls ldp remote-peer to_pe1
huawei(config-mpls-ldp-remote-to_pe1)#remote-ip 5.5.5.5
huawei(config-mpls-ldp-remote-to_pe1)#remote-ip auto-dod-request
huawei(config-mpls-ldp-remote-to_pe1)#quit
huawei(config)#mpls ldp remote-peer to_pe2
huawei(config-mpls-ldp-remote-to_pe2)#remote-ip 2.2.2.2
huawei(config-mpls-ldp-remote-to_pe2)#remote-ip auto-dod-request
huawei(config-mpls-ldp-remote-to_pe2)#quit
huawei(config)#mpls ldp remote-peer to_pe3
huawei(config-mpls-ldp-remote-to_pe3)#remote-ip 3.3.3.3
huawei(config-mpls-ldp-remote-to_pe3)#remote-ip auto-dod-request
huawei(config-mpls-ldp-remote-to_pe3)#quit
huawei(config)#mpls ldp remote-peer to_pe4
huawei(config-mpls-ldp-remote-to_pe4)#remote-ip 4.4.4.4
huawei(config-mpls-ldp-remote-to_pe4)#remote-ip auto-dod-request
huawei(config-mpls-ldp-remote-to_pe4)#quit
Issue 01 (2014-04-30)
huawei(config)#mpls
huawei(config-mpls)#lsp-trigger host
huawei(config-mpls)#quit
Enable the L2VPN function.
huawei(config)#mpls l2vpn
Enable LDP globally.
huawei(config)#mpls ldp
huawei(config-mpls-ldp)#quit
Add VLAN 4001 for forwarding MPLS packets and add four upstream ports to it.
huawei(config)#vlan 4001 smart
huawei(config)#port vlan 4001 0/19 0
huawei(config)#port vlan 4001 0/19 1
huawei(config)#port vlan 4001 0/20 0
huawei(config)#port vlan 4001 0/20 1
Enable MPLS for VLAN 4001.
huawei(config)#mpls vlan 4001
Set the IP address of VLAN interface 4001 to 10.50.50.50/24 and enable MPLS LDP for
the VLAN interface.
huawei(config)#interface vlanif 4001
huawei(config-if-vlanif4001)#ip address 10.50.50.50 24
huawei(config-if-vlanif4001)#mpls
huawei(config-if-vlanif4001)#mpls ldp
huawei(config-if-vlanif4001)#quit
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Configuration Example of VPLS
503

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smartax ma5600tSmartax ma5608t

Table of Contents