Huawei SmartAX MA5603T Configuration Manual page 447

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
huawei(config)#mpls ldp
huawei(config-mpls-ldp)#quit
NOTE
l Only one session can exist between two LSRs and a local LDP session takes priority over a remote LDP
session. To simplify the configuration, assume that the MA5600T/MA5603T/MA5608T is directly
connected to the PTN. Hence, you need to enable only the LDP function (the local LDP session is
automatically set up after the LDP function is enabled).
l If the MA5600T/MA5603T/MA5608T is not directly connected to the PTN, after the LDP function is
enabled, run the mpls ldp remote-peer command to create an LDP remote peer and then enter the remote
peer mode. Then, run the remote-ipip-addr command to specify the ID of the remote LSR.
l For detailed configurations, see Configuring the LDP LSP.
Step 3 Configure a VLAN and enable MPLS for the VLAN and the VLAN interface.
Add VLAN 4001 for forwarding MPLS packets and add an upstream port to it.
huawei(config)#vlan 4001 smart
huawei(config)#port vlan 4001 0/19/0
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
Step 4 Configure a route.
PWE3 has no special requirements for the routing policy. A static route, or dynamic RIP, or
OSPF route can be configured. An OSPF dynamic route is recommended because OSPF supports
MPLS RSVP-TE extension.
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 3.3.3.3 0.0.0.0
huawei(config-ospf-1-area-0.0.0.100)#return
Step 5 Configure a PWE3 outer tunnel.
Set the tunnel ID to 10 and the encapsulation protocol of the tunnel interface at the data link
layer to MPLS IP.
huawei(config)#interface tunnel 10
huawei(config-if-tunnel10)#tunnel-protocol mpls ip
Set the destination IP address of the tunnel to the LSR ID of the PTN 9.9.9.9.
huawei(config-if-tunnel10)#destination 9.9.9.9
huawei(config-if-tunnel10)#quit
Step 6 Configure the tunnel policy.
Set the policy name to ip_policy.
Issue 01 (2014-04-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 Configuration Example of the Private Line Service
422

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smartax ma5600tSmartax ma5608t

Table of Contents