21-33
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 21 Configuring Switch Access Using AAA
Configuring Authentication
Defining the Kerberos Local Realm
The Kerberos realm is a domain consisting of users, hosts, and network services that are registered to a
Kerberos server. To authenticate a user defined in the Kerberos database, the switch must know the host
name or IP address of the host running the KDC and the name of the Kerberos realm.
To configure the switch to authenticate to the KDC in a specified Kerberos realm, perform this task in
privileged mode:
Note
Make sure the realm is entered in uppercase letters. Kerberos will not authenticate users if the realm
is entered in lowercase letters.
This example shows how to define a local realm and how to verify the configuration:
kerberos> (enable)
set kerberos local-realm CISCO.COM
Kerberos local realm for this switch set to CISCO.COM.
kerberos> (enable)
show kerberos
Kerberos Local Realm:CISCO.COM
Kerberos server entries:
Realm:CISCO.COM, Server:187.0.2.1, Port:750
Kerberos Domain<->Realm entries:
Domain:cisco.com, Realm:CISCO.COM
Kerberos Clients NOT Mandatory
Kerberos Credentials Forwarding Enabled
Kerberos Pre Authentication Method set to None
Kerberos config key:
Kerberos SRVTAB Entries
Srvtab Entry 1:host/[email protected] 0 932423923 1 1 8 01;;8>00>50;0=0=0
kerberos> (enable)
Specifying a Kerberos Server
You can specify to the switch which KDC to use in a specific Kerberos realm. Optionally, you can also
specify the port number which the KDC is monitoring. The Kerberos server information you enter is
maintained in a table with one entry for each Kerberos realm. The maximum number of entries in the
table is 100.
To specify the Kerberos server, perform this task in privileged mode:
Task
Command
Define the default realm for the switch.
set kerberos local-realm
kerberos_realm
Task
Command
Step 1
Specify which KDC to use in a given Kerberos
realm. Optionally, enter the port number the KDC
is monitoring. (The default port number is 750.)
set kerberos server
kerberos_realm
{
hostname |
ip_address
} [
port
]
Step 2
Clear the Kerberos server entry.
clear kerberos server
kerberos_realm
{
hostname
| ip_address
} [
port
]