文本版|topic 高级搜索
   名人堂 帮助 论坛制度 意见反馈 | 首页 博客 周新贴 招聘 专题 新闻
RSS 底部
 
社区导航: 专家门诊   网络技术   操作系统   数据库   程序设计   系统应用   考试认证   CIO及信息化   站长交流   综合交流   下载基地  51CTO产品服务 设为首页 | 收藏本站
51CTO技术论坛» 锐捷技术 » 锐捷路由器命令大全锐捷路由器命令大全       [ 打印]  [ 订阅]  [ 收藏]  [ 推荐给朋友]   [ 本帖文本页]

论坛跳转:
     
标题: [转载] 锐捷路由器命令大全锐捷路由器命令大全  ( 查看:194  回复:2 )   
 
sylar_lu
副版主  点击可查看详细



十二生肖之龙   魔蝎座   行业勋章   技术勋章   诚信兄弟  
帖子 154
精华 0
无忧币 1400
积分 574
阅读权限 140
注册日期 2008-4-22
最后登录 2008-7-5 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-4-25 17:14   标题:锐捷路由器命令大全锐捷路由器命令大全
上一帖 |
出现攻击时掉线时请用console链接路由,保存好如下命令的相关内容,用以分析:
1、show ver                          (版本信息)
2、show run                          (配置信息)
3、show arp                          (arp信息)
4、show interface                    (端口信息)
5、show ip nat trans                 (nat信息)
6、show ip nat stat                  
7、show ip nat statistics per-user   (只要第1屏的信息)
8、show ip cache                     (只要第1屏的信息)
9、show ip nat statistics suspicious-pc

发送免费arp:
lh#conf t
Enter configuration commands, one per line.   End with CNTL/Z.
lh(config)#int f 0/0(内网)
lh(config)#arp gr int 1
lh(config)#int f 1/0(外网)
lh(config)#arp gr int 1
lh(config)#end
lh#wr

端口映射:
lh#conf t
Enter configuration commands, one per line.   End with CNTL/Z.
lh(config)#ip nat source static tcp 192.168.3.99ip 80 219.128.102.110 80 permit-inside
lh(config)#end
lh#wr

限制内网某机器不限速(192.168.2.80):
lh#conf t
Enter configuration commands, one per line.   End with CNTL/Z.
lh(config)#ip nat translation rate-limit iprange 192.168.2.2 192.168.2.79 inbound 500 outbound 1000
lh(config)#ip nat translation rate-limit iprange 192.168.2.81 192.168.3.253 inbound 500 outbound 1000
lh(config)#end
lh#wr

限制内网PC的链接线程数同限速:
lh#conf t
Enter configuration commands, one per line.   End with CNTL/Z.
lh(config)#ip nat translation per-user 0.0.0.0 250
lh(config)#ip nat translation rate-limit default inbound 500 outbound 1000
lh(config)#end
lh#wr

禁止公网访问IP
lh#conf t
Enter configuration commands, one per line.   End with CNTL/Z.
lh(config)#access-list 3199 deny icmp any any echo
lh(config)#access-list 3199 deny tcp any any eq 135
lh(config)#access-list 3199 deny tcp any any eq 139
lh(config)#access-list 3199 deny udp any any eq netbios-ss
lh(config)#access-list 3199 deny tcp any any eq 445
lh(config)#access-list 3199 deny tcp any host 219.128.102.110 eq www
lh(config)#access-list 3199 permit ip any any
lh(config)#end
lh#wr

禁止内网部分IP访问网关的
lh#conf t
Enter configuration commands, one per line.   End with CNTL/Z.
lh(config)#webaccess-list 3198 deny tcp 192.168.2.1 192.168.2.100 host 192.168.3.254 eq www
lh(config)#access-list 3198 permit ip any any
lh(config)#end
lh#wr
禁止IP访问网络lh#conf t
Enter configuration commands, one per line.   End with CNTL/Z.
lh(config)#access-list 3001 deny ip host 202.96.128.166 anylh(config)#access-list 3001 permit anylh(config)#end lh#wrarp绑定lh#conf t
Enter configuration commands, one per line.   End with CNTL/Z.
lh(config)#arp 192.168.3.1 0011.5b71.2869 arpa
lh(config)#endlh#wr
取消arp绑定:
lh#conf t
Enter configuration commands, one per line.   End with CNTL/Z.
lh(config)#no arp 192.168.3.1lh(config)#endlh#wr
防范DDOS攻击
lh#conf t
Enter configuration commands, one per line.   End with CNTL/Z.
lh(config)#security anti-wan-attack level high
lh(config)#endlh#wr防范sysflood攻击
lh#conf t
Enter configuration commands, one per line.   End with CNTL/Z.
lh(config)#access-list 10 permit host 192.168.3.254
lh(config)#int f 0/0
lh(config)#rate-limit input access-group 10 64000 3000 3000 conform-action   transmit exceed-action   drop
lh(config)#endlh#wr禁止机器上网
lh#conf t
Enter configuration commands, one per line.   End with CNTL/Z.
lh(config)#acl 99 deny 192.168.1.2
lh(config)#acc 99 deny 192.168.1.10
lh(config)#acc 99 per anylh(config)#endlh#wr时间同步配置
lh#conf t
Enter configuration commands, one per line.   End with CNTL/Z.
lh(config)#sntp enable
lh(config)#sntp interval 60
lh(config)#sntp server 128.105.37.11
lh(config)#clock up
lh(config)#end



网络工程师到底该不该去考CCIE认证?
2008-4-25 17:141楼
[ 顶部 ]
 
忘网
新新人类  点击可查看详细



帖子 8
精华 0
无忧币 8
积分 16
阅读权限 20
注册日期 2006-6-10
最后登录 2008-6-22 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-4-26 11:33 
没手册吗?



网络工程师到底该不该去考CCIE认证?
2008-4-26 11:332楼
[ 顶部 ]
 
sylar_lu
副版主  点击可查看详细



十二生肖之龙   魔蝎座   行业勋章   技术勋章   诚信兄弟  
帖子 154
精华 0
无忧币 1400
积分 574
阅读权限 140
注册日期 2008-4-22
最后登录 2008-7-5 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-4-26 11:58 
没有找到手册,下次找到了我在发上去



网络工程师到底该不该去考CCIE认证?
2008-4-26 11:583楼
[ 顶部 ]
     
论坛跳转:  

| | |

| | |

| | |

标记已读 · 删除论坛Cookies · 文本版 · WAP
 
| 诚征版主 | 版主堂 | 意见建议 | 大史记 | 论坛地图
Copyright©2005-2008 51CTO.COM  Powered by Discuz!
本论坛言论纯属发布者个人意见,不代表51CTO网站立场!如有疑义,请与管理员联系。
京ICP备05051492号