欢迎光临
我们一直在努力

ASA 防火墙基本配置命令

ASA 5505      ASA 5510     中小企业

5520   5540   5550     5580大型企业

ASA 是思科的产品,前身是PIX.


ASA基本配置命令

命令名称

模式

具体命令

修改防火墙名称

 config# 

hostname xxxx

配置特权密码

 config# 

enable password xxxx

远程登陆密码

 config# 

password xxxx

配置接口名称 

config-if # 

nameif xxxx 

配置接口安全级别

config-if # 

ecurity-level xxxx(0-100)


ASA ACL的基本配置

标准ACL

asa(config)# access-group acl_name {in | out} interface interface_ name

扩展ACL

asa(config)# access-list acl_name [extended] {permit | deny} protocol src_ip_addr src_mask dst_ip_addr dst_mask [operator port]

将ACL应用到接口

asa(config)# access-group acl_name {in | out} interface interface_ name

举例:允许ICMP穿过防火墙

asa(config)# access-list 111 permit icmp any any

asa(config)# access-group 111 in int outside


静态路由

asa(config)# route interface-name network mask next-hop-address



其他命令

命令名称

模式

具体命令

保存running config配置

config#

asa# write memory或

asa# copy running-config startup-config

清除running config的所有配置

config#

clear configure all

清除running config中指定命令的配置

config#

asa(config)# clear config configcommand [level2configcommand]

如:清除所有ACL

clear configure access-list

清除指定ACL in_to_out

clear configure access-list in_to_out 

删除startup-config配置文件

#

asa# write erase


 

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。