Example: Enabling ChPass and Expiring the Password After Three Logins
In the following example, the ChPass feature is enabled and ACS is used as the back-end AAA
server. The password expires after three logins using the SSH keyboard interactive authentication method.
Device#
ssh -l cisco. 10.1.1.3
Password:
cisco
Device2>
exit
[Connection to 10.1.1.3 closed by foreign host]
Device1#
ssh -l cisco 10.1.1.3
Password:
cisco
Device2>
exit
Device1#
ssh -l cisco 10.1.1.3
Password:
cisco
Device2>
exit
[Connection to 10.1.1.3 closed by foreign host]
Device1#
ssh -l cisco 10.1.1.3
Password:
cisco
Your password has expired.
Enter a new one now.
New Password:
cisco123
Re-enter New password:
cisco123
Device2>
Example: SNMP Debugging
The following is sample output from the
debug snmp packet
command. The output provides SNMP trap
information for an SSH session.
Device1#
debug snmp packet
SNMP packet debugging is on
Device1#
ssh -l lab 10.0.0.2
Password:
Device2#
exit
[Connection to 10.0.0.2 closed by foreign host]
Device1#
*Jul 18 10:18:42.619: SNMP: Queuing packet to 10.0.0.2
*Jul 18 10:18:42.619: SNMP: V1 Trap, ent cisco, addr 10.0.0.1, gentrap 6, spectrap 1
local.9.3.1.1.2.1 = 6
tcpConnEntry.1.10.0.0.1.22.10.0.0.2.55246 = 4
ltcpConnEntry.5.10.0.0.1.22.10.0.0.2.55246 = 1015
ltcpConnEntry.1.10.0.0.1.22.10.0.0.2.55246 = 1056
ltcpConnEntry.2.10.0.0.1.22.10.0.0.2.55246 = 1392
local.9.2.1.18.2 = lab
*Jul 18 10:18:42.879: SNMP: Packet sent via UDP to 10.0.0.2
Device1#
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1111
Configuration Examples for Secure Shell Version 2 Support
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......