《单臂路由和三层交换机.pdf》由会员分享,可在线阅读,更多相关《单臂路由和三层交换机.pdf(8页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、单臂路由和三层交换机一单臂路由1、分别设置 2 台 PC的 IP 地址为:PC0:192.168.0.11 255.255.255.0 192.168.0.1 PC1:192.168.1.11 255.255.255.0 192.168.1.1 2、交换机 1 上设置 Vlan22,并且设置连接端口1 的 PC1属于 Vlan22,再设置连接交换机0 的端口 24 为 Trunk 口Switchen Switch#conf t Enter configuration commands,one per line.End with CNTL/Z.Switch(config)#vlan 22 Swi
2、tch(config-vlan)#exit Switch(config)#int fa 0/1 Switch(config-if)#switchport access vlan 22 Switch(config-if)#exit Switch(config)#int fa 0/24 Switch(config-if)#switchport mode trunk 交换机 0 上设置 Vlan11,并且设置连接端口1 的 PC0属于 Vlan11,再设置连接交换机1 的端口 24 为 Trunk 口,连接路由器的端口2 为 Trunk 口Switchen Switch#conf t Enter c
3、onfiguration commands,one per line.End with CNTL/Z.Switch(config)#vlan 11 Switch(config-vlan)#exit Switch(config)#int fa 0/1 Switch(config-if)#switchport access vlan 11 Switch(config-if)#exit Switch(config)#int fa 0/24 Switch(config-if)#switchport mode trunk Switch(config-if)#exit Switch(config)#int
4、 fa 0/2 Switch(config-if)#switchport mode trunk Switch(config-if)#exit?3、在路由器全局配置模式下创建fa 0/0.1 虚拟子接口,封装其 Vlan11的数据格式,并设置子接口的IP 地址为 PC0 的网关地址,最后将子接口激活;在路由器全局配置模式下创建fa 0/0.2虚拟子接口,封装其Vlan22 的数据格式,并设置子接口的 IP 地址为 PC1 的网关地址,文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档
5、编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2
6、F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档
7、编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2
8、F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档
9、编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2
10、F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档
11、编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5最后将子接口激活最后将 fa0/0 激活Routeren Router#conf t Router(config)#int fa 0/0.1 /创建虚拟子接口1 Router(config-subif)#encapsulation dot1Q 11 /封装 Vlan11 的数据格式,使得其可以转发Vlan11 的数据Router(config-subif)#ip address 192.168.0.1 255.255.255.0 /虚拟子接口分配一个IP 地址Router(config-subif)#no shut /
12、激活子接口Router(config-subif)#exit Router(config)#int fa 0/0.2 /创建虚拟子接口2 Router(config-subif)#encapsulation dot1Q 22 /封装 Vlan22 的数据格式,使得其可以转发Vlan22 的数据Router(config-subif)#ip add 192.168.1.1 255.255.255.0 /虚拟子接口分配一个IP 地址Router(config-subif)#no shut /激活子接口Router(config-subif)#exit Router(config)#int fa 0
13、/0 Router(config-if)#no shut 文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ
14、4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P
15、4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ
16、4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P
17、4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ
18、4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P
19、4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5在三个二层交换机上分别划出两VLAN,并将二层交换机上与三层交换或路由器上的接线设置为trunk 接口二:三层交换机的配置:1:首先在三层交换上划出两个VLAN,并进入 VLAN 为其配置 IP,此IP 将作为与他相连 PC的网关。2:将与二层交换机相连的线同样设置为trunk 接线,并将三层交换与路
20、由器连接的线设置为路由接口(no switchsport)3:将路由器和下面的交换机进行单臂路由的配置交换机的配置命令:SW 0:SwitchSwitchenSwitch#confConfiguring from terminal,memory,or network terminal?Enter configuration commands,one per line.End with CNTL/Z.Switch(config)#vlan 2Switch(config-vlan)#exitSwitch(config)#int f0/2Switch(config-if)#switchport ac
21、cess vlan 2Switch(config-if)#no shutSwitch(config-if)#int f0/3Switch(config-if)#switchport mode trunk%LINEPROTO-5-UPDOWN:Line protocol on Interface FastEthernet0/3,changed state to down%LINEPROTO-5-UPDOWN:Line protocol on Interface FastEthernet0/3,changed state to upSwitch(config-if)#exitSwitch(conf
22、ig)#文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3
23、 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7
24、C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3
25、 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7
26、C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3
27、 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7
28、C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5SW 1:Switchen Switch#confConfiguring from terminal,memory,or network terminal?Enter configuration commands,one per line.End with CNTL/Z.Switch(config)#int f0/2Switch(config-if)
29、#switchport access vlan 2%Access VLAN does not exist.Creating vlan 2Switch(config-if)#no shutSwitch(config-if)#exitSwitch(config)#int f0/3Switch(config-if)#switchport mode trunk%LINEPROTO-5-UPDOWN:Line protocol on Interface FastEthernet0/3,changed state to down%LINEPROTO-5-UPDOWN:Line protocol on In
30、terface FastEthernet0/3,changed state to upSwitch(config-if)#SW 2:SwitchenSwitch#confConfiguring from terminal,memory,or network terminal?Enter configuration commands,one per line.End with CNTL/Z.Switch(config)#int f0/2Switch(config-if)#switchport access vlan 2%Access VLAN does not exist.Creating vl
31、an 2Switch(config-if)#exit Switch(config)#int f0/3Switch(config-if)#switchport mode trunk Switch(config-if)#三层交换的配置命令:SwitchenSwitch#confConfiguring from terminal,memory,or 文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC
32、6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F
33、4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC
34、6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F
35、4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC
36、6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F
37、4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5network
38、 terminal?Enter configuration commands,one per line.End with CNTL/Z.Switch(config)#int f0/1Switch(config-if)#switchport mode trunk%LINEPROTO-5-UPDOWN:Line protocol on Interface FastEthernet0/2,changed state to downSwitch(config-if)#exitSwitch(config)#int f0/2Switch(config-if)#switchport mode trunk S
39、witch(config-if)#exitSwitch(config)#vlan 2Switch(config-vlan)#exitSwitch(config)#int vlan 1Switch(config-if)#no shut%LINK-5-CHANGED:Interface Vlan1,changed state to up%LINEPROTO-5-UPDOWN:Line protocol on Interface Vlan1,changed state to upSwitch(config-if)#ip address 192.168.1.168 255.255.255.0Switc
40、h(config-if)#exitSwitch(config)#int vlan 2%LINK-5-CHANGED:Interface Vlan2,changed state to up%LINEPROTO-5-UPDOWN:Line protocol on Interface Vlan2,changed state to upSwitch(config-if)#ip addSwitch(config-if)#ip address 192.168.2.168 255.255.255.0Switch(config-if)#%LINK-5-CHANGED:Interface FastEtherne
41、t0/3,changed state to up%LINEPROTO-5-UPDOWN:Line protocol on Interface FastEthernet0/3,changed state to upSwitch(config-if)#exitSwitch(config)#int 文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S
42、7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B
43、8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S
44、7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B
45、8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S
46、7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B
47、8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5文档编码:CC6T9P4B8Y3 HT7V2F8M2F4 ZQ4S7H7C5N5f0/3Switch(config-if)#no switchpo
48、rt%LINEPROTO-5-UPDOWN:Line protocol on Interface FastEthernet0/3,changed state to down%LINEPROTO-5-UPDOWN:Line protocol on Interface FastEthernet0/3,changed state to upSwitch(config-if)#Switch(config-if)#ip address 192.168.10.1 255.255.255.0Switch(config-if)#no shutSwitch(config-if)#exitSwitch(confi
49、g)#ip routingSwitch(config-if)#exitSwitch(config)#ip route 0.0.0.0 0.0.0.0 192.168.10.2Switch(config)#路由器的配置:RouterenRouter#confConfiguring from terminal,memory,or network terminal?Enter configuration commands,one per line.End with CNTL/Z.Router(config)#int f0/0Router(config-if)#no shut%LINK-5-CHANG
50、ED:Interface FastEthernet0/0,changed state to upRouter(config-if)#exitRouter(config)#int f0/1Router(config-if)#no shut%LINK-5-CHANGED:Interface FastEthernet0/1,changed state to up%LINEPROTO-5-UPDOWN:Line protocol on Interface FastEthernet0/1,changed state to upRouter(config-if)#exitRouter(config)#in