Skip to content
Solar Account.
Education & Software

Comprehensive Guide to Cisco RADIUS Vendor Specific Attributes (VSAs)

Cisco RADIUS Vendor Specific Attributes (VSAs) are proprietary extensions to the standard RADIUS protocol that allow Cisco network devices to communicate complex authorization and policy information with AAA servers. By using Cisco’s specific SMI Network Manag...

Comprehensive Guide to Cisco RADIUS Vendor Specific Attributes (VSAs)

Cisco RADIUS Vendor Specific Attributes (VSAs) are proprietary extensions to the standard RADIUS protocol that allow Cisco network devices to communicate complex authorization and policy information with AAA servers. By using Cisco’s specific SMI Network Management Private Enterprise Code (9), administrators can implement granular controls such as dynamic VLAN assignment, privilege level escalation, and custom Quality of Service (QoS) parameters that exceed standard RFC definitions.

Contents

The Remote Authentication Dial-In User Service (RADIUS) protocol was originally designed with a limited set of attributes defined in RFC 2865 and RFC 2866. While these standard attributes cover basic authentication and accounting, they lack the specificity required for modern, multi-vendor enterprise environments. To bridge this gap, the protocol includes Attribute 26, the Vendor-Specific Attribute. This mechanism allows vendors like Cisco to define their own set of sub-attributes, enabling a high degree of flexibility in how network policies are enforced across switches, routers, and firewalls.

The Architecture of Cisco RADIUS VSAs

To understand how Cisco VSAs function, one must first look at the structure of the RADIUS packet. Every RADIUS attribute follows a Type-Length-Value (TLV) format. For VSAs, the "Type" is always 26. Within that Attribute 26, the data field is further subdivided to identify the specific vendor and the proprietary attribute being communicated.

Cisco’s Vendor ID is 9 (registered with IANA as the Cisco Systems SMI Private Enterprise Code). When a RADIUS server sends an Access-Accept packet to a Cisco NAS (Network Access Server), it includes Attribute 26, which contains the Vendor ID 9, followed by the specific Cisco sub-attribute type, its length, and the value assigned to it.

This hierarchical encapsulation ensures that a Cisco router ignores VSAs intended for a Juniper or HP switch, even if they occupy the same RADIUS packet. For administrators in 2026, maintaining this architectural clarity is vital as software-defined networking (SDN) and Intent-Based Networking (IBN) rely heavily on these backend attributes to translate high-level business policies into low-level configuration changes on the wire.

How To Configure Radius Server Authentication In Cisco Packet - UCVZR

Understanding the Cisco-AV-Pair Attribute

The most versatile and frequently utilized Cisco VSA is the cisco-av-pair (Attribute 1). Unlike many other attributes that have a fixed, singular purpose, the cisco-av-pair is a "string" type attribute that uses a "keyword=value" format. This allows it to carry an almost infinite variety of instructions.

For example, to set a user's privilege level upon login, the RADIUS server sends shell:priv-lvl=15. To assign a dynamic access control list (dACL) to a switch port during a session, the server might send ip:inacl#1=permit ip any any. The Cisco device parses the string, identifies the service (e.g., shell or ip), and applies the corresponding value to the user session.

Because cisco-av-pair is so flexible, it is often the primary focus of troubleshooting. A minor syntax error, such as a missing colon or an extra space, can result in the NAS failing to apply the policy, often defaulting the user to a restricted "guest" state or denying access entirely.

Common Cisco VSAs and Their Functions

While there are hundreds of possible attributes, a specific subset forms the backbone of most enterprise AAA (Authentication, Authorization, and Accounting) implementations. The following table outlines the most critical Cisco VSAs used in modern network deployments.

Attribute Name Vendor Type Data Type Common Usage and Description
cisco-av-pair 1 String The "Swiss Army Knife" of VSAs. Used for privilege levels, dACLs, and custom policy strings.
cisco-nas-port 2 String Identifies the physical or logical port on the Cisco NAS where the user is connected.
cvpn3000-protocol 11 Integer Specifically used in VPN concentrators and ASA/FTD devices to define the tunneling protocol.
cisco-fax-recipient 14 String Historical attribute used in voice/fax gateway routing, still found in legacy PSTN integrations.
cisco-vlan-id 81 String/Int Used for dynamic VLAN assignment, though often superseded by IETF attributes 64, 65, and 81.
cisco-policy-name 37 String Directs the NAS to apply a pre-defined local QoS or traffic-shaping policy to the session.
cisco-disconnect-cause 195 Integer Included in accounting packets to explain why a session ended (e.g., user logout vs. timeout).

Implementation Prerequisites and Configuration

Before implementing Cisco VSAs, the network infrastructure must be prepared to handle proprietary attributes. This involves both the Network Access Server (the switch or router) and the RADIUS server (such as Cisco ISE, FreeRADIUS, or Microsoft NPS).

1. Enabling AAA on Cisco IOS-XE

On the Cisco device, AAA must be globally enabled, and the device must be configured to recognize the RADIUS server. A critical command often overlooked is the requirement to send and receive vendor-specific information. By default, some older versions of IOS might filter certain attributes unless explicitly told to process them.

aaa new-model aaa authorization exec default group radius local radius-server attribute 32 include-in-access-req radius-server vsa send authorization radius-server vsa send accounting

The radius-server vsa send commands are essential. Without them, the Cisco device may not properly communicate its own VSA requirements to the server or might ignore VSAs sent by the server in the Access-Accept message.

2. Configuring the RADIUS Server Dictionary

The RADIUS server must have the Cisco dictionary loaded. The dictionary file defines the mapping between the attribute numbers (like Type 1 for cisco-av-pair) and their human-readable names. In FreeRADIUS, this is typically found in /usr/share/freeradius/dictionary.cisco. In Cisco ISE (Identity Services Engine), these are built-in but can be updated via the "RADIUS Dictionaries" menu.

If the dictionary is missing or outdated, the RADIUS server will show the attribute as "Unknown-26-9-1" in the logs. While the raw data might still be sent, it becomes significantly harder for administrators to manage and troubleshoot.

Advanced Use Case: Dynamic Policy Enforcement

One of the most powerful applications of Cisco VSAs in 2026 is the enforcement of dynamic security policies in a Zero Trust Network Access (ZTNA) framework. Instead of static port configurations, the network uses VSAs to "paint" the configuration onto a port only after a user has authenticated.

Dynamic VLAN and ACL Assignment

Consider a scenario where a consultant and an employee plug into the same physical switch port at different times. When the employee logs in, the RADIUS server returns:

  • Tunnel-Type = VLAN
  • Tunnel-Medium-Type = IEEE-802
  • Tunnel-Private-Group-ID = 10 (Employee VLAN)
  • cisco-av-pair = "web-auth-priv=15"

When the consultant logs in, the server identifies the different identity group and returns:

  • Tunnel-Private-Group-ID = 20 (Guest VLAN)
  • cisco-av-pair = "ip:inacl#1=permit tcp any host 10.1.1.5 eq 443"
  • cisco-av-pair = "ip:inacl#2=deny ip any any"

In this instance, the cisco-av-pair is used to inject a temporary, session-specific Access Control List (ACL). This prevents the consultant from accessing any internal resources other than the specified web server, all without the administrator ever touching the switch CLI.

Troubleshooting Cisco VSA Mismatches

When VSAs fail to apply, the symptoms usually manifest as successful authentication (the user is logged in) but failed authorization (the user has the wrong permissions or is in the wrong VLAN). Troubleshooting should follow a structured path from the server to the wire.

Verification on the RADIUS Server

Check the "Live Logs" or "Passed Authentications" section of your RADIUS server. Look for the "Attributes" or "Response" section. Verify that the server is actually sending the VSA and that the syntax matches what the Cisco NAS expects. A common mistake is using shell:priv-lvl=15 for a device that expects cisco-av-pair = "shell:priv-lvl=15".

Verification on the Cisco NAS

On the switch or router, use the command debug radius. This provides a real-time view of the packets arriving from the server. Look for the "Attribute 26" entries. If you see the attribute arriving but the device isn't acting on it, use show aaa attributes to see how the device is interpreting the current session's data.

Another vital command is show vpdn session (for VPNs) or show access-session interface details (for wired/wireless). These commands reveal exactly which VSAs were successfully applied to the active session. If the "Authorization" field shows "Failed" or "Partial," it indicates the VSA was received but contained an invalid value or referred to a local policy that does not exist on the NAS.

Security Considerations for Vendor Specific Attributes

While VSAs provide immense power, they also introduce security risks if not managed correctly. Because VSAs can define privilege levels and bypass local ACLs, the integrity of the RADIUS communication is paramount.

  1. Shared Secret Strength: The RADIUS shared secret is used to MD5-hash the Request Authenticator. If this secret is weak, an attacker could potentially spoof Access-Accept packets containing VSAs that grant them privilege 15 access to the entire infrastructure.
  2. Attribute Overwriting: In some configurations, a VSA can overwrite a local configuration. If an administrator inadvertently configures the RADIUS server to send a "deny all" ACL via VSA, it could inadvertently lock out legitimate management traffic.
  3. Encrypted Transport: In 2026, standard RADIUS over UDP is increasingly being replaced by RADIUS over TLS (RadSec). Using RadSec ensures that the VSAs—which may contain sensitive information about the internal network structure—are encrypted in transit and protected from interception by modern sophisticated network tapping tools.

Optimizing VSA Performance

In very large environments with thousands of simultaneous authentications, the size and number of VSAs in a packet can impact performance. Every Access-Request and Access-Accept packet has a maximum size of 4096 bytes. While it is rare to exceed this with standard VSAs, complex dACLs sent via multiple cisco-av-pair strings can approach this limit.

To optimize performance, administrators should:

  • Use local group names on the NAS and pass the group name via VSA, rather than passing long, multi-line ACLs in every packet.
  • Ensure that only necessary VSAs are sent. If a device doesn't support QoS, the RADIUS server should be configured not to send QoS-related VSAs to that specific NAS IP or Device Type.
  • Implement attribute caching where appropriate, though this must be balanced against the need for real-time policy changes.

Essential Commands for VSA Verification

  • debug radius: Shows raw attribute data.
  • show aaa sessions: Displays active sessions and associated attributes.
  • show ip access-lists interface: Verifies if a dynamic ACL has been applied to a specific port.
  • test aaa group radius: Manually tests a login to see what attributes the server returns.

Summary of Best Practices for 2026

Effective management of Cisco RADIUS VSAs requires a balance of precise server-side configuration and robust client-side verification. As networks become more automated, the role of these attributes shifts from simple login flags to the primary mechanism for real-time security orchestration.

How do I find the correct Cisco VSA for a specific feature?

The most reliable source is the Cisco Feature Navigator or the specific configuration guide for your IOS-XE or ASA/FTD version. Cisco also maintains a master list of VSAs in the "RADIUS Attributes" appendix of their security configuration guides. Always verify the attribute type and data format (Integer vs. String) before deployment.

Why is my switch ignoring the priv-lvl=15 VSA?

This usually occurs if the aaa authorization exec command is missing or misconfigured. Even if the server sends the attribute, the switch won't apply it to the EXEC shell unless it is explicitly told to use RADIUS for EXEC authorization. Ensure aaa authorization exec default group radius local is present in your configuration.

Can I use Cisco VSAs on non-Cisco hardware?

No. VSAs are by definition vendor-specific. A Juniper switch will ignore attributes with Vendor ID 9 (Cisco). However, most vendors have their own VSAs that mirror Cisco's functionality. For multi-vendor environments, it is better to use standard IETF attributes (like 64, 65, and 81 for VLANs) where possible, and only use VSAs for features unique to the vendor's hardware.

What is the difference between cisco-av-pair and lcp:interface-config?

While both are VSAs, cisco-av-pair is a general-purpose attribute used for various services (shell, IP, etc.). lcp:interface-config was historically used in dial-up and early DSL environments to push physical interface commands during the LCP phase of PPP negotiation. In modern Ethernet-based networks, cisco-av-pair has largely superseded these older, protocol-specific attributes.

How do I handle VSA conflicts when using multiple AAA servers?

If you are using a proxy or a chain of RADIUS servers, ensure that each server in the chain supports the Cisco dictionary. Some proxies may strip out Attribute 26 if they don't recognize the Vendor ID, leading to a loss of policy information by the time the packet reaches the NAS.

Strategic Implementation Recommendation

For organizations looking to modernize their access control in 2026, the best approach is to transition toward Cisco ISE as the central policy engine. ISE simplifies VSA management by providing a graphical interface for building "Authorization Profiles" that automatically bundle the correct VSAs for specific Cisco device types. This reduces the manual labor of string construction and minimizes the risk of syntax errors that lead to network outages. Always pair VSA deployment with RadSec (RADIUS over TLS) to ensure that your security policies remain confidential and tamper-proof across your enterprise fabric.

Written by

Victoria Hayes

Cybersecurity & Compliance Analyst