ASA FirePOWER模組(也稱為ASA SFR)提供下一代防火牆服務,包括下一代IPS (NGIPS)、應用可視性與可控性(AVC)、URL過濾和高級惡意軟體防護(AMP)。您可以在單情景或多情景模式下以及在路由或透明模式下使用該模組。本文檔介紹ASA 5585-X硬體模組上FirePOWER (SFR)模組的必備條件和安裝過程。它還提供了向FireSIGHT管理中心註冊SFR模組的步驟。
本文檔中的說明要求訪問特權執行模式。要訪問特權執行模式,請輸入enable命令。若未設定密碼,只要按一下Enter即可。
ciscoasa> enable
Password:
ciscoasa#
要在ASA上安裝FirePOWER服務,需要以下元件:
假設某個ASA SSM始終佔用ASA 5585-X機箱的兩個插槽之一,如果您有一個除FirePOWER (SFR)服務SSP以外的硬體模組,例如SSP-CX(情景感知)或AIP-SSM(高級檢查和防禦安全),則必須解除安裝另一個模組以騰出SSP-SFR的空間。移除硬體模組之前,請執行以下指令來關閉模組:
ciscoasa# hw-module module 1 shutdown
1. 從Cisco.com將ASA FirePOWER SFR模組初始引導映像下載到可從ASA FirePOWER管理介面訪問的TFTP伺服器。映象名稱類似於「asasfr-boot-5.3.1-152.img」
2. 從Cisco.com將ASA FirePOWER系統軟體下載到可從ASA FirePOWER管理介面訪問的HTTP、HTTPS或FTP伺服器。
3. 重新啟動SFR模組
選項1:如果您沒有SFR模組的密碼,則可以從ASA發出以下命令以重新啟動模組。
ciscoasa# hw-module module 1 reload
Reload module 1? [confirm]
Reload issued for module 1
選項2:如果您有SFR模組的密碼,則可以從其命令列直接重新啟動感測器。
Sourcefire3D login: admin
Password:
Sourcefire Linux OS v5.3.1 (build 43)
Sourcefire ASA5585-SSP-10 v5.3.1 (build 152)
> system reboot
4. 使用ESCAPE或您的終端會話軟體的break序列中斷SFR模組的啟動過程,將模組置於ROMMON中。
The system is restarting...
CISCO SYSTEMS
Embedded BIOS Version 2.0(14)1 15:16:31 01/25/14
Cisco Systems ROMMON Version (2.0(14)1) #0: Sat Jan 25 16:44:38 CST 2014
Platform ASA 5585-X FirePOWER SSP-10, 8GE
Use BREAK or ESC to interrupt boot.
Use SPACE to begin boot immediately.
Boot in 8 seconds.
Boot interrupted.
Management0/0
Link is UP
MAC Address: xxxx.xxxx.xxxx
Use ? for help.
rommon #0>
5. 使用IP地址配置SFR模組管理介面,並指示TFTP伺服器的位置以及載入程式映像的TFTP路徑。輸入以下命令在介面上設定IP地址並檢索TFTP映像:
!使用的IP地址資訊示例。為您的環境更新。
rommon #1> ADDRESS=198.51.100.3
rommon #2> GATEWAY=198.51.100.1
rommon #3> SERVER=198.51.100.100
rommon #4> IMAGE=/tftpboot/asasfr-boot-5.3.1-152.img
rommon #5> sync
Updating NVRAM Parameters...
rommon #6> tftp
ROMMON Variable Settings:
ADDRESS=198.51.100.3
SERVER=198.51.100.100
GATEWAY=198.51.100.1
PORT=Management0/0
VLAN=untagged
IMAGE=/tftpboot/asasfr-boot-5.3.1-152.img
CONFIG=
LINKTIMEOUT=20
PKTTIMEOUT=4
RETRY=20
tftp /tftpboot/asasfr-boot-5.3.1-152.img@198.51.100.100 via 198.51.100.1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<truncated output>
Received 41235627 bytes
Launching TFTP Image...
Execute image at 0x14000
6. 登入初始引導映像。以admin身份登入,密碼為Admin123
Cisco ASA SFR Boot Image 5.3.1
asasfr login: admin
Password:
Cisco ASA SFR Boot 5.3.1 (152)
Type ? for list of commands
7. 使用初始引導映像在模組的管理介面上配置IP地址。輸入setup命令進入嚮導。系統會提示您輸入下列資訊:
!使用的範例資訊。為您的環境更新。
asasfr-boot>setup
Welcome to SFR Setup
[hit Ctrl-C to abort]
Default values are inside []
Enter a hostname [asasfr]: sfr-module-5585
Do you want to configure IPv4 address on management interface?(y/n) [Y]: Y
Do you want to enable DHCP for IPv4 address on management interface?(y/n) [N]: N
Enter an IPv4 address [192.168.8.8]: 198.51.100.3
Enter the netmask [255.255.255.0]: 255.255.255.0
Enter the gateway [192.168.8.1]: 198.51.100.1
Do you want to configure static IPv6 address on management interface?(y/n) [N]: N
Stateless autoconfiguration will be enabled for IPv6 addresses.
Enter the primary DNS server IP address: 198.51.100.15
Do you want to configure Secondary DNS Server? (y/n) [n]: N
Do you want to configure Local Domain Name? (y/n) [n]: N
Do you want to configure Search domains? (y/n) [n]: N
Do you want to enable the NTP service? [Y]: N
Please review the final configuration:
Hostname: sfr-module-5585
Management Interface Configuration
IPv4 Configuration: static
IP Address: 198.51.100.3
Netmask: 255.255.255.0
Gateway: 198.51.100.1
IPv6 Configuration: Stateless autoconfiguration
DNS Configuration:
DNS Server: 198.51.100.15
Apply the changes?(y,n) [Y]: Y
Configuration saved successfully!
Applying...
Restarting network services...
Restarting NTP service...
Done.
8. 使用system install命令使用引導映像來拉出和安裝系統軟體映像。如果您不想響應確認消息,請包括noconfirm選項。用.pkg檔案的位置替換url關鍵字。
asasfr-boot> system install [noconfirm] url
例如,
> system install http://Server_IP_Address/asasfr-sys-5.3.1-152.pkg
Verifying
Downloading
Extracting
Package Detail
Description: Cisco ASA-SFR 5.3.1-152 System Install
Requires reboot: Yes
Do you want to continue with upgrade? [y]: Y
Warning: Please do not interrupt the process or turn off the system.
Doing so might leave system in unusable state.
Upgrading
Starting upgrade process ...
Populating new system image ...
安裝期間的模組狀態
ciscoasa# show module 1 details
Getting details from the Service Module, please wait...
Unable to read details from module 1
Card Type: ASA 5585-X FirePOWER SSP-10, 8GE
Model: ASA5585-SSP-SFR10
Hardware version: 1.0
Serial Number: JAD18400028
Firmware version: 2.0(14)1
Software version: 5.3.1-152
MAC Address Range: 58f3.9ca0.1190 to 58f3.9ca0.119b
App. name: ASA FirePOWER
App. Status: Not Applicable
App. Status Desc: Not Applicable
App. version: 5.3.1-152
Data Plane Status: Not Applicable
Console session: Not ready
Status: Unresponsive
安裝成功後的模組狀態
ciscoasa# show module 1 details
Getting details from the Service Module, please wait...
Card Type: ASA 5585-X FirePOWER SSP-10, 8GE
Model: ASA5585-SSP-SFR10
Hardware version: 1.0
Serial Number: JAD18400028
Firmware version: 2.0(14)1
Software version: 5.3.1-152
MAC Address Range: 58f3.9ca0.1190 to 58f3.9ca0.119b
App. name: ASA FirePOWER
App. Status: Up
App. Status Desc: Normal Operation
App. version: 5.3.1-152
Data Plane Status: Up
Console session: Ready
Status: Up
DC addr: No DC Configured
Mgmt IP addr: 192.168.45.45
Mgmt Network mask: 255.255.255.0
Mgmt Gateway: 0.0.0.0
Mgmt web ports: 443
Mgmt TLS enabled: true
1. 您可以透過以下外部埠之一連線到ASA 5585-X FirePOWER模組:
2. 透過控制檯訪問FirePOWER模組後,使用使用者名稱admin和密碼Sourcefire登入。
Sourcefire3D login: admin
Password:
Last login: Fri Jan 30 14:00:51 UTC 2015 on ttyS0
Copyright 2001-2013, Sourcefire, Inc. All rights reserved. Sourcefire is a registered
trademark of Sourcefire, Inc. All other trademarks are property of their respective
owners.
Sourcefire Linux OS v5.3.1 (build 43)
Sourcefire ASA5585-SSP-10 v5.3.1 (build 152)
Last login: Wed Feb 18 14:22:19 on ttyS0
System initialization in progress. Please stand by.
You must configure the network to continue.
You must configure at least one of IPv4 or IPv6.
Do you want to configure IPv4? (y/n) [y]: y
Do you want to configure IPv6? (y/n) [n]: n
Configure IPv4 via DHCP or manually? (dhcp/manual) [manual]: dhcp
If your networking information has changed, you will need to reconnect.
[1640209.830367] ADDRCONF(NETDEV_UP): eth0: link is not ready
[1640212.873978] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[1640212.966250] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
For HTTP Proxy configuration, run 'configure network http-proxy'
This sensor must be managed by a Defense Center. A unique alphanumeric registration
key is always required. In most cases, to register a sensor to a Defense Center,
you must provide the hostname or the IP address along with the registration key.
'configure manager add [hostname | ip address ] [registration key ]'
However, if the sensor and the Defense Center are separated by a NAT device, you
must enter a unique NAT ID, along with the unique registration key. 'configure
manager add DONTRESOLVE [registration key ] [ NAT ID ]'
Later, using the web interface on the Defense Center, you must use the same
registration key and, if necessary, the same NAT ID when you add this
sensor to the Defense Center.
>
為了管理ASA FirePOWER模組和安全策略,您必須向FireSIGHT管理中心註冊該模組。不能使用FireSIGHT管理中心執行以下操作:
透過建立標識特定流量的服務策略,可將流量重定向到ASA FirePOWER模組。要將流量重定向到FirePOWER模組,請執行以下步驟:
首先,使用access-list命令選擇流量。在以下示例中,我們正在重定向來自所有介面的所有流量。您也可針對特定流量執行此操作。
ciscoasa(config)# access-list sfr_redirect extended permit ip any any
以下示例展示如何建立類對映並匹配訪問清單上的流量:
ciscoasa(config)# class-map sfr
ciscoasa(config-cmap)# match access-list sfr_redirect
您可以在被動(「僅監控」)或內聯部署中配置裝置。您不能在ASA上同時配置僅監控模式和正常內聯模式。只允許一種安全策略。
在內聯部署中,丟棄不需要的流量並執行策略應用的任何其他操作後,流量將返回到ASA進行進一步處理和最終傳輸。以下示例展示如何在內聯模式下建立策略對映並配置FirePOWER模組:
ciscoasa(config)# policy-map global_policy
ciscoasa(config-pmap)# class sfr
ciscoasa(config-pmap-c)# sfr fail-open
在被動部署中,
如果要在被動模式下配置FirePOWER模組,請使用monitor-only關鍵字,如下所示。如果不包括關鍵字,則以內聯模式傳送流量。
ciscoasa(config-pmap-c)# sfr fail-open monitor-only
最後一步是應用策略。您可以全局應用策略或在介面上應用策略。可以透過將服務策略應用到某個介面來覆蓋該介面上的全局策略。
global關鍵字可將策略對映應用於所有介面,而interface可將策略應用於一個介面。 只允許一個全局策略。在下列範例中,原則會全域套用:
ciscoasa(config)# service-policy global_policy global
修訂 | 發佈日期 | 意見 |
---|---|---|
1.0 |
18-Feb-2015 |
初始版本 |