微思网络,专注高端

Size: px
Start display at page:

Download "微思网络,专注高端"

Transcription

1 -1-

2 目录 实验 1. 通过 CONSOLE 口控制路由器和交换机 实验 2. 熟悉路由器和交换机各种模式 实验 3. 配置一台路由器当做 PC 实验 4. 熟悉熟悉实验拓扑和基本配置 实验 5. CDP( 思科发现协议 ) 实验 6. 学会使用 Ping Traceroute Telnet SSH 实验 7. CISCO 路由器, 交换机密码恢复 实验 8. IOS 软件备份 升级与 NVRAM 备份 实验 9. 交换机 VLAN TRUNK VTP 配置 实验 10. 配置生成树 (Spanning Tree) 实验 11. PVST+( 每个 VLAN 的生成树 PVST 加 ) 实验 12. Configuring Link Aggregation with EtherChannel 实验 13. 用 3 台交换机验证 PVST 实验 实验 14. 配置交换机的端口安全 (1) 实验 15. 配置交换机的端口安全 (2) 实验 16. 用路由器实现 VLAN 之间的访问 实验 17. 三层交换机实现 VLAN 之间的互访 实验 18. 静态路由 实验 19. RIP 配置 实验 20. 配置 EIGRP 实验 21. 配置单区域 OSPF 实验 22. 配置标准 扩展 命令 ACL 实验 实验 23. 静态 NAT 动态 NAT PAT 的配置 实验 24. PPP 的配置 实验 25. 配置帧中继

3 实验 1. 通过 CONSOLE 口控制路由器和交换机 一 通过 console 口控制设备 ( 图 ) 1. 使用 SecureCRT( 图 ) -3-

4 登录后界面显示 : 2. 使用 wisdows 的超级终端 ( 图 ) -4-

5 3. 如果是通过笔记本电脑且笔记本没有 com 口的情况下可以使用 usb-serial 的转接头 ( 图 ) -5-

6 实验 2. 熟悉路由器和交换机各种模式 一 熟悉路由器和交换机各种模式 ( 本实验用一台路由器就可以完成 ) Router> // 用户模式 Router# // 特权模式 ( 也叫 enable 模 ) Router(config-if)# // 接口模式 Router(config-router)# //router 模式 Router(config-line)# //line 模式 Router(config-subif)# // 子接口模式 Router> // 用户模式 Router>enable // 在用户模式敲入 enable 进入特权模式 ( 也叫 enable 模式 ) Router#disable // 在特权模式敲入 disable 退出到用户模式 Router>enable // 在用户模式敲入 enable 进入特权模式 Router#configure terminal // 在特权模式敲入 configure terminal 进入到配置模式 Router(config)#interface ethernet 0/0 // 在配置模式敲入 interface+ 接口类型 + 接口编号 进入接口模式 Router(config-if)#exit // 敲入 exit 退出接口模式 Router(config)#router rip // 敲入 router + 路由协议 进入 router 模式 Router(config-router)#exit // 退出 router 模式 Router(config)#line console 0 // 进入 line 模式 Router(config-line)#end // 从 line 模式退出 ( 任何时候敲入 end 会退出到特权模式 ) Router#conf t Router(config)#interface ethernet 0/0.1 // 进入子接口模式 Router(config-subif)#end // 任何时候敲入 end 会退出到特权模式 Router# 注 : 有关路由器或交换机各种模式的应用后面的章节中会讲到. 这里先认识一下就可以

7 实验 3. 配置一台路由器当作 PC 做实验时通常用路由器当作 PC 使用, 用来测试网络的连通性等 步骤 :( 本例子中的当作 PC 的路由器接口为 Ethernet 0) 1. 关闭路由器的路由功能 2. 设置接口 IP 地址 3. 配置默认网关 4. 检查 Router#conf t Router(config)#host PC1 PC1(config)#no ip routing 注 : 关闭路由器的路由功能 PC1(config)#interface ethernet 0 PC1(config-if)#ip address 注 : 设置接口 IP 地址并启用 PC1(config-if)#no shutdown PC1(config-if)#exit PC1(config)#ip default-gateway 注 : 配置默认网关 PC1(config)#end PC1#show ip int brief Interface IP-Address OK? Method Status Protocol Ethernet YES TFTP up up Serial0 unassigned YES TFTP administratively down down Serial1 unassigned YES TFTP administratively down down PC1#show ip route Default gateway is 注 : Show ip route 可以看到网关 在路由器中关闭路由功能 配置 IP 地址 网关就可以作为 PC 来用了 -7-

8 实验 4. 熟悉实验拓扑和基本配置 一 实验拓扑和各设备共同常用配置 ( 可以复制再粘贴到设备中 ) Enable Conf t Enable secret cisco // 设置 enable 的密码为 cisco Enable password cisco1 // 设置 enable 的密码为 cisco1, 不能和 enable secret 设置的密码相同 No ip domain-lookup // 关掉域名查找功能 service password-encryption 的密码, 密码不再显示明文 Line console 0 // 设置 console 口 Password cisco // 设置 console 口密码为 cisco Login // 启用密码 No exec-timeout // 操作会话不会超时 // 对口令进行加密, 加密 console 口或 VTY 或是 enable password 设置 logging synchronous // 配置时光标跟随, 阻止那些烦人的控制台信息来打断你当前的输入, 从而使输入信息 显得更为简单易读. line vty 0 4 // 设置 VTY Password cisco Login No exec-timeout logging synchronous 注 :VTY ( 虚拟终端 ) 在网络操作系统 ( 包括 Cisco IOS) 中接受 telent 或 ssh 连接的一个逻辑接口 << 粘贴版 >> 以下可以直接复制再粘贴到路由器或交换机 Enable Conf t Enable secret cisco No ip domain-lookup service password-encryption Line console 0 Password cisco Login No exec-timeout logging synchronous line vty 0 4 Password cisco Login No exec-timeout logging synchronous -8-

9 实验拓扑 : 配置 SW2 的 IP 和网关 Interface vlan 1 Ip address No shutdown Ip default-gateway 配置 SW1 的 IP 和网关 Interface vlan 1 Ip address No shutdown Ip default-gateway 二 根据以上拓扑配置各设备的 IP 地址, 其中 SW1,SW2,PC1,PC2,PC3 要设置网关 1 配置 PC1 Router>enable Router#conf t Router(config)#no ip routing // 关闭路由器的路由功能 Router(config)#hostname PC1 // 命令主机名 PC1(config)#interface ethernet 0 // 进入 ethernet 0 接口模式 PC1(config-if)#ip address // 配置 IP 地址 PC1(config-if)#no shutdown // 启用接口 PC1(config-if)#exit // 退出到配置模式 PC1(config)#ip default-gateway // 配置 PC1 的默认网关 PC1(config)#end // 退出到 enable 模式 PC1# 2 配置 PC2 Router>enable Router#conf t Router(config)#no ip routing // 关闭路由器的路由功能 Router(config)#hostname PC2 // 命令主机名 PC2(config)#interface ethernet 0 // 进入 ethernet 0 接口模式 PC2(config-if)#ip address // 配置 IP 地址 PC2(config-if)#no shutdown // 启用接口 PC2(config-if)#exit // 退出到配置模式 PC2(config)#ip default-gateway // 配置 PC1 的默认网关 PC2(config)#end // 退出到 enable 模式 3 配置 PC3 Router>enable -9-

10 Router#conf t Router(config)#no ip routing // 关闭路由器的路由功能 Router(config)#hostname PC3 // 命令主机名 PC3(config)#interface ethernet 0 // 进入 ethernet 0 接口模式 PC3(config-if)#ip address // 配置 IP 地址 PC3(config-if)#no shutdown // 启用接口 PC3(config-if)#exit // 退出到配置模式 PC3(config)#ip default-gateway // 配置 PC1 的默认网关 PC3(config)#end // 退出到 enable 模式 PC3# 4 配置 R1 Router>enable Router#conf t Router(config)#hostname R1 R1(config)#int ethernet 0/0 R1(config-if)#ip add R1(config-if)#no shutdown R1(config-if)#exit R1(config)#int s0/0 R1(config-if)#ip add R1(config-if)#clock rate 9600 //DCE 端要配置时钟速率 R1(config-if)#no shutdown R1(config-if)#exit R1(config)#int s0/1 R1(config-if)#ip add R1(config-if)#clock rate 9600 //DCE 端要配置时钟速率 R1(config-if)#no shutdown R1(config-if)#end R1# 5 配置 R2 Router>enable Router#conf t Router(config)#hostname R2 R2(config)#int ethernet 0/0 R2(config-if)#ip add R2(config-if)#no shutdown R2(config-if)#exit R2(config)#int s0/0 R2(config-if)#ip add R2(config-if)#no shutdown R2(config-if)#exit R2(config)#int s0/1 R2(config-if)#ip add R2(config-if)#clock rate 9600 //DCE 端要配置时钟速率 R2(config-if)#no shutdown R2(config-if)#end

11 R2# 6 配置 R3 Router>enable Router#conf t Router(config)#hostname R3 R3(config)#int ethernet 0/0 R3(config-if)#ip add R3(config-if)#no shutdown R3(config-if)#exit R3(config)#int s0/0 R3(config-if)#ip add R3(config-if)#no shutdown R3(config-if)#exit R3(config)#int s0/1 R3(config-if)#ip add R3(config-if)#no shutdown R3(config-if)#end R3# 7 配置 SW1 Switch>enable Switch#conf t Switch(config)#host SW1 SW1(config)#interface vlan 1 SW1(config-if)#ip address SW1(config-if)#no shutdown SW1(config-if)#exit SW1(config)#ip default-gateway SW1(config)#end SW1# 8 配置 SW2 Switch>enable Switch#conf t Switch(config)#host SW2 SW2(config)#interface vlan 1 SW2(config-if)#ip address SW2(config-if)#no shutdown SW2(config-if)#exit SW2(config)#ip default-gateway SW2(config)#end SW2# 三 验证拓扑中各设备的配置是否正确和设备的接口状态 (up 还是 down) 1 验证 PC1 PC1#show ip int brief // 查看本路由器各接口基本配置, 包括 IP 地址, 接口状态等 Interface IP-Address OK? Method Status Protocol Ethernet YES manual up up Serial0 unassigned YES unset administratively down down Serial1 unassigned YES unset administratively down down PC1#show ip route // 在 PC1 上查看设置的默认网关 Default gateway is

12 Host Gateway Last Use Total Uses Interface ICMP redirect cache is empty PC1# 2 验证 PC2 PC2#show ip int brief // 查看本路由器各接口基本配置, 包括 IP 地址, 接口状态等 Interface IP-Address OK? Method Status Protocol Ethernet YES manual up up Serial0 unassigned YES unset administratively down down Serial1 unassigned YES unset administratively down down PC2#show ip route // 在 PC2 上查看设置的默认网关 Default gateway is Host Gateway Last Use Total Uses Interface ICMP redirect cache is empty PC2# 3 验证 PC3 PC3#show ip int brief // 查看本路由器各接口基本配置, 包括 IP 地址, 接口状态等 Interface IP-Address OK? Method Status Protocol Ethernet YES manual up up Serial0 unassigned YES unset administratively down down Serial1 unassigned YES unset administratively down down PC3#show ip route // 在 PC3 上查看设置的默认网关 Default gateway is Host Gateway Last Use Total Uses Interface ICMP redirect cache is empty PC3# 4 验证 R1 R1#show ip int brief Interface IP-Address OK? Method Status Protocol Ethernet0/ YES manual up up Serial0/ YES manual up up Ethernet0/1 unassigned YES unset administratively down down Serial0/ YES manual up up R1# 5 验证 R2 R2#show ip int brief Interface IP-Address OK? Method Status Protocol Ethernet0/ YES manual up up Serial0/ YES manual up up Ethernet0/1 unassigned YES unset administratively down down Serial0/ YES manual up up 6 验证 R3 R3#show ip int brief Interface IP-Address OK? Method Status Protocol Ethernet0/ YES manual up up Serial0/ YES NVRAM up up Ethernet0/1 unassigned YES NVRAM administratively down down Serial0/ YES manual up up 四 用 ping 命令测试连通性 1 测试 PC1 到 R1,SW1,SW2 的连通性 百思学网络, 领先科技

13 PC1#ping // 测试 PC1 到 R1 的连通性 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!!!!! 注〆!!!!! 表示连通性正常 Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms PC1#ping // 测试 PC1 到 SW1 的连通性 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms PC1# PC1#ping // 测试 PC1 到 SW2 的连通性 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms 2 测试 R1 到 R2,R3 的连通性 R1#ping // 测试 R1 到 R2 的连通性 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms R1# R1#ping // 测试 R1 到 R3 的连通性 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms 3 测试 R2 到 R3 的连通性 R2#ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms R2# 4 测试 PC2 到 R2 的连通性 PC2#ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms PC2# 5 测试 PC3 到 R3 的连通性 PC3#ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms 百思学网络, 领先科技

14 实验 5. CDP( 思科发现协议 ) CDP 是 CISCO 私有的协议,CDP 对排错或实验有很大帮助 注 : 在做 CDP 实验时用 R1,SW1,SW2 三 台设备就可以验证! 配置 SW2 的 IP 和网关 Interface vlan 1 Ip address No shutdown Ip default-gateway 配置 SW1 的 IP 和网关 Interface vlan 1 Ip address No shutdown Ip default-gateway 一. 配置接口 IP 地址和启用接口 1 配置 R1 Router# Router#conf t Router(config)#hostname R1 R1(config)#int ethernet 0/0 R1(config-if)#ip add R1(config-if)#no shutdown R1(config-if)#exit 2 配置 SW1 Switch# Switch#conf t Switch(config)#host SW1 SW1(config)#int vlan 1 SW1(config-if)#ip add SW1(config-if)#no sh SW1(config-if)#end 3 配置 SW2 Switch# Switch#conf t Switch(config)#host SW2 SW2(config)#int vlan 1 SW2(config-if)#ip add SW2(config-if)#no sh SW2(config-if)#end

15 配置完 R1,SW1,SW2 的接口 IP 和启用接口后用以下命令确认 - 包括所设置的 IP 地址是否正确, 接口状态是否为 up 确认 R1: R1#show ip int brief Interface IP-Address OK? Method Status Protocol Ethernet0/ YES manual up up SW1#show int vlan 1 Vlan1 is up, line protocol is up Hardware is CPU Interface, address is ff.6400 (bia ff.6400) Internet address is /24... 确认 SW1: SW1#show ip int brief Interface IP-Address OK? Method Status Protocol Vlan YES manual up up FastEthernet0/1 unassigned YES unset up up... FastEthernet0/23 unassigned YES unset up up FastEthernet0/24 unassigned YES unset up up 确认 SW2: SW2#show ip int brief Interface IP-Address OK? Method Status Protocol Vlan YES manual up up... FastEthernet0/23 unassigned YES unset up up FastEthernet0/24 unassigned YES unset up up 二. 验证 CDP 1. 在 R1 上验证 CDP R1#show cdp? entry Information for specific neighbor entry interface CDP interface status and configuration neighbors CDP neighbor entries traffic CDP statistics Output modifiers <cr> R1#show cdp interface // 显示打开 CDP 协议的接口 Ethernet0/0 is up, line protocol is up // 显示接口状态 Encapsulation ARPA Sending CDP packets every 60 seconds //60 秒为周期发送 CDP 的包 Holdtime is 180 seconds //CDP 的包保持时间为 180 秒 Serial0/0 is administratively down, line protocol is down Encapsulation HDLC Sending CDP packets every 60 seconds Holdtime is 180 seconds Serial0/1 is administratively down, line protocol is down

16 Encapsulation HDLC Sending CDP packets every 60 seconds Holdtime is 180 seconds 以上通过 show cdp interface 发现 R1 有 E0/0, S0/0, S0/1 共 3 个接口打开了 CDP 协议. R1#show cdp neighbors // 显示 CDP 邻居 Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce Holdtme Capability Platform Port ID SW1 Eth 0/0 171 S I WS-C2950 0/1 设备名字 本地接口 保持时间 Switch IGMP 型号 对端接口 R1#show cdp entry * // 显示所有邻居详细信息, 包括对方接口 IP 地址和 IOS 软件版本 Device ID: SW1 Entry address(es):ip address: Platform: cisco WS-C , Capabilities: Switch IGMP Interface: Ethernet0/0, Port ID (outgoing port): FastEthernet0/1 Holdtime : 163 sec Version : Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6K2L2Q4-M), Version 12.1(22)EA10a, RELEASE SOFTWARE (fc2) Copyright (c) by cisco Systems, Inc. Compiled Tue 24-Jul-07 17:37 by antonino R1#show cdp traffic // 显示 CDP 包, 出和进入的包数量 CDP counters : Total packets output: 12, Input: 11 Hdr syntax: 0, Chksum error: 0, Encaps failed: 0 No memory: 0, Invalid packet: 0, Fragmented: 0 CDP version 1 advertisements output: 0, Input: 0 CDP version 2 advertisements output: 12, Input: 在 SW1 上验证 CDP SW1#show cdp? entry Information for specific neighbor entry interface CDP interface status and configuration neighbors CDP neighbor entries traffic CDP statistics Output modifiers <cr> SW1#show cdp interface FastEthernet0/1 is up, line protocol is up Encapsulation ARPA Sending CDP packets every 60 seconds Holdtime is 180 seconds FastEthernet0/2 is down, line protocol is down Encapsulation ARPA Sending CDP packets every 60 seconds Holdtime is 180 seconds FastEthernet0/3 is down, line protocol is down Encapsulation ARPA

