网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

路由器命令行和全局配置

时间:2024-10-26 05:27:06

1、 将路由器的f0/0端口指定一个IP地址192.168.0.1/24,设置虚拟终端登入密码为“cisco”,进入特权模式的明文密码为“cisco”,密文密码为“cisco1”;R1#config terEnter configuration commands, one per line. End with CNTL/Z.R1(config)#interface f0/1R1(config-if)#ip address 192.168.0.1 255.255.255.0R1(config-if)#no shutR1(config-if)#endR1#conf terEnter configuration commands, one per line. End with CNTL/Z.R1(config)#line vty 0 4R1(config-line)#password ciscoR1(config-line)#exitR1(config)#enable password ciscoR1(config)#enable secret cisco1R1(config)#exit

2、将PC机通过Ethernet连接到路由器的FastEthernet0/1端口,并用Telnet方式登入到路由器;

路由器命令行和全局配置

3、设置锭缠愁颊路由器名为RTA,为路由器console口设置密码为“cisco”;Router>ENABLERouter#config terEnter configuration comma荏鱿胫协nds, one per line. End with CNTL/Z.Router(config)#host RTA

4、查看当前内存的配置信息,正确保存到NVRAM中。show running-config

路由器命令行和全局配置
© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com