# Configure PE3.
[PE3] mpls lsr-id 3.3.3.3
[PE3] mpls
[PE3-mpls] quit
[PE3] interface vlanif 30
[PE3-Vlanif30] mpls
[PE3-Vlanif30] quit
Step 5 Set up an MPLS TE tunnel between PE1 and PE3, and an LSP between PE1 and PE2.
# Configure PE1.
[PE1] mpls
[PE1-mpls] mpls te
[PE1-mpls] mpls rsvp-te
[PE1-mpls] mpls te cspf
[PE1-mpls] quit
[PE1] interface vlanif 20
[PE1-Vlanif20] mpls te
[PE1-Vlanif20] mpls rsvp-te
[PE1-Vlanif20] mpls te max-link-bandwidth 50
[PE1-Vlanif20] mpls te max-reservable-bandwidth 30
[PE1-Vlanif20] quit
[PE1] interface tunnel2/0/0
[PE1-Tunnel2/0/0] ip address unnumbered interface loopback1
[PE1-Tunnel2/0/0] tunnel-protocol mpls te
[PE1-Tunnel2/0/0] destination 3.3.3.3
[PE1-Tunnel2/0/0] mpls te tunnel-id 103
[PE1-Tunnel2/0/0] mpls te bandwidth bc0 20
[PE1-Tunnel2/0/0] mpls te commit
[PE1-Tunnel2/0/0] quit
[PE1] ospf 1
[PE1-ospf-1] opaque-capability enable
[PE1-ospf-1] area 0
[PE1-ospf-1-area-0.0.0.0] mpls-te enable
# Configure the P.
[P] mpls
[P-mpls] mpls te
[P-mpls] mpls rsvp-te
[P-mpls] quit
[P] interface vlanif 20
[P-Vlanif20] mpls te
[P-Vlanif20] mpls rsvp-te
[P-Vlanif20] mpls te max-link-bandwidth 50
[P-Vlanif20] mpls te max-reservable-bandwidth 30
[P-Vlanif20] quit
[P] interface vlanif 30
[P-Vlanif30] mpls te
[P-Vlanif30] mpls rsvp-te
[P-Vlanif30] mpls te max-link-bandwidth 50
[P-Vlanif30] mpls te max-reservable-bandwidth 30
[P-Vlanif30] quit
[P] ospf 1
[P-ospf-1] opaque-capability enable
[P-ospf-1] area 0
[P-ospf-1-area-0.0.0.0] mpls-te enable
# Configure PE3.
[PE3] mpls
[PE3-mpls] mpls te
[PE3-mpls] mpls rsvp-te
[PE3-mpls] mpls te cspf
[PE3-mpls] quit
[PE3] interface vlanif 30
[PE3-Vlanif30] mpls te
[PE3-Vlanif30] mpls rsvp-te
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN 4 VLL Configuration
Issue 03 (2009-08-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4-91