Policy Based Routing(PBR) with User Identity and Security Group Tags(SGT)

Language: English | 日本語

Introduction

Cisco Secure Firewall Release 7.4 introduces support for User Identity and Security Group Tags (SGTs) within Policy-based routing(PBR) policies.

This feature provides additional capabilities to steer traffic through Secure Firewall Threat Defense devices by leveraging user identity, AD group membership, or Security Group association(SGTs). These capabilities can coexist with current policy-based routing conditions. Additionally, this allows segregation of traffic based on user identities or SGTs for deployments where differentiated access is required for employees, guest users, and IOT devices.

This walkthrough covers Secure Firewall Management Center (FMC) and Secure Firewall Threat Defense devices running release 7.4.0 or later in the 7.4 release family.

Background Information

Since release 7.1, Secure Firewall Threat Defense devices support application-aware Policy Based Routing. Conventional five-tuple matching uses:

  • Source IP address
  • Destination IP address
  • Source port
  • Destination port
  • IP protocol

Application matching is an additional PBR criterion, separate from the five-tuple. The predefined PBR applications use first-packet classification; they are a subset of the applications available in access control policies.

In order to simplify the deployment and provisioning of branch networks, release 7.4 introduces additional attributes that can be leveraged within Policy Based Routing such as

  • User Identity
  • AD Group membership
  • Security Group Tags (SGT)

How PBR with User Identity and Security Group Tags(SGT) works

Secure Firewall Management Center can associate observed traffic with user identity by combining AD/LDAP realm data with session information from configured identity sources, such as Cisco Identity Services Engine (ISE). The available information depends on the identity source and its configuration.

An AD/LDAP realm supplies downloaded users and group memberships for rule selection. An identity source supplies current user-to-IP session mappings. Downloading a realm does not by itself identify the user of a particular connection. Configure the identity source, any required identity policy and mapping filters for the deployment, and deploy the applicable policies before using those mappings.

⚠

️ Note

Along with PBR policies, the User Identity and Group information can also be leveraged in Access Control Policies for traffic inspection.

Additionally, once the pxGrid integration between ISE and FMC is successful, it provides additional user information such as user login events, Security Group Tags (SGT) assigned to the users, and the associated SGT to IP mappings.

**Figure 1.** PBR Policy operations using User Identity and Security Group Tags(SGT)

Figure 1. PBR Policy operations using User Identity and Security Group Tags(SGT)

As the FMC gets user identity, group membership, and security group tag information from various authentication sources, these attributes can be used as identifiers/conditions to select the traffic and route it appropriately using policy-based routing rules.

The complete workflow is as follows:

  1. Configuring PBR rules using user identity, group, or SGTs results in the deployment of a route map from FMC to FTD that references an extended access list with identity-based rules.
  2. Configure a supported identity source, such as AD-authenticated remote-access VPN, captive portal, or ISE/ISE-PIC as applicable. FMC supplies the resulting user-to-IP and group updates to managed FTD devices according to the identity deployment and filters.
  3. FTD uses the deployed route map and available identity or source-SGT information to classify a new eligible inbound connection and select its egress path. PBR runs on its first packet; identity or metric updates do not by themselves re-evaluate an established connection. PBR is not triggered when NAT selects the egress interface.

In addition, FMC also allows the configuration of custom SGT objects for inline SGTs. This is useful in deployments where FMC is not integrated with ISE. Inline SGT is where the SGT is part of the packet itself and once the packet reaches FTD, it will read the associated SGTs and apply the policy-based rules based on the SGT information.

⚠

️ Note

  • In the ISE workflow below, select the SGT objects obtained from ISE. Subscribe to both the Session Directory Topic and SXP Topic for ISE SGT use.
  • Custom SGT objects cannot be created while ISE or ISE-PIC is configured as the identity source. The custom-object workflow in Step 8 applies when those connections are disabled.
  • A custom SGT object represents a tag value; an inline SGT is a tag carried in the packet. Creating an object does not insert a tag into a packet. Use extended ACLs containing user, group, application or SGT conditions only for PBR, as documented for this release.

Configuration

📘

Prerequisites:

  1. In order to configure User Identity within the Extended ACL used in PBR, AD/LDAP realm needs to be configured on FMC. Please follow the steps in this document to complete AD/LDAP realm configuration on FMC

https://www.cisco.com/c/en/us/td/docs/security/secure-firewall/management-center/device-config/740/management-center-device-config-74/identity-realms.html#task_F9ED2AF84F604438ACDC2124237DC518

2. For ISE-supplied Security Group Tags, configure Cisco ISE integration with FMC and the required pxGrid subscriptions. Use the 7.4 ISE/ISE-PIC integration guide and its compatibility requirements. For custom SGT objects representing inline tags, use Step 8 with ISE/ISE-PIC disabled.

Upgrade check: Before upgrading a device to 7.4, review Propagate Security Group Tag on its egress interfaces and downstream compatibility. With ISE integration, FTD can add egress SGTs when propagation is enabled, even without a PBR policy. New interfaces disable propagation by default from 7.4.0; upgrades preserve existing settings. See the 7.4 release notes.

