为您找到与cisco交换机密码设置相关的共200个结果:
cisco 怎么设置enable密码?读文网小编今天为大家带来思科交换机密码设置方法,需要的朋友可以参考下!
enadle
#configure terminal
②(config)#enable secret (class)←密码
(config)#login
全局密码设置完成
exit
浏览量:2
下载量:0
时间:
cisco 设置用户名密码?好简单啊。不过可能有一些新的小伙伴还不清楚,读文网小编今天为大家带来思科cisco 设置时间方法,需要的朋友可以参考下!
对于拿到新的思科路由器,上架后我们要做的基本配置如下:
1、路由器默认登录用户名和密码是www.45fan.com登录后一定要修改用户名和密码,否则下次将无法登录。
全局模式下:R2(config)#username test password 12345
如果要防止别人查看你的密码,可以将密码加密:
R2(config)#service password-encryption
2、路由器的enable密码一定要设置的,特别是我们通过虚拟终端VTY方式登录时。
R2(config)#enable secret www.45fan.com
3、很多时候我们的路由器需要通过远程管理,我们需要配置TELNET。
R1(config)#line vty 0 4
R1(config-line)#pass
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#end
Router(config)#line console 0 https://配置控制口
Router(config-line)#password 456 https://配置密码
Router(config-line)#login https://开启密码生效
Router(config-line)#exit
Router(config)#enable password 123 https://配置特权模式密码
Router(config)#username benet password cisco https://创建本地用户benet和密码cisco
Router(config)#line vty 0 4 https://配置VTY 端口 0-4
Router(config-line)#login local https://设置远程登录使用本地用户名和密码
Router(config-line)#exit
Router(config)#service password-encryption https://加密所有密码
Router(config)#int f0/0
Router(config-if)#ip add 192.168.1.100 255.255.255.0 https://设定一个接口当管理IP
远程登录必须要满足三个条件:
特权密码,VTY密码还有管理IP地址
以上内容就是关于cisco 设置用户名密码的教程了,希望大家喜欢。
浏览量:3
下载量:0
时间:
cisco交换机怎么设置时区?有网友提到自己不会设置思科的设备,该怎么办?读文网小编在网上找了一些教程及命令,需要的朋友可以参考下。
将CISCO6509配置为标准时间服务器
ntp server 192.168.0.101
查询当前的时间
Cisco6509#show clock
00:09:13.643 PDT Tue Jun 30 2009
配置一个北京时区,随意取名
clock timezone Beijing 8
再查询一下,已经同步过来了
CISCO6509#show clock
15:10:00.239 Beijing Tue Jun 30 2009
设定硬件时钟为权威NTPserver
(config)#clock calendar-valid
调整时间
#clock set 15:00:00 30 jun 2009
当前时钟为
#show clock
15:15:10.705 Beijing Tue Jun 30 2009
当前硬件时钟为
#show calendar
14:37:59 Beijing Tue Jun 30 2009
NTP源为vlan2
(config)#ntp source vlan 2
将同步其他时间去除
no ntp server 10.20.0.103
将硬件时钟与当前clock同步
#clock update-calendar
查看当前clock时间
#show clock
.15:47:57.558 Beijing Tue Jun 30 2009
查看当前硬件时钟
#show calendar
15:48:00 Beijing Tue Jun 30 2009
配置系统debug记录的时间格式
(config)#service timestamps debug datetime localtime
配置系统日志记录时间格式
(config)#service timestamps log datetime localtime
设置与其他时间服务器同步
(config)#ntp server 192.168.0.102
设置为第一级ntp服务器
(config)#ntp master 1
允许更新硬件时钟(不必须)
(config)#ntp update-calendar
查看的ntp设置的命令
sh clock detail
sh ntp sta
sh ntp ass
sh ntp ass detail
----配置命令
ntp authentication-key 1 md5 xx
ntp source Loopback0
ntp server 10.10.10.1 key 1
配置方法:
https:// router 7206
conf t
ntp source FastEthernet0/1 https://指定更新源地址,覆盖ntp server中的配置
ntp update-calendarhttps://设备如带有硬件时钟,同时更新硬件时钟
ntp server 202.155.248.218 source FastEthernet0/1 https://指定更新目的地址,香港,并指定更新源接口为f0/1.
int f0/1
ntp enable
这时你应该已经获得了时间,但是注意,时区是否正确,默认为格林威治时间,如想改为北京时间,下面这步是必不可少的。来源:
clock timezone BeiJing 8 https://最后这个数字8,代表+8时区 认
验证方法:
show ntp associate
以上内容来自互联网,希望对大家有所帮助。
浏览量:2
下载量:0
时间:
思科公司是全球领先的网络解决方案供应商,他的功能也是全球领先的,那么你知道Cisco路由器密码怎么设置吗?下面是读文网小编整理的一些关于Cisco路由器密码怎么设置的相关资料,供你参考。
1、开启特权密码保护
router(config)#enable password cisco
2、开启特权密匙保护
router(config)#enable secret cisco
3、配置控制端口的用户密码
router(config)#line console 0
进入控制线路配置模式。
router(config-line)#login
开启登陆密码保护
router(config-line)#password cisco
设置密码为cisco,区分大小写。
4、配置VTY(telnet)登陆访问密码:
router(config)#line vty 0 4
进入VTY配置模式。
router(config-line)#login
开启登陆密码保护
router(config-line)#password cisco
Cisco路由器密码设置为cisco,区分大小写。
5、密码丢失,在不恢复出厂设置的情况下找回密码,重新进行Cisco路由器密码设置。
(1)重器一下,在出现很多“#”号的时候按crtl+break
(2)输入confreg 0x2142
(3)输入reset
这样你就可以绕过配置文件进去路由器了,下面就是重新设置一下密码了,然后在全局模式下把配置寄存器的值改为0X2102,然后保存一下,重启就可以了,你以前的配置除了密码修改了一下外,其他的都没变!全局模式下配置寄存器的修改:Configuration register 0x2102 。
看过文章“Cisco路由器密码怎么设置"
浏览量:2
下载量:0
时间:
思科(Cisco)路由器是一个集成多业务路由器,同事也是一个网络路由器,那么cisco交换机设置IP??有网友提到自己不会设置思科的设备,该怎么办?读文网小编在网上找了一些教程及命令,需要的朋友可以参考下。
1.配置交换机姓名
switch>ena
switch#configure
enter
switch#configure terminal (进入配置状态)
Switch(config)#hostname 配置的交换机姓名如:cisco3550
cisco3550(config)#end
cisco3550#;
2.配置交换机的ip
cisco3550#configure terminal (进入配置状态)
cisco3550(config)#interface vlan 1
cisco3550(config)#ip address ip地址子网掩码
例如:cisco3550(config)#ipaddress 10.11.90.10 255.255.255.0
cisco3550onfig)#no shutdown
cisco3550onfig)#end
cisco3550#
cisco3550 ;
3.配置交换机的默认网关
cisco3550(config)#ip default-gateway 网关ip
例如:cisco3550(config)#ipdefault-gateway 10.11.90.254
以上内容来自互联网,希望对大家有所帮助。
浏览量:2
下载量:0
时间:
密码是一把通往希望的钥匙,那么cisco交换机设置密码??有网友提到自己不会设置思科的设备,该怎么办?读文网小编在网上找了一些教程及命令,需要的朋友可以参考下。
一.设置console密码
>enable
#configure trminal
(confing)#line console 0←console口
①(config-line)#password (cisco)←密码
(config-line)#login ← 一定不能少的.
console密码设置完成
exit
二:设置全局密码
enadle
#configure terminal
②(config)#enable secret (class)←密码
(config)#login
全局密码设置完成
exit
三.设置远程登入(telnet)密码
enable
#config terminal
(config)#line vty 0 4(0 4是口)
③(config-line)#password (class)←密码
(config-lline)#login
exit四.保存以上设置
>enadle
#copy running-config strat-config
思科交换机密码的破解
⒈连接交换机的console口到终端或PC仿真终端。用无Modem的直连线连接PC的串行口到交换机的console口。
⒉首先得拔掉电源,因为思科交换机上没有开关 所以我们只能拔掉电源 接下来我们要做的就是按住MODE按钮 接着插上电源 等端口指示灯灭掉松开
⒊初始化flash。
>flash_init
⒋更名含有password的配置文件。
>rename flash:config.text flash:config.old
⒌启动交换机。
>boot
⒍进入特权模式。
>enable
⒎此时开机是已忽略password。
#rename flash:config.old flash:config.text
⒏copy配置文件到当前系统中。
#copy flash:config.text system:running-config
⒐修改口令。
#configure terminal
#enable secret
⒑保存配置。
#write 以上内容来自互联网,希望对大家有所帮助。
浏览量:2
下载量:0
时间:
cisco设置enable密码?怎么设置?最近有网友这样问小编。读文网小编去网上搜索了相关资料,给大家奉上,希望大家喜欢。
A:enable password 没加密
B:service password-encryption 对明文密码进行加密
C:enable secret 用MD5算法对特权模式进行加密
D:enable password 7 后面要加密文
1.使用A的话,在show run的时候password会以明文的方式显示。例如enable password tangxuquan
Router#show run
Building configuration...
Current configuration : 354 bytes
!
version 12.2
no service password-encryption 没有过加密的
!
hostname Router
!
!
enable password tangxuquan 密码以明文显示,你设置的是什么这里就显示什么
2.再输入B命令后 service password-encryption
Router#show run
Building configuration...
Current configuration : 354 bytes
!
version 12.2
service password-encryption
!
hostname Router
!
!
enable password 7 08354D400E011006070A02 对明文密码进行了加密,显示的是经过思科算法加密后的密文
3.输入c命令 enable password cicso
在B命令的基础上运行 enable secret cisco
Router#show run
Building configuration...
Current configuration : 401 bytes
!
version 12.2
service password-encryption
!
hostname Router
!
!
enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0 MD5算法的密码显示
enable password 7 08354D400E011006070A02 用service password-encryption的加密显示。
即使secret后面的数字是0,show run的时候,也不会以明文显示,而是MD5加密算法后的值。
使用命令enable secret cisco 后特权模式的登录密码将改为“cisco”
4.enable password常见的一个误解enable password 7后面应该加入加密后的密码,而不应该输入“bdcom”之类的明码。
3660_config#ena pass 7 bdcom https://后面加入明码,则显示错误
Invalid encrypted password
以上内容来源互联网,希望对大家有所帮助。
浏览量:2
下载量:0
时间:
有网友这么问小编“如何进入cisco路由器设置密码?”,读文网小编在网上搜索了一些资料,供大家参考。
所有的密码(启用秘密密码除外)最初都以明文方式进行存储,这就意味着任何访问了路由器配置文件的人都能轻易地获取未经加密的密码,而使用启用秘密密码则可以保护特权模式(除非启用密码和秘密密码完全一样)。
在Cisco路由器中可以加密所有的明文密码。Cisco使用了一个基于Vigenere密钥的加密算法,如下例中就以明文显示了密码并且如何启用密码加密机制,同时也显示了加密后的密码。
Router#show running-config
....
enable password ciscopassword
.....
line con 0
password ciscoteset123
login
password 123testcisco
login
.....
Router#configure terminal
Enter configuration commands,one per line.End with CTRL/Z
Router(config)#service password-encryption
Router(config)#end
Router#show running-config
.......
enable password 7 12343eiob12124fdd_www.45fan.com
Router#
浏览量:2
下载量:0
时间:
有网友这么问小编“cisco路由器恢复出厂设置密码?”,读文网小编在网上搜索了一些资料,供大家参考。
利用超级终端恢复路由器密码关闭路由器电源 在十秒后重新打开路由器电源在路由器重启的前十秒内按CTRL+PAISE键入命令 confreg 0x2142 ’confreg 是对路由器的寄存器进行修改的命令 ’0X2142 0X2102是寄存器的值 其中的4表示在路由器启动之后 跳过配置文件键入命令 reset 重新启动路由器encopy start run 将启动配置文件恢复到运行配置文件中config tena sec C1 将口令改为C1config-register 0x2102 将路由器的配置寄存器的值恢复成原值 copy runn start 将运行配置文件存盘reload
1、给路由器加电,按Ctrl+Break进入rommon模式。
2、键入confreg 0x2142修改配置寄存器,告诉路由器忽略当前配置。
3、键入reset重起路由器。
4、对是否进入设备(setup)模式回答n。
5、按Enter键进入用户模式,再使用命令enable进入特权模式。
6、用命令copy startup-config running-config把配置文件复制到活动内存中。
7、用命令config terminal进入配置模式。
8、用命令config-register 0x2102复位配置寄存器。
9、修改口令,保存配置。
以上内容来自互联网,希望您能喜欢。
浏览量:2
下载量:0
时间:
有网友这么问小编“cisco交换机怎么设置?”,读文网小编在网上搜索了一些资料,供大家参考。
对交换机进行配置。一般有两种方法:
1 、控制台端口(Console ):可以直接对交换机进行配置
2 、远程登录(Telnet):通过TELNET程序对已经设置了IP的交换机进行远程配置,一般等控制台端口配置好交换机的IP后才可以进行。
除了以上的两种方法外,其实还有两种方法:
1 、WEB 的配置方式。此方法只能配置一般的简单设置2 、硬件自带的应用程序。专用的程序,一般很少用
建立控制台连接到交换机
一般交换机自带一根Console 线,一端连接到交换机的Comsole 口,一端连接到电脑的串行口。打开超级终端,一般就可以连接到交换机。具体的参数设置如下
这样就可以连接到交换机了
连接到交换机后,如果是第一次启动会要执行初始化操作,一般是设置交换机的名称,密码等一般的信息。
由于交换机已经初始化,如果要进行初始化操作,那就要进入特权EXEC模式,在命令提示符号下输入:setup,就会启动初始化操作。
刚才讲到了特权EXEC模式,这理就要讲一下觉换机的几种模式,不同的模式可以执行不同的操作命令,首先来说两种基本的模式。
一般为了安全考虑,CISCO将操作会话分为两个不同的访问级别:用户EXEC级别和特权EXEC级别。用户EXEC级别只能使用有限的命令,且交换机显示Switch>提示符,不能对交换机进行配置。看例子,处于用户EXEC级别下的状态:
AITG_FrontekCoreSW>
特权EXEC级别下交换机显示Switch#提示符,能对交换机进行各种配置。看例子,处于特权EXEC级别下的状态:
输入en,进入特权EXEC级别,接着输入密码,进入特权EXEC级别
AITG_FrontekCoreSW>en
Password:
AITG_FrontekCoreSW#
看看,提示符变了,用户在用户EXEC级别输入enable(或en),然后输入密码,就可以进入特权EXEC级别
在交换机提示符下输入“?”,可以列出相应模式下交换机所支持的所有命令。
退出特权EXEC级别模式:disable
再用户EXEC级别输入?可以获得帮助信息:
AITG_FrontekCoreSW>?
Exec commands:
<1-99> Session number to resume
access-enableCreate a temporary Access-List entry
clearReset functions
connect Open a terminal connection
disable Turn off privileged commands
disconnect Disconnect an existing network connection
enable Turn on privileged commands
exit Exit from the EXEC
help Description of the interactive help system
lock Lock the terminal
loginLog in as a particular user
logout Exit from the EXEC
name-connection Name an existing network connection
ping Send echo messages
rcommand Run command on remote switch
resume Resume an active network connection
set Set system parameter (not config)
show Show running system information
systat Display information about terminal lines
telnet Open a telnet connection
terminal Set terminal line parameters
traceroute Trace route to destination
tunnel Open a tunnel connection
whereList active connections
再特权EXEC级别输入?可以获得帮助信息:
AITG_FrontekCoreSW#?
Exec commands:
<1-99> Session number to resume
access-enableCreate a temporary Access-List entry
access-template Create a temporary Access-List entry
archive manage archive files
cd Change current directory
clearReset functions
clockManage the system clock
cns CNS agents
configureEnter configuration mode
connect Open a terminal connection
copy Copy from one file to another
debugDebugging functions (see also 'undebug')
delete Delete a file
diagnostic Diagnostic commands
dir List files on a filesystem
disable Turn off privileged commands
disconnect Disconnect an existing network connection
dot1xIEEE 802.1X Exec Commands
enable Turn on privileged commands
eou EAPoUDP
eraseErase a filesystem
exit Exit from the EXEC
format Format a filesystem
fsck Fsck a filesystem
help Description of the interactive help system
ip Global IP commands
lock Lock the terminal
loginLog in as a particular user
logout Exit from the EXEC
mkdirCreate new directory
monitor Monitoring different system events
more Display the contents of a file
name-connection Name an existing network connection
no Disable debugging functions
no Negate a command or set its defaults
ping Send echo messages
pwd Display current working directory
rcommand Run command on remote switch
reload Halt and perform a cold restart
remote Remote procedures
rename Rename a file
renewRenew
resume Resume an active network connection
rmdirRemove existing directory
rsh Execute a remote command
send Send a message to other tty lines
session Run command on member switch
set Set system parameter (not config)
setupRun the SETUP command facility
show Show running system information
systat Display information about terminal lines
telnet Open a telnet connection
terminal Set terminal line parameters
test Test subsystems, memory, and interfaces
traceroute Trace route to destination
tunnel Open a tunnel connection
udld UDLD protocol commands
undebug Disable debugging functions (see also 'debug')
upgrade Upgrade commands
verify Verify a file
vlan Configure VLAN parameters
vmps VMPS actions
vtp Configure global VTP state
whereList active connections
writeWrite running configuration to memory, network, or terminal
其实还有几种模式如下:
全局配置模式:Switch(config)# 配置交换机的全局参数
接口配置模式:Switch(config-if)# 对交换机的接口进行配置,如某个接口属于那个Vlan,启用及禁用接口等
线路配置模式:Switch(config-line)# 对控制台访问
VLAN数据库配置模式:Switch(Vlan)# 对Vlan的参数进行配置
以上内容来自互联网,希望您能喜欢。
浏览量:2
下载量:0
时间:
cisco路由向来以难配置而绝不天下。那么cisco怎么设置qos?读文网小编整理了相关资料,给大家介绍。有需要学习的同学可参考参考。
PC配置IP地址为1.1.1.2/24
交换机地址为1.1.1.1/24
PC配置方式不再赘述,直接配置交换机。
RANSFORM: none;
TEXT-INDENT: 0px;
LETTER-SPACING: normal;
BORDER-COLLAPSE: separate;
FONT: medium Simsun;
WHITE-SPACE: normal;
ORPHANS: 2;
COLOR: rgb(0,0,0);
WORD-SPACING: 0px;
-WEBkit-border-horizontal-spacing: 0px;
-WEBkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px"
class=Apple-style-span>
注:配置enable密码的时候,加密和明文密码只配置一个即可。
浏览量:0
下载量:0
时间:
思科cisco路由交换是所有设备中小编觉得最难的。不少网友都不知道cisco交换机时间设置怎么设置。下面读文网小编给大家介绍一下具体操作办法,供大家参考!
Core-Switch-1#show clock
Core-Switch-1#show ntp status
Core-Switch-1#conf t
Core-Switch-1(config)# clock timezone GMT +8
Core-Switch-1(config)#service timestamps debug datetime msec localtime show-timezone
Core-Switch-1(config)#service timestamps log datetime msec localtime show-timezone
Core-Switch-1(config)#exit
Core-Switch-1# clock set 13:51:00 Sep 7 2011
或通过NTP服务器时间同步:
Core-Switch-1#ntp server 192.168.0.254 key 8888 注:8888是指ntp服务器的Key值
Core-Switch-1#wr
Core-Switch-1#sh log
默认情况下日志消息不包括日期和时间戳。
service timestamps {debug | log } uptime
service timestamps {debug | log } datetime [mesc] [localtime] [show-timezone] [year]
debug 参数 在调试输出时包括时间戳
log 参数 在每种日志消息中添加一个时间戳
uptime 在消息中包括路由器开机以来的时间
0w2d: #SYS-5-CONFIG_I : Configured from console by console
0w2d 开机后0周2天
datetime 显示准确的日期和时间 UTC 格式 标准格式 MM DD HH:MM:SS
datetime后面可以跟一些参数
mesc 消息中包括毫秒信息
localtime 显示基于本地配置的时区时间
show-timezone 输出包括时区名称
year 输出包括年份信息
未设置时间前:
#sh log
4w0d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to up
4w0d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to down
4w0d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to up
4w1d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down
4w1d: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to down
4w1d: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to up
4w1d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
4w1d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down
4w1d: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to down
4w1d: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up
4w1d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up
设置后
#sh log
.Sep 7 05:59:22: %SYS-6-CLOCKUPDATE: System clock has been updated from 13:59:22 BJ Wed Sep 7 2011 to 05:59:22 UTC Wed Sep 7 2011, configured from console by wht on vty2 (172.16.100.10).
.Sep 7 13:59:23: %SYS-6-CLOCKUPDATE: System clock has been updated from 05:59:23 UTC Wed Sep 7 2011 to 13:59:23 GMT Wed Sep 7 2011, configured from console by wht on vty2 (172.16.100.10).
.Sep 7 13:59:24: %SYS-5-CONFIG_I: Configured from console by wht on vty2 (172.16.100.10)
.Sep 7 13:58:00: %SYS-6-CLOCKUPDATE: System clock has been updated from 14:00:05 GMT Wed Sep 7 2011 to 13:58:00 GMT Wed Sep 7 2011, configured from console by wht on vty2 (172.16.100.10).
读文网小编分享了cisco交换机时间设置怎么设置的解决方法。希望大家喜欢。
浏览量:3
下载量:0
时间:
Cisco路由器中可以加密所有的明文密码,思科cisco路由交换是所有设备中小编觉得最难的。不少网友都不知道cisco的wifi密码设置怎么设置。下面读文网小编给大家介绍一下具体操作办法,供大家参考!
所有的密码(启用秘密密码除外)最初都以明文方式进行存储,这就意味着任何访问了路由器配置文件的人都能轻易地获取未经加密的密码,而使用启用秘密密码则可以保护特权模式(除非启用密码和秘密密码完全一样)。
在Cisco路由器中可以加密所有的明文密码。Cisco使用了一个基于Vigenere密钥的加密算法,如下例中就以明文显示了密码并且如何启用密码加密机制,同时也显示了加密后的密码。
Router#show running-config
....
enable password ciscopassword
.....
line con 0
password ciscoteset123
login
password 123testcisco
login
.....
Router#configure terminal
Enter configuration commands,one per line.End with CTRL/Z
Router(config)#service password-encryption
Router(config)#end
Router#show running-config
.......
enable password 7 12343eiob12124fdd_www.45fan.com
Router#
service passowrd-encryption负责加密当前的所有明文密码以及将来创建的所有明文密码(只要未禁用该服务)。
读文网小编分享了cisco的wifi密码设置的解决方法。希望大家喜欢。
浏览量:2
下载量:0
时间:
Cisco并不难,主要有些人没有接触的机会,如果你经常管理cisco设备,你会发现其实就那几步,不过也有不少网友不知道cisco 设置用户名密码设置怎么弄。其实步骤并不难,下面读文网小编给大家介绍一下具体操作办法,供大家参考!
配置进入特权模式的密码和密匙:
这两个密码是用来限制非授权用户进入特权模式。因为特权密码是未加密的,所以我们一般都推荐用户使用特权密匙,且特权密码仅在特权密匙未使用的情况下才会有效。
1、router(config)#enable password cisco
命令解释:开启特权密码保护。
2、router(config)#enable secret cisco
命令解释:开启特权密匙保护。
配置控制端口的用户密码
1、router(config)#line console 0
命令解释:进入控制线路配置模式。
2、router(config-line)#login
命令解释:开启登陆密码保护
3、router(config-line)#password cisco
命令解释:设置密码为cisco,这里的密码区分大小写。
配置辅助端口(AUX)的用户密码:
1、router(config)#line aux 0
命令解释:进入辅助端口配置模式。
2、router(config-line)#login
命令解释:开启登陆密码保护
3、router(config-line)#password cisco
命令解释:设置密码为cisco,这里的密码区分大小写。
配置VTY(telnet)登陆访问密码:
1、router(config)#line vty 0 4
命令解释:进入VTY配置模式。
2、router(config-line)#login
命令解释:开启登陆密码保护
3、router(config-line)#password cisco
命令解释:设置密码为cisco,这里的密码区分大小写。
读文网小编分享了cisco 设置用户名密码设置的解决方法。希望大家喜欢。
浏览量:3
下载量:0
时间:
Cisco并不难,主要有些人没有接触的机会,如果你经常管理cisco设备,你会发现其实就那几步,不过也有不少网友不知道cisco交换机时间设置时间怎么设置。其实步骤并不难,下面读文网小编给大家介绍一下具体操作办法,供大家参考!
将CISCO6509配置为标准时间服务器
ntp server 192.168.0.101
查询当前的时间
Cisco6509#show clock
00:09:13.643 PDT Tue Jun 30 2009
配置一个北京时区,随意取名
clock timezone Beijing 8
再查询一下,已经同步过来了
CISCO6509#show clock
15:10:00.239 Beijing Tue Jun 30 2009
设定硬件时钟为权威NTPserver
(config)#clock calendar-valid
调整时间
#clock set 15:00:00 30 jun 2009
当前时钟为
#show clock
15:15:10.705 Beijing Tue Jun 30 2009
当前硬件时钟为
#show calendar
14:37:59 Beijing Tue Jun 30 2009
NTP源为vlan2
(config)#ntp source vlan 2
将同步其他时间去除
no ntp server 10.20.0.103
将硬件时钟与当前clock同步
#clock update-calendar
查看当前clock时间
#show clock
.15:47:57.558 Beijing Tue Jun 30 2009
查看当前硬件时钟
#show calendar
15:48:00 Beijing Tue Jun 30 2009
配置系统debug记录的时间格式
(config)#service timestamps debug datetime localtime
配置系统日志记录时间格式
(config)#service timestamps log datetime localtime
设置与其他时间服务器同步
(config)#ntp server 192.168.0.102
设置为第一级ntp服务器
(config)#ntp master 1
允许更新硬件时钟(不必须)
(config)#ntp update-calendar
查看的ntp设置的命令
sh clock detail
sh ntp sta
sh ntp ass
sh ntp ass detail
----配置命令
ntp authentication-key 1 md5 xx
ntp source Loopback0
ntp server 10.10.10.1 key 1
配置方法:
https:// router 7206
conf t
ntp source FastEthernet0/1 https://指定更新源地址,覆盖ntp server中的配置
ntp update-calendarhttps://设备如带有硬件时钟,同时更新硬件时钟
ntp server 202.155.248.218 source FastEthernet0/1 https://指定更新目的地址,香港,并指定更新源接口为f0/1.
int f0/1
ntp enable
这时你应该已经获得了时间,但是注意,时区是否正确,默认为格林威治时间,如想改为北京时间,下面这步是必不可少的。
Core-Switch-1#show clock
Core-Switch-1#show ntp status
Core-Switch-1#conf t
Core-Switch-1(config)# clock timezone GMT +8
Core-Switch-1(config)#service timestamps debug datetime msec localtime show-timezone
Core-Switch-1(config)#service timestamps log datetime msec localtime show-timezone
Core-Switch-1(config)#exit
Core-Switch-1# clock set 13:51:00 Sep 7 2011
或通过NTP服务器时间同步:
Core-Switch-1#ntp server 192.168.0.254 key 8888 注:8888是指ntp服务器的Key值
Core-Switch-1#wr
Core-Switch-1#sh log
默认情况下日志消息不包括日期和时间戳。
service timestamps {debug | log } uptime
service timestamps {debug | log } datetime [mesc] [localtime] [show-timezone] [year]
debug 参数 在调试输出时包括时间戳
log 参数 在每种日志消息中添加一个时间戳
uptime 在消息中包括路由器开机以来的时间
0w2d: #SYS-5-CONFIG_I : Configured from console by console
0w2d 开机后0周2天
datetime 显示准确的日期和时间 UTC 格式 标准格式 MM DD HH:MM:SS
datetime后面可以跟一些参数
mesc 消息中包括毫秒信息
localtime 显示基于本地配置的时区时间
show-timezone 输出包括时区名称
year 输出包括年份信息
未设置时间前:
#sh log
4w0d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to up
4w0d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to down
4w0d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to up
4w1d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down
4w1d: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to down
4w1d: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to up
4w1d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
4w1d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down
4w1d: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to down
4w1d: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up
4w1d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up
设置后
#sh log
.Sep 7 05:59:22: %SYS-6-CLOCKUPDATE: System clock has been updated from 13:59:22 BJ Wed Sep 7 2011 to 05:59:22 UTC Wed Sep 7 2011, configured from console by wht on vty2 (172.16.100.10).
.Sep 7 13:59:23: %SYS-6-CLOCKUPDATE: System clock has been updated from 05:59:23 UTC Wed Sep 7 2011 to 13:59:23 GMT Wed Sep 7 2011, configured from console by wht on vty2 (172.16.100.10).
.Sep 7 13:59:24: %SYS-5-CONFIG_I: Configured from console by wht on vty2 (172.16.100.10)
.Sep 7 13:58:00: %SYS-6-CLOCKUPDATE: System clock has been updated from 14:00:05 GMT Wed Sep 7 2011 to 13:58:00 GMT Wed Sep 7 2011, configured from console by wht on vty2 (172.16.100.10).
读文网小编分享了cisco交换机时间设置时间的解决方法。希望大家喜欢。
浏览量:3
下载量:0
时间:
Cisco并不难,主要有些人没有接触的机会,如果你经常管理cisco设备,你会发现其实就那几步,不过也有不少网友不知道cisco路由器初始设置密码怎么设置。其实步骤并不难,下面读文网小编给大家介绍一下具体操作办法,供大家参考!
1、路由器默认登录用户名和密码是www.45fan.com登录后一定要修改用户名和密码,否则下次将无法登录。
全局模式下:R2(config)#username test password 12345
如果要防止别人查看你的密码,可以将密码加密:
R2(config)#service password-encryption
2、路由器的enable密码一定要设置的,特别是我们通过虚拟终端VTY方式登录时。
R2(config)#enable secret www.45fan.com
3、很多时候我们的路由器需要通过远程管理,我们需要配置TELNET。
R1(config)#line vty 0 4
R1(config-line)#pass
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#end
4. 通过上面三步后我们基本就能管理起设备了,当然管理设备的IP是需要配置的,这里就不讲了,考虑到设备配置后,我们需要了解设备的运行状态,这里讲下日志的配置。
R1(config)#logging on
R1(config)#service timestamps log
R1(config)#logging buffered 40960
R1(config)#service sequence-numbers
5. 设置时间:
R1#clock set 22:32:00 july 20 2013
R1(config)#clock timezone GMT + 8
读文网小编分享了cisco路由器初始设置密码的解决方法。希望大家喜欢。
浏览量:2
下载量:0
时间:
cisco防火墙如何设置交换机呢?这样就能在防火墙里面使用交换机了,该怎么样设置?下面由读文网小编给你做出详细的cisco防火墙设置交换机方法介绍!希望对你有帮助!
二层交换机可以不配置,你只需要在核心交换机上对接二层交换机的端口划分vlan即可,如果你需要配置,那么把核心和二层交换机的互联口都划为trunk口,二层上其他端口对应加vlan即可,现在你主要的是要配置usg,你核心和usg之间肯定走的三层,所以还需要起一个互联地址,
下面是usg的配置,usg2160只有一个路由口,其它都是交换口
firewall packet-filter default permit all
interface Ethernet0/0/0
ip address X.X.X.X X.X.X.X 外网口地址
interface Vlanif1
ip address X.X.X.X X.X.X.X 内网口地址
firewall zone trust
add interface Vlanif1
firewall zone untrust
add interface Ethernet0/0/0
ip route-static 0.0.0.0 0.0.0.0 X.X.X.X(X.X.X.X是外网口网关)
ip route-static 192.168.0.0 255.255.0.0 X.X.X.X(X.X.X.X是核心交换机上与usg互联的地址)
nat-policy interzone trust untrust outbound
policy 0
action source-nat
policy source 192.168.0.0 0.0.255.255
easy-ip Ethernet0/0/0
浏览量:2
下载量:0
时间: