分类 网络技术 下的文章

router#sh run
Building Configuration...done
! Current configuration : 1386 bytes
!
! Last configuration change at UTC THU JAN 01 00:08:55 1970
! Flash config last updated at UTC THU JAN 01 00:17:55 1970
! Configuration version 0.20
!
!software version 6.1.25(REL)(integrity)
!software p_w_picpath file flash0: /flash/rpl-c-6.1.25(REL).bin
!compiled on Nov 14 2008, 19:02:51
hostname router
no service password-encrypt
no service new-encrypt
service login-secure
           
ip mef
ip load-sharing per-destination
ip access-list standard 888
 10 permit any
 exit
            

                               
interface dialer0
 encapsulation ppp
 ppp chap password 2292523
 ppp chap hostname  zz15959608008@cmcc
 ppp pap sent-username  zz15959608008@cmcc password 2292523
 ip address negotiated
 mtu 1492
 dialer in-band
 dialer pool 1
 dialer-group 1
 ip tcp adjust-mss 1452
 ip nat outside
 exit

interface fastethernet0
 description wan
 pppoe-client dial-pool-number 1
 pppoe-client auto-dial always
 exit       

interface fastethernet1
 description lan
 ip address 192.168.0.1 255.255.255.0
 ip nat inside
 exit

interface serial0
 physical-layer sync
 encapsulation hdlc
 exit

interface null0
 exit
                                    
ip nat inside source list 888 interface dialer0 overload
ip route 0.0.0.0 0.0.0.0 dialer0

            
ip dhcp pool test
 range 192.168.0.2 192.168.0.254 255.255.255.0
 dns-server 211.138.151.161 211.138.156.66
 default-router 192.168.0.1
 exit
 
!end

阅读全文

当分析出网络中某台机器中毒时而有不知道它的具体位置,我们可以通过获取其MAC地址然后在交换机上禁止其MAC来达到隔离它的效果。
通过ARP表查询IP地址对应的MAC地址,再将该MAC地址加入黑名单过滤。

阅读全文

备份和还原
特权配置模式下进入文件操作管理
filesystem
交换机用户模式下通过tftp备份iso固件到23.50.6.99服务器
格式:copy file-system 本地固件文件名 tftp服务器IP 远程文件名
copy file-system web-Spl-1.1.235.rom tftp 23.50.6.99 123.rom

阅读全文

RLDP技术是锐捷提出的一种链路监测机制般应用在接入交换机
在全局模式下开启RLDP的命令是
rldp enable
他的监测机制有三种,分别是:1.单侧链路故障。2.双侧链路故障。3环路链路故障。
先说原理再说开启命令
1.单侧链路故障
原理:RLDP会发送探测报文跟探测回应报文如果端口只能向连接的链路发送报文或者接收报文,则该链路存在单向故障,会根据用户配置做出反应。开启单侧链路故障检测的命令是
在端口模式下
unidirection-detect(单向链路检测)
2.双向链路故障
原理:RLDP无法发送也无法收到报文。开启双侧链路故障检测命令是
在端口模式下
bidirection-detect(双向链路检测)
3.环路故障:
原理:交换机某个端口可以收到自己的自己的探测报文。开启命令是,
Loop-detect(环路检测)
所有链路故障的处理方法分为四种

阅读全文