Cisco Cisco ASA 5580 Adaptive Security Appliance Leaflet

Page of 1214
 
4-100
思科 ASA 系列命令参考,命令
 
 4       show bgp  show cpu 命令
  show capture
以下示例展示在输入以下命令后,在一个集群环境中的集群控制链路上捕获的数据包:
ciscoasa (config)# capture a interface cluster
ciscoasa (config)# capture cp interface cluster match udp any eq 49495 any
ciscoasa (config)# capture cp interface cluster match udp any any eq 49495
ciscoasa (config)# access-list cc1 extended permit udp any any eq 4193
ciscoasa (config)# access-list cc1 extended permit udp any eq 4193 any
ciscoasa (config)# capture dp interface cluster access-list cc1
ciscoasa (config)# capture lacp type lacp interface gigabitEthernet 0/0
ciscoasa(config)# show capture
capture a type raw-data interface cluster [Capturing - 970 bytes]
capture cp type raw-data interface cluster [Capturing - 26236 bytes]
  match udp any eq 49495 any
capture dp type raw-data access-list cc1 interface cluster [Capturing - 4545230 bytes]
capture lacp type lacp interface gigabitEthernet0/0 [Capturing - 140 bytes]
以下示例展示已在接口上启用
 SGT 和以太网标记时捕获的数据包:
ciscoasa(config)# show capture my-inside-capture
1: 11:34:42.931012 INLINE-TAG 36 10.0.101.22 > 11.0.101.100: icmp: echo request
2: 11:34:42.931470 INLINE-TAG 48 11.0.101.100 > 10.0.101.22: icmp: echo reply
3: 11:34:43.932553 INLINE-TAG 36 10.0.101.22 > 11.0.101.100: icmp: echo request
4: 11.34.43.933164 INLINE-TAG 48 11.0.101.100 > 10.0.101.22: icmp: echo reply
已在接口上启用
 SGT 和以太网标记时,该接口仍可收到标记或取消标记的数据包。展示的示
例用于标记的数据包,该数据包在输出中具有
 INLINE-TAG 36。当同一接口收到取消标记的
数据包时,输出保持不变(即输出中不包括任何 “
INLINE-TAG 36” 条目)。
相关命令
命令
说明
capture
为数据包嗅探和网络故障隔离启用数据包捕获功能。
clear capture
清除捕获缓冲区。
copy capture
将捕获文件复制到服务器。