码迷,mamicode.com
首页 > 其他好文 > 详细

HCIE实验复习(1)

时间:2017-03-24 12:07:42      阅读:230      评论:0      收藏:0      [点我收藏+]

标签:cost   dream   nbsp   vlan   梦想   bsp   mstp   oal   bin   

A goal is a dream with a deadline.

目标就是给梦想设定一个期限

 

先做题目2再做题目1,要让eth-trunk形成环路

TAC-1 MSTP Site1

  [LSW3]stp mode mstp

  [LSW3]inter e0/0/21-22

  [LSW3-Ethernet]dis this

  [LSW3-Ethernet]port trunk allow-pass vlan all

  [LSW3-Ethernet]undo stp instance 1/2 cost

 

  [LSW1]inter e0/0/21

  [LSW1-Ethernet]port trunk allow-pass vlan all

  

  [LSW2]dis curr

  [LSW2]stp instance 2 root primary

  [LSW2]stp region-configuration

  [LSW2]instance 1 vlan 12

  [LSW2]instance 2 vlan 34

  [LSW2]active region-configuration

TAC-2 Eth-trunk Site1

  [LSW1]inter e0/0/18-20                     #删除LSW1跟LSW2关于eth-trunk的配置

  [LSW1]undo eth-trunk

  [LSW1]undo inter eth-trunk 12

  [LSW2]inter e0/0/18-20

  [LSW2]undo eth-trunk

  [LSW2]undo inter eth-trunk 12

 

  [LSW1]inter eth-trunk 12                   #配置eth-trunk,LSW2上配置相同,最后dis eth-trunk 12验证配置

  [LSW1-Eth-Trunk12]mode lacp-static

  [LSW1-Eth-Trunk12]load-balance src-dst-ip

  [LSW1-Eth-Trunk12]trunkport Ethernet 0/0/18 to 0/0/20

  [LSW1-Eth-Trunk12]port link-type trunk

  [LSW1-Eth-Trunk12]port trunk allow-pass vlan all

TAC-3 BGP Adv Site1+AR1

  [LSW1]bgp 100                                                       #AR1分别与LSW1、LSW2建立EBGP邻居

  [LSW1-bgp]router-id 10.1.100.100

  [LSW2]bgp 100

  [LSW2-bgp]router-id 10.1.200.200

  [AR1]bgp 100

  [AR1-bgp]ipv4 vpn-instance 1

  [AR1-bgp-1]peer 10.1.200.200 as-number 300

  [AR1]inter g2/0/1

  [AR1-G]ip binding vpn-instance 1 

  [AR1-G]ip address 10.1.100.1 255.255.255.0

 

 

 

 

  

 

  

 

HCIE实验复习(1)

标签:cost   dream   nbsp   vlan   梦想   bsp   mstp   oal   bin   

原文地址:http://www.cnblogs.com/xuebing666666/p/6600392.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!