FlexConfig system variables
System variables are replaced with information obtained from the device itself or from policies configured for it. To add a variable for the first time in the FlexConfig script and establish its association with the system variable, use the menu in the FlexConfig object editor. Typing the system variable name with a preceding $ sign does not create a system variable in the context of the FlexConfig object.
Before using a variable, check the typical value it returns. Refer to Evaluate device variable results.
|
NAME |
Description |
|---|---|
|
SYS_FW_OS_MODE |
The operating system MODE of the device. Possible values are ROUTED or TRANSPARENT. |
|
SYS_FW_OS_MULTIPLICITY |
Whether the device is running in SINGLE or multiple context MODE. Possible values are SINGLE, MULTI, or NOT_APPLICABLE. |
|
SYS_FW_MANAGEMENT_IP |
The MANAGEMENT IP address of the device |
|
SYS_FW_HOST_NAME |
The device hostname |
|
SYS_FTD_INTF_POLICY_MAP |
A MAP with INTERFACE NAME as key and POLICY-MAP as value. This variable returns nothing if there are no INTERFACE-based service policies defined on the device. |
|
SYS_FW_ENABLED_INSPECT_PROTOCOL_LIST |
The LIST of protocols for which inspection is ENABLED. |
|
SYS_FTD_ROUTED_INTF_MAP_LIST |
A LIST of ROUTED INTERFACE maps on the device. Each MAP includes a set of named values related to ROUTED INTERFACE configuration. |
|
SYS_FTD_SWITCHED_INTF_MAP_LIST |
A LIST of SWITCHED INTERFACE maps on the device. Each MAP includes a set of named values related to SWITCHED INTERFACE configuration. |
|
SYS_FTD_INLINE_INTF_MAP_LIST |
A LIST of INLINE INTERFACE maps on the device. Each MAP includes a set of named values related to INLINE set INTERFACE configuration. |
|
SYS_FTD_PASSIVE_INTF_MAP_LIST |
A LIST of PASSIVE INTERFACE maps on the device. Each MAP includes a set of named values related to PASSIVE INTERFACE configuration. |
|
SYS_FTD_INTF_BVI_MAP_LIST |
A LIST of Bridge Virtual INTERFACE maps on the device. Each MAP includes a set of named values related to BVI configuration. |
|
SYS_FW_INTERFACE_HARDWARE_ID_LIST |
A LIST of the HARDWARE names for interfaces on the device, such as GigabitEthernet0/0. |
|
SYS_FW_INTERFACE_NAME_LIST |
A LIST of logical names for interfaces on the device, such as inside. |
|
SYS_FW_INLINE_INTERFACE_NAME_LIST |
A LIST of logical names for interfaces configured as PASSIVE or ERSPAN PASSIVE. |
|
SYS_FW_NON_INLINE_INTERFACE_NAME_LIST |
A LIST of logical names for interfaces that are NOT part of INLINE sets, such as all ROUTED interfaces. |