Modify Firewall Threat Defense management interface settings at the CLI
Many management interface settings are set during device initial setup; this task allows you to update them, add event-only interfaces (if supported), or configure static routes, DNS domains, and other advanced settings. Use the CLI when you need direct device access or troubleshooting. If you wish to configure network settings for a data interface used for management, use the device management center interface instead.
Note | This topic applies to the dedicated management interface. You can alternatively configure a data interface for management. If you want to change network settings for that interface, you should do so within Cloud-Delivered Firewall Management Center and not at the CLI. If you need to troubleshoot a disrupted management connection, and need to make changes directly on the Firewall Threat Defense , see Modify the Firewall Threat Defense data interface used for management at the CLI . |
For information about the Firewall Threat Defense CLI, see the Cisco Secure Firewall Threat Defense Command Reference .
Before you begin
-
You can create user accounts that can log into the CLI using the configure user add command ; see Add an internal user at the CLI . You can also configure AAA users according to Configure external authentication .
-
Be cautious when making changes to the management interface using SSH. If you cannot re-connect because of a configuration error, access the device console port.
-
In high-availability configurations, when you modify the management IP address of a registered device from the device CLI or from the Cloud-Delivered Firewall Management Center , the standby Cloud-Delivered Firewall Management Center does not reflect the changes even after a high-availability synchronization. To ensure that the standby Cloud-Delivered Firewall Management Center is also updated, switch roles between the two Cloud-Delivered Firewall Management Center s, making the secondary Cloud-Delivered Firewall Management Center as the active unit. Modify the management IP address of the registered device on the Device Management page of the standby Cloud-Delivered Firewall Management Center .
Procedure
Step 1 | Connect to the device CLI, either from the console port or using SSH. |
Step 2 | Log in with the Admin username and password. |
Step 3 | (Firepower 4100/9300 /Secure Firewall 4200 /6100 only) Enable the second management interface as an event-only interface. configure network management-interface enable management1 configure network management-interface disable-management-channel management1 You always need a management interface for management traffic. If your device has a second management interface, you can enable it for event-only traffic. (Optional) Disable events for the main management interface using the configure network management-interface disable-events-channel command. In either case, the device will try to send events on the event-only interface, and if that interface is down, it will send events on the management interface even if you disable the event channel. You cannot disable both event and management channels on an interface. To use a separate event interface, you must enable an event-only interface on the Cloud-Delivered Firewall Management Center that is dedicated exclusively to event traffic. See the Cisco Secure Firewall Management Center Administration Guide . Example:
|
Step 4 | Configure the IP address of the management interface and/or event interface: If you do not specify the management_interface argument, then you change the network settings for the default management interface. When configuring an event interface, be sure to specify the management_interface argument. The event interface can be on a separate network from the management interface, or on the same network. If you are connected to the interface you are configuring, you will be disconnected. You can re-connect to the new IP address. |
Step 5 | Enable a DHCP server on the default management interface to provide IP addresses to connected hosts: configure network ipv4 dhcp-server-enable start_ip_address end_ip_address Example:
You can only configure a DHCP server when you set the management interface IP address manually. This command is not supported on the Firewall Management Center Virtual . To display the status of the DHCP server, enter show network-dhcp-server :
|
Step 6 | Add a static route for the event-only interface if the Cloud-Delivered Firewall Management Center is on a remote network. Otherwise, all traffic will match the default route through the management interface. configure network static-routes { ipv4 | ipv6 } add management_interface destination_ip netmask_or_prefix gateway_ip For the default route, do not use this command; you can only change the default route gateway IP address when you use the configure network ipv4 or ipv6 commands (see Step 4 ). Example:
To display static routes, enter show network-static-routes (the default route is not shown):
|
Step 7 | Do these settings: |
Step 8 | If you change the device management IP address, then see the following tasks for Cloud-Delivered Firewall Management Center connectivity. Perform these tasks depending on how you identified the Cloud-Delivered Firewall Management Center during initial device setup using the configure manager add command :
|