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

Скачать
Страница из 2621
 
1-61 
Configuration procedure 
1)  Configure PE 1 
# Run IS-IS on PE 1. 
<PE1> system-view 
[PE1] isis 1 
[PE1-isis-1] network-entity 10.111.111.111.111.00 
[PE1-isis-1] quit 
# Configure LSR ID, enable MPLS and LDP. 
[PE1] mpls lsr-id 2.2.2.9 
[PE1] mpls 
[PE1-mpls] label advertise non-null 
[PE1-mpls] quit 
[PE1] mpls ldp 
[PE1-mpls-ldp] quit 
# Configure interface VLAN-interface 12, start IS-IS and enable MPLS and LDP on the interface. 
[PE1] interface vlan-interface 12 
[PE1-Vlan-interface12] ip address 1.1.1.2 255.0.0.0 
[PE1-Vlan-interface12] isis enable 1 
[PE1-Vlan-interface12] mpls 
[PE1-Vlan-interface12] mpls ldp 
[PE1-Vlan-interface12] quit 
# Configure interface Loopback 0 and start IS-IS on it. 
[PE1] interface loopback 0 
[PE1-LoopBack0] ip address 2.2.2.9 32 
[PE1-LoopBack0] isis enable 1 
[PE1-LoopBack0] quit 
# Create VPN instance vpn1 and configure the RD and VPN target attributes. 
[PE1] ip vpn-instance vpn1 
[PE1-vpn-instance-vpn1] route-distinguisher 11:11 
[PE1-vpn-instance-vpn1] vpn-target 1:1 2:2 3:3 import-extcommunity 
[PE1-vpn-instance-vpn1] vpn-target 3:3 export-extcommunity 
[PE1-vpn-instance-vpn1] quit 
# Bind the interface connected with CE 1 to the created VPN instance. 
[PE1] interface vlan-interface 11 
[PE1-Vlan-interface11] ip binding vpn-instance vpn1 
[PE1-Vlan-interface11] ip address 30.0.0.1 8 
[PE1-Vlan-interface11] quit 
# Start BGP on PE 1. 
[PE1] bgp 100 
# Configure IBGP peer 3.3.3.9 as a VPNv4 peer. 
[PE1-bgp] peer 3.3.3.9 as-number 100 
[PE1-bgp] peer 3.3.3.9 connect-interface loopback 0 
[PE1-bgp] ipv4-family vpnv4