GNS3实现VPLS实验
拓扑
PE1配置
mpls ip mpls ldp router-id Loopback0 interface Loopback0 ip address 1.1.1.1 255.255.255.255 interface FastEthernet1/0 ip address 10.10.10.1 255.255.255.0 duplex auto speed auto mpls ip
interface FastEthernet1/1 no ip address duplex full speed 100 no keepalive no cdp enable xconnect 4.4.4.4 1001 encapsulation mpls router ospf 1 router-id 1.1.1.1 log-adjacency-changes network 1.1.1.1 0.0.0.0 area 0 network 10.10.10.0 0.0.0.255 area 0 |
3. PE2配置
mpls ip mpls ldp router-id Loopback0 interface Loopback0 ip address 2.2.2.2 255.255.255.255 interface FastEthernet1/0 ip address 10.10.10.2 255.255.255.0 duplex auto speed auto mpls ip
interface FastEthernet1/1 no ip address duplex full speed 100 no keepalive no cdp enable xconnect 4.4.4.4 1001 encapsulation mpls router ospf 1 router-id 2.2.2.2 log-adjacency-changes network 2.2.2.2 0.0.0.0 area 0 network 10.10.10.0 0.0.0.255 area 0 |
4. PE3配置
mpls ip mpls ldp router-id Loopback0 interface Loopback0 ip address 3.3.3.3 255.255.255.255 interface FastEthernet1/0 ip address 10.10.10.3 255.255.255.0 duplex auto speed auto mpls ip
interface FastEthernet1/1 no ip address duplex full speed 100 no keepalive no cdp enable xconnect 4.4.4.4 1001 encapsulation mpls router ospf 1 router-id 3.3.3.3 log-adjacency-changes network 3.3.3.3 0.0.0.0 area 0 network 10.10.10.0 0.0.0.255 area 0 |
5. CSR1000v配置
license boot level premium <先敲此命令后 reboot CSR1000v> mpls ip mpls ldp router-id Loopback0 interface Loopback0 ip address 4.4.4.4 255.255.255.255 interface FastEthernet1/0 ip address 10.10.10.4 255.255.255.0 duplex auto speed auto mpls ip router ospf 1 router-id 4.4.4.4 log-adjacency-changes network 4.4.4.4 0.0.0.0 area 0 network 10.10.10.0 0.0.0.255 area 0 l2 vif VPLS manual *** id 1001 bridge-domain 1001 neighbor 3.3.3.3 encapsulation mpls no-split-horizon neighbor 2.2.2.2 encapsulation mpls no-split-horizon neighbor 1.1.1.1 encapsulation mpls no-split-horizon |
6. CE1配置
interface Loopback0 ip address 192.168.1.1 255.255.255.255 interface FastEthernet0/0 ip address 10.10.123.1 255.255.255.0 duplex auto speed auto router eigrp 1 network 192.168.1.0 network 0.0.0.0 no auto-summary |
7. CE2配置
interface Loopback0 ip address 192.168.1.2 255.255.255.255 interface FastEthernet0/0 ip address 10.10.123.2 255.255.255.0 duplex auto speed auto router eigrp 1 network 192.168.1.0 network 0.0.0.0 no auto-summary |
8. CE3配置
interface Loopback0 ip address 192.168.1.3 255.255.255.255 interface FastEthernet0/0 ip address 10.10.123.3 255.255.255.0 duplex auto speed auto router eigrp 1 network 192.168.1.0 network 0.0.0.0 no auto-summary |
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341