BGP/MPLSVPN配置实验

来源:思科认证    发布时间:2012-11-09    思科认证视频    评论


  interface Loopback1
  ip address 10.40.0.1 255.255.0.0
  !
  interface Serial1/0
  ip address 172.16.4.2 255.255.255.0
  !
  router bgp 65002
  no synchronization
  bgp log-neighbor-changes
  network 10.20.0.0 mask 255.255.0.0
  network 10.40.0.0 mask 255.255.0.0
  neighbor 172.16.4.1 remote-as 4837
  no auto-summary
  !
  结果验证:
  CEA# show ip route
  Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
  D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
  N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
  E1 - OSPF external type 1, E2 - OSPF external type 2
  i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
  ia - IS-IS inter area, * - candidate default, U - per-user static route
  o - ODR, P - periodic downloaded static route
  Gateway of last resort is not set
  172.16.0.0/24 is subnetted, 2 subnets
  B 172.16.4.0 [20/0] via 172.16.3.1, 00:06:50
  C 172.16.3.0 is directly connected, Serial1/1
  10.0.0.0/16 is subnetted, 3 subnets
  C 10.10.0.0 is directly connected, Loopback0
  B 10.20.0.0 [20/0] via 172.16.3.1, 00:06:50
  B 10.40.0.0 [20/0] via 172.16.3.1, 00:06:50
  CEA#
  CEA#ping ip
  Target IP address: 10.40.0.1
  Repeat count [5]:
  Datagram size [100]:
  Timeout in seconds [2]: 10
  Extended commands [n]:
  Sweep range of sizes [n]:
  Type escape sequence to abort.
  Sending 5, 100-byte ICMP Echos to 10.40.0.1, timeout is 10 seconds:
  !!!!!
  Success rate is 100 percent (5/5), round-trip min/avg/max = 1400/2528/4192 ms
  CEA#
  CEC# show ip route
  Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
  D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
  N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
  E1 - OSPF external type 1, E2 - OSPF external type 2
  i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-
  ia - IS-IS inter area, * - candidate default, U - per-user static ro
  o - ODR, P - periodic downloaded static route
  Gateway of last resort is not set
  C 192.168.10.0/24 is directly connected, Loopback0
  172.16.0.0/30 is subnetted, 2 subnets
  C 172.16.5.0 is directly connected, Serial1/1
  B 172.16.5.4 [20/0] via 172.16.5.1, 00:09:20
  B 192.168.100.0/24 [20/0] via 172.16.5.1, 00:09:20
  CEC#
  CEC#ping ip
  Target IP address: 192.168.100.1
  Repeat count [5]:
  Datagram size [100]:
  Timeout in seconds [2]: 10
  Extended commands [n]:
  Sweep range of sizes [n]:
  Type escape sequence to abort.
  Sending 5, 100-byte ICMP Echos to 192.168.100.1, timeout is 10 seconds:
  !!!!.
  Success rate is 80 percent (4/5), round-trip min/avg/max = 1256/1972/3144 ms
  CEC#
  Comment:
  终于在我的小本上实现了BGP/MPLS VPN,算是先僵化吧,当然还要继续固化,最后才有可能优化。

  编辑特别推荐:

  成本速度成关键解析 四种宽带接入技术

  常用TCP端口作用及其操作建议

  统一通信将成为IP语音未来发展趋势

  提高企业网络可靠性的捷径

  防御攻击策略之保持领先黑客一步

  网络安全八个潜规则

上一页234下一页

视频学习

我考网版权与免责声明

① 凡本网注明稿件来源为"原创"的所有文字、图片和音视频稿件,版权均属本网所有。任何媒体、网站或个人转载、链接转贴或以其他方式复制发表时必须注明"稿件来源:我考网",违者本网将依法追究责任;

② 本网部分稿件来源于网络,任何单位或个人认为我考网发布的内容可能涉嫌侵犯其合法权益,应该及时向我考网书面反馈,并提供身份证明、权属证明及详细侵权情况证明,我考网在收到上述法律文件后,将会尽快移除被控侵权内容。

最近更新

社区交流

考试问答