17 Sending CDP packets every 60 seconds Holdtime is 180 seconds SW1#show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P Phone Device ID Local Intrfce Holdtme Capability Platform Port ID SW2 Fas 0/ S I WS-C2950-2Fas 0/24 SW2 Fas 0/ S I WS-C2950-2Fas 0/23 R1 Fas 0/1 176 R S I 2610 Eth 0/0 百思学网络, 领先科技 SW1#show cdp entry * Device ID: SW2 Entry address(es): IP address: Platform: cisco WS-C , Capabilities: Switch IGMP Interface: FastEthernet0/24, Port ID (outgoing port): FastEthernet0/24 Holdtime : 129 sec Version : Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6K2L2Q4-M), Version 12.1(22)EA10a, RELEASE SOFTWARE (fc2) Copyright (c) by cisco Systems, Inc. Compiled Tue 24-Jul-07 17:37 by antonino Device ID: SW2 Entry address(es): IP address: Platform: cisco WS-C , Capabilities: Switch IGMP Interface: FastEthernet0/23, Port ID (outgoing port): FastEthernet0/23 Holdtime : 128 sec Version : Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6K2L2Q4-M), Version 12.1(22)EA10a, RELEASE SOFTWARE (fc2) Copyright (c) by cisco Systems, Inc. Compiled Tue 24-Jul-07 17:37 by antonino Device ID: R1 Entry address(es): IP address: Platform: Cisco 2600, Capabilities: Router Switch IGMP Interface: FastEthernet0/1, Port ID (outgoing port): Ethernet0/0 Holdtime : 160 sec Version : Cisco IOS Software, 3600 Software (C2600-JK9O3S-M), Version 12.4(5), RELEASE SOFTWARE (fc3) Technical Support: Copyright (c) by Cisco Systems, Inc. Compiled Mon 31-Oct-05 21:24 by alnguyen SW1#show cdp traffic CDP counters : Total packets output: 223, Input: 200 Hdr syntax: 0, Chksum error: 0, Encaps failed: 0 No memory: 0, Invalid packet: 0, Fragmented: 0 CDP version 1 advertisements output: 0, Input: 0 CDP version 2 advertisements output: 223, Input: 在 SW2 上验证 CDP SW2#show cdp neighbors

18 Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone Device ID Local Intrfce Holdtme Capability Platform Port ID SW1 Fas 0/ S I WS-C2950-2Fas 0/24 SW1 Fas 0/ S I WS-C2950-2Fas 0/23 SW2# 4. 改变 CDP 发包 (sending) 周期和保持 (holdtime) 时间 1. 默认时间为 : R1#show cdp interface Ethernet0/0 is up, line protocol is up Encapsulation ARPA Sending CDP packets every 60 seconds Holdtime is 180 seconds 2. 改变 CDP 发包和保持时间 R1(config)#cdp timer 5 // 周期为 5 秒 R1(config)#cdp holdtime 15 // 保持时间为 15 秒 R1#show cdp interface Ethernet0/0 is up, line protocol is up Encapsulation ARPA Sending CDP packets every 5 seconds Holdtime is 15 seconds 3. 关闭 CDP R1(config)#no cdp run // 全局关闭 CDP( 意味着所有接口关闭了 CDP 协议 ) R1(config)#end R1#show cdp interface % CDP is not enabled R1# 在全局上启用了 cdp run 后可以在指定接口关闭 CDP 协议. R1(config)#cdp run R1(config)#int e0/0 R1(config-if)#no cdp enable // 在接口模式关闭 CDP R1(config-if)#end R1#show cdp interface // 在接口 E0/0 关闭了 CDP 后没有发现 E0/0 接口相关参数 Serial0/0 is administratively down, line protocol is down Encapsulation HDLC Sending CDP packets every 5 seconds Holdtime is 15 seconds Serial0/1 is administratively down, line protocol is down Encapsulation HDLC Sending CDP packets every 5 seconds Holdtime is 15 seconds 百思学网络, 领先科技

19 描述 : 实验 6. 学会使用 Ping Traceroute Telnet SSH ( 测试和网络连接的小工具 ) 功能 百思学网络, 领先科技 使用 Ping 命令是用于检测网络设备可达性, 它使用 ICMP 有 echo 信息来决定远程设备是否可用, 与远程主机通信来回的延迟 delay, 或是数据包的丢失情况. 使用 Traceroute 跟踪从源到目的地所经过的路径 使得 telnet, ssh (Secure Shell) 远程控制设备. 配置 SW2 的 IP 和网关 Interface vlan 1 Ip address No shutdown Ip default-gateway 配置 SW1 的 IP 和网关 Interface vlan 1 Ip address No shutdown Ip default-gateway 使用 PING 命令 注 : 本实验使用 R1,R2,R3,SW1 四台设备测试, 配置好 R1,R2,R3,SW1 的 IP 地址, 检查接口状态为 up 后再测试 在 R1 上测试到 R2,R3 的连通性 R1#ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!!!!! //5 个! 表明网络是通的 Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/8 ms R1#ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!!!!! //5 个! 表明网络是通的 Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/8 ms R1#

20 在 SW1 上检查到 R1 的连通性 : SW1#ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!!!!! //5 个! 表明网络是通的 Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/8 ms SW1# 通常在路由器或是交换机里使用 ping 命令时常碰到的问题 叹号 (!): 表示成功收到响应信息. 句号 (.): 表示在等待应答超时. U: 表示目标主机不可达. Q: 表示目标主机繁忙. M: 代表不能分片 (fragment).?: 表示未知数据包类型. & : 表示数据包已没有生存期 (lifetime) 2. 使用 traceroute 命令, 检查从源到目的地经过的路由器的个数.( 或是数据包经过的路径 ) 注 : 本实验先确认 R2 到 是否有路由, 和 R3 是否有到 的路由, 可以用 show ip route 命令检查, 如果没有, 分别在 R1,R2,R3 上配置路由 : R1: ip route R2: ip route R3: ip route 在 R2 上使用 traceroute 命令〆 R2#traceroute Type escape sequence to abort. Tracing the route to msec 4 msec 4 msec msec 4 msec * 从以上可以看出从 R2 到达 经过了 和 两个路由器 3 在 PC 上是使用的是 tracert 命令 ( 路由器或是交换机使用的是 traceroute): 例如 : 跟踪从 PC 到厦门电信 DNS( ) 所经过的路径 ( 所经过的路由器个数, 相应 IP 地址 )

21 二 使用 telnet 远程控制远端设备,( 包括路由器或是交换机或是防火墙等网络设备 ) Telnet 是基于 TCP 协议上的, 端口号为 23 百思学网络, 领先科技 配置 SW2 的 IP 和网关 Interface vlan 1 Ip address No shutdown Ip default-gateway 配置 SW1 的 IP 和网关 Interface vlan 1 Ip address No shutdown Ip default-gateway 实验目的 : 通过控制 R1 后, TELNET 到 R2( ),R3( ) 对 R2,R3 进行远程管理. 在 R1 上配置 : R1#telnet // 从 R1 TELNET 到 R2 Trying Open User Access Verification Password: R2> 按 <Ctrl-Shift-6> + x 把界面切换回 R1 R1#telnet Trying Open User Access Verification Password: // 从 R1 TELNET 到 R3 R3> 按 <Ctrl-Shift-6>x 把界面切换回 R1 R1#show sessions // 在 R1 上查看打开了多少个 TELNET 会话 Conn Host Address Byte Idle Conn Name * R1#resume 2 // 重新连接到 R3 [Resuming connection 2 to ] R3>

22 R1# 按 <Ctrl-Shift-6>x 切换回 R1 R1#show session Conn Host Address Byte Idle Conn Name * R1#disconnect 1 // 从 R1 是主动断开到 R2 的连接 ( 断开一个 TELNET 的会话 ) Closing connection to [confirm] 在 R2 上实验 : R2#show users // 在 R2 上查看有谁登录到 R2 路由器 Line User Host(s) Idle Location * 0 con 0 idle 00:00:00 2 vty 0 idle 00:01: Interface User Mode Idle Peer Address R2#clear line 2 [confirm] [OK] R2#show users // 发现有人 TELNET 过来, 把连接清除 Line User Host(s) Idle Location * 0 con 0 idle 00:00:00 Interface User Mode Idle Peer Address 提示 : 利用 TELNET 来管理的几条命令的区别. show session show user Disconnect Clear line // 查看本路由器或是交换机主动打开了多少个 telnet 的会话 // 查看本路由器或是交换机有谁 telnet 进来, 可以显示他的 IP 地址 // 在本路由器上主动断开本路由器所打开的 telnet 会话 // 清除远端连接, 发现有 TELNET 的会话, 把他清除 Ctrl+shift+6 x //telnet 会话的切换 Resume+ 会话 ID // 重新再次连接, 先 show session 查看会话 ID 一 使用 SSH 远程控制远端设备,( 包括路由器或是交换机或是防火墙等网络设备 ) 注 : SSH 是基于 TCP 协议上的, 端口号为 22 配置步骤 (SSH Server): 1. Configure the IP domain name 2. Generate the RSA keys 3. Configure the SSH timeout interval < 可选 > 4. Configure the SSH retries < 可选 > 5. Disable vty inbound Telnet sessions 6. Enable vty inbound SSH sessions 例子 : R1#configure terminal R1(config)#ip domain-name cisco.com R1(config)#crypto key generate rsa general-keys modulus 512 R1(config)#ip ssh timeout 120 R1(config)#ip ssh authentication-retries 4 R1(config)#username cisco password cisco

23 R1(config)#line vty 0 4 R1(config-line)#transport input none R1(config-line)#transport input ssh R1(config-line)#login local R1(config-line)#end 配置步骤 (SSH Client): 以 secure CRT 为例 : 在提示中输入用户名 cisco 密码 cisco 即可远程控制. 注 : 用 SSH 代替 TELNET 的好处,SSH 的会话过程是加密的, 而 TELNET 的会话过程是明文

24 实验 7. CISCO 路由器, 交换机密码恢复 一 CISCO 常用几条命令〆 show version 检查配置寄存器的值, 硬件配置,IOS 版本 show flash 检查 Flash 中的 IOS, 或是 flash 大小, 使用情况 ( 占用多少, 剩下多少 ) show startup-config 检查 NVRAM 中的启动配置文件 ( 已保存后的配置 ) show running-config 检查 RAM 中的文件 ( 当前所运行的配置 ) 二 路由器密码的恢复 2600 系列路由器步骤 : 使用 console 控制路由器 : 1 启动路由器,60 秒内按下 ctrl+break 键 2 rommon>confreg 0x rommon>reset 4 router#copy startup-config running-config 5 router(config)#no enable secrect // 可以删除密码也可以更改, 这里为删除 6 router(config-line)#no enable password 7 router#copy running-config startup 8 router(config)#config-register 0x router#reload // 可选命令 2500 系列路由器步骤 : 1 启动路由器,60 秒内按下 ctrl+break 键 2 >o/r 0x >i 其余步骤跟 2610 一样 三 交换机密码的恢复.( 以 CISCO 2950 交换机为例 ) 使用 console 控制交换机 : 重起交换机 : 按 MODE 键进入到 switch: 模式如下 C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1) Compiled Mon 22-Jul-02 17:18 by antonino WS-C starting... Base ethernet MAC Address: 00:13:1a:9a:2b:80 Xmodem file system is available. The system has been interrupted prior to initializing the flash filesystem. The following commands will initialize the flash filesystem, and finish loading the operating system software: flash_init load_helper boot switch: flash_init // 初始化 flash: Initializing Flash... flashfs[0]: 4 files, 1 directories flashfs[0]: 0 orphaned files, 0 orphaned directories flashfs[0]: Total bytes:

25 flashfs[0]: Bytes used: flashfs[0]: Bytes available: flashfs[0]: flashfs fsck took 6 seconds....done initializing flash. Boot Sector Filesystem (bs:) installed, fsid: 3 Parameter Block Filesystem (pb:) installed, fsid: 4 switch: load_helper // 加载帮助 switch: dir flash: // 查看 flash: 内容 Directory of flash:/ 2 -rwx 736 <date> vlan.dat 3 -rwx <date> c2950-i6q4l2-mz ea2.bin 5 -rwx 1558 <date> config.text // 交换机启动时应用的配置 6 -rwx 5 <date> private-config.text bytes available ( bytes used) switch: rename flash:config.text flash:config-old.txt // 重命名 config.text switch: reset // 重起交换机 Are you sure you want to reset the system (y/n)?y System resetting... 重起交换机后由于交换机不会再应用配置文件, 因为刚才已把配置文件的名字更改 交换机会进入到配置的对话模 式. --- System Configuration Dialog --- Would you like to enter the initial configuration dialog? [yes/no]: n Switch#dir Directory of flash:/ 2 -rwx 736 Mar :19:14 +00:00 vlan.dat 3 -rwx Jan :12:26 +00:00 c2950-i6q4l2-mz ea2.bin 5 -rwx 1558 Mar :36:44 +00:00 config-old.txt 6 -rwx 5 Mar :36:44 +00:00 private-config.text bytes total ( bytes free) Switch#copy config-old.txt running-config Destination filename [running-config]? 1558 bytes copied in secs (1352 bytes/sec) sw#config t Enter configuration commands, one per line. CNTL/Z. sw(config)#line console 0 sw(config-line)#no pass cisco End with // 清除 console 口密码 sw(config)#no enable secret // 清除 enable 密码 sw(config)#no enable password 码 sw#write // 保存 // 清除 enable 密 注 : 以上密码删除成功, 一般情况下你可以不删除, 就直接更改成你想要的密码就可以

26 实验 8. IOS 软件备份 升级与 NVRAM 备份 Cisco 的网际操作系统 (IOS) 是思科设备的核心, 随着网络技术的不断发展, 通过升级以适应不断变化的 技术, 满足新的需求 实验拓扑 : 本实验目的 : 1. 备份 R1 的 NVRAM(Startup-config) 2. 备份 R1 的 IOS 映像文件 3. 升级 R1 的 IOS 文件描述 : 首先保证 TFTP SERVER 和路由器是连通的 本实验中用 PC1 作为 TFTP 服务器 (PC1 装上 TFTP Server 的软件就可以作为一台 TFTP Server) 一 备份 R1 的 NVRAM(Startup-config) 步骤 : 配置 R1 〆 Router#conf t Router(config)#host R1 R1(config)#interface ethernet 0/0 R1(config-if)#ip address R1(config-if)#no shutdown R1(config-if)#exit R1(config)#end 配置 PC1 的 IP 地址〆

27 保证 PC1 到 R1 的连通性〆 安装 TFTP SERVER 软件 ( 本实验使用 CISCO 的 TFTPServer) TFTP 服务器由此打开 在 R1 上使用 copy startup-config tftp: 备份 NVRAM 到 TFTP SERVER R1#copy startup-config tftp: Address or name of remote host []? Destination filename [r1-confg]?!! 710 bytes copied in secs (9861 bytes/sec) R1# 在 TFTP SERVER 上查看已备份成功〆

28 用写字板打开 r1-config 文件即可看到里面的具体配置 二 备份 R1 的 IOS 映像文件在 R1 上 show flash: 查看映像文件的名字 : R1#show flash: System flash directory: File Length Name/status c2600.bin [ bytes used, available, total] 16384K bytes of processor board System flash (Read/Write) 在 R1 上使用 copy flash: tftp: 备份 IOS 的映像文件到 TFTP SERVER

29 R1#copy flash: tftp Source filename []? c2600.bin Address or name of remote host []? Destination filename [c2600.bin]? c2600.bin!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 在 R1 上查看备份的映像文件 : 三 升级 R1 的 IOS 文件 ( 一 ) 升级 R1 的 IOS 文件 ( 在有 IOS 操作系统的情况下升级 ) 步骤 : 查看正在运行的 IOS 映像文件 : R1#show flash: System flash directory: File Length Name/status

30 c2600.bin 注 : 正在运行的 IOS 映像文件 [ bytes used, available, total] 百思学网络, 领先科技 16384K bytes of processor board System flash (Read/Write) 注 : 对 FLASH 有读或是写的权限注 : 在 R1 上使用命令 copy tftp flash 升级 IOS 的映像文件, 必须要保证 FLASH 有足够的空间存放 IOS 的映 像文件, 如果 FLASH 空间不够, 用命令 :delete flash:c2600.bin 删除已有的 IOS 文件 注意如果删除了 FLASH 里的映像文件后不要重启设备, 也不能断电 R1#copy tftp: flash: Address or name of remote host []? Source filename []? c2600_new.bin Destination filename [c2600_new.bin]? Accessing tftp:// /c2600_new.bin... ( 二 ) 升级 R1 的 IOS 文件 ( 在没有 IOS 操作系统的情况下升级 ) 在路由器的 IOS 已经被删除, 系统崩溃, 也就是路由器当前运行在 rommon 的情况下 : 升级步骤 :( 以 2600 路由器为例 ) rommon 1 > IP_ADDRESS= rommon 2 > IP_SUBNET_MASK= rommon 3 > DEFAULT_GATEWAY= rommon 4 > TFTP_SERVER= rommon 5 > TFTP_FILE=c2600_new.bin rommon 6 > TFTPDNLD // 设置本地 ip 地址 // 设置本地 ip 掩码 // 设置默认网关 // 设置 TFTP 服务器地址 四 通过 xmodem 升级 CISCO 交换机的 IOS 映像文件 // 设置源文件名 // 进行 TFTP 拷贝注 : 这里要确保 TFTP SERVER 是打开的, 且已存放有 c2600_new.bin 文件 系统崩溃或是无法通过正常启动时, 可以使用 xmodem 通信协议进行拷贝 ( 通过 console 口控制交换机主 机一端打开超级终端, 配置方法如下图所示 在交换机上配置 : switch: flash_init // 进行 flash 的初始化 switch: load_helper // 初始帮助文件的导入 switch: dir flash: // 察看 flash 的状态

31 switch: copy xmodem: flash:c2950_new.bin // 以 xmodem 方式拷贝文件配置超级终端默认参数 选择 ' 传输 '-' 发送文件 ' 选项

32 选择使用的协议 xmodem 确定后开始传送文件, 传输完成后重新启动设备即完成拷贝 除了使用超级终端外, 也可以用 secure CRT, 选择 transfer send xmodem : 找到 IOS 映像文件, 点 send( 发送 ) 即可

