码迷,mamicode.com
首页 > 其他好文 > 详细

ASA基本命令_01

时间:2016-06-02 09:59:00      阅读:303      评论:0      收藏:0      [点我收藏+]

标签:ccsp 思科安全 asa

清空配置

    清空Startup Configuration : write erase

    清空Running Configuration : clear config all (实验时用)

    重启 : reload


ciscoasa(config-if)# hostname ASA1
ASA1(config)# int gigabitEthernet 0/0
ASA1(config-if)# nameif DMZ
INFO: Security level for "DMZ" set to 0 by default.
除了命名inside:100或 outside:50其余的默认为0,高到低默认放行,低到高阻止
ASA1(config-if)# security-level 50
ASA1(config-if)# ip address 192.168.100.139 255.255.255.0
安装(或说激活)ASDM软件
ciscoasa(config)# asdm image  disk0:/asdm-731.bin<此命令安装asdm软件,但不会提示>    
 
开启http服务并设置允许连接的远程主机
ciscoasa(config)# http server enable
ciscoasa(config)# http 192.168.10.0  255.255.255.0 mgmt    
注:虽然是http服务,但是web连接使用的是https协议。安全产品的web登录都是https协议。
 
创建登录账户并设置http登录本地验证
ciscoasa(config)# username user1 password  woaimsj privilege 15
ciscoasa(config)# aaa authentication  http console LOCAL

ASA1(config-if)# same-security-traffic permit inter-interface 
允许同安全级别的口通信
ASA1(config-if)# same-security-traffic permit intra-interface 
允许在同一物理口的同安全级别的虚拟接口同信


ASA1(config)# route outside 0 0 202.100.1.2<每个接口都要起名字>
格式:route + 接口名 + 源 + 掩码 + 目

关于静态路由

    最多支持三条相同目的和出接口的,用于负载均衡的静态路由

关于动态路由

    RIP OSPF EIGRP  (不支持BGP)

查看

show run + 特定关键字    相当于runningconfig的部分
show run all + 特定关键字   相当于查看详细信息

show cpu usage
show memory
show perfmon 
show version

技术分享


清除连接

    技术分享

ASA基本命令_01

标签:ccsp 思科安全 asa

原文地址:http://beening.blog.51cto.com/9079117/1785340

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!