路由器直接配置存在接口。 二层设备: int vlan 1 ip add ip-address mask no shutdown 配置vty: line vty 0 4 password Cisco login pc端用telnet 连接 交换机默认网关配置: config#ip default-gateway ip-address