文档详情

论校园网设备配置的操作步骤.pdf

发布:2021-03-05约2.73万字共28页下载文档
文本预览下载声明
校 园网设备配置 的操作 步骤 路 由器 A 的配置 : 1. 配置 路 由器 主机名 Red-Giantenable (注 :从用户模式进 入特权模式) Red-Giant#conf igure t er minal (注 :从特权模 式进入全 局配置 模式 ) Red-Giant (conf ig)#host name A (注 :将主机 名配置 为 “A ”) A (conf ig)# 2 .配置 路 由器远程登 陆密码 A (conf ig)# l ine vty 0 4 (注 :进入路 由器 vt y0 至 vty4 虚拟终端线路模式) A (conf ig-l i ne)#logi n A (conf ig-l i ne)#password star (注 :将路 由器远程 登陆 口令设置 为 “st ar ”) 3.配置 路 由器特权模 式 口令 A (conf ig)#enab le passwor d st ar (明文方式进 入 ) 或 :A (conf ig)#enable secr et star (加密方 式进入 ) (注 :将 路 由器特权模式 口令配置为 “st ar ”) 4 .为路 由器各接 口分配 I P 地址 A (conf ig)#inter face f astet her net 0 注 :进入 路 由器 f astet her net 0 的接 口配置 模式 A (conf ig-if )#i p address 注 :设置路 由器 f astet her net 0 的 I P 地址为 ,对应 的子 网掩码为 A (conf ig-if )#no shut (注意要 打开端 口,不要 忘记操 作 ) 注 :手 工打开物理接 口。 A (conf ig)#inter face f astet her net 1 注 :进入路 由器 f astet her net 1 的接 口配置模式 A (conf ig-if )#i p address 注 :设置路 由器 f astet her net 1 的 I P 地址为 ,对应 的子 网掩码为 注 :手工打开物理接 口。 测试 结果 §1. 查看路 由器端 口为 up, up . §2. 两 台主机分别 ping 与其 直连 的路 由器 的 Fast et her net 口,应 为通 . §3.从 A dmi nist rator 主机 pi ng W W W 服务器 ,结果应为通 。 验证命令 1、show r un 2、show cont roller s s 0 3、show int 4 、show i p int br ief 5、ping 6、telnet 注意事项 §通过 show cont r s 0 来 查看该端 是 DCE 还是 DT E ,DCE 端需要配置时钟速率 ,否则接 口线协 议 为 dow n 。 交换机操作 V L A N 配置 : §实验名称 :V L A N -本 交换机 隔离 §实验设备 :S3550-24 (1 台) §实验 目的:通 过划分 PORT V L A N 实现本 交换端 口隔离 §实验时 间:30 分钟? SW I T CH#conf igure ter mi nal 注 :进入 交换机 全局配置模式 SW I T CH(conf ig)# vlan 10 注 :创建 v lan 10 SW I T CH(conf ig-vlan )# name test 10 注 :将 V lan 10 命名为 test 10 SW I T CH(conf ig)# vlan 20 注 :创建 vlan 20 SW I T CH(conf ig-vlan )# name test20 注 :将 V lan 20 命 名为 t est20 SW I T CH(conf ig-if )# int er face f astet her net 0/5 注 :进入 fast et her net 0/ 5 的接 口配置模式 SW I T CH(conf ig-if )# switch access vlan 10 注:将 fastethernet 0/5 端口加入 vlan 10 中 SW I T
显示全部
相似文档