LonelyWord

not LonelyWorld bacause of YOU

Skip to: Content | Sidebar | Footer

Tag: cisco

cisco设备添加Radius/Tacacs 认证

2010年六月10日 (19:43) | 网络工程 | By: LonelyWord

aaa new-model radius-server/tacacs-server host 182.23.153.5 auth-port 1812 acct-port 1813 key test //首先radius/tacacs认证,连不上服务器则用本地的认证 aaa authentication login first group radius/tacacs+ local //直接本地认证 aaa authentication login second local enable //console口直接本地认证 line con 0 login authentication second //telnet用radius/tacacs认证 line vty 0 4 login authentication first

恢复cisco router密码

2010年六月1日 (17:31) | 网络工程 | By: LonelyWord

1. 重启,按住break,进入rom moniter模式 2. rommon 1>confreg 0×142 3. 重启,进入特区模式后copy start run 4. 重设密码

cisco 2900系列switch密码破解方法

2010年五月31日 (23:24) | 网络工程 | By: LonelyWord

首先断电,然后插电,按住MODE键,第一个口的lef熄灭松开 然后依次输入 flash_init rename flash:config.text flash:config.bak boot 然后在出现配置对话时候选no switch>en 把更改的config.text文件改回来 switch# rename flash:config.bak flash:config.text switch#copy flash:config.text system:running-config 进入全局配置模式 switch#conf t 设置新密码switch(config)#enable secret 新密码 最后保存switch#write

Cisco路由器上做NAT和DHCP

2010年五月20日 (22:13) | 网络工程 | By: LonelyWord

要在路由器上做NAT,并且配置DHCP的命令 //配置DHCP ip dhcp excluded-address 192.168.1.1 192.168.1.100 ! ip dhcp pool office network 192.168.1.0 255.255.255.0 default-router 192.168.1.1 dns-server 8.8.8.8  8.8.4.4 //配置NAT //外部地址 int fa0/0 ip add 1.1.1.2 255.255.255.248 ip nat outside //内部地址 int fa0/1 ip add 192.168.1.1 255.255.255.0 ip nat inside //路由 ip route 0.0.0.0 0.0.0.0 1.1.1.1 //NAT转换 ip nat pool Net 1.1.1.2 1.1.1.7 netmask [...]

配置Cisco路由器交换机的日期时间

2010年四月26日 (23:28) | 网络工程 | By: LonelyWord

刚买的Cisco路由器或者交换机的日期或者时间可能不对,需要修改日期和时间 有两种方法,一种是直接修改日期时间,一种是跟NTP(Network Time Protocol)服务器同步 1.直接修改日期时间,在特权模式下,不用进config t,输入 clock set 16:16:16 20 April 2010 2.跟NTP服务器同步,可以点击这里查找离自己服务器较近的NTP服务器地址,这样延迟比较小,相对来说比较精确,中国的服务器点击这里,然后再配置模式下输入 clock timezone GMT 8  //在哪个时区就填哪个 ntp server 211.233.84.186 ntp server 122.226.192.4 这里可以多配置多个NTP服务器地址 然后show clock看看日期和时间应该都正确了 还有一种是适合局域网内路由器交换机时间同步的配置 服务器端: conf t ntp autentication-key 1 md5 ccc 10  //NTP认证,1是Key number,ccc是密码,10是密码加密类型 ntp authenticate    //开启NTP认证 ntp trusted-key 1   //NTP信任的Key number ntp source vlan1    //设置ntp时钟原的端口或IP地址 ntp update-calendar //允许NTP定期更新calendar ntp [...]

cisco路由器恢复出厂设置

2010年四月24日 (00:57) | 网络工程 | By: LonelyWord

最近调试路由器,原来的配置乱七八糟的,一条条删除太麻烦了,恢复出厂设置然后自己在配置比较省事 1.首先配置寄存器值为0×2102 router#configure terminal router(config)#config-register 0×2102 router(config)#end 如果输入show version, 将会显示(will be 0×2102 at next reload) 2.删除当前的start-up的设置,write erase 3.重启,reload,问要不要存当前系统配置,选no 重启后就是什么配置都不带的路由器了

Page 1 of 11