Consolidated Platform Configuration Guide, Cisco Ios Release 15.2(4)E (Catalyst 2960-X Switches - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

Configuration Examples for Kerberos
Configuration Examples for Kerberos
Example: Defining a Kerberos Realm
To define CISCO.COM as the default Kerberos realm, use the following command:
kerberos local-realm CISCO.COM
To tell the device that the CISCO.COM KDC is running on host 10.2.3.4 at port number 170, use the following
Kerberos command:
kerberos server CISCO.COM 10.2.3.4 170
To map the DNS domain cisco.com to the Kerberos realm CISCO.COM, use the following command:
kerberos realm.cisco.com CISCO.COM
Example: Copying a SRVTAB File
To copy over the SRVTAB file on a host named host123.cisco.com for a device named device1.cisco.com,
the command would look like this:
kerberos srvtab remote host123.cisco.com device1.cisco.com-new-srvtab
Example: Configuring Kerberos
This section provides a typical non-Kerberos device configuration and shows output for this configuration
from the write term command, then builds on this configuration by adding optional Kerberos functionality.
Output for each configuration is presented for comparison against the previous configuration.
This example shows how to use the kdb5_edit program to perform the following configuration tasks:
• Adding user chet to the Kerberos database
• Adding a privileged Kerberos instance of user chet (chet/admin) to the Kerberos database
• Adding a restricted instance of chet (chet/restricted) to the Kerberos database
• Adding workstation chet-ss20.cisco.com
• Adding device chet-2500.cisco.com to the Kerberos database
• Adding workstation chet-ss20.cisco.com to the Kerberos database
• Extracting SRVTABs for the device and workstations
• Listing the contents of the KDC database (with the ldb command)
In this sample configuration, host chet-ss20 is also the KDC:
Note
chet-ss20# sbin/kdb5_edit
kdb5_edit:
Enter password:

Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)

992
ank chet

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents