Cisco设备及华为设备的联合配置.doc

上传人:飞****9 文档编号:136107442 上传时间:2020-06-24 格式:DOC 页数:14 大小:138.50KB
返回 下载 相关 举报
Cisco设备及华为设备的联合配置.doc_第1页
第1页 / 共14页
Cisco设备及华为设备的联合配置.doc_第2页
第2页 / 共14页
Cisco设备及华为设备的联合配置.doc_第3页
第3页 / 共14页
Cisco设备及华为设备的联合配置.doc_第4页
第4页 / 共14页
Cisco设备及华为设备的联合配置.doc_第5页
第5页 / 共14页
点击查看更多>>
资源描述

《Cisco设备及华为设备的联合配置.doc》由会员分享,可在线阅读,更多相关《Cisco设备及华为设备的联合配置.doc(14页珍藏版)》请在金锄头文库上搜索。

1、Cisco设备与华为设备的相关配置实验一:干道的配置 1、 干道的定义什么是干道(trunk) 它是连接两台交换机的提供网络流量传输的物理或逻辑线路(也可用于路由器与交换机的互联)2、 干道的原理干道的原理 如果不使用它,两交换机的通信是什么样子。如果没有干道我们的交换机都是48口的,但有50个VLAN,这样的话,接口都被用做连接了,没有空闲的来连WORKS PC了。其实干道的技术就是绑定多条虚链路在一条实际的物理线路上,以允许交换机之间的多个VLAN可以传递数据量,中可见干道就像一条高速路,连接两个城市,而不同的车子都可以在上通行一样。在交换机上有两种链路一种是访问链路(access lin

2、k)另一种是干道链路(trunk link),访问链路一般属于某个VLAN的终端,干道链路连接的一般是多个交换设备为VLAN而互联,或交换设备与路由设备连接的链路。3、 干道工作过程干道的工作过程 即然可以在一条线路上传送多组信号,那么一定要用一种机制来识别不同的信号来自哪里。那就是标记(TAGGING)也就是说每一个数据帧都要进入干道接口后被标记上一个VLAN ID。以便接收端交换机知道此数据是从哪个VLAN传过来的。4、 以太网线路上主要有两种标记协议技术一、802.1q,它是IEEE于96年3月制定的干道标记标准,它会在数据帧准备通过干道时对数据帧头进行编辑,放置单一的4字节标识,以标识

3、数据帧来自哪个VLAN,交换机会读懂该标识,并做出相应的操作,就该数据帧离开干道时,此标识被去除,标记是在二层打上去的,对交换机的开销很小,由于802.1Q是由IEEE制定的,所以基本的厂商都支持。二、ISL封装技术,由CISCO自行开发(因此不能与其它设备一起使用)。它是在帧的前面和后面添加封装信息,其中包含了VLAN ID。它会在原来的帧上添加一个26字节的帧头和4字节的帧尾,帧头包含VLAN信息,帧尾包含循环校验码CRC,以保证新帧的数据完整。此协议对802.1Q进行了很好的补充。另外还有的一些干道技术如802.10是由IEEE制定的在光纤上使用的干道技术标准。实验:CISCO与华为设备

4、的VLAN互访5、 华为设备与Cisco设备的干道的配置1、Cisco设备的干道配置SwitchenSwitch#conf tSwitch(config)#vlan 20 #创建vlan 20Switch(config-vlan)#exitSwitch(config)#interface fa0/20Switch(config-if)#switchport access vlan 20 #将端口加入VLAN 20Switch(config-if)#exit Switch(config)#interface fa0/10 #进入接口Switch(config-if)#switchport mod

5、e trunk #声名此接口为干道(Trunk)Switch(config-if)#exitSwitch(config)#exitSwitch#exitSwitch #退入到用户模式SwitchenSwitch#sh int fa0/10 #fa0/10的具体配置及干道的具体配置FastEthernet0/10 is down, line protocol is down Hardware is Fast Ethernet, address is 000a.41fd.3d8a (bia 000a.41fd.3d8a) MTU 1500 bytes, BW 100000 Kbit, DLY 10

6、00 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Auto-duplex, Auto-speed input flow-control is off, output flow-control is off ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:05:56, output 00:05:55, output hang never Last clearin

7、g 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 194 packets input, 21026 bytes, 0 no buffer Rece

8、ived 184 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 31 multicast, 0 pause input 0 input packets with dribble condition detected 4823 packets output, 346429 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 babbles,

9、 0 late collision, 0 deferred 0 lost carrier, 0 no carrier, 0 PAUSE output 0 output buffer failures, 0 output buffers swapped out2、华为设备干道的配置sys #进入系统视图Quidwayvlan 20 #创建 VLAN 20Quidway-Ethernet0/20 interface e0/20Quidway-Ethernet0/20 port access vlan 20 #将此接口加入VLAN 20Quidway-Ethernet0/20quitQuidway

10、interface e0/10 #进入此接口Quidway-Ethernet0/10port link trunk #声名此接口为干道(Trunk)Quidway-Ethernet0/10port trunk permit vlan all #允许所有的VLAN 从e0/10端口透传通过,也可以指定具体的VLAN值Quidway-Ethernet0/10quitQuidwaydis int e0/10 #e0/10的具体的配置及干道的配置 Ethernet0/10 current state : UP IP Sending Frames Format is PKTFMT_ETHNT_2, Ha

11、rdware address is 00e0-fc22-41ca The Maximum Transmit Unit is 1500 Media type is twisted pair, loopback not set Port hardware type is 100_BASE_TX 100Mbps-speed mode, full-duplex mode Link speed type is autonegotiation, link duplex type is autonegotiation Flow-control is not supported The Maximum Fra

12、me Length is 1522 Broadcast MAX-ratio: 100% PVID: 1 Mdi type: auto Port link-type: trunk VLAN passing : 1(default vlan), 20 VLAN allowed : 1(default vlan), 2-4094 Trunk port encapsulation: IEEE 802.1q Last 5 minutes input: 4 packets/sec 285 bytes/sec Last 5 minutes output: 0 packets/sec 6 bytes/sec

13、Input(total): - packets, - bytes - broadcasts, - multicasts Input(normal): 3453 packets, 248639 bytes 1 broadcasts, 3335 multicasts Input: 0 input errors, 0 runts, 0 giants, - throttles, 0 CRC 0 frame, - overruns, 0 aborts, 0 ignored, - parity errors Output(total): - packets, - bytes - broadcasts, -

14、 multicasts, - pauses Output(normal): 165 packets, 18584 bytes 131 broadcasts, 25 multicasts, 0 pauses Output: 0 output errors, 0 underruns, - buffer failures 0 aborts, 0 deferred, 0 collisions, 0 late collisions 0 lost carrier, - no carrier实验测试:两台主机,分别将两台主机的网线连接到华为设备与Cisco设备上,将两台主机IP设置为1.1.1.1 255.

15、0.0.0 1.1.1.2 255.0.0.0互相ping 。ping通就是成功。#注意:交换机连接客户机的端口必须在同一VLAN当中否则失败,以上的两台设备分别为华为2403H交换机和Cisco2950交换机。两交换机TRUNK口接交叉线,有MDI功能则不分线序。 实验二:单臂路由实验 1、交换机的配置sysQuidway vlan 30 #创建VLAN30Quidway-vlan30interface e0/20 #进入e0/20接口Quidway-Ethernet0/20port access vlan 30 #将e0/20接口加入VLAN 30Quidway-Ethernet0/20quitQuidwayvlan 40 #创建VLAN 40Quid

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > IT计算机/网络 > 其它相关文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号