admin 管理员组文章数量: 1184232
1.路由表:show IP route
用户模式
特权模式
enable
全局配置模式
#configure terminal
(config)#
配置主机名称
enable
#configure terminal
(config)#hostname test-router
配置系统时钟:
enable
#calendar set 12:00:00 30 may 2022
配置超级用户口令
enable
#configure terminal
(config)#enable secret 11111 配置用户明文密码
(config)#enable password 1111 配置用户加密密码
保存命令:
enable
#wirte memory 保存配置到NVRAM中
#write erase 清除命令
ping 10.1.1.1
tracert 10.1.1.1
telent 10.1.1.1
show flash
show version
show clock
show configuration
enable
#show ip route
#show ip protocols
接口配置命令:
enable
#configure terminal
(config)#interface g0/0/1
(config-if)#bandwidth 100000 带宽kbit/s
(config-if)#description test 配置描述
(config-if)#ip addresss 10.1.1.1 255.255.255.0 配置IP地址
(config-if)#shutdown 配置接口关闭
(config-if)#no shutdown 配置接口开启
enable
#configure terminal
(config)#interface loopback 0 配置环回口
(config-if)#ip address 10.1.1.2 255.255.255.0 配置环回口地址
(config-if)#no ip route-cache 配置不启用…
(config-if)#no ip mroute-cache 配置不启用…
局域网接口配置
enable
#configure terminal
(
版权声明:本文标题:深入探讨 Cisco 路由器的配置细节 - 从基础到进阶 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/p/1770960045a3539523.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论