Инструкции По Установке для 3com S7906E

Скачать
Страница из 2621
 
1-28 
Configuration procedure 
1)  Configure IGP on the MPLS backbone 
This example uses OSPF. The detailed configuration steps are omitted. 
After configuration, issuing the display ip routing-table command on each LSR, you should see that it 
has learned the routes to the LSR IDs of the other LSRs. Issuing the display ospf peer command, you 
should see that OSPF adjacencies have been established and reached the state of Full. 
2)  Configure MPLS basic capability and LDP to establish LDP LSPs 
The detailed configuration steps are omitted. 
After configuration, you can issue the display mpls ldp session and display mpls ldp peer 
commands to view the LDP sessions and peer relationship established, or the display mpls lsp 
command to view the LSPs established. 
3)  Configure BGP L2VPN capability 
# Configure PE 1. 
<Sysname> system-view 
[Sysname] sysname PE1 
[PE1] mpls l2vpn 
[PE1] bgp 100 
[PE1-bgp] peer 4.4.4.4 as-number 100 
[PE1-bgp] peer 4.4.4.4 connect-interface loopback 0 
[PE1-bgp] l2vpn-family 
[PE1-bgp-af-l2vpn] policy vpn-target 
[PE1-bgp-af-l2vpn] peer 4.4.4.4 enable 
[PE1-bgp-af-l2vpn] quit 
[PE1-bgp] quit 
# Configure PE 2. 
<Sysname> system-view 
[Sysname] sysname PE2 
[PE2] mpls l2vpn 
[PE2] bgp 100 
[PE2-bgp] peer 2.2.2.2 as-number 100 
[PE2-bgp] peer 2.2.2.2 connect-interface loopback 0 
[PE2-bgp] l2vpn-family 
[PE2-bgp-af-l2vpn] policy vpn-target 
[PE2-bgp-af-l2vpn] peer 2.2.2.2 enable 
[PE2-bgp-af-l2vpn] quit 
[PE2-bgp] quit 
After completing the above configurations, you can issue the display bgp l2vpn peer command on PE 
1 and PE 2 to view the peer relationship established between the PEs. The status should be 
Established. The following takes PE 1 as an example: 
[PE1] display bgp l2vpn peer 
BGP local router ID : 2.2.2.2 
 Local AS number : 100 
 Total number of peers : 1                 Peers in established state : 1 
  Peer         AS   MsgRcvd   MsgSent  OutQ PrefRcv Up/Down  State