33 实验 9. 交换机 VLAN TRUNK VTP 配置 百思学网络, 领先科技 1 配置 CISCO 二层交换机的 IP 地址 (catalyst 2950 为例 ) SW1(config)#int vlan 1 // 进入管理接口 interface vlan 1 SW1(config-if)#ip address // 配置 IP 地址 SW1(config-if)#no shutdown SW1(config-if)#exit SW1(config)#ip default-gateway // 配置网关, 可通过 show run 查看所配置的 IP 地址 : SW1#show int vlan 1 Vlan1 is up, line protocol is up Hardware is CPU Interface, address is ff.6400 (bia ff.6400) Internet address is /24 2 配置交换机的端口速度和双工(Speed and Duplex) SW1(config)#interface fa0/1 SW1(config-if)#speed { auto} //10M/100M/ 自适应 SW1(config-if)#duplex {auto full half} // 自适应 / 全双工 / 半双工一般情况下, 交换机两端的端口速度和双工要匹配, 这样通信质量才能得到保证, 在相同厂家的产品 ( 比如说 Cisco 的交换机互连 ) 中端口协商不用配置一般不会有什么问题, 可以通过 show interface 查看端口的速度和双工 通常在不同厂家的产品中 ( 比如说 Cisco 和华为互连 ) 如果通过查看发现端口速度和双工不匹配, 可以通过手工配置来解决 如图 : 通过 show interface 查看端口的速度和双工 : SW1#show interfaces fastethernet 0/24 FastEthernet0/24 is up, line protocol is up (connected) Hardware is Fast Ethernet, address is ff.6418 (bia ff.6418) MTU 1500 bytes, BW Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 100Mb/s, media type is 100BaseTX input flow-control is unsupported output flow-control is unsupported ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:03, output 00:00:00, output hang never 注 :CISCO 交换机端口默认值 :Auto-duplex, Auto-speed, media type is 100BaseTX Cisco 设备配置端口速度 (speed) 和双工 (duplex) 命令 : SW1(config)#interface fastethernet 0/24 SW1(config-if)#speed? 10 Force 10 Mbps operation 注 : 强制速度为 10M

34 100 Force 100 Mbps operation 注〆强制速度为 100M auto Enable AUTO speed configuration 注〆速度自动协议 ( 默认值 ) SW1(config-if)#duplex? auto Enable AUTO duplex configuration 注〆自动协商双工 full Force full duplex operation 注〆强制为全双工 half Force half-duplex operation 注〆强制为半双工 3. 设置永久 MAC 地址不过期 SW1(config)#mac-address-table static mac_addr {vlan vlan_id} [interface int1 [int2... int15]] SW1(config)#mac-address-table static a111 vlan 1 interface f0/1 配置后 show mac-address-table 可以看到静态添加的 MAC 地址 a111 SW1#show mac-address-table Vlan Mac Address Type Ports All 000f.72db.4ec0 STATIC CPU a111 STATIC Fa0/1 4 管理 MAC 地址表 SW1#show mac-address-table Mac Address Table Vlan Mac Address Type Ports All 000f.72db.4ec0 STATIC CPU c3f.0b05 DYNAMIC Fa0/ e6.391d DYNAMIC Fa0/ e0.b05a.5bfe DYNAMIC Fa0/ a111 STATIC Fa0/1 5. 设置交换机端口的访问模式 ( 三种 ) access /dynamic / trunk SW1(config-if)#switchport mode? access Set trunking mode to ACCESS unconditionally dynamic Set trunking mode to dynamically negotiate access or trunk mode trunk Set trunking mode to TRUNK unconditionally SW1(config)#int fastethernet 0/1 SW1(config-if)#switchport mode access // 设置 FA0/1 为 ACCESS 模式 SW1(config-if)#switchport mode trunk // 设置 FA0/1 为 TRUNK 模式 SW1(config-if)#switchport mode dynamic auto // 设置 FA0/1 为自动直协商模式 ( 默认 ) 交换机 TRUNK 端口配置 : 1) 一般交换机与交换机相连接的端口要设置为 trunk 模式 2 ) 如果是梳心交换机与非网管的交换机相连, 梳心交换机端口设置为 access 模式如下图 : CISCO CISCO

35 配置 SW1: SW1(config)#int f0/24 SW1(config-if)#no shutdown SW1(config-if)#switchport mode trunk // 设置 Fa0/24 为 TRUNK 模式 配置 SW2: SW2(config)#int f0/24 SW2(config-if)#no shutdown SW2(config-if)#switchport mode trunk // 设置 FA0/24 为 TRUNK 模式验证 TRUNK 命令 : Show interface trunk Show interface f0/24 switchport SW1#sho run int f0/24 interface FastEthernet0/24 switchport mode trunk SW1#show int trunk Port Mode Encapsulation Status Native vlan Fa0/24 on 802.1q trunking 1 SW1#show int f0/24 switchport Name: Fa0/24 Switchport: Enabled Administrative Mode: trunk Operational Mode: trunk Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: dot1q Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Voice VLAN: none Administrative private-vlan host-association: none Administrative private-vlan mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none Trunking VLANs Enabled: ALL Pruning VLANs Enabled: Capture Mode Disabled Capture VLANs Allowed: ALL Protected: falseappliance trust: none SW1# SW2: SW2#sho run int f0/24 interface FastEthernet0/24 switchport mode trunk end SW2#show int trunk Port Mode Encapsulation Status Native vlan Fa0/24 on 802.1q trunking

36 6. 配置 VLAN 1). 创建 VLAN SW1(config)#vlan 2 SW1(config)#name VLAN2 2). 将端口加入 VLAN SW1(config-if)#switchport mode access SW1(config-if)#switchport access vlan 2 3). 检查的命令 Switch#show vlan 例子 : 创建 VLAN2 命令为 widom, 创建 VLAN3 命令为 market 把端口 F0/4 加入 VLAN2 SW1#config t SW1(config)#vlan 2 SW1(config-vlan)#name wisdom SW1(config-vlan)#exit SW1(config)#vlan 3 SW1(config-vlan)#name market SW1(config-vlan)#exit SW1(config)#int fas0/4 SW1(config-if)#switchport mode access // 创建 VLAN2 // 命名为 VLAN2, 默认为 vlan002, 命名是可选命令 // 设配端口为 access 模式 // 把端口加到 vlan2 SW1(config-if)#switchport access vlan 2 可以同时把多个端口加入到相应 VLAN SW1(config)#interface range fastethernet 0/10 15 // 可以同时把多个端口加入到一个 VLAN 里 SW1(config-if-range)#switchport mode access SW1(config-if-range)#switchport access vlan 3 // 把端口 都加入到 VLAN3 里 SW1#show vlan // 检查 VLAN 信息 VLAN Name Status Ports default active Fa0/1, Fa0/5, Fa0/6, Fa0/7 2 wisdom active Fa0/4 Fa0/8, Fa0/9, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24 3 market active Fa0/10, Fa0/11, Fa0/12 SW1# Fa0/13, Fa0/14, Fa0/15 7. 配置 VTP----VTP 技术使得在大型的网络里布置多个 VLAN 变得简单. VTP 的配置步骤 : 1 配置 Trunk ( 交换机和交换机相连的端口要设置为 TRUNK) 2 配置 VTP DOMAIN 3 配置 VTP MODE 4 配置 VLAN 5 将端口加入 VLAN 6 检查

37 Switch#show interface xx/xx switchport Switch#show vtp status Switch#show vlan // 查看相应该接口的 trunk 状态 // 查看 vtp 状态 // 查看 VLAN SW1 SW2 配置 SW1: SW1#configure terminal SW1(config)#interface fastethernet 0/24 SW1(config-if)#switchport mode trunk SW1(config-if)#no shutdown SW1(config-if)#exit SW1(config)#vtp domain wisdom Domain name already set to wisdom. SW1(config)#vtp mode server Device mode already VTP SERVER. SW1(config)#vtp password cisco Setting device VLAN database password to cisco SW1(config)#vtp pruning // 配置 VTP 的修剪, 只要在 SERVER 端配置就行. Pruning switched on SW1#sho vtp status VTP Version : 2 Configuration Revision : 1 Maximum VLANs supported locally : 64 Number of existing VLANs : 5 VTP Operating Mode Name Pruning Mode Mode Generation MD5 digest : Server VTP Domain : wisdom VTP : Enabled VTP V2 : Disabled VTP Traps : Disabled Configuration last modified by at :56:31 : 0xE8 0x5A 0x7D 0xB1 0x0E 0xBC 0xEB 0x1F Local updater ID is on interface Vl1 (lowest numbered VLAN interface found) 创建 VLAN2 VLAN3 VLAN4 VLAN5 SW1(config)#vlan 2 SW1(config-vlan)#vlan 3 SW1(config-vlan)#vlan 4 SW1(config-vlan)#vlan 5 SW1(config-vlan)# 在 SW1 上创建 VLAN 后查看修订版本 : SW1#show vtp status

38 VTP Version : 2 Configuration Revision : 5 Maximum VLANs supported locally : 128 Number of existing VLANs : 9 VTP Operating Mode : Server VTP Domain Name : wisdom VTP Pruning Mode : Enabled VTP V2 Mode : Disabled VTP Traps Generation MD5 digest at :59:04 : Disabled 百思学网络, 领先科技 : 0x9C 0x64 0xD6 0x44 0x5E 0x54 0x9E 0xFC Configuration last modified by Local updater ID is on interface Vl1 (lowest numbered VLAN interface found) 在交换机 SW1 上检查已创建的 VLAN SW1#sho vlan VLAN Name Status Ports default active Fa0/1, Fa0/5, Fa0/6, Fa0/7 2 VLAN0002 active 3 VLAN0003 active 4 VLAN0004 active 5 VLAN0005 active Fa0/8, Fa0/9, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24 检查 trunk 端口 : SW1#show interfaces fastethernet 0/24 switchport Name: Fa0/24 Switchport: Enabled Administrative Mode: trunk Operational Mode: trunk Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: dot1q Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Voice VLAN: none Administrative private-vlan host-association: none Administrative private-vlan mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none Trunking VLANs Enabled: ALL Pruning VLANs Enabled:

39 Capture Mode Disabled Capture VLANs Allowed: ALL Protected: false Appliance trust: none 配置 SW2: Switch# Switch#config t Enter configuration commands, one per line. End with CNTL/Z. SW2(config)#hostname SW2 SW2(config)#int fastethernet 0/24 SW2(config-if)#switchport mode trunk SW2(config-if)#exit SW2(config)#vtp domain wisdom Changing VTP domain name from test to wisdom SW2(config)#vtp mode client Setting device to VTP CLIENT mode. SW2(config)#vtp password cisco Setting device VLAN database password to cisco SW2(config)# 查看 F0/24 的 trunk 状态 : SW2#show interfaces fastethernet 0/24 switchport Name: Fa0/24 Switchport: Enabled Administrative Mode: trunk Operational Mode: trunk Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: dot1q Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Voice VLAN: none Administrative private-vlan host-association: none Administrative private-vlan mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none Trunking VLANs Enabled: ALL Pruning VLANs Enabled: Capture Mode Disabled Capture VLANs Allowed: ALL Protected: false Appliance trust: none 查看 VTP 状态 : SW2#show vtp status VTP Version :

40 Configuration Revision : 5 Maximum VLANs supported locally : 128 Number of existing VLANs : 9 VTP Operating Mode Name Pruning Mode Mode VTP Traps Generation MD5 digest : Client VTP Domain : wisdom VTP : Enabled VTP V2 : Disabled : Disabled Configuration last modified by at :59:04 : 0x9C 0x64 0xD6 0x44 0x5E 0x54 0x9E 0xFC 此处可以看到 SW2 的 VLAN 信息是从 SW 同步过来的 百思学网络, 领先科技 SW2#show vlan VLAN Name Status Ports default active Fa0/2, Fa0/3, Fa0/4, Fa0/5 2 VLAN0002 active 3 VLAN0003 active 4 VLAN0004 active 5 VLAN0005 active Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24 实验结果 : SW2 不用配置 VLAN, 已同步了 SW1 的 VLAN 信息. 实验成功 SW2 同步 VTP SERVER 的 VLAN 后, 接下来的操作就是安要求把相应的端口加入到相应的 VLAN

41 实验 10. 配置生成树 (Spanning Tree) 一 实验前先理解生成树决策的 4 个步骤 : 本实验只讨论 CST( 公共的生成树 ) 二 实验拓扑 1. 实验描述 : 由于业务的要求, 要有可靠的链路, 要对链路实现冗余, 但链路的冗余有可能给网络带来广播 风暴, 重复帧,MAC 地址表不稳定的问题,Spanning Tree protocol 在可以实现冗余的同时又可以解决以上三 个问题. 2. 实验 1: 验证 CST( 公共生成树 ) CST 是 IEEE 在虚拟局域网上处理生成树的特有方法, 这是一种 VLAN 解决方案, 称为单一或者公共 生成树 生成树协议运行在 VLAN1 即缺省的 VLAN 上 所有的交换机都举出同一个根网桥, 并建立与该 根网桥的关系 CISCO 的交换机默认就启用了生成树 Spanning Tree protocol, 不需配置就可以实现链路冗余能力. 实验拓扑 : 实验拓扑描述 : 在以上交换网络拓扑中只有交换机默认存在的 VLAN1, 交换机默认情况下所有端口属于 VLAN1 根据以上 拓扑, 也就是只有 VLAN1 存在的情况下我们来验证 CST( 公共生成树 ) 建议手工配置 SW1, SW2 F0/23,F0/24 接口的 trunk 模式配置 SW1 〆 SW1(config)#int range fastethernet 0/ 注 : 进入一个接口范围, 同时对多个端口进行配置 SW1(config-if-range)#switchport mode trunk SW1(config-if-range)#no shutdown 配置 SW2 〆 SW2(config)#int range fastethernet 0/23-24 SW2(config-if-range)#switchport mode trunk SW2(config-if-range)#no shutdown 的

42 在 SW1 上用 show spanning-tree 验证生成树 : 百思学网络, 领先科技 SW1#show spanning-tree VLAN0001 Spanning tree enabled protocol ieee Root ID Priority Address ff.6400 This bridge is the root 注 : SW1 为根网桥 注 : 根交换机的网桥 ID Bridge ID Priority (priority sys-id-ext 1) Address ff.6400 Aging Time 注 : SW1 的网桥 ID Interface Role Sts Cost Prio.Nbr Type Fa0/23 Desg FWD P2p 注 : Desg: 表示 F0/23 为指定端口 FWD 表示 : 端口的生树成状态为转发状态表示 F0/23 到根网桥的花费为 : 这里 128 表示端口优先级,23 表示端口号, 这里可以先不用考虑这个 Fa0/24 Desg FWD 19 <Desg 表示指定端口 > 在 SW2 上用 show spanning-tree 验证生成树〆 SW2#show spanning-tree VLAN0001 Spanning tree enabled protocol ieee Root ID Priority 注 : 根交换机的网桥 ID Address ff.6400 Cost 19 Port 23 (FastEthernet0/23) Bridge ID Priority (priority sys-id-ext 1) Address 000d.bce Aging Time SW2 的网桥 ID Interface Role Sts Cost Prio.Nbr Type Fa0/23 Root FWD P2p Fa0/24 Altn BLK P2p 注 : 解释 :F0/24 为 altn( 后备端口 ), 端口的生成树状态为 BLK(blocking) 状态,Root 表示根端口,Altn 表示后备端口 回顾生成树决策的 4 个步骤 : P2p 注 : CST 是 IEEE 在虚拟局域网上处理生成树的特有方法, 这是一种 VLAN 解决方案, 称为单一或者公共生成树 生成树协议运行在 VLAN1 即缺省的 VLAN 上

43 通过在 SW1,SW2 上 show spanning-tree 得到以下结果. SW1( 根交换机 ) F0/ 指定端口 F0/ 指定端口 SW2( 非根交换机 ) F0/ 根端口 F0/ blocking 端口生成 树决策过程 : 选根交换机 : One root bridge per network( 每个网络只有一个根桥 ) 根桥的选举〆 Lowest BID ( 最小的 BID) SW1 的竞选根交换机参数 : Bridge ID: Priority MAC Address ff.6400 SW2 的竞选根交换机参数 : Bridge ID: Priority MAC Address 000d.bce 选择根交换机第一个条件先看优先级 Priority 再看 MAC 地址, 缺省 SW1 和 SW2 的优先级都是 32768, 通过 优先级无法选择根交换机, 只能通过 MAC 地址选择, 交换机的 MAC 地址可以通过 show version 查看. SW1 的 MAC 地址 ff.6400 比 SW2 的 MAC 地址 000d.bce 小, 越小越优先, 所以 SW1 为根 交换机 选根端口 : One root port per nonroot bridge( 每个非根桥都有一个根端口 ) 根端口 (RP) 〆 Lowest path cost to root bridge 每个非根桥有且只有一个根端口, 非根桥到达根桥所需开销 最小的那个端口即为根端口 ( 可转发流量 ) 选举 RP/DP 的方法 :(RP 根端口,DP 指定端口 ) 1.Lowest RID( 最小的 RID) 这里是 ( 根桥 ) 的 BID 2.Lowest path cost to root bridge( 到达根的最小路径开销 ) 3.lowest sender BID ( 最小的发送 BID) 4.Lowest sender port ID 当两台交换机之间有两条线路直连时会用到这一项来选 ( 比如本实验中批 定端口的选择就会用到这一项 ) SW1 为根桥, 不会有根端口, 因为只有非根桥有根端口 : SW2 为非根桥, 根端口肯定是 F0/23,F0/24 的其中 一个 : F0/23,F0/24 这个两个端口选举根端口的条件 : ( 非根桥到达根桥所需开销最小的那个端口即为根端口 ) F0/23 到达根网桥的开销 (cost) 为 19 F0/24 到达根网桥的开销 (cost) 为 19 通过非根桥到达根桥所需开销最小这个条件没法选出根端口, 只能再看 生成树决策的第 3 个条件即 lowest sender BID ( 最小的发送 BID) 通过 lowest sender BID ( 最小的发送 BID) 选举, 但 F0/23,F0/24 都是在 SW2( 非根桥 ) 上的两个端口 lowest sender BID 都是 : Bridge ID: Priority MAC Address 000d.bce

44 所以这里无法通过 lowest sender BID 选出根端口, 只能再看生成树决策的第 4 个条件 Lowest sender port ID, 当两台交换机之间有两条线路直连时会用到这一项 ( 端口号越小越优先 ) F0/23 比 F0/24 小, 所以 F0/23 优先. 最终可以选出根端口 F0/23 SW2 上剩下 F0/24 的就是 blocking 端口在 SW2 上 show spanning-tree 验证 : SW2#show spanning-tree VLAN0001 Spanning tree enabled protocol ieee Root ID Priority Address ff.6400 Cost 19 Port 23 (FastEthernet0/23) Bridge ID Priority (priority sys-id-ext 1) Address 000d.bce Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/23 Root FWD P2p 注 : F0/23 为根端口 Fa0/24 Altn BLK P2p 注 : SW2 上 F0/24 就是 blocking 端口 总结 : 看上图, 从 SW2 到 SW1 的所有数据流量最终通过线点 1 到达,SW2 的 F0/24 处于备份状态, 在 SW2 上 show spanning-tree 可以看到 F0/24 的端口角色为 Altn, 即线路 2 作为线路 1 上备份链路. CST 的缺点 : 最终有一条链路总是处在备份的状态, 就像本实验中线路 2 处在备份的状态, 我们想象假如线路 1 永远不会出问题, 如果这样, 那好像线路 2 的存在是多余的, 于是我们有个想法就是能不能两条链路都利用起来, 比如说一部分流量走线路 1, 另一部分流量走线路 2, 其实是可以的, CISCO 的 PVST+ 产生就由来于此, 我们将在下个实验中介绍 PVST

