文档介绍:基本配置命令
1、基本配置
router>enable
router#conf t
router(config)#hostname <hostname>
router(config)#int <interface na
基本配置命令
1、基本配置
router>enable
router#conf t
router(config)#hostname <hostname>
router(config)#int <interface name>
Switch#vlan database
2、接口配置
router(config-if)#ip address <ip> <netmask>
router(config-if)#clock rate 64000
router(config-if)#no shutdown
Switch(config-if)#no switchport
Switch(config-if)#switchport mode access
Switch(config-if)# switchport access vlan <n>
Switch(config-if)#switchport mode trunk Switch(config-if)#switchport trunk encapsulation dot1q
3、路由配置
router(config)#ip route <目的网络 id> <mask> <hop>
router(config)#router rip
router(config-router)#version 2
router(config-router)#no auto