1.进入特权模式enable
router > enable
router #
2.进入全局配置模式configure terminal
router > enable
router #configure terminal
router (config)#
3.重命名hostname routera以routerA为例
router > enable
router #configure terminal
router(config)#hostname routerA
routerA (config)#
4.配置使能口令enable password cisco以cisco为例
router > enable
router #configure terminal
router(config)#hostname routerA
routerA (config)# enable password cisco
5.配置使能密码enable secret ciscolab以cicsolab为例
router > enable
router #configure terminal
router(config)#hostname routerA
routerA (config)# enable secret ciscolab
6.进入路由器某一端口interface fastethernet 0/1
router > enable
router #configure terminal
router(config)#hostname routerA
routerA (config)# interface fastethernet 0/1
routerA (config-if)#进入路由器的某一子端口interface fastethernet 0/1.1以1端口的1子端口为例
router > enable
router #configure terminal
router(config)#hostname routerA
routerA (config)# interface fastehernet 0/1.1
7.设置端口ip地址信息
router > enable
router #configure terminal
router(config)#hostname routerA
routerA(config)# interface fastethernet 0/1以1端口为例
routerA (config-if)#ip address 192.168.1.1 255.255.255.0配置交换机端口ip和子网掩码
routerA (conf