RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:8:30-17:00
你可能遇到了下面的问题
关闭右侧工具栏

新闻中心

这里有您想知道的互联网营销解决方案
IOS基本操作和配置(二)

开启VTY登录

创新互联坚持“要么做到,要么别承诺”的工作理念,服务领域包括:成都网站制作、网站设计、企业官网、英文网站、手机端网站、网站推广等服务,满足客户于互联网时代的日照网站设计、移动媒体设计的需求,帮助企业找到有效的互联网解决方案。努力成为您成熟可靠的网络建设合作伙伴!

R1(config)#line vty 0 15

R1(config-line)#password 0 cisco

R1(config-line)#login

关闭VTY登录

R1(config-line)#no login

配置特权模式密码(明文)

R1(config)#enable password cisco

查看配置的密码

Router#show running-config

Building configuration...

Current configuration : 792 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable password cisco
!

配置特权模式密码(加密)优先级更高

Router(config)#enable secret cisco1

加密明文密码

Router(config)#service password-encryption

关闭密码

Router(config)#no enable password

Router(config)#no enable secret

配置接口IP地址

R2(config)#interface fastEthernet 0/0

R2(config-if)#ip address 192.168.2.2 255.255.255.0

启用接口

R2(config-if)#no shutdown

配置主机名

Router(config)#hostname cisco

启用http服务(必须配置IP地址,和enable密码,用户名是cisco)

Router(config)#ip http server

查看DCE接口

需要配置DCE时钟同步,同步之后才可以通信

Router#show controllers Serial0/0/0
Interface Serial0/0/0
Hardware is PowerQUICC MPC860
DCE V.35, no clock
idb at 0x81081AC4, driver data structure at 0x81084AC0
SCC Registers:
General [GSMR]=0x2:0x00000000, Protocol-specific [PSMR]=0x8
Events [SCCE]=0x0000, Mask [SCCM]=0x0000, Status [SCCS]=0x00

配置时钟(DTE不需要配置时钟)

Router(config)#interface serial 0/0/0

Router(config-if)#ip address 10.10.10.1 255.255.255.0

Router(config-if)#clock rate 64000

Router(config-if)#no shutdown

显示当前VTY连接我的用户

Router#show users

踢掉连接我的指定用户

Router#clear line 66


标题名称:IOS基本操作和配置(二)
标题来源:http://cqwzjz.cn/article/pojccg.html