| 贵 州 学 习 网 |
|
rl(config-if)# router rip 启动rip路由协议 rl(config-router)# network 10.0.0.0 发布网段。注意network后面是接的网络号,而不是ip地址 rl# show ip protocol 查看配置的路由协议 rl(config)# router igrp 300 一定要注意在igrp后面加自治系统号 考试的时候题目会告诉你as number,照敲就是 rl(config-router)# network 10.0.0.0 rl(config)# line vty0 4 进入虚拟线程配置模式,在这个模式里可对telnet功能进行配置 rl(config-line)# login rl(config-line)# password CISCO 配置telnet密码,默认的网络设备telnet的功能是关闭的,配了密码之后会自动打开 rl(config)# enable password cisco 配置进入enable模式的密码, 区分大小写 rl(config)# enable secret ciscocisco 配置进入enable模式的密码,是加密的密码,show run是看不见的 rl(config)# line console 0 rl(config-line)# login rl(config-line)# password cisco 配置进入用户模式的密码 rl(config-line)# logging synchronous 输入同步 rl(config-line)# exec-timeout 0 0 禁止因为一段时间没有输入而跳出 rl# copy running-config startup-config 保存配置,考试的时候注意题目的要求,如果题目里要求你保存配置就一定不能少了这一项 r1# copy tFtp startup-config r1# copy running-config tftp r1# copy tftp flash 交换机实验: switch(config)# ip address 192.168.0.177 255.255.255.0 与路由器在接口上的配置ip不同,交换机是在全局配置模式配置 switch(config)# ip default-gateway 192.158.0.1 给交换机配置一个缺省网关,请注意,不用写掩码 switch(config)# vlan2 name cisco 配置一个vlan2并且指定名字叫cisco switch# show interfaces 查看端口状态 switch(config)# interface e0/10 进入端口e0/10 switch(config-if)# vlan-membership static 2 将端口放进vlan2里面 switch(config)# int f0/26 进入快速以太网端口f0/26 switch(config-if)# trunk on 启用trunk,注意:只能在百兆以上端口启用trunk switch(config-if)# notrunk-vlan 51 52 在主干上关闭vlan51、52的传输 本文共2页: 第 [1] [2] 页
|
责任编辑:gzu521