Step 1: Navigate to Integration > Other Integrations > Realms and ensure that AD/LDAP realm configuration is completed and successful as noted in point no. 1 in the prerequisites above.

Once the integration is completed, users and user groups are downloaded from the AD which can then be used in the extended ACL

AD Realm configuration showing downloaded Users and User Groups

AD Realm configuration showing downloaded Users and User Groups

Step 2: Navigate to Objects > Object Management > Access List > Extended . Click Add Extended Access List and add the name of the ACL in the Name field. Click Add within the New Extended Access List object.

Step 3: The pop-up shows a new tab called Users. Click on Users and this shows all the configured realms under the Available Realms

Click on the desired realms to see all the users and user groups downloaded from that specific AD/LDAP realm.

Select the users/user groups to match in the PBR policy. Click Add to Rule and click Add and Click Save.

Step 4: For the ISE source-SGT workflow, navigate to Integration > Other Integrations > Identity Sources > Identity Services Engine and confirm the integration and subscriptions described in prerequisite 2. For custom SGT objects representing packet-carried tags, use the separate workflow in Step 8.

Step 5: When using ISE, confirm that its required SGTs are synchronized to FMC and available for the PBR policy.

Step 6: Navigate to Objects > Object Management > Access List > Extended . Edit the extended ACL configured in Step 2.

Step 7: Click Edit on the existing extended Access List Entry.

Notice adjacent to the Users tab, there is a new tab called Security Group Tag. Click on Security Group Tag and it lists all the available Security Group Tags pushed via ISE on FMC.

Select the desired Security Group Tag to match the PBR policy. Click Add and then click Save.

⚠

Note

  • Use Reload to refresh the available list after synchronizing the relevant users/groups or SGTs. Realm users/groups and ISE SGTs have different upstream sources.

  • Only source SGTs are supported in PBR.

A sample extended ACL with user identity and SGT appears as shown below. Click Save to complete the extended ACL configuration.

Extended ACL objects select traffic for a PBR transit path. In this example, the rule matches users in the HR AD group with the Employees SGT when they access ADP, then selects the configured egress path. A permit used for PBR matching does not grant access to the application; the access control policy must separately allow the connection.

Step 8: To create a custom SGT object, use the Global domain with ISE/ISE-PIC disabled as an identity source. Navigate to Objects > Object Management > External Attributes > Security Group Tag and click Add Security Group Tag. The object represents the tag value to match in the extended ACL for PBR.

FMC also lets you create a custom SGT object while editing the extended ACL. This in-place object creation is distinct from an inline SGT carried in a packet.

Step 9: Navigate to Device Management > Edit Device > Routing > Policy Based Routing and click Add to configure the PBR rule.

Step 10: Select the Ingress Interface and click Add.

Within Match ACL, select the extended ACL defined in the previous steps to use as the match criteria. Select the forwarding action to choose the egress interface by order, interface priority, or a path-monitoring metric: minimum jitter, minimum packet loss, minimum RTT, or maximum MOS. Lastly, click Save.

Step 11: Review the PBR rule created in the previous steps and Deploy the configuration to FTD.

⚠

️ Note

You can create additional PBR rules based on differentiated access for different users and applications. Traffic can be sent either through a direct ISP link, through a tunnel to Umbrella for cloud security, or directly to HQ or Hub site.

Verification

Here are some CLI commands you can use to verify the configuration is successfully deployed on FTD:

This command shows the deployed configuration for specified interfaces

show running-config interface

This command shows the route-map defined as part of FTD configuration deployment

show route-map

This command shows the access-list that includes identity-based rules

show access-list

This command displays the configured object groups

show object-group

Troubleshooting

All the show commands and debug commands that were used for policy-based routing in the previous releases are still applicable. For more details, please check the following link:

https://secure.cisco.com/secure-firewall/docs/policy-based-routing-with-path-monitoring

In addition, additional debug commands are added:

debug user-identity ftd-id

This command displays the relevant output as identity information is read from FMC

debug user-identity all

This command shows additional information as the identity information is processed

For troubleshooting AD/LDAP realm and ISE-FMC integration, please refer to the following docs:

Limitations

The following limits apply to the user-identity and source-SGT PBR workflow described here for release 7.4. They do not define identity-feature support in other policies or releases.

  • User Identity support in PBR is limited only to users from AD/LDAP realm
  • Local Realm Users, Special/Discovered Identities, and Azure AD users are not supported
  • Wildcard User groups are not supported
  • This feature is not supported in a clustered configuration
  • Only the Source Security Group Tag is supported

Summary

In release 7.4, PBR provides enhanced support for user identity, user groups, and SGTs to route the user and application traffic. This helps Secure Firewall administrators with increased granularity in terms of how traffic is steered through Secure Firewall devices to provide the optimum path and result in a better user experience.

📚Additional Resources

To learn more about the PBR policies using User Identity and SGT, please refer to the following guide:

https://www.cisco.com/c/en/us/td/docs/security/secure-firewall/management-center/device-config/740/management-center-device-config-74/routing-policy-based.html#Cisco_Task.dita_27e089d1-6340-40e1-9abd-df12be8378c4


Did this page help you?
Title of the document The current suggested release is 7.6.6 Release 10.1 is live!