侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130555 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

ASA 防火墙基本配置命令

2023-05-27 星期六 / 0 评论 / 0 点赞 / 33 阅读 / 4196 字

ASA 5505 ASA 5510 中小企业5520 5540 5550 5580大型企业ASA 是思科的产品,前身是PIX.ASA基本配置命令命令名称模式具体命令修改防火墙名称con

.

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




 


.

广告 广告

评论区