日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

DynamipsGUI2.8 交换模块试用(Etherchannel)

發布時間:2023/12/31 编程问答 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 DynamipsGUI2.8 交换模块试用(Etherchannel) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
今天試用了一下DynamipsGUI 2.8,之前都用的Boson NetSim7.02,總體來說還是相當不錯的,不過上星期想做一下Etherchannel的實驗時發現Boson沒有這些命令......于是就決定去用DynamipsGUI了。 測試用的是兩臺3640建立Etherchannel連接,具體怎么使用DynamipsGUI我就不詳細說了,大家可以搜一下博客。 添加的模塊是NW-16ESW,也就是交換模塊 分別連接兩臺3640的f0/0和f0/1接口 之后用SecureCRT分別連接兩臺路由器,地址為127.0.0.1,端口分別為2001和2002。 R1的配置如下: Router#conf t
Enter configuration commands, one per line.? End with CNTL/Z.
Router(config)#host
Router(config)#hostname R1 R1(config)#int range fastEthernet 0/0 - 1
R1(config-if-range)#chan
R1(config-if-range)#channel-group 1 mode on
Creating a port-channel interface Port-channel1
R1(config-if-range)#
*Mar? 1 00:07:29.327: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up
*Mar? 1 00:07:30.327: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state to down
R1(config-if-range)#switch mode trunk
R1(config-if-range)#no shut R1(config-if-range)# *Mar? 1 00:08:15.467: %EC-5-BUNDLE: Interface Fa0/0 joined port-channel Po1
*Mar? 1 00:08:15.663: %EC-5-BUNDLE: Interface Fa0/1 joined port-channel Po1
*Mar? 1 00:08:15.951: %DTP-5-TRUNKPORTON: Port Fa0/0-1 has become dot1q trunk
*Mar? 1 00:08:17.307: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar? 1 00:08:17.319: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Mar? 1 00:08:17.495: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up
*Mar? 1 00:08:18.307: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
*Mar? 1 00:08:18.319: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
*Mar? 1 00:08:18.495: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state to up 接下來設置vlan和vtp R1#vlan data
R1#vlan database R1(vlan)#vtp server
Device mode already VTP SERVER.
R1(vlan)#vtp domain cisco?
Changing VTP domain name from NULL to cisco
R1(vlan)#vtp password cisco
Setting device VLAN database password to cisco. R1(vlan)#apply
APPLY completed.
R1(vlan)#vlan 100 name cisco
VLAN 100 added:
??? Name: cisco
R1(vlan)#exit
APPLY completed.
Exiting....
R1# R2配置如下 Router>ena
Router#conf t
Enter configuration commands, one per line.? End with CNTL/Z.
Router(config)#host R2
R2(config)#int ran f0/0 - 1
R2(config-if-range)#chan
R2(config-if-range)#channel-group 1 mode on
Creating a port-channel interface Port-channel1
R2(config-if-range)#
*Mar? 1 00:15:39.495: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up
*Mar? 1 00:15:40.495: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state to down
R2(config-if-range)#switch mode trunk
R2(config-if-range)#no shut
R2(config-if-range)#
*Mar? 1 00:16:13.195: %EC-5-BUNDLE: Interface Fa0/0 joined port-channel Po1
*Mar? 1 00:16:13.379: %EC-5-BUNDLE: Interface Fa0/1 joined port-channel Po1
*Mar? 1 00:16:13.679: %DTP-5-TRUNKPORTON: Port Fa0/0-1 has become dot1q trunk
*Mar? 1 00:16:15.035: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar? 1 00:16:15.047: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Mar? 1 00:16:15.223: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up
*Mar? 1 00:16:16.035: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
*Mar? 1 00:16:16.047: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
*Mar? 1 00:16:16.223: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state to up
R2(config-if-range)# R2#vlan data
R2#vlan database
R2(vlan)#vtp domain cisco
Changing VTP domain name from NULL to cisco
R2(vlan)#vtp pass cisco
Setting device VLAN database password to cisco. R2(vlan)#vtp client
Setting device to VTP CLIENT mode. 最后show interface portchannel 1和show interface protchannel 1 switchport就可以看到相應的結果: R1#sh int port-channel 1
Port-channel1 is up, line protocol is up
? Hardware is EtherChannel, address is cc00.0808.f000 (bia cc00.0808.f000)
? MTU 1500 bytes, BW 200000 Kbit, DLY 1000 usec,
???? reliability 255/255, txload 1/255, rxload 1/255
? Encapsulation ARPA, loopback not set
? Keepalive set (10 sec)
? Full-duplex, 100Mb/s
? Members in this channel: Fa0/0 Fa0/1
? ARP type: ARPA, ARP Timeout 04:00:00
? Last input 00:01:35, output never, output hang never
? Last clearing of "show interface" counters never
? Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
? Queueing strategy: fifo
? Output queue: 0/40 (size/max)
? 5 minute input rate 0 bits/sec, 0 packets/sec
? 5 minute output rate 0 bits/sec, 0 packets/sec
???? 0 packets input, 0 bytes, 0 no buffer
???? Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
???? 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
???? 0 input packets with dribble condition detected
???? 0 packets output, 0 bytes, 0 underruns
???? 0 output errors, 0 collisions, 1 interface resets
???? 0 babbles, 0 late collision, 0 deferred
???? 0 lost carrier, 0 no carrier
???? 0 output buffer failures, 0 output buffers swapped out
R1# R1#sh int port-channel 1 switchport
Name: Po1
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: 1,100
Priority for untagged frames: 0
Override vlan tag priority: FALSE
Voice VLAN: none
Appliance trust: none R2#sh int port-channel 1
Port-channel1 is up, line protocol is up
? Hardware is EtherChannel, address is cc00.0b7c.f000 (bia cc00.0b7c.f000)
? MTU 1500 bytes, BW 200000 Kbit, DLY 1000 usec,
???? reliability 255/255, txload 1/255, rxload 1/255
? Encapsulation ARPA, loopback not set
? Keepalive set (10 sec)
? Full-duplex, 100Mb/s
? Members in this channel: Fa0/0 Fa0/1
? ARP type: ARPA, ARP Timeout 04:00:00
? Last input 00:00:01, output never, output hang never
? Last clearing of "show interface" counters never
? Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
? Queueing strategy: fifo
? Output queue: 0/40 (size/max)
? 5 minute input rate 0 bits/sec, 0 packets/sec
? 5 minute output rate 0 bits/sec, 0 packets/sec
???? 0 packets input, 0 bytes, 0 no buffer
???? Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
???? 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
???? 0 input packets with dribble condition detected
???? 0 packets output, 0 bytes, 0 underruns
???? 0 output errors, 0 collisions, 1 interface resets
???? 0 babbles, 0 late collision, 0 deferred
???? 0 lost carrier, 0 no carrier
???? 0 output buffer failures, 0 output buffers swapped out 可以看到帶寬變成200M了,在R2上show vlan也能看到R1建立了vlan 100: R2#sh vlan-switch VLAN Name???????????????????????????? Status??? Ports
---- -------------------------------- --------- -------------------------------
1??? default????????????????????????? active??? Fa0/2, Fa0/3, Fa0/4, Fa0/5
??????????????????????????????????????????????? Fa0/6, Fa0/7, Fa0/8, Fa0/9
??????????????????????????????????????????????? Fa0/10, Fa0/11, Fa0/12, Fa0/13
??????????????????????????????????????????????? Fa0/14, Fa0/15
100? cisco??????????????????????????? active???
1002 fddi-default???????????????????? active???
1003 token-ring-default?????????????? active???
1004 fddinet-default????????????????? active???
1005 trnet-default??????????????????? active??? VLAN Type? SAID?????? MTU?? Parent RingNo BridgeNo Stp? BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1??? enet? 100001???? 1500? -????? -????? -??????? -??? -??????? 1002?? 1003
100? enet? 100100???? 1500? -????? -????? -??????? -??? -??????? 0????? 0??
1002 fddi? 101002???? 1500? -????? 0????? -??????? -??? -??????? 1????? 1003
1003 tr??? 101003???? 1500? 1005?? 0????? -??????? -??? srb????? 1????? 1002
1004 fdnet 101004???? 1500? -????? -????? 1??????? ibm? -??????? 0????? 0??
1005 trnet 101005???? 1500? -????? -????? 1??????? ibm? -??????? 0????? 0??
R2# 好了,總結一下,DynamipsGUI支持交換之后可以做更多的二層實驗了,用起來也比Boson舒服多,例如Boson里面show interface switchport是沒有提示這條指令的,但你輸入完整的話還是有這個功能的,之前做實驗時也郁悶了好久......還有關于Etherchannel的,在實際應用中做vtp冗余也不少,不過我覺得與其做冗余,還不如做Etherchannel,提供冗余的同時也能增加帶寬,可以綁定2個,4個和8個端口,這樣兩臺6500之間用8個1000M端口綁定Etherchennel就可以提供10Gbit的帶寬了,成本也節約不少。 以后有時間再測試一下DynamipsGUI在BCMSN實驗方面的支持如何,要先在實驗室了解一下才行=v=

轉載于:https://blog.51cto.com/zeroyang/91523

總結

以上是生活随笔為你收集整理的DynamipsGUI2.8 交换模块试用(Etherchannel)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。