摘要: 1.配置登陆用户username admin password admin123 privilege 152.开启日志 loggin on 开启日志记录到buffer: logging buffer 关闭日志通过console口输出至屏幕: no loging monitor 关闭console口的 阅读全文
posted @ 2020-03-16 14:21 Me-lihu 阅读(1645) 评论(0) 推荐(0) 编辑
摘要: router:ip flow-export source lo1ip flow-export version 5ip flow-export destination 172.29.8.56 9996interface g0/0/0 ip flow ingress ip flow egressinte 阅读全文
posted @ 2020-03-16 14:18 Me-lihu 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 一、NAT条目数的问题sh ip nat statistics 查看条目数sh ip nat tran * 查看异常的连接数条目写acl策略,限制相应的端口tcp连接clear ip nat tran * 二、网络设备cpu过高,及接口下是否有error和crc记数CPU问题:sh processe 阅读全文
posted @ 2020-03-16 14:04 Me-lihu 阅读(0) 评论(0) 推荐(0) 编辑
摘要: vpdn enable!vpdn-group pppoe!interface g0/0 pppoe enable group global pppoe-client dial-pool-number 1 no shut interface Dialer1 ip address negotiated 阅读全文
posted @ 2020-03-16 14:02 Me-lihu 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 路由器:logging trap warningslogging facility local4logging source-interface Loopback1logging host 172.29.12.86 snmp-server community easnmp ROsnmp-server 阅读全文
posted @ 2020-03-16 14:01 Me-lihu 阅读(322) 评论(0) 推荐(0) 编辑
摘要: PE端配置crypto keyring cnc-key vrf cnc pre-shared-key address 0.0.0.0 0.0.0.0 key cisco!crypto isakmp policy 10 hash md5 authentication pre-sharecrypto i 阅读全文
posted @ 2020-03-16 13:56 Me-lihu 阅读(700) 评论(0) 推荐(0) 编辑
摘要: ip prefix-list lan-network seq 5 permit 10.0.0.0/8 le 32ip prefix-list lan-network seq 10 permit 172.16.0.0/12 le 32 route-map ospf-redist-static deny 阅读全文
posted @ 2020-03-16 13:55 Me-lihu 阅读(2) 评论(0) 推荐(0) 编辑
摘要: ip dhcp pool data network 192.168.1.0 255.255.255.0 default-router 192.168.1.1 dns-server 192.168.1.1 !!ip name-server 114.114.114.114 定义dns地址ip name- 阅读全文
posted @ 2020-03-16 13:54 Me-lihu 阅读(7) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash while true;do read -p "请输入运营商接入类型[static/pppoe]:" access_mode if [ $access_mode == "pppoe" ];then read -p "请输入ADSL账号:" pppoe_username read 阅读全文
posted @ 2020-03-16 13:50 Me-lihu 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash #chkconfig: 2345 80 05 PID=/var/run/$(basename $0).pid #Environment="PATH=/opt/py3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/ 阅读全文
posted @ 2020-02-26 14:49 Me-lihu 阅读(1) 评论(0) 推荐(0) 编辑