45 实验 11. PVST+( 每个 VLAN 的生成树 PVST 加 ) 百思学网络, 领先科技 实验拓扑 : 分别在 SW1 和 SW2 上 show spanning-tree 查看结果 : SW1#show spanning-tree VLAN0001 Spanning tree enabled protocol ieee Root ID Priority Address ff.6400 This bridge is the root Bridge ID Priority (priority sys-id-ext 1) Address ff.6400 Aging Time 15 Interface Role Sts Cost Prio.Nbr Type Fa0/23 Desg FWD P2p Fa0/24 Desg FWD P2p SW2#show spanning-tree VLAN0001 Spanning tree enabled protocol ieee Root ID Priority Address ff.6400 Cost 19 Port 23 (FastEthernet0/23) Bridge ID Priority (priority sys-id-ext 1) Address 000d.bce Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/23 Root FWD P2p

46 Fa0/24 Altn BLK P2p 注 : 以上拓扑中经过选举最终 SW1 为根网桥,SW2 的 F0/24 为 blocking 端口, 也是就线路 2 成为了备份链路 分别在 SW1 和 SW2 上创建 VLAN2,VLAN3,VLAN4, 按如下拓扑要求完成本实验 : 在 SW1 上创建 VLAN2,VLAN3,VLAN4 并查看 : SW1(config)#vlan 2-4 SW1#show vlan VLAN Name Status Ports default active Fa0/1, 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, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22 2 VLAN0002 active 3 VLAN0003 active 4 VLAN0004 active 在 SW2 上创建 VLAN2,VLAN3,VLAN4 并查看 : SW2(config)#vlan 2-4 SW2#show vlan VLAN Name Status Ports default active Fa0/1, 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, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22 2 VLAN0002 active 3 VLAN0003 active 4 VLAN0004 active 按如下拓扑要求完成本实验 : 要求 :SW2 的 VLAN1 和 VLAN2 流量通过线路 1 到达 SW1, SW2 的 VLAN3 和 VLAN4 的流量经过线路 2 到达 SW1, 当其中一条链路有问题走同一链路

47 分别在 SW1 和 SW2 上创建了 VLAN2-4 后查看目前的生成树状态. 在 SW1 上查看 : 命令 :show spanning-tree vlan 1 show spanning-tree vlan 2 show spanning-tree vlan 3 show spanningtree vlan 4 SW1#show spanning-tree vlan 1 VLAN0001 Spanning tree enabled protocol ieee Root ID Priority Address ff.6400 This bridge is the root Bridge ID Priority (priority sys-id-ext 1) Address ff.6400 Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/23 Desg FWD P2p Fa0/24 Desg FWD P2p SW1#show spanning-tree vlan 2 VLAN0002 Spanning tree enabled protocol ieee Root ID Priority Address ff.6400 This bridge is the root Bridge ID Priority (priority sys-id-ext 2) Address ff.6400 Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/23 Desg FWD P2p Fa0/24 Desg FWD P2p SW1#show spanning-tree vlan 3 VLAN0003 Spanning tree enabled protocol ieee Root ID Priority Address ff.6400 This bridge is the root Bridge ID Priority (priority sys-id-ext 3) Address ff.6400 Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/23 Desg FWD P2p Fa0/24 Desg FWD P2p SW1#show spanning-tree vlan 4 VLAN0004 Spanning tree enabled protocol ieee Root ID Priority Address ff.6400 This bridge is the root

48 Bridge ID Priority (priority sys-id-ext 4) Address ff.6400 Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/23 Desg FWD P2p Fa0/24 Desg FWD P2p 结果 : 查看生成树状态后发现针对 VLAN1,VLAN2,VLAN3,VLAN3,SW1 都是扮演根网桥角色.SW1 连接 SW2 的两个端口 F0/23,F0/24 都是指定端口. 在 SW2 上查看 : 命令 :show spanning-tree vlan 1 show spanning-tree vlan 2 show spanning-tree vlan 3 show spanning-tree vlan 4 SW2#show spanning-tree vlan 1 VLAN0001 Spanning tree enabled protocol ieee Root ID Priority Address ff.6400 Cost 19 Port 23 (FastEthernet0/23) Bridge ID Priority (priority sys-id-ext 1) Address 000d.bce Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/23 Root FWD P2p Fa0/24 Altn BLK P2p SW2#show spanning-tree vlan 2 VLAN0002 Spanning tree enabled protocol ieee Root ID Priority Address ff.6400 Cost 19 Port 23 (FastEthernet0/23) Bridge ID Priority (priority sys-id-ext 2) Address 000d.bce Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/23 Root FWD P2p Fa0/24 Altn BLK P2p SW2#show spanning-tree vlan 3 VLAN0003 Spanning tree enabled protocol ieee Root ID Priority

49 Address ff.6400 Cost 19 Port 23 (FastEthernet0/23) Bridge ID Priority (priority sys-id-ext 3) Address 000d.bce Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/23 Root FWD P2p Fa0/24 Altn BLK P2p SW2#show spanning-tree vlan 4 VLAN0004 Spanning tree enabled protocol ieee Root ID Priority Address ff.6400 Cost 19 Port 23 (FastEthernet0/23) Bridge ID Priority (priority sys-id-ext 4) Address 000d.bce Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/23 Root FWD P2p Fa0/24 Altn BLK P2p 结果 : 查看生成树状态后发现针对 VLAN1,VLAN2,VLAN3,VLAN3,SW2 都是扮演非根网桥角色, SW2 的端口 F0/24 都处在 blocking 状态. 问题所在 : 通过在 SW1 和 SW2 查看得到的结果我们来分析一下, 现在 SW1 的 VLAN1 和 VLAN2 是通过线 路 1 到达 SW1 的, 这符合本实验的要求, 但 VLAN3,VLAN4 到 SW1 走线路 1 不符合本实验的要 求,VLAN3,VLAN4 到 SW1 要求走线路 2. 分析 :SW2 的 VLAN3,VLAN4 到 SW1 为什么走线路 1 呢? 因为 SW2 相对于 VLAN3,VLAN4 来说到达 SW1 F0/24 都是 blocking 状态,F0/23 为转发状态, 导致 VLNA3,VLAN3 通过 F0/23 走线路 1 到达 SW1. 解决方法 : 在 SW2 上 VLAN2,VLAN3 要到达 SW1 只要 SW2 的 F0/23 为 blocking 状态,F0/24 为转发状态, 就达到本实验的要求 (SW2 的 VLAN3,VLAN4 到 SW1 走线路 2) 之所以 SW2 的 F0/24 为 blocking 状态, 是因为相对于 VLAN3,VLAN4 来说在通过生成树决策的第 4 步 时,F0/23 端口号小于 F0/23, 小的优先,Lowest sender port ID 当两台交换机之间有两条线路直连 时会用到这一项,< 本实验就是这样 > 通过以上分析, 在 SW2 上相对于 VLAN3,VLAN4 来说, 我们可以更改参 数, 也就是在生成树决策的第 2 步就可以做出决策, 即使用 Lowest path cost to root bridge( 到达根 的最小路径开销 ) 在 SW2 上相对于 VLAN3,VLAN4 更 F0/24 到根 (SW1) 的花费, 目前为 19,F0/23 到根也为 19, 我们更改 F0/24 端口到达 SW1 的花费为 18 就可以满足本实验的要求. 在 SW2 上配置以下命令 : SW2(config)#interface fastethernet 0/24 SW2(config-if)#spanning-tree vlan 3-4 cost 18 查看更改的配置 : SW2#show run int f0/24 interface FastEthernet0/

50 spanning-tree vlan 3-4 cost 18 end 做上以上配置后在 SW2 上查看当前的 VLAN3,VLAN4 的生成树状态 : SW2#show spanning-tree vlan 3 VLAN0003 Spanning tree enabled protocol ieee Root ID Priority 百思学网络, 领先科技 Address ff.6400 Cost 18 Port 24 (FastEthernet0/24) Bridge ID Priority (priority sys-id-ext 3) Address 000d.bce Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/23 Altn BLK P2p Fa0/24 Root FWD P2p SW2#show spanning-tree vlan 4 VLAN0004 Spanning tree enabled protocol ieee Root ID Priority Address ff.6400 Cost 18 Port 24 (FastEthernet0/24) Bridge ID Priority (priority sys-id-ext 4) Address 000d.bce Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/23 Altn BLK P2p Fa0/24 Root FWD P2p 通过命令 show spanning-tree vlan 3, show spanning-tree vlan 4 查看, 我们发现 F0/23 为 blocking 状态,SW2 的 VLAN3,VLAN4 到达 SW1 的通过 F0/24 到达, 也就是走线路 2, 实现在本实验的要求 最 终线路 1, 线路 2 流量走势图 :

51 实验 12. Configuring Link Aggregation with EtherChannel 配置 SW1 〆 interface FastEthernet0/1 switchport trunk encapsulation dot1q switchport mode trunk channel-group 1 mode on // Enable Etherchannel only interface FastEthernet0/2 switchport trunk encapsulation dot1q switchport mode trunk channel-group 1 mode on // Enable Etherchannel only 配置 SW2 〆 interface FastEthernet0/1 switchport trunk encapsulation dot1q switchport mode trunk channel-group 1 mode on // Enable Etherchannel only interface FastEthernet0/2 switchport trunk encapsulation dot1q switchport mode trunk channel-group 1 mode on // Enable Etherchannel only 其它参数 : sw1(config-if)#channel-group 1 mode? active Enable LACP unconditionally auto Enable PAgP only if a PAgP device is detected desirable on passive Enable PAgP unconditionally Enable Etherchannel only Enable LACP only if a LACP device is detected sw2(config-if)#channel-group 1 mode? active Enable LACP unconditionally auto Enable PAgP only if a PAgP device is detected desirable Enable PAgP unconditionally on Enable Etherchannel only passive Enable LACP only if a LACP device is detected 相关检查命令 : sw1#show etherchannel 1 detail Group state = L2 Ports: 2 Maxports = 8 Port-channels: 1 Max Port-channels = 1 Protocol: - Port: Fa0/ Ports in the group: Port state = Up Mstr In-Bndl

52 Channel group = 1 Mode = On/FEC Gcchange = - Port-channel = Po1 GC = - Pseudo port-channel = Po1 Port index = 0 Load = 0x00 Protocol = - Age of the port in the current state: 00d:00h:19m:18s Port: Fa0/ Port state = Up Mstr In-Bndl Channel group = 1 Mode = On/FEC Gcchange = - Port-channel = Po1 GC = - Pseudo port-channel = Po1 Port index = 0 Load = 0x00 Protocol = - Age of the port in the current state: 00d:00h:19m:18s Port-channels in the group: Port-channel: Po Age of the Port-channel = 00d:00h:35m:33s Logical slot/port = 1/0 Number of ports = 2 GC = 0x HotStandBy port = null Port state = Port-channel Ag-Inuse Protocol = - Ports in the Port-channel: Index Load Port EC state No of bits Fa0/1 On/FEC Fa0/2 On/FEC 0 Time since last port bundled: 00d:00h:19m:19s Fa0/2 Time since last port Un-bundled: 00d:00h:23m:27s Fa0/2 sw1#show etherchannel? <1-64> Channel group number detail Detail information load-balance Load-balance/frame-distribution scheme among ports in port-channel port Port information port-channel Port-channel information protocol protocol enabled summary One-line summary per channel-group Output modifiers <cr> 查看 port-channel 1 的端口状态 : Sw1#show interfaces port-channel 1 Port-channel1 is up, line protocol is up (connected) Hardware is EtherChannel, address is e (bia e4.2782) MTU 1500 bytes, BW Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255. Sw2#show interfaces port-channel 1 Port-channel1 is up, line protocol is up (connected) Hardware is EtherChannel, address is e (bia e4.2782) MTU 1500 bytes, BW Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set 百思学网络, 领先科技

53 实验拓扑 : 实验 13. 根网桥 用 3 台交换机验证 PVST 实验 备份根网桥 100M 1 100M 100M 实验要求 : 1. 在 SW1,SW2,SW3 上创建 VLAN2, VLAN3, VLAN4. 2. 确保核心交换机 SW1 为 VLAN1-4 的根网桥, 当 SW1 出现故障时 SW2 成为 VLAN1-4 的根网桥. 3. 确保交换机 SW3 的 VLAN1,VLAN2 到核心网络 (SW1,SW2) 的流量走线路 1 4. 确保交换机 SW3 的 VLAN3,VLAN4 到核心网络 (SW1,SW2) 的流量走线路 2 实验步骤 : 一 实现实验要求 1: 1. 在 SW1,SW2,SW3 上创建 VLAN2, VLAN3, VLAN4. 配置 SW1: 创建 VLAN2-4 SW1(config)#vlan 2-4 非根网桥 查看 VLAN: SW1#show vlan VLAN Name Status Ports default active 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, Fa0/16, Fa0/17, Fa0/18 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24, Gi0/1, Gi0/2 2 VLAN0002 active 3 VLAN0003 active 4 VLAN0004 active 配置 SW2: 创建 VLAN2-4 SW2(config)#vlan 2-4 查看 VLAN: SW2#show vlan VLAN Name Status Ports default active 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, Fa0/16, Fa0/17, Fa0/

54 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24, Gi0/1, Gi0/2 2 VLAN0002 active 3 VLAN0003 active 4 VLAN0004 active 配置 SW2: 创建 VLAN2-4 SW3(config)#vlan 2-4 查看 VLAN: SW3#show vlan VLAN Name Status Ports default active 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, Fa0/16, Fa0/17, Fa0/18 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24 2 VLAN0002 active 3 VLAN0003 active 4 VLAN0004 active 二 实现实验要求 2: 要求 2. 确保核心交换机 SW1 为 VLAN1-4 的根网桥, 当 SW1 出现故障时 SW2 成为 VLAN1-4 的根网桥. 配置 SW1: ( 确保核心交换机 SW1 为 VLAN1-4 的根网桥 ) SW1(config)#spanning-tree vlan 1-4 root primary 或 SW1(config)#spanning-tree vlan 1-4 priority (root primary= priority 24576) 配置 SW2: ( 当 SW1 出现故障时 SW2 成为 VLAN1-4 的根网桥 ) SW2(config)#spanning-tree vlan 1-4 root secondary 或 SW2(config)#spanning-tree vlan 1-4 priority (root secondary= priority 28672) 三 实现实验要求 3: 要求 3: 确保交换机 SW3 的 VLAN1,VLAN2 到核心网络 (SW1,SW2) 的流量走线路 1 SW3#show spanning-tree vlan 1 VLAN0001 Spanning tree enabled protocol ieee Root ID Priority Address 000d.bcb4.c500 Cost 19 Port 1 (FastEthernet0/1) Bridge ID Priority (priority sys-id-ext 1) Address a9a.2b80 Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Root FWD P2p Fa0/2 Altn BLK

55 P2p SW3#show spanning-tree vlan 2 VLAN0002 Spanning tree enabled protocol ieee Root ID Priority Address 000d.bcb4.c500 Cost 19 Port 1 (FastEthernet0/1) Bridge ID Priority (priority sys-id-ext 2) Address a9a.2b80 Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Root FWD P2p Fa0/2 Altn BLK P2p 通过在 SW3 上查看 VLAN1,VALN2 的生成树状态, 发现相对于 VLAN1,VLAN2 来说 F0/1 为转发状态,F0/2 为 blocking 状态, 可以确定 VLAN1 和 VLAN2 到达核心网络的流量通过 F0/1 走线路 1, 已符合本实验的要求, 不 需要做配置 四 实现实验要求 4: 要求 4: 确保交换机 SW3 的 VLAN3,VLAN4 到核心网络 (SW1,SW2) 的流量走线路 2 配置 SW3: SW3(config)#int f0/1 SW3(config-if)#spanning-tree vlan 3-4 cost 39 配置后, 确认交换机 SW3 的 VLAN3,VLAN4 到核心网络 (SW1,SW2) 的流量是否走线路 2: SW3#show spanning-tree vlan 3 VLAN0003 Spanning tree enabled protocol ieee Root ID Priority Address 000d.bcb4.c500 Cost 38 Port 2 (FastEthernet0/2) Bridge ID Priority (priority sys-id-ext 3) Address a9a.2b80 Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Altn BLK P2p Fa0/2 Root FWD P2p SW3#show spanning-tree vlan 4 VLAN0004 Spanning tree enabled protocol ieee Root ID Priority Address 000d.bcb4.c500 Cost 38 Port 2 (FastEthernet0/2) Bridge ID Priority (priority sys-id-ext 4) Address a9a.2b80 Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Altn BLK P2p

56 Fa0/2 Root FWD P2p 结果 : 通过在 SW3 上查看 VLAN3,VALN4 的生成树状态, 发现相对于 VLAN3,VLAN4 来说 F0/2 为转 百思学网络, 领先科技 发状态,F0/1 为 blocking 状态, 可以确定 VLAN3 和 VLAN4 到达核心网络的流量通过 F0/2 走线路 2, 符合本实 验的要求. 附 : 根网桥和备份根网桥和非根网桥 SW3 的确认信息 : 根网桥确认信息 : SW1#show spanning-tree vlan 1 VLAN0001 Spanning tree enabled protocol ieee Root ID Priority Address 000d.bcb4.c500 This bridge is the root Bridge ID Priority (priority sys-id-ext 1) Address 000d.bcb4.c500 Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Desg FWD P2p Fa0/2 Desg FWD P2p SW1#show spanning-tree vlan 2 VLAN0002 Spanning tree enabled protocol ieee Root ID Priority Address 000d.bcb4.c500 This bridge is the root Bridge ID Priority (priority sys-id-ext 2) Address 000d.bcb4.c500 Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Desg FWD P2p Fa0/2 Desg FWD P2p SW1#show spanning-tree vlan 3 VLAN0003 Spanning tree enabled protocol ieee Root ID Priority Address 000d.bcb4.c500 This bridge is the root Bridge ID Priority (priority sys-id-ext 3) Address 000d.bcb4.c500 Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Desg FWD P2p Fa0/2 Desg FWD P2p

57 SW1#show spanning-tree vlan 4 VLAN0004 Spanning tree enabled protocol ieee Root ID Priority Address 000d.bcb4.c500 This bridge is the root Bridge ID Priority (priority sys-id-ext 4) Address 000d.bcb4.c500 Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Desg FWD P2p Fa0/2 Desg FWD P2p 备份根网桥的确认信息 : SW2#show spanning-tree vlan 1 VLAN0001 Spanning tree enabled protocol ieee Root ID Priority Address 000d.bcb4.c500 Cost 19 Port 1 (FastEthernet0/1) Bridge ID Priority (priority sys-id-ext 1) Address e Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Root FWD P2p Fa0/2 Desg FWD P2p SW2#show spanning-tree vlan 2 VLAN0002 Spanning tree enabled protocol ieee Root ID Priority Address 000d.bcb4.c500 Cost 19 Port 1 (FastEthernet0/1) Bridge ID Priority (priority sys-id-ext 2) Address e Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Root FWD P2p Fa0/2 Desg FWD P2p SW2#show spanning-tree vlan 3 VLAN0003 Spanning tree enabled protocol ieee Root ID Priority 百思学网络, 领先科技

58 Address 000d.bcb4.c500 Cost 19 Port 1 (FastEthernet0/1) Bridge ID Priority (priority sys-id-ext 3) Address e Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Root FWD P2p Fa0/2 Desg FWD P2p SW2#show spanning-tree vlan 4 VLAN0004 Spanning tree enabled protocol ieee Root ID Priority Address 000d.bcb4.c500 Cost 19 Port 1 (FastEthernet0/1) Bridge ID Priority (priority sys-id-ext 4) Address e Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Root FWD P2p Fa0/2 Desg FWD P2p SW2# 非根网桥 SW3 的确认信息 : SW3#show spanning-tree vlan 1 VLAN0001 Spanning tree enabled protocol ieee Root ID Priority Address 000d.bcb4.c500 Cost 19 Port 1 (FastEthernet0/1) Bridge ID Priority (priority sys-id-ext 1) Address a9a.2b80 Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Root FWD P2p Fa0/2 Altn BLK P2p SW3#show spanning-tree vlan 2 VLAN0002 Spanning tree enabled protocol ieee Root ID Priority Address 000d.bcb4.c

59 Cost 19 Port 1 (FastEthernet0/1) Bridge ID Priority (priority sys-id-ext 2) Address a9a.2b80 Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Root FWD P2p Fa0/2 Altn BLK P2p SW3#show spanning-tree vlan 3 VLAN0003 Spanning tree enabled protocol ieee Root ID Priority Address 000d.bcb4.c500 Cost 38 Port 2 (FastEthernet0/2) Bridge ID Priority (priority sys-id-ext 3) Address a9a.2b80 Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Altn BLK P2p Fa0/2 Root FWD P2p SW3#show spanning-tree vlan 4 VLAN0004 Spanning tree enabled protocol ieee Root ID Priority Address 000d.bcb4.c500 Cost 38 Port 2 (FastEthernet0/2) Bridge ID Priority (priority sys-id-ext 4) Address a9a.2b80 Aging Time 300 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Altn BLK P2p Fa0/2 Root FWD P2p 百思学网络, 领先科技

60 实验 14. 配置交换机的端口安全 (1) 实验拓扑 : 实验需求 : F0/1 的已划分到 VLAN2, 配置 F0/1 的端口安全, 使得端口 F0/1 只允许 PC1 的 MAC 地 址 (aaaa.aaaa.aaa1) 进入, 如果接收到违规的包 ( 也就是进入 F0/1 非 MAC:aaaa.aaaa.aaa1 的数据包 ) 接口 会 shutdown. 实 验步骤 : 第一 步 : 创建 VLAN2, 把 F0/1 加入 VLAN2 SW2950(config)#vlan 2 SW2950(config-vlan)#exit SW2950(config)#int f0/1 SW2950(config-if)#switchport mode access SW2950(config-if)#switchport access vlan 2 第二步 : 设置 F0/1 的端口安全 : SW2950(config)#int f0/1 SW2950(config-if)#switchport port-security SW2950(config-if)#switchport port-security maximum 1 SW2950(config-if)#switchport port-security mac-address aaaa.aaaa.aaa 注 : 启用端口安全 注 : 允许进入 F0/1 的 MAC 地址的最大数目, 为 1, 这是默认 注 : 设置所允许的具体 MAC 地址 SW2950(config-if)#switchport port-security violation shutdown 值 SW2950#show run int f0/1 Building configuration... Current configuration : 163 bytes! 注 : 当接收到不是允许的 MAC 时 的动作为 shutdown, 这是默认设置 查看以上配置

61 interface FastEthernet0/1 switchport access vlan 2 switchport mode access switchport port-security switchport port-security mac-address aaaa.aaaa.aaa1 end SW1#show port-security 注 : 通过查看配置发现上面我们配置了 4 条端口安全命令, 但只看到两条, 因为有其中两条是只要启用了端口安全, 就默认设置了, 不会显示, 可以 show port-security 看到 Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action (Count) (Count) (Count) Fa0/ Shutdown Total Addresses in System (excluding one mac per port) : 0 Max Addresses limit in System (excluding one mac per port) : 1024 端口安全的另外两个动作参数 :(protect 和 restrict) SW1(config-if)#switchport port-security violation? protect Security violation protect mode 注 : Protect 意思是当 F0/1 接收到不是所允 restrict Security violation restrict mode 注 : 许的 MAC 地址时动作为做保护, 不会关 闭接口, 但数据包被拒绝通过, 接口的 状态是好的, 不给管理员任何提示, 不产 生告警 restrict 意思是当 F0/1 接收到不是所允许的 MAC 地址时动作为做限制, 不会关闭接口, 但数据包被拒绝通过, 接口的状态是好的, 但会给管理员提示信息, 产生告警 shutdown Security violation shutdown mode 注 : shutdown 意思是接收到不是所允许的 MAC 地址时动作关闭接口, 并产生告 警, 被 shutdown 的接口要 shutdown 再 no shutdown, 接口状态才会再次 up

62 实验 15. 配置交换机的端口安全 (2) 实验拓扑 : 非网管交换机 实验拓扑描述 :SW2950 的 F0/4 下接了一个非网管的交换机 实验需求 : F0/4 的已划分到 VLAN4, 配置 F0/4 的端口安全, 使得端口 F0/4 最多允许 10 个 MAC 进入, 如果接收到违规的包 ( 也就是进入 F0/4 接口的 MAC 地址超过 10 个, 则丢弃违规的数据包, 并且产生告警 实验步骤 : 第一步 : 创建 VLAN4, 把 F0/4 加入 VLAN4 SW2950(config)#vlan 4 SW2950(config)#int f0/4 SW2950(config-if)#switchport mode access SW2950(config-if)#switchport access vlan 注 : 把端 F0/4 加入到 VLAN4 SW2950(config-if)#switchport port-security SW2950(config-if)#switchport port-security maximum 10 SW2950(config-if)#switchport port-security mac-address sticky SW2950(config-if)#switchport port-security violation restrict 注 : 启用端口安全, 进入接口最大的 MAC 地址数,sticky 命令作用是会记录前 10 个合法的 MAC 地址, 超过则被丢弃 Restrict 的作为违规的数据包不可以通过, 会产生告警 通过 show run 查看以上所做的配置 :

63 SW2950#sho run int f0/4 interface FastEthernet0/4 switchport access vlan 4 switchport mode access switchport port-security switchport port-security maximum 10 switchport port-security violation restrict switchport port-security mac-address sticky 查看端口安全参数 : SW2#show port-security Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action (Count) (Count) (Count) Fa0/ Restrict Total Addresses in System (excluding one mac per port) : 0 Max Addresses limit in System (excluding one mac per port) :

64 实验 16. 用路由器实现 VLAN 之间的访问 实验拓扑 : R1 为 2600 的路由器 SW1 为 2950 交换机 PC1: /24 GW: VLAN2 网段 : /24 PC2: /24 GW: VLAN3 网段 : /24 实验要求 : 1. 在 SW1 上划分 VLAN2,VLAN3, 把 F0/2 加入 VLAN2,F0/3 加入 VLAN3, 端口 F0/1 设置为 802.1Q 的 Trunk. 2. 配置 R1, 使得 VLAN2 和 VLAN3 的主机之间可以互相访问. 配置步骤 : 配置 SW1: SW1(config)#vlan 注 : 创建 VLAN2,VLAN3 SW1(config)#int f0/2 SW1(config-if)#switchport mode access SW1(config-if)#switchport access vlan 注 : 把端口 F0/2 加入 VLAN2 SW1(config)#int f0/3 SW1(config-if)#switchport mode access SW1(config-if)#switchport access vlan 注 : 把端口 F0/3 加入 VLAN3 SW1(config)#int f0/1 SW1(config-if)#switchport mode trunk 注 : 把端口 F0/1 设置为 trunk 端口配置 R1: R1(config)#inte0/0 R1(config-if)#no shutdown 注 : 启用物理接口 E0/0 R1(config-if)#exit R1(config)#int e0/0.2 R1(config-subif)#encapsulation dot1q 2 R1(config-subif)#ip address 注 : 创建并进入 E0/0.2 子接口, 封装 802.1Q (dot1q),2 为 VLAN_ID, 并配置 IP 地址 R1(config-subif)#end R1#conf t R1(config)#int e0/0.3 R1(config-subif)#encapsulation dot1q 3 R1(config-subif)#ip add 注 : 创建并进入 E0/0.3 子接口, 封装 802.1Q (dot1q),3 为 VLAN_ID, 并配置 IP 地址 查看 E0/0.2 的子接口 : R1#sho run int e0/

65 interface Ethernet0/0.2 encapsulation dot1q 2 ip address end 查看 E0/0.3 的子接口 : R1#sho run int e0/0.3 Building configuration... Current configuration : 91 bytes! interface Ethernet0/0.3 encapsulation dot1q 3 ip address end 检查 R1 的接口状态 : 包括物理接口和子接口 : R1#show ip int brief Interface IP-Address OK? Method Status Protocol Ethernet0/0 unassigned YES unset up up Ethernet0/ YES manual up up Ethernet0/ YES manual up up Serial0/0 unassigned YES unset administratively down down Serial0/1 unassigned YES unset administratively down down 检查 SW1 F0/1 的 trunk 状态 : SW1#show int f0/1 switchport Name: Fa0/1 Switchport: Enabled Administrative Mode: trunk Operational Mode: trunk 注〆 802.1Q trunk Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: dot1q 注〆 802.1Q trunk Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Voice VLAN: none Administrative private-vlan host-association: none Administrative private-vlan mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none Trunking VLANs Enabled: ALL Pruning VLANs Enabled: Capture Mode Disabled Capture VLANs Allowed: ALL Protected: false Appliance trust: none SW1# 用两台 2500 的路由器作为 PC 测试 : 配置 PC1: PC1(config)#no ip routing 百思学网络, 领先科技

66 PC1(config)#int e0 PC1(config-if)#ip address PC1(config-if)#no sh PC1(config-if)#exit PC1(config)#ip default-gateway 配置 PC2: PC2(config)#no ip routing PC2(config)#int e 注 : 把路由器作为 PC, 关闭路由功能, 设置接口 IP 地址和网关 PC2(config-if)#ip address PC2(config-if)#no sh PC2(config-if)#exit PC2(config)#ip default-gateway 注 : 把路由器作为 PC, 关闭路由功能, 设置接口 IP 地址和网关 测试 : 测试 PC1 到网关的连通性 : PC1#ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms 测试 PC1 到 PC2 的连通性 : PC1#ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/8 ms 在 PC1 用 traceroute 跟踪到目标主机 是否经过网关. PC1#traceroute Type escape sequence to abort. Tracing the route to msec 4 msec 4 msec 注 : 经过网关到达目的地址 msec * 4 msec PC1#

67 实验 17. 三层交换机实现 VLAN 之间互访 实验拓扑 : SW Q Trunk SW2 SW1 为 3550 SW2 为 2950 PC1: /24 GW: VLAN2 网段 : /24 PC2: /24 GW: VLAN3 网段 : /24 实验要求 : 1. 分别在 SW1 和 SW2 上创建 VLAN2 和 VLAN3, 在 SW2 上把 F0/2 加入 VLAN2,F0/3 加入 VLAN3, 端口 F0/1 设置为 802.1Q 的 Trunk. 2. 把 SW1 的 F0/1 设置成 802.1Q 的 Trunk, 启 SVI 接口, 使得 SW2 的 VLAN2 和 VLAN3 主机之间可以互相访问. 配置步骤 : 配置 SW2: (2950 交换机 ) SW2(config)#vlan 注〆在 SW2 上创建 VLAN2,VLAN3 SW2(config)#int f0/2 SW2(config-if)#switchport mode access SW2(config-if)#switchport access vlan 注〆把端口 F0/2 加入到 VLAN2 SW2(config)#int f0/3 SW2(config-if)#switchport mode access SW2(config-if)#switchport access vlan 注〆把端口 F0/3 加入到 VLNA3 SW2(config)#int f0/1 SW2(config-if)#switchport mode trunk 注〆设置 F0/1 为 trunk 端口 配置 SW1:(3550 交换机 ) SW1(config)#ip routing 注 : 启用三层交换机的路由功能, 默认是关闭的 SW1(config)#vlan 注 : 创建 VLAN2,VLAN3 SW1(config)#int f0/1 SW1(config-if)#switchport trunk encapsulation dot1q SW1(config-if)#switchport mode trunk 注 : 设置 F0/1 的 802.1Q trunk, 必须要先封装再设置为 trunk 模式 SW1(config)#int vlan 2 SW1(config-if)#ip address SW1(config-if)#no sh 注 : 创建 SVI 2 的三层接口并配置 IP 地址, 并启用接口, 这个接口 IP 作为 VLAN2 主机的网关

68 SW1(config)#int vlan 3 SW1(config-if)#ip address SW1(config-if)#no sh 注 : 创建 SVI 3 的三层接口并配置 IP 地址, 并启用接口, 这个接 口 IP 作为 VLAN3 主机的网关在 SW1 上用 show 命令查看刚才的配置 : SW1#show run int vlan 2 interface Vlan2 ip address end SW1#show int vlan 2 Vlan2 is up, line protocol is up Hardware is EtherSVI, address is 000d.bcb4.c500 (bia 000d.bcb4.c500) Internet address is /24 SW1#show run int vlan 3 interface Vlan3 ip address end SW1#show int vlan 3 Vlan3 is up, line protocol is up Hardware is EtherSVI, address is 000d.bcb4.c500 (bia 000d.bcb4.c500) Internet address is /24 SW1#show int f0/1 switchport Name: Fa0/1 Switchport: Enabled Administrative Mode: trunk Operational Mode: trunk Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: dot1q SW1#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, E - EGP 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 /24 is subnetted, 2 subnets C is directly connected, Vlan3 C is directly connected, Vlan2 在 SW2 上用 show 命令查看刚才的配置 : SW2#show run int f0/2 interface FastEthernet0/2 switchport access vlan 2 switchport mode access end SW2#show run int f0/3 interface FastEthernet0/3 switchport access vlan 3 switchport mode access end SW2#show int f0/1 switchport Name: Fa0/1 Switchport: Enabled

69 Administrative Mode: trunk Operational Mode: trunk Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: dot1q 百思学网络, 领先科技 Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Voice VLAN: none Administrative private-vlan host-association: none Administrative private-vlan mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none Trunking VLANs Enabled: ALL Pruning VLANs Enabled: Capture Mode Disabled Capture VLANs Allowed: ALL Protected: false Appliance trust: none 测试 : 本实验用两台 2500 的路由器作为 PC 测试 配置 PC1: PC1(config)#no ip routing PC1(config)#int e0 PC1(config-if)#ip address PC1(config-if)#no sh PC1(config)#ip default-gateway 注 : 把路由器作为 PC, 关闭路由功能, 设置接口 IP 地址和网关配置 PC2: PC2(config)#no ip routing PC2(config)#int e0 PC2(config-if)#ip address PC2(config-if)#no sh PC2(config)#ip default-gateway 注 : 把路由器作为 PC, 关闭路由功能, 设置接口 IP 地址和网关测试 PC1 到网关的连通性 : PC1#ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms 测试 PC1 到 PC2 的连通性 : PC1#ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/8 ms 在 PC1 用 traceroute 跟踪到目标主机 是否经过网关. PC1#traceroute Type escape sequence to abort. Tracing the route to msec 4 msec 4 msec 注 : 经过网关到达目的地址 msec * 4 msec

70 实验 18. 配置静态路由 实验拓扑 : R1 S0 Loop0: /24 IP: x/24 S1 R2 Loop0: /24 试验环境 : 两台 2500 系列路由器通过串口相连 要求 : 在 R1 和 R2 上启用静态路由, 使两端网络能够互通 步骤一 基本配置 Router> Router>enable Router#config terminal Router(config)#hostname R1 R1(config)#no ip domain-lookup R1(config)#line console 0 R1(config-line)# logging synchronous R1(config-line)#exec-timeout 0 0 R1(config-line)#exit 步骤二 : 接口配置 R1 的配置 : R1(config)#interface s0 R1(config-if)#ip address R1(config-if)#clock rate 时钟速率端 R1(config-if)#no shutdown R1(config-if)#interface loopback 0 R1(config-if)#ip address R1(config-if)# R2 的配置 : Router(config)#hostname R2 R2(config)#interface s1 R2(config-if)#ip address R2(config-if)#no shutdown R2(config-if)#interface loopback 0 R2(config-if)#ip address R2(config-if)#exit R2(config)# 步骤三 指定静态路由 R1(config)# R1(config)#ip route serial 0 R2(config)# 指定静态路由

71 R2(config)#ip route 指定静态路由 步骤四 作 ping 测试 R1#ping Protocol [ip]: Target IP address: Extended commands [n]: y Source address or interface: !!!!! 显示已通 目的地址 是否用扩展命令 源地址 步骤五 显示静态路由条目 R1#show ip route Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - IS-IS, 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 /24 is subnetted, 1 subnets S is directly connected, Serial0 静态路由条目 /24 is subnetted, 1 subnets C is directly connected, Loopback /24 is subnetted, 1 subnets C is directly connected, Serial0 步骤六 显示当前配置 R1 的配置结果 : R1#show running-config! hostname R1! no ip domain-lookup! interface Loopback0 ip address ! interface Serial0 ip address clockrate 64000! ip route Serial0! line con 0 exec-timeout 0 0 logging synchronous transport input none R2 的配置结果 : R2#show running-config! hostname R2! no ip domain-lookup! interface Loopback0 ip address ! interface Serial1 ip address ! ip route ! line con 0 exec-timeout 0 0 logging synchronous! end

72 实验 实验目的学会用 RIP 协议配置动态路由 ; 1.2 实验内容 学习关于 RIP 一些基本知识 ; 了解 RIP 协议的特点 ; 明确 RIP 缺点和优点 ; 学习如何配置基本 RIP 命令 ; 知道使用 RIP 协议所带来的问题 1.3 实验步骤按照下面的指示, 连接网络设备 配置 RIP E0 E1 Lab_A net S0(DCE) S1 S1 Lab_C S0(DCE) E net S0(DCE) Lab_B net E0 S net Lab_D E0 Lab_E E net net net 1 在全局配置模式下键入 router rip( 启动路由协议 ) 々 2 在 (config-router) 模式下键入 network network number( 选择相关的网络或子网络号 ) 々 3 保存当前配置 ( 使用 copy run start) 1.4 实验参考 :

Microsoft Word 微思网络CCNA实验手册_web_.doc

Microsoft Word 微思网络CCNA实验手册_web_.doc 前言 帮助学员成功 是我们的目标, 为了达到这个目标, 除了全体微思网络员工的努力外, 更需要您的刻苦学习, 认真实验 这本实验手册花费了微思网络讲师的大量时间, 倾注了微思网络讲师的大量心血, 希望您能与我们一起努力, 达到您的目标, 完成您的意愿! 学习的过程中如果碰到困难, 一定不要放弃, 只要你不停做实验, 任何困难都能解决, 微思网络的所有学员都通过这种方法克服了学习的困难, 跨过了困难这座大山,

More information

D. 192.168.5.32 E. 192.168.5.14 答 案 :C 3. 工 作 站 A 配 置 的 IP 地 址 为 192.0.2.24/28. 工 作 站 B 配 置 的 IP 地 址 为 192.0.2.100/28. 两 个 工 作 站 之 间 有 直 通 线 连 接, 两 台

D. 192.168.5.32 E. 192.168.5.14 答 案 :C 3. 工 作 站 A 配 置 的 IP 地 址 为 192.0.2.24/28. 工 作 站 B 配 置 的 IP 地 址 为 192.0.2.100/28. 两 个 工 作 站 之 间 有 直 通 线 连 接, 两 台 CCNP 学 前 测 试 题 都 选 自 官 方 的 全 真 考 试 题, 共 100 道 题 实 际 测 试 选 60 道 题, 同 官 方 正 式 考 题 数 目 基 本 一 致, 因 此 等 于 是 模 拟 考 试, 采 用 网 上 形 式 进 行 测 评 学 前 测 评 目 的 是 为 了 检 验 大 家 对 CCNA 阶 段 知 识 掌 握 的 程 度, 同 时 对 CCNA 最 核 心

More information

Cisco Cisco Cisco (ROM) (FLASH) (RAM) RAM(NVRAM) Cisco

Cisco Cisco Cisco (ROM) (FLASH) (RAM) RAM(NVRAM) Cisco Ch2 Cisco IOS Cisco Cisco Cisco (ROM) (FLASH) (RAM) RAM(NVRAM) Cisco Cisco ROM ROM Cisco ROM(BIOS) ROM 1. POST Cisco 2. BootStrap Cisco IOS 3. IOS IOS IOS Cisco ROM ROM Cisco Flash Flash Flash IOS Cisco

More information

通过动态路由协议实现链路备份

通过动态路由协议实现链路备份 通过动态路由协议实现链路备份 实验名称 通过动态路由协议实现链路备份 实验目的 掌握通过在不同链路上配置不同的路由协议实现链路备份 背景描述 你是公司高级网络管理员, 公司内部有一个很重要的服务器所在网段为 192.168.12.0/24, 平常访问通过 R1,R3 的 OSPF 路由协议, 为了保证该网段随时能够访问, 不能因为链路故障出问题, 要求你实现一个备份冗余的功能, 请给予支持 实现功能

More information

mppp-ddr.pdf

mppp-ddr.pdf DDR 多 链 路 PPP - 基 本 配 置 和 验 证 目 录 简 介 开 始 使 用 前 规 则 先 决 条 件 使 用 的 组 件 多 链 路 PPP 干 什 么 配 置 多 链 路 PPP 命 令 传 统 DDR 拨 号 原 型 (Dialer Profile) 验 证 MPPP 操 作 相 关 信 息 简 介 多 链 路 PPP ( 也 指 MP MPPP MLP 或 多 链 路 ) 提

More information

epub

epub 3 Cisco 3.1 S e t u p C i s c o C i s c o Cisco IOS C i s c o 3.2 Te l n e t T F T P 3-1 3-1 configure terminal configure memory Configure network t e l n e t < C t r l - Z > conf t N V R A M T F T P I

More information

目录 目录... I BOSON NETSIM 入门进阶 实战 BOSON NETSIM 基本实验 路由器基本实验 - 静态路由 缺省路由配置 交换机基本实验 -VLAN VTP TRUNK 远程访问基本实验 -PPP CHAP...11

目录 目录... I BOSON NETSIM 入门进阶 实战 BOSON NETSIM 基本实验 路由器基本实验 - 静态路由 缺省路由配置 交换机基本实验 -VLAN VTP TRUNK 远程访问基本实验 -PPP CHAP...11 目录 目录... I BOSON NETSIM 入门进阶 实战...1 1 BOSON NETSIM 基本实验...1 1.1 路由器基本实验 - 静态路由 缺省路由配置...1 1.2 交换机基本实验 -VLAN VTP TRUNK...7 1.3 远程访问基本实验 -PPP CHAP...11 2 BOSON NETSIM 进阶实验...15 2.1 ISDN 传统 DDR 配置 (Legacy

More information

active phisical rp address: backup phisical rp address: 截取部分 TOPO 图说明到 不通的问题 : internet internet tengige 0/0/0/0 tengige

active phisical rp address: backup phisical rp address: 截取部分 TOPO 图说明到 不通的问题 : internet internet tengige 0/0/0/0 tengige ASR9000 ping 丢包 troubleshooting 目录 硬件平台软件版本案例介绍问题分析思路问题总结经验总结相关命令 硬件平台 ASR9000 软件版本 4.2.0 案例介绍 拓扑示例 : 问题, 客户从外网 internet ping 3 个 vrrp subnet 的地址时候始终只能通一个 IP 地址 : vrrp virtual IP :2.2.2.129 其他不能 ping 通的

More information

ebook20-7

ebook20-7 7 Catalyst 5000 Catalyst 5000 Cisco Works for Switched Internetworks (CWSI) C L I C L I G U I C L C W S I C i s c o C W S I C L I I P Te l n e t C L I 9600 8 6 7.1 Catalyst C a t a l y s t Cisco IOS C

More information

TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP

TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP TCP/IP : TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP 1. ASCII EBCDIC Extended Binary-Coded Decimal Interchange Code 2. / (1) (2) Single System Image SSI) (3) I/O (4) 3.OSI OSI Open System Interconnection

More information

02.实验二:虚拟局域网与VLAN间通信

02.实验二:虚拟局域网与VLAN间通信 计算机网络 实验指导 实验二 : 虚拟局域网与 VLAN 间通信 一 实验目的 1 理解交换机的工作原理; 2 掌握交换机的带外管理和带内管理的基本方法; 3 理解虚拟局域网(VLAN) 的基本概念和原理 ; 4 掌握在多台二层交换机间划分虚拟局域网的详细内容和操作命令; 5 掌握 VLAN 间通信的基本原理与配置方法 二 实验学时 2 学时 三 实验类型 综合性 四 实验需求 1 硬件每人配备计算机

More information

¶C¶L§§¬_™¨ A.PDF

¶C¶L§§¬_™¨ A.PDF 1 9 3 1 9 4 / 7.1 / 1 9 5 7.2 % netstat -rn Routing tables Destination Gateway Flags Refcnt Use Interface 127.0.0.1 127.0.0.1 UH 1 132 lo0 172.16.12.0 172.16.12.2 U 26 49041 le0 1 9 6 / % ping -s almond

More information

Microsoft Word - CCNA2_Exploration_instructor_40_CoverSheet.DOC

Microsoft Word - CCNA2_Exploration_instructor_40_CoverSheet.DOC 本 文 档 是 Cisco Systems, Inc. 的 专 有 财 产, 为 Cisco Networking Academy 讲 授 CCNA Exploration 路 由 协 议 和 概 念 课 程 的 教 师 专 用, 允 许 打 印 或 复 制 作 非 商 业 用 途 实 验 1.5.1: 网 络 布 线 和 基 本 路 由 器 配 置 ( 教 师 版 ) 拓 扑 图 地 址 分 配

More information

幻灯片 1

幻灯片 1 Lab 2 路由器的基本管理 1 实验目的 1. 理解 TFTP 服务的特点与作用与配置 2. 掌握 TFTP 服务的配置 3. 掌握使用 TFTP 上传进行 IOS 备份的方法 4. 掌握使用 TFTP 下载进行 IOS 恢复 / 更新的方法 5. 掌握使用 TFTP 进行配置文件的备份与恢复的方法 6. 掌握路由器密码恢复的基本方法 R&S 1-2 实验内容 1 通过 TFTP 进行 IOS 备份

More information

IP Access Lists IP Access Lists IP Access Lists

IP Access Lists IP Access Lists IP Access Lists Chapter 10 Access Lists IP Access Lists IP Access Lists IP Access Lists Security) IP Access Lists Access Lists (Network router For example, RouterA can use an access list to deny access from Network 4

More information

一.NETGEAR VPN防火墙产品介绍

一.NETGEAR VPN防火墙产品介绍 NETGEAR VPN NETGEAR 6 http://www.netgear.com.cn - 1 - NETGEAR VPN... 4 1.1 VPN...4 1.2 Dynamic Domain Name Service...4 1.3 Netgear VPN...4 Netgear VPN... 6 2.1 FVS318 to FVS318 IKE Main...7 2.1.1 A VPN

More information

F5270

F5270 Cisco 路 由 器 設 定 主 講 : 陳 建 民 本 章 提 要 4-1 Cisco 路 由 器 使 用 者 界 面 4-2 命 令 列 界 面 4-3 路 由 器 與 交 換 器 的 管 理 功 能 4-4 路 由 器 界 面 4-5 檢 視 儲 存 與 清 除 組 態 設 定 2 Cisco 路 由 器 3 4 5 6 Router physical characteristics 7 4-1

More information

自由軟體教學平台

自由軟體教學平台 NCHC Opensource task force DRBL steven@nchc.gov.tw, c00hkl00@nchc.gov.tw National Center for High-Performance Computing http://www.nchc.gov.tw Jan, 2003 1 2003/1/28 ( ) 09:00-10:30 10:40-12:00 Linux 13:00-14:30

More information

工程师培训

工程师培训 .1 TCP/IP TCP/IP 1 .2.2.1 Host 1960 S 1970 S Host Low Speed Lines 1970 S 1980 S pc Server Local Interneting 1980 S 1990 S Branch. pc Branch. WAN Branch. pc pc IBM SNA IBM X.25 2 .2.2 OSI OSI Application

More information

Chapter #

Chapter # 第三章 TCP/IP 协议栈 本章目标 通过本章的学习, 您应该掌握以下内容 : 掌握 TCP/IP 分层模型 掌握 IP 协议原理 理解 OSI 和 TCP/IP 模型的区别和联系 TCP/IP 介绍 主机 主机 Internet TCP/IP 早期的协议族 全球范围 TCP/IP 协议栈 7 6 5 4 3 应用层表示层会话层传输层网络层 应用层 主机到主机层 Internet 层 2 1 数据链路层

More information

Procedural Lab Template, Student Version, Required Components

Procedural Lab Template, Student Version, Required Components 拓 樸 圖 位 址 配 置 表 設 備 介 面 IP 位 址 子 網 路 遮 罩 預 設 閘 道 R1 Fa0/0 192.168.1.1 255.255.255.0 不 適 用 S0/0/0 192.168.2.1 255.255.255.0 不 適 用 R2 Fa0/0 192.168.3.1 255.255.255.0 不 適 用 S0/0/0 192.168.2.2 255.255.255.0

More information

GPRS IP MODEM快速安装说明

GPRS IP MODEM快速安装说明 GF-3026D CDMA 无 线 路 由 器 用 户 手 册 北 京 嘉 复 欣 科 技 有 限 公 司 地 址 : 北 京 市 海 淀 区 阜 成 路 115 号 北 京 印 象 2 号 楼 213 室 电 话 :86-10-88122130 88153193 88153197 传 真 :86-10-88122129 网 站 :http://www.garefowl.com/ 目 录 一 产 品

More information

<4D F736F F D BDBBBBBBBBFABBF9B1BEC5E4D6C32E646F63>

<4D F736F F D BDBBBBBBBBFABBF9B1BEC5E4D6C32E646F63> 第 12 章交换机基本配置 交换机是局域网中最重要的设备, 交换机是基于 MAC 来进行工作的 和路由器类似, 交换机也有 IOS,IOS 的基本使用方法是一样的 本章将简单介绍交换机的一些基本配置, 以及交换机独特的密码恢复 IOS 恢复步骤 关于 VLAN Trunk 等将在后面章节介绍 12.1 交换机简介 交换机是第二层的设备, 可以隔离冲突域 交换机是基于收到的数据帧中的源 MAC 地址和目的

More information

PowerPoint 演示文稿

PowerPoint 演示文稿 http://www.ilync.cn Cisco CCNA 系列课程之四 : trunk 功能及端口模式 Yoyo CCSI/MCSE/CCIE 交换机之间的 VLAN 通信 如何实现交换机之间的 VLAN 通信? 每个 VLAN 一条链路? VLAN 1 VLAN 1 VLAN 2 VLAN 2 VLAN 3 VLAN 3 交换机之间的 VLAN 通信 如何实现交换机之间的 VLAN 通信? 只使用一条链路,

More information

局域网技术课程设计报告.doc

局域网技术课程设计报告.doc 湖 南 第 一 师 范 学 院 信 息 科 学 与 工 程 学 院 局 域 网 络 设 计 方 案 1 目 录 一 系 统 概 述...6 1 课 程 设 计 目 的 :...6 2 课 程 设 计 要 求 :...6 3 需 求 分 析 :...6 二 系 统 分 析 与 设 计...7 1 拓 扑 图 设 计...7 2 ip, 掩 码 及 vlan 规 划...7 3 物 理 布 线 设 计...8

More information

SAPIDO GR-1733 無線寬頻分享器

SAPIDO GR-1733 無線寬頻分享器 1 版 權 聲 明... 4 產 品 保 固 說 明... 4 保 固 期 限... 4 維 修 辦 法... 5 服 務 條 款... 5 注 意 事 項... 6 低 功 率 電 波 輻 射 性 電 機 管 理 辦 法... 6 CE 標 誌 聲 明... 6 無 線 功 能 注 意 事 項... 6 1 產 品 特 點 介 紹... 7 1.1 LED 指 示 燈 功 能 說 明... 8 1.2

More information

(UTM???U_935_938_955_958_959 V2.1.9.1)

(UTM???U_935_938_955_958_959 V2.1.9.1) 192.16 www.sharetech.com.tw UTM 多 功 能 防 火 牆 管 理 者 手 冊 V 2.1.9.1 目 錄 第 一 章 安 裝 與 訊 息... 7 1-1 建 議 的 安 裝 設 定 圖... 8 1-2 軟 體 安 裝 設 定... 9 1-3 首 頁 訊 息... 14 1-4 型 號 與 功 能 對 照 表... 17 第 二 章 系 統 設 定... 19 2-1

More information

《计算机网络》实验指导书

《计算机网络》实验指导书 1 实 验 一 网 络 组 建 与 管 理 一. 实 验 目 的 1. 掌 握 平 行 双 绞 线 和 交 叉 双 绞 线 的 制 作 方 法 ( 初 级 ) 2. 掌 握 对 等 网 和 代 理 服 务 器 网 络 的 组 建 ( 初 级 ) 3. 会 用 ipconfig 和 ping 命 令 ( 初 级 ) 4. 掌 握 网 络 中 文 件 夹 共 享 和 打 印 机 共 享 ( 初 级 )

More information

Symantec™ Sygate Enterprise Protection 防护代理安装使用指南

Symantec™ Sygate Enterprise Protection 防护代理安装使用指南 Symantec Sygate Enterprise Protection 防 护 代 理 安 装 使 用 指 南 5.1 版 版 权 信 息 Copyright 2005 Symantec Corporation. 2005 年 Symantec Corporation 版 权 所 有 All rights reserved. 保 留 所 有 权 利 Symantec Symantec 徽 标 Sygate

More information

网工新答案

网工新答案 2005 年 5 月 29 日 软 考 2005 年 上 半 年 网 络 工 程 师 上 午 试 题 ( 参 考 答 案 ) ( 特 别 声 明, 此 答 案 只 作 参 考 ) 本 文 是 经 过 三 审 后 的 CIU 网 工 上 午 参 考 答 案 ( 正 确 率 在 92%-95% 之 间, 因 为 种 种 原 因, 不 能 与 标 准 答 案 完 全 相 同, 请 大 家 理 解 ) 如

More information

一、选择题

一、选择题 计 算 机 网 络 基 础 第 7 章 练 习 思 考 与 认 识 活 动 一 选 择 题 1. 下 面 命 令 中, 用 于 检 查 WINDOWS2000 下 TCP/IP 配 置 信 息 的 是 ( ) A. cmd B. nslookup C. ipconfig D. ping 2. 内 部 网 关 协 议 RIP 是 一 种 广 泛 使 用 的 基 于 距 离 矢 量 算 法 的 协 议

More information

ebook140-9

ebook140-9 9 VPN VPN Novell BorderManager Windows NT PPTP V P N L A V P N V N P I n t e r n e t V P N 9.1 V P N Windows 98 Windows PPTP VPN Novell BorderManager T M I P s e c Wi n d o w s I n t e r n e t I S P I

More information

7/ (8)A (9) A B B C C D D C 0/ /6 8 A C 4 4 (4) A (MPLS) MPLS)IETF B MPLS 4 4 C

7/ (8)A (9) A B B C C D D C 0/ /6 8 A C 4 4 (4) A (MPLS) MPLS)IETF B MPLS 4 4 C : 3 /6 ( N-ISDN (B+D) B+D) (30B+D) B+D) 9 9 (9)A. A. B 6Kb Kbs B. D 6Kb Kbs C. B 64Kb Kbs D. D 64Kb Kbs (B+D) B+D)(30B+D) B+D) B 64Kb KbsD 6 664 ABD(9)C 3/6 4/6 RIP 35 35 RIP 36 36 (35) A B C. D (36) A

More information

ebook140-8

ebook140-8 8 Microsoft VPN Windows NT 4 V P N Windows 98 Client 7 Vintage Air V P N 7 Wi n d o w s NT V P N 7 VPN ( ) 7 Novell NetWare VPN 8.1 PPTP NT4 VPN Q 154091 M i c r o s o f t Windows NT RAS [ ] Windows NT4

More information

中文朗科AirTrackTM T600 迷你无线路由器用户手册.doc

中文朗科AirTrackTM T600 迷你无线路由器用户手册.doc AirTrack T600 http://www.netac.com.cn Netac Netac AirTrack OnlyDisk Netac Netac Netac http://www.netac.com.cn Netac 800-830-3662 FCC 15 B 1 2 3 4 / FCC 20cm 1 2 3 / / ...1 1.1...1 1.2...1 1.3...1 1.4...3...4

More information

BYOD Http Redirect convergence Client (1) 2008R2 NLB( ) (2) NLB Unicast mode switch flooding (arp ) NLB DNS Redirect 1. Round-Robin DNS DNS IP/DNS Cli

BYOD Http Redirect convergence Client (1) 2008R2 NLB( ) (2) NLB Unicast mode switch flooding (arp ) NLB DNS Redirect 1. Round-Robin DNS DNS IP/DNS Cli BYOD 204 2015 GoogleHicloud (Load Balance) Server Load Balance Link Load Balance Server Redirect 1. URL Redirect redirector URL redirect Real Server Client HTTP Real Server Web Client 2 (1) URL Redirect

More information

VIDEOJET connect 7000 VJC-7000-90 zh- CHS Operation Manual VIDEOJET connect 7000 zh-chs 3 目 录 1 浏 览 器 连 接 7 1.1 系 统 要 求 7 1.2 建 立 连 接 7 1.2.1 摄 像 机 中 的 密 码 保 护 7 1.3 受 保 护 的 网 络 7 2 系 统 概 述 8 2.1 实 况

More information

SERVERIRON ADX

SERVERIRON ADX www.brocade.com BROCADE VDX 6720 Brocade Virtual Cluster Switching VCSBrocade 600 Inter-Switch Link (ISL) Trunking multihomed ( Ethernet Fabric ) Fibre Channel over Ethernet (FCoE) iscsi NAS IP LAN Automatic

More information

Session Dan Gill 2 IP WAN WAN? Networker NSC-114 RST-271 NSC-211 : MTBF: MTTR: MTBF MTTR : MTBF? MTTR? MTTR MTTR MTTR MTBF MTTR Mom-and-apple-pie MTBF MTBF (UPS, ) Mom-and-apple-pie Increase MTBF MTBF?

More information

实 验 一 双 绞 线 的 制 作 目 的 要 求 1 了 解 非 屏 蔽 双 绞 线 制 作 的 相 关 标 准 2 掌 握 在 各 种 应 用 环 境 下 非 屏 蔽 双 绞 线 的 作 用 与 制 作 3 掌 握 网 线 线 缆 测 试 仪 的 使 用 实 验 设 备 压 线 钳 测 线 仪

实 验 一 双 绞 线 的 制 作 目 的 要 求 1 了 解 非 屏 蔽 双 绞 线 制 作 的 相 关 标 准 2 掌 握 在 各 种 应 用 环 境 下 非 屏 蔽 双 绞 线 的 作 用 与 制 作 3 掌 握 网 线 线 缆 测 试 仪 的 使 用 实 验 设 备 压 线 钳 测 线 仪 数 据 通 信 与 计 算 机 网 络 实 验 指 导 书 实 验 一 双 绞 线 的 制 作 目 的 要 求 1 了 解 非 屏 蔽 双 绞 线 制 作 的 相 关 标 准 2 掌 握 在 各 种 应 用 环 境 下 非 屏 蔽 双 绞 线 的 作 用 与 制 作 3 掌 握 网 线 线 缆 测 试 仪 的 使 用 实 验 设 备 压 线 钳 测 线 仪 双 绞 线 RJ-45 水 晶 头 实 验

More information

1 公 司 简 介 2 VRRP 原 理 和 应 用 3 新 产 品 和 创 业 计 划 及 赠 书 活 动

1 公 司 简 介 2 VRRP 原 理 和 应 用 3 新 产 品 和 创 业 计 划 及 赠 书 活 动 RouterOS VRRP 应 用 案 例 Application case ISSUE 1.0 Nanning YONGYI Network Technology Co., Ltd. www.mikrotik.cn www.routeros.com.cn www.routerboard.com.cn 陈 家 迁 CHEN JIA QIAN 手 机 Phone:13077766825 E-MAIL:gx18598@126.com

More information

QL1880new2.PDF

QL1880new2.PDF ADSL Modem 1 MODEM 56K MODEM 128K ISDN INTERNET ADSL Modem VOD ADSL ADSL 2 1.1 ADSL 1.2 1.3 KM300A 2.1 2.2 2.3 2.4 2.5 KM300A 2.6 web 2.7 1.1ADSL 1.2 1.3 2.1 ADSL 2.2 ADSL 3 ADSL KM300A ADSL KM300A DIY

More information

升 级 过 程 概 述 Cisco 集 中 无 线 网 络 架 构 中,AP 工 作 在 瘦 AP(LAP) 模 式 LAP 关 联 到 无 线 控 制 器 (WLC), 控 制 器 管 理 着 配 置 软 件 升 级 以 及 802.1X 认 证 等 控 制 处 理 ; 此 外, 控 制 器 还

升 级 过 程 概 述 Cisco 集 中 无 线 网 络 架 构 中,AP 工 作 在 瘦 AP(LAP) 模 式 LAP 关 联 到 无 线 控 制 器 (WLC), 控 制 器 管 理 着 配 置 软 件 升 级 以 及 802.1X 认 证 等 控 制 处 理 ; 此 外, 控 制 器 还 本 文 档 将 通 过 以 下 章 节 描 述 如 何 将 胖 AP 升 级 为 瘦 AP, 并 与 WLC 进 行 通 信 : 升 级 过 程 概 述... 3 比 要 条 件... 3 重 要 事 项... 5 升 级 准 备 工 作... 5 基 础 环 境 准 备... 6 使 用 DHCP Option 43 参 数... 7 控 制 器 的 准 备 工 作... 9 升 级 步 骤...

More information

MASQUERADE # iptables -t nat -A POSTROUTING -s / o eth0 -j # sysctl net.ipv4.ip_forward=1 # iptables -P FORWARD DROP #

MASQUERADE # iptables -t nat -A POSTROUTING -s / o eth0 -j # sysctl net.ipv4.ip_forward=1 # iptables -P FORWARD DROP # iptables 默认安全规则脚本 一 #nat 路由器 ( 一 ) 允许路由 # iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT ( 二 ) DNAT 与端口转发 1 启用 DNAT 转发 # iptables -t nat -A PREROUTING -p tcp -d 192.168.102.37 dprot 422 -j DNAT to-destination

More information

精 品 库 我 们 的 都 是 精 品 _www.jingpinwenku.com 根 据 图 中 信 息 标 号 为 2 的 方 格 中 的 内 容 为 A)S=59.171.1,1234 D=133.2.1.1,80 B)S=59.67.1.1,1234 D=10.0.1.1,80 C)S=13

精 品 库 我 们 的 都 是 精 品 _www.jingpinwenku.com 根 据 图 中 信 息 标 号 为 2 的 方 格 中 的 内 容 为 A)S=59.171.1,1234 D=133.2.1.1,80 B)S=59.67.1.1,1234 D=10.0.1.1,80 C)S=13 一 选 择 题 2010 年 3 月 计 算 机 等 级 考 试 四 级 网 络 工 程 师 笔 试 真 题 (1)TTC 标 准 OC-3 的 传 输 速 率 为 A) 512.4 Mbps B)155.52 Mbps C)622.08 Mbps D). Mbps (2)102.11n 将 传 输 速 率 提 高 到 A)11 Mbps B)22 Mbps C)54 Mbps D)100 Mbps

More information

第3章

第3章 本 章 涵 盖 以 下 主 题 全 局 单 播 地 址 路 由 和 子 网 划 分 : 本 节 通 过 与 IPv4 相 比 较, 介 绍 了 IPv6 地 址 IPv4 路 由 的 概 念, 以 及 怎 样 进 行 IPv6 子 网 划 分 IPv6 全 局 单 播 地 址 的 分 配 : 本 节 探 讨 了 怎 样 将 全 局 单 播 地 址 分 配 到 主 机 或 其 他 设 备 上 IPv6

More information

Data Server_new_.doc

Data Server_new_.doc 0i B/C Data Server Windows 2000 Window XP Windows XP FTP FANUC Data Server FTP liwei@beijing-fanuc 1 06-10-8 Content 1. /...3 1.1...3 1.2...3 1.3 CNC...3 2....5 2.1 STORAGE...5 2.2 FTP...6 2.3 BUFFER...7

More information

RG-NBS5816XS交换机RGOS 10.4(3)版本WEB管理手册

RG-NBS5816XS交换机RGOS 10.4(3)版本WEB管理手册 Web 配 置 手 册 NBS 5816XS 交 换 机 RGOS 10.4(3) 文 档 版 本 号 :V1.0 技 术 支 持 4008-111-000 http://webchat.ruijie.com.cn 版 权 声 明 福 建 星 网 锐 捷 网 络 有 限 公 司 2015 锐 捷 网 络 有 限 公 司 版 权 所 有, 并 保 留 对 本 手 册 及 本 声 明 的 一 切 权 利

More information

P4V88+_BIOS_CN.p65

P4V88+_BIOS_CN.p65 1 Main H/W Monitor Boot Security Exit System Overview System Time System Date [ 17:00:09] [Wed 12/22/2004] BIOS Version : P4V88+ BIOS P1.00 Processor Type : Intel (R) Pentium (R) 4 CPU 2.40 GHz Processor

More information

版权声明

版权声明 SG3124 http://www.utt.com.cn 2000-2008 URL Internet Web EULA EULA UTT HiPER PN 0901-0003-001 DN PR-PMMU-1180.03-PPR-CN-1.0A ...1 1...2 1.1...2 1.2...2 1.3...3 1.4...3 2 1.4.1...3 1.4.2...4...5 2.1...5

More information

飞鱼星多WAN防火墙路由器用户手册

飞鱼星多WAN防火墙路由器用户手册 WAN VER: 20110218 Copyright 2002-2011 VOLANS WAN VR4600 VR4900 VR7200 VR7500 VR7600 1.1 1.2 IP 1.3 2.1 2.2 2.2.1 2.2.2 3.1 3.2 3.2.1 3.2.2 3.2.3 4.1 4.2 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.3 4.3.1 4.3.2

More information

12.pdf

12.pdf 对 帧 中 继 配 置 与 故 障 排 除 的 全 面 的 指 南 交 互 : 本 文 档 对 您 的 Cisco 设 备 进 行 自 定 义 分 析 目 录 简 介 开 始 使 用 前 规 则 先 决 条 件 使 用 的 组 件 背 景 理 论 配 置 基 本 的 帧 中 继 网 络 图 配 置 debug 和 show 命 令 配 置 星 形 帧 中 继 网 络 图 配 置 显 示 命 令 分

More information

考试要点 以下是故障排除并维护 Cisco IP 网络 v2( ) 考试的的主要内容和考点 然而, 在考试的特定版本中也可能出现其他相关的考点为了更好地反映考试内容并明确考试目的, 下面的考试大纲可能在不发出通知的情况下随时调整 1.0 Network Principles 5% 1.1

考试要点 以下是故障排除并维护 Cisco IP 网络 v2( ) 考试的的主要内容和考点 然而, 在考试的特定版本中也可能出现其他相关的考点为了更好地反映考试内容并明确考试目的, 下面的考试大纲可能在不发出通知的情况下随时调整 1.0 Network Principles 5% 1.1 300-135 TSHOOT 考试 故障排除并维护 Cisco IP 网络 考试编号 : 300-135 相关认证 : CCNP 时间 : 120 分钟 (15-25 个问题 ) 可选择语言 : 点击此处报名 : 考试题型 : 考试费用 : 英语 Pearson VUE 单选 多选 填空 拖图 Lab $250USD 考试说明 TSHOOT 300-135 考试证明通过的考生具备以下的知识和技能 :

More information

1 WLAN 接 入 配 置 本 文 中 的 AP 指 的 是 LA3616 无 线 网 关 1.1 WLAN 接 入 简 介 WLAN 接 入 为 用 户 提 供 接 入 网 络 的 服 务 无 线 服 务 的 骨 干 网 通 常 使 用 有 线 电 缆 作 为 线 路 连 接 安 置 在 固 定

1 WLAN 接 入 配 置 本 文 中 的 AP 指 的 是 LA3616 无 线 网 关 1.1 WLAN 接 入 简 介 WLAN 接 入 为 用 户 提 供 接 入 网 络 的 服 务 无 线 服 务 的 骨 干 网 通 常 使 用 有 线 电 缆 作 为 线 路 连 接 安 置 在 固 定 目 录 1 WLAN 接 入 配 置 1-1 1.1 WLAN 接 入 简 介 1-1 1.1.1 无 线 扫 描 1-1 1.1.2 关 联 1-3 1.2 WLAN 客 户 端 接 入 控 制 1-4 1.2.1 基 于 AP 组 的 接 入 控 制 1-4 1.2.2 基 于 SSID 的 接 入 控 制 1-4 1.3 零 漫 游 1-5 1.4 WLAN 接 入 配 置 任 务 简 介 1-6

More information

epub 30-12

epub 30-12 12 IP I P I P E s t a b l i s h e d I P I P l o c k - a n d - k e y V T Y 12.1 1) 2) D D R 3) 4) 5) 12.2 IP C i s c o 1) I P I P I P 402 CCIE 1 I P 0 0.0.0.0 1 3 150. 1. 1 1 ~ 255 150. 1. 1. 0 2) Inbound

More information

A API Application Programming Interface 见 应 用 程 序 编 程 接 口 ARP Address Resolution Protocol 地 址 解 析 协 议 为 IP 地 址 到 对 应 的 硬 件 地 址 之 间 提 供 动 态 映 射 阿 里 云 内

A API Application Programming Interface 见 应 用 程 序 编 程 接 口 ARP Address Resolution Protocol 地 址 解 析 协 议 为 IP 地 址 到 对 应 的 硬 件 地 址 之 间 提 供 动 态 映 射 阿 里 云 内 A API Application Programming Interface 见 应 用 程 序 编 程 接 口 ARP Address Resolution Protocol 地 址 解 析 协 议 为 IP 地 址 到 对 应 的 硬 件 地 址 之 间 提 供 动 态 映 射 阿 里 云 内 容 分 发 网 络 Alibaba Cloud Content Delivery Network 一

More information

Bus Hound 5

Bus Hound 5 Bus Hound 5.0 ( 1.0) 21IC 2007 7 BusHound perisoft PC hound Bus Hound 6.0 5.0 5.0 Bus Hound, IDE SCSI USB 1394 DVD Windows9X,WindowsMe,NT4.0,2000,2003,XP XP IRP Html ZIP SCSI sense USB Bus Hound 1 Bus

More information

未命名 -1

未命名 -1 BV8188M 使 用 说 明 INSTRUCTIONS 使 用 之 前 请 仔 细 阅 读 此 手 册 Please read before using this manual 深 圳 市 碧 维 视 科 技 有 限 公 司 2013 年 碧 维 视 印 刷, 版 权 所 有, 翻 版 必 究, 本 手 册 内 所 有 图 文, 未 经 授 权, 严 谨 与 任 何 方 式 之 全 面 或 部 分

More information

Abstract arm linux tool-chain root NET-Start! 2

Abstract arm linux tool-chain root NET-Start! 2 Lab III - Embedding Linux 1 Abstract arm linux tool-chain root NET-Start! 2 Part 1.4 Step1. tool-chain 4 Step2. PATH 4 Part 2 kernel 5 Step1. 5 Step2... 6 Step3...8 Part 3 root. 8 Step1. 8 Step2. 8 Part

More information

WebSphere Studio Application Developer IBM Portal Toolkit... 2/21 1. WebSphere Portal Portal WebSphere Application Server stopserver.bat -configfile..

WebSphere Studio Application Developer IBM Portal Toolkit... 2/21 1. WebSphere Portal Portal WebSphere Application Server stopserver.bat -configfile.. WebSphere Studio Application Developer IBM Portal Toolkit... 1/21 WebSphere Studio Application Developer IBM Portal Toolkit Portlet Doug Phillips (dougep@us.ibm.com),, IBM Developer Technical Support Center

More information

<4D F736F F D C2B7D3C9C6F7BBF9B1BEC5E4D6C32E646F63>

<4D F736F F D C2B7D3C9C6F7BBF9B1BEC5E4D6C32E646F63> 第 2 章路由器基本配置 本章将先简要介绍路由器的硬件组成, 而重点介绍路由器中最重要的部分 IOS, 对路由器的配置实际上就是对 IOS 软件进行配置 IOS 提供了大量的命令, 熟悉这些命令才能很好地发挥路由器的功能, 本章介绍的是路由器的一些基础性命令 2.1.1 路由器简介 2.1 路由器简介和 IOS 简介 路由器能起到隔离广播域的作用, 还能在不同网络间转发数据包 路由器实际上是一台特殊用途的计算机,

More information

CCNA 講義

CCNA 講義 CCNA 筆 記 王 振 民 目 錄 第 1 章 Packet Tracer 的 使 用... 2 第 1 節 安 裝... 2 第 2 節 建 置 網 路 環 境 _01( 二 台 PC+ 一 台 HUB)... 8 第 3 節 Pc 的 設 定 :IP, cmd...... 10 第 4 節 傳 送 封 包 (ICMP 封 包 檢 視...)... 13 第 2 章 基 礎 知 識... 14

More information

untitled

untitled TS-411U Turbo Server TS-411U Turbo Server ( : 1.0.0) 2005 2005 12 8-2 - 1. 2. TS-411U Turbo Server - 3 - ... 7 1.1... 7 1.2... 8 1.3... 9 TS-411U... 10 2.1... 10 2.2... 14 2.3 TS-411U... 15 LCD... 17...

More information

untitled

untitled CIU ( ) 2005 ( 9 00 11 30 150 ) 1 2B 2 75 1 75 3 A B C D 4 2B 2005 ( ) 88 89 (88)A 4 B 5 C 6 D 7 (89)A 27 B 28 C 29 D 30 5 29 (88) B (89) C 88 B 89 C ( ) 1 2 (1)A B C. D (2)A B C. D 16M (3) (3)A 16 B 20

More information

管理CISCO IOS

管理CISCO IOS 学习沉淀成长分享 管理 CISCO IOS 红茶三杯 ( 朱 SIR) 红茶三杯 ( 朱 SIR) 微博 : t.sina.com/vinsoney Latest update: 2012-06-01 课程目标 CISCO 路由器及启动过程 CISCO IOS 介绍 CISCO IOS 路由器基础实验 CISCO 路由器及启动过程 路由器组件 路由器启动过程 路由器组件 路由器组件及功能 CPU 执行操作系统的指令

More information

声 明 Copyright 2010 杭 州 华 三 通 信 技 术 有 限 公 司 及 其 许 可 者 版 权 所 有, 保 留 一 切 权 利 未 经 本 公 司 书 面 许 可, 任 何 单 位 和 个 人 不 得 擅 自 摘 抄 复 制 本 书 内 容 的 部 分 或 全 部, 并 不 得

声 明 Copyright 2010 杭 州 华 三 通 信 技 术 有 限 公 司 及 其 许 可 者 版 权 所 有, 保 留 一 切 权 利 未 经 本 公 司 书 面 许 可, 任 何 单 位 和 个 人 不 得 擅 自 摘 抄 复 制 本 书 内 容 的 部 分 或 全 部, 并 不 得 H3C E528&E552 以 太 网 交 换 机 安 装 手 册 杭 州 华 三 通 信 技 术 有 限 公 司 http://www.h3c.com.cn 资 料 版 本 :20100427-5W100 声 明 Copyright 2010 杭 州 华 三 通 信 技 术 有 限 公 司 及 其 许 可 者 版 权 所 有, 保 留 一 切 权 利 未 经 本 公 司 书 面 许 可, 任 何

More information

PH802使用手册

PH802使用手册 net technology PH802 net Words Machine Manual http://www.manuallib.com/file/616304 From ManualLib.com ManualLib.com collects and classifies the global product instrunction manuals to help users access

More information

UDP 8.2 TCP/IP OSI OSI 3 OSI TCP/IP IP TCP/IP TCP/IP Transport Control Protocol TCP User Datagram Protocol UDP TCP TCP/IP IP TCP TCP/IP TC

UDP 8.2 TCP/IP OSI OSI 3 OSI TCP/IP IP TCP/IP TCP/IP Transport Control Protocol TCP User Datagram Protocol UDP TCP TCP/IP IP TCP TCP/IP TC 8 TCP/IP TCP/IP TCP OSI 8.1 OSI 4 end to end A B FTP OSI Connection Management handshake Flow Control Error Detection IP Response to User s Request TCP/IP TCP 181 UDP 8.2 TCP/IP OSI OSI 3 OSI 3 8.1 TCP/IP

More information

User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2

User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2 Terminal Mode No User User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2 Mon1 Cam-- Mon- Cam-- Prohibited M04 Mon1 Cam03 Mon1 Cam03

More information

ICD ICD ICD ICD ICD

ICD ICD ICD ICD ICD MPLAB ICD2 MPLAB ICD2 PIC MPLAB-IDE V6.0 ICD2 usb PC RS232 MPLAB IDE PC PC 2.0 5.5V LED EEDATA MPLAB ICD2 Microchip MPLAB-IDE v6.0 Windows 95/98 Windows NT Windows 2000 www.elc-mcu.com 1 ICD2...4 1.1 ICD2...4

More information

第4章网络层_2_.doc

第4章网络层_2_.doc ( 章 节 专 题 首 页 ) 课 程 名 称 计 算 机 网 络 章 节 专 题 第 4 章 网 络 层 ( 二 ) 1.IP 数 据 报 的 格 式 ; 教 学 目 标 及 基 本 要 求 2. 理 解 子 网 划 分 的 意 义, 掌 握 如 何 划 分 子 网 ; 3. 理 解 超 网 构 造 原 理, 掌 握 构 造 超 网 ; 4. 知 道 网 际 控 制 报 文 协 议 ICMP 及

More information

f2.eps

f2.eps 前 言, 目 录 产 品 概 况 1 SICAM PAS SICAM 电 力 自 动 化 系 统 配 置 和 使 用 说 明 配 置 2 操 作 3 实 时 数 据 4 人 机 界 面 5 SINAUT LSA 转 换 器 6 状 态 与 控 制 信 息 A 版 本 号 : 08.03.05 附 录, 索 引 安 全 标 识 由 于 对 设 备 的 特 殊 操 作 往 往 需 要 一 些 特 殊 的

More information

ch09.PDF

ch09.PDF 9-1 / (TCP/IP) TCP/IP TCP/IP ( ) ICMP ARP RARP 9.1 TCP/IP 9.1.1 TCP/IP OSI TCP/IP (DARPA) DARPA TCP/IP UNIX Berkeley Software DistributionTCP/IP TCP/IP TCP/IP TCP/IP TCP/IP TCP/IP OSI - TCP/IP ( ) ( )

More information

1

1 SDT Uclinux SDT.alf.c 44blib.alf 44blib.c jtag ADS.alf.c make menuconfig make dep make clean make lib_only make user_only make romfs make image make uclinux ext2 cash lcd frambuffer 1 armsys-c uclinux

More information

<4D F736F F D CAB5D1E9CDD8C6CBA1A2D6D5B6CBB7FECEF1C6F7C5E4D6C32E646F63>

<4D F736F F D CAB5D1E9CDD8C6CBA1A2D6D5B6CBB7FECEF1C6F7C5E4D6C32E646F63> 第 1 章实验拓扑 终端服务器配置 本章将首先简要介绍如何从计算机上访问路由器以对它们进行配置, 通常可以通过 console 口或者 telnet 来连接路由器 随后还要介绍本书中一直要用到的网络拓扑, 并将详细介绍如何配置终端服务器以达到方便控制各个路由器和交换机的目的 1.1 访问 CISCO 路由器的方法 路由器没有键盘和鼠标, 要初始化路由器需要把计算机的串口和路由器的 console 口进行连接

More information

Single Area OSPF

Single Area OSPF Single Area OSPF 实验目的 了解和掌握 OSPF 的原理, 熟悉 OSPF 配置步骤 懂得如何配置 OSPF router ID,update timers, authentication, 了解 DR/BDR 选举过程, 以及在 multi-access 网络和帧中继网络上点到多点的 OSPF 配置 基本概念及实验原理 OSPF 数据包的五种类型 : Type 1- Hello Type

More information

untitled

untitled 7.1 7.1.1 IP R1 N N,R1,M IP 1 7.1.2 [Quidway]display ip routing Routing Tables: Destination/Mask proto pref Metric Nexthop Interface 0.0.0.0/0 Static 60 0 120.0.0.2 Serial0 8.0.0.0/8 RIP 100 3 120.0.0.2

More information

HOL-CHG-1695

HOL-CHG-1695 Table of Contents 练 习 概 述 - - vsphere 挑 战 练 习... 2 练 习 指 导... 3 第 1 单 元 : 在 实 践 中 学 习 (15 分 钟 )... 5 剪 贴 板 复 制 和 粘 贴 功 能 无 法 使 用?... 6 虚 拟 机 性 能 不 佳... 17 第 2 单 元 : 基 本 运 维 挑 战 (30 分 钟 )... 32 无 法 登 录

More information

两个串行接口上通过虚拟模板的多链路

两个串行接口上通过虚拟模板的多链路 两个串行接口上通过虚拟模板的多链路 目录 简介先决条件要求使用的组件相关产品规则配置网络图配置验证 show 输出示例故障排除故障排除资源故障排除命令调试输出示例相关信息 简介 多链路 PPP (MLP) 对拨号程序接口 ( 如 ISDN 同步和异步接口 ) 上的负载进行均衡 MLP 对数据包进行分割, 并通过并行电路发送各个片段 这样,MLP 可以提高吞吐量, 并减小系统间的延迟 MLP 提供了一种跨多个逻辑数据链路对数据报进行分割

More information

Basic System Administration

Basic System Administration 基 本 系 统 管 理 ESX Server 3.5 ESX Server 3i 版 本 3.5 Virtual Center 2.5 基 本 管 理 指 南 基 本 管 理 指 南 修 订 时 间 :20080410 项 目 :VI-CHS-Q208-490 我 们 的 网 站 提 供 最 新 的 技 术 文 档, 网 址 为 : http://www.vmware.com/cn/support/

More information

Exam1

Exam1 学网络技术去鸿鹄论坛命运的改变从技术开始 鸿鹄团队致力于为每一位网络技术爱好者提供帮助 有事您发帖, 斑竹为您跑腿, 给您答疑 CCNA 题库战报交流群 :82327397 欢迎备考 CCNA 的朋友加入, 一起讨论交流, 通过 CCNA 考试! CCNA 最新题库 / 最新战报发布区 : http://om/forum-261-1.html CCNA 考试代号 : 640-802 考试时间 : 中文

More information

EPSON

EPSON NPD5668-00 TC .... 6....6....6....8....8....10....11....11....12....12....12....12 IP....13 DNS....13....13....15....15.... 18....21 Web Config ( )...21....23....23....24....27.... 27 Web Config.... 28....30....30....31

More information

<4D6963726F736F667420576F7264202D20CDF8B9A42DC9CFCEE7CCE22D3038CFC2>

<4D6963726F736F667420576F7264202D20CDF8B9A42DC9CFCEE7CCE22D3038CFC2> 全 国 计 算 机 技 术 与 软 件 专 业 技 术 资 格 ( 水 平 ) 考 试 2008 年 下 半 年 网 络 工 程 师 上 午 试 卷 (B) ( 考 试 时 间 9 : 00~11 : 30 共 150 分 钟 ) 请 按 下 述 要 求 正 确 填 写 答 题 卡 1. 在 答 题 卡 的 指 定 位 置 上 正 确 写 入 你 的 姓 名 和 准 考 证 号, 并 用 正 规 2B

More information

IP-Routing-05.pdf

IP-Routing-05.pdf RI P R I P - 2 RIP -1 R I P - 2 DV RIP -1 RIP-2 16... RIP-2 RIP-2 RIP -1 R I P - 2 RIP-2 RIP-2 RIP-2 V L S M disc ontiguous addr ess sp ace C I D R Cla ssless In ter -Dom ain Routing 121 1 2 2 IP RIP-2

More information

管理CISCO IOS

管理CISCO IOS 学习沉淀成长分享 设备管理及 CISCO IOS 基础配置 红茶三杯 ( 朱 SIR) 微博 :http://t.sina.com/vinsoney Latest update: 2012-06-01 Content CISCO 路由器及启动过程 设备管理及 CISCO IOS 介绍 CISCO IOS 路由器基础实验 CISCO 路由器及启动过程 路由器组件 路由器启动过程 路由器组件 接口 内存

More information

IP Audio Conference Phone 2033 User Guide

IP Audio Conference Phone 2033 User Guide ±Íà Š Nortel Communication Server 1000 Nortel IP 音 频 会 议 话 机 2033 用 户 指 南 修 订 历 史 修 订 历 史 2005 年 4 月 标 准 版 1.00 此 文 档 是 适 用 于 Communication Server 1000 IP 音 频 会 议 话 机 2033 的 新 文 档 3 修 订 历 史 4 目 录 目 录

More information

RunPC2_.doc

RunPC2_.doc PowerBuilder 8 (5) PowerBuilder Client/Server Jaguar Server Jaguar Server Connection Cache Thin Client Internet Connection Pooling EAServer Connection Cache Connection Cache Connection Cache Connection

More information

穨IC-1000

穨IC-1000 IC-1000 LEDOMARS Information Coporation :(02)27913828 :(02)27945895 (04)2610628 (04)2650852 (07)3897016 (07)3897165 http://www.ledomars.com.tw 1 1. IC-1000 2. IC-1000 LED : ERROR LNK/ACT PWR TEST PWR(Power)

More information

epub 61-2

epub 61-2 2 Web Dreamweaver UltraDev Dreamweaver 3 We b We b We Dreamweaver UltraDev We b Dreamweaver UltraDev We b We b 2.1 Web We b We b D r e a m w e a v e r J a v a S c r i p t We b We b 2.1.1 Web We b C C +

More information

C6_ppt.PDF

C6_ppt.PDF C01-202 1 2 - (Masquerade) (Replay) (Message Modification) (Denial of Service) - ( ) (Eavesdropping) (Traffic Analysis) 8 1 2 7 3 6 5 4 3 - TCP SYN (SYN flood) Smurf Ping of Death LAND Attack Teardrop

More information

9 Internet 10 Internet

9 Internet 10 Internet 1 2 3 4 5 6 Internet 7 8 9 Internet 10 Internet 11 12 1 1.1 1.2 1.3 1.4 1.5 1.6 1.1 1.1.1 20 50 20 60 ARPANET ARPANET Internet 20 70 ISO International Organization for Standardization TCP/IP 20 90 Internet

More information

宏电文档

宏电文档 GPRS DDN 〇〇 1. GPRS (General Packet Radio Service) GSM GSM GPRS GSM TDMA (BSS) GPRS GPRS GPRS DDN GSM/GPRS SMS CSD USSD GPRS (DTU) (Machine To Machine M2M) GPRS DDN H7112 GPRS DTU (Tel): +86-755-83890580

More information

專業式報告

專業式報告 IP POWER 9258 IP POWER 9258 說 : V1.38 : 2006. 08-1 - VER. X.X, FCC CE 1. IP POWER 9258. 2. 9258 3. 9258-2 - 1....4... 9258... 2....5...... 3....6 4....7...... 5....8... PC / SERVER.. 6. IE... 11 9258...

More information

C3_ppt.PDF

C3_ppt.PDF C03-101 1 , 2 (Packet-filtering Firewall) (stateful Inspection Firewall) (Proxy) (Circuit Level gateway) (application-level gateway) (Hybrid Firewall) 2 IP TCP 10.0.0.x TCP Any High Any 80 80 10.0.0.x

More information

<55342D323637CBB5C3F7CAE92E786C73>

<55342D323637CBB5C3F7CAE92E786C73> U4-267 / 1 U4-267 / : CF PowerPoint, TCP/IP Internet Explorer 2 ..2..3..4..5..5..5..9 PC...10 11 12 14 14....15....15....16....16....17....17....18....18....20 23....27 27 PC...27....28 3 CF SanDisk CompactFlash)

More information

第 1 部 分 : 检 查 网 络 要 求 在 第 1 部 分 中, 您 将 研 究 使 用 172.16.128.0/17 网 络 地 址 为 拓 扑 图 中 显 示 的 网 络 开 发 VLSM 地 址 方 案 的 网 络 要 求 注 意 : 您 可 以 使 用 Windows 计 算 器 应

第 1 部 分 : 检 查 网 络 要 求 在 第 1 部 分 中, 您 将 研 究 使 用 172.16.128.0/17 网 络 地 址 为 拓 扑 图 中 显 示 的 网 络 开 发 VLSM 地 址 方 案 的 网 络 要 求 注 意 : 您 可 以 使 用 Windows 计 算 器 应 拓 扑 目 标 第 1 部 分 : 检 查 网 络 要 求 第 2 部 分 : 设 计 VLSM 地 址 方 案 第 3 部 分 : 布 线 和 配 置 IPv4 网 络 背 景 / 场 景 可 变 长 度 子 网 掩 码 (VLSM) 旨 在 避 免 浪 费 IP 地 址 使 用 VLSM, 会 对 网 络 多 次 进 行 子 网 划 分 此 过 程 可 重 复 多 次, 从 而 根 据 每 个

More information

RAQMON Context Setting MG PDA Applications RTP / FTP/ HTTP TCP/UDP S ignaling control plane (e.g. RS VP, NS IS) Streaming Media, Transaction, Bulk dat

RAQMON Context Setting MG PDA Applications RTP / FTP/ HTTP TCP/UDP S ignaling control plane (e.g. RS VP, NS IS) Streaming Media, Transaction, Bulk dat Realtime Application QOS Monitoring (RAQMON) Dan Romascanu dromasca@avaya.com 1 RAQMON Context Setting MG PDA Applications RTP / FTP/ HTTP TCP/UDP S ignaling control plane (e.g. RS VP, NS IS) Streaming

More information

OSPF over IPSec及路由冗余

OSPF over IPSec及路由冗余 OSPF over IPSec 及路由冗余 版本 1.0 时间 2011 年 12 月 作者 胡丹丹 (ddhu@fortinet.com) 支持的版本 FortiOS v4.x 状态 草稿 第 1 页共 10 页 目录 1. 目的... 3 2. 环境介绍... 3 3.IPSec VPN 配置... 4 4.OSPF 配置... 5 4.1 GateA 配置... 5 4.2 GateB 配置...

More information

PowerPoint Presentation

PowerPoint Presentation 立 97 年度 SNMG 練 DNS & BIND enc1215@gmail.com DNS BIND Resolver Named 理 Named 更 DNS DNS Reference 2 DNS DNS 料 domain ip DNS server DNS server 理 DNS server DNS DNS 狀. root name server 理 3 DNS 狀 DNS (2). com

More information

QVM330 多阜寬頻路由器

QVM330 多阜寬頻路由器 俠 諾 神 捕 QnoSniff 專 業 版 2.0 繁 體 中 文 使 用 手 冊 目 錄 一 簡 介... 4 二 QnoSniff 專 業 版 系 統 安 裝 與 配 置... 6 2.1 開 始 之 前 的 準 備... 6 2.2 QnoSniff 專 業 版 安 裝 過 程 中 所 需 元 件... 6 2.3 佈 署 連 接 範 例 拓 樸... 7 2.4 開 始 安 裝... 7

More information