繁体中文
设为首页
加入收藏
当前位置:技术首页 >> 安全 >> 防火墙 >> CiscoASA防火墙配置笔记[1]

CiscoASA防火墙配置笔记[1]

2008-04-09 12:27:16  作者:IT动力源  来源:IT动力源收集整理  浏览次数:0  文字大小:【】【】【
关键字:CISCO认证

  1. 常用技巧

  Sh ru ntp查看与ntp有关的

  Sh ru crypto 查看与vpn有关的

  Sh ru | inc crypto 只是关健字过滤而已

  2. 故障倒换

  failover

  failover lan unit primary

  failover lan interface testint Ethernet0/3

  failover link testint Ethernet0/3

  failover mac address Ethernet0/1 0018.1900.5000 0018.1900.5001

  failover mac address Ethernet0/0 0018.1900.4000 0018.1900.4001

  failover mac address Ethernet0/2 0018.1900.6000 0018.1900.6001

  failover mac address Management0/0 0018.1900.7000 0018.1900.7001

  failover interface ip testint 10.3.3.1 255.255.255.0 standby 10.3.3.2

  注:最好配置虚拟MAC地址

  sh failover显示配置信息

  write standby写入到备用的防火墙

  failover命令集如下:

  configure mode commands/options:

  interface Configure the IP address and mask to be used for failover

  and/or stateful update information

  interface-policy Set the policy for failover due to interface failures

  key Configure the failover shared secret or key

  lan Specify the unit as primary or secondary or configure the

  interface and vlan to be used for failover communication

  link Configure the interface and vlan to be used as a link for

  stateful update information

  mac Specify the virtual mac address for a physical interface

  polltime Configure failover poll interval

  replication Enable HTTP (port 80) connection replication

  timeout Specify the failover reconnect timeout value for

  asymmetrically routed sessions

  sh failover 命令集如下:

  history Show failover switching history

  interface Show failover command interface information

  state Show failover internal state information

  statistics Show failover command interface statistics information

  Output modifiers

  3. 配置telnet、ssh及http管理

  username jiang password Csmep3VzvPQPCbkx encrypted privilege 15

  aaa authentication enable console LOCAL

  aaa authentication telnet console LOCAL

  aaa authentication ssh console LOCAL

  aaa authorization command LOCAL

  http 192.168.40.0 255.255.255.0 management

  ssh 192.168.40.0 255.255.255.0 inside

  4. vpn常用管理命令

  sh vpn-sessiondb full l2l 显示site to site 之vpn通道情况

  sh ipsec stats 显示ipsec通道情况

  sh vpn-sessiondb summary 显示vpn汇总信息

  sh vpn-sessiondb detail l2l 显示ipsec详细信息

  sh vpn-sessiondb detail svc 查看ssl client信息

  sh vpn-sessiondb detail webvpn 查看webvpn信息

  sh vpn-sessiondb detail full l2l 相当于linux下的ipsec whack ?Cstatus 如果没有建立连接,则表示ipsec通道还没有建立起来。

  5. 配置访问权限

  可以建立对象组,设定不同的权限,如:

  object-group network testgroup

  description test

  network-object 192.168.100.34 255.255.255.255

  access-list inside_access_in line 2 extended permit ip object-group all any

  access-group inside_access_in in interface inside

  6. 配置sitetosite之VPN

  crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac

  crypto map outside_map 20 match address outside_cryptomap_20_1

  crypto map outside_map 20 set pfs

  crypto map outside_map 20 set peer 218.16.105.48

  crypto map outside_map 20 set transform-set ESP-3DES-SHA

  crypto map outside_map interface outside

  isakmp identity address

  isakmp enable outside

  isakmp policy 10 authentication pre-share

  isakmp policy 10 encryption 3des

  isakmp policy 10 hash sha

  isakmp policy 10 group 2

  isakmp policy 10 lifetime 86400

  tunnel-group 218.16.105.48 type ipsec-l2l

  tunnel-group 218.16.105.48 ipsec-attributes

  pre-shared-key *

  peer-id-validate nocheck

  tunnel-group-map enable rules

  注:打打PFS并设定以IP地址作为peer名,一个接口只能有一个加密图


点击收藏到

责任编辑:hefei

本文引用地址: http://exam.itzero.com/2008/0409/17039.html 请粘贴到你的QQ/MSN上推荐给你的好友

相关文章
网络管理员必懂的路由器常识
思科C3550交换机配置作为DHCP服务器[1]
OSPF连载之OSPF的八大特点介绍[1]
学会理解掌握Cisco错误消息[1]
OSPF连载:区域间的路由如何计算
第一次亲手接触Cisco PIX防火墙[1]
Cisco PIX 515E防火墙应用环境[1]
常见的CatcOs错误消息在Cisco交换机[1]
Cisco常见十大经典问题解答之VPN
Cisco常见十大经典问题解答之VoIP
CiscoPIX防火墙的配置及注解完全手册[1]
 

最新文章

更多

· 使用pix解决局域网内的w...
· 关于PIX的配置及注解完全...
· 免疫墙路由器和内网安全...
· Cisco PIX 515E防火墙应...
· CiscoPIX防火墙的配置及...
· CiscoASA防火墙配置笔记[1]
· Cisco常见十大经典问题解...
· 思科防火墙FWSM模块曝安...
· 安装防火墙软件需要注意...
· 理解Cisco Secure PIX F...

热点文章

更多

· Cisco PIX/CS ACS可下载...
· 网络防火墙的设置技巧
· 网络防火墙技术应用:日...
· Cisco PIX 525防火墙
· Cisco Pix 的常见问题大整理
· 无奇不有 在PC上装Cisco...
· 理解Cisco Secure PIX F...
· 解读网络防火墙
· 联想网御推出高性能NP防...
· cisco四种网络防火墙技术...

其它推荐