923
Configuring IP Unicast Routing
Configuring Protocol-Independent Features
To manage authentication keys, define a key chain, identify the keys that belong to the key chain, and specify how long
each key is valid. Each key has its own key identifier (specified with the
key
number
key chain configuration command),
which is stored locally. The combination of the key identifier and the interface associated with the message uniquely
identifies the authentication algorithm and Message Digest 5 (MD5) authentication key in use.
You can configure multiple keys with life times. Only one authentication packet is sent, regardless of how many valid keys
exist. The software examines the key numbers in order from lowest to highest, and uses the first valid key it encounters.
The lifetimes allow for overlap during key changes. Note that the router must know these lifetimes.
BEFORE YOU BEGIN
Before you manage authentication keys, you must enable authentication. See the appropriate protocol section to see how
to enable authentication for that protocol.
DETAILED STEPS
To remove the key chain, use the
no key chain
name-of-chain
global configuration command.
Command
Purpose
1.
configure terminal
Enter global configuration mode.
2.
key chain
name-of-chain
Identify a key chain, and enter key chain
configuration mode.
3.
key
number
Identify the key number. The range is 0 to
2147483647.
4.
key-string
text
Identify the key string. The string can contain
from 1 to 80 uppercase and lowercase
alphanumeric characters, but the first character
cannot be a number.
5.
accept-lifetime
start-time
{
infinite
|
end-time
|
duration
seconds
}
(Optional) Specify the time period during which
the key can be received.
The
start-time
and
end-time
syntax can be either
hh
:
mm
:
ss Month date year
or
hh
:
mm
:
ss
date
Month year
. The default is forever with the
default
start-time
and the earliest acceptable
date as January 1, 1993. The default
end-time
and
duration
is
infinite
.
6.
send-lifetime
start-time
{
infinite
|
end-time
|
duration
seconds
}
(Optional) Specify the time period during which
the key can be sent.
The
start-time
and
end-time
syntax can be either
hh
:
mm
:
ss
Month date year
or
hh
:
mm
:
ss
date
Month year
. The default is forever with the
default
start-time
and the earliest acceptable
date as January 1, 1993. The default
end-time
and
duration
is infinite.
7.
end
Return to privileged EXEC mode.
8.
show key chain
Display authentication key information.
9.
copy running-config startup-config
(Optional) Save your entries in the configuration
file.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...