3com S7906E Manuel De Montage

Page de 2621
 
1-25 
[NPE1] mpls ldp 
[NPE1–mpls-ldp] quit 
# Configure MPLS basic capability on the interface connected with UPE. 
[NPE1] interface vlan-interface 13 
[NPE1-Vlan-interface10] ip address 13.1.1.2 24 
[NPE1-Vlan-interface10] mpls 
[NPE1-Vlan-interface10] mpls ldp 
[NPE1-Vlan-interface10] quit 
# Configure MPLS basic capability on the interface connected with NPE 3. 
[NPE1] interface vlan-interface 15 
[NPE1-Vlan-interface15] ip address 15.1.1.1 24 
[NPE1-Vlan-interface15] mpls 
[NPE1-Vlan-interface15] mpls ldp 
[NPE1-Vlan-interface15] quit 
# Configure the remote LDP session with UPE. 
[NPE1] mpls ldp remote-peer 2 
[NPE1-mpls-remote-2] remote-ip 1.1.1.1 
[NPE1-mpls-remote-2] quit 
# Configure the remote LDP session with NPE 3. 
[NPE1] mpls ldp remote-peer 3 
[NPE1-mpls-remote-3] remote-ip 4.4.4.4 
[NPE1-mpls-remote-3] quit 
# Configure MPLS L2VPN. 
[NPE1] mpls l2vpn 
# Configure the basic attributes of VPLS instance aaa, which uses LDP. 
[NPE1] vsi aaa static 
[NPE1-vsi-aaa] pwsignal ldp 
[NPE1-vsi-aaa-ldp] vsi-id 500 
[NPE1-vsi-aaa-ldp] peer 1.1.1.1 upe 
[NPE1-vsi-aaa-ldp] peer 4.4.4.4 
[NPE1-vsi-aaa-ldp] quit 
[NPE1-vsi-aaa] quit 
The configuration procedure on NPE 2 is similar to that on NPE 1, and therefore is omitted.  
4)  Configure NPE 3 
# Configure MPLS basic capability. 
<Sysname> system-view 
[Sysname] sysname NPE3 
[NPE3] interface loopback 0 
[NPE3-LoopBack0] ip address 4.4.4.4 32 
[NPE3-LoopBack0] quit 
[NPE3] mpls lsr-id 4.4.4.4 
[NPE3] mpls 
[NPE3–mpls] quit 
[NPE3] mpls ldp