show switch-profile session-history

To display the session history of the switch profile configuration, use the show switch-profile session-history command.

show switch-profile sw-profile-name session-history

Syntax Description

sw-profile-name
Name of the switch profile. The name is case sensitive, can be a maximum of 64 alphanumeric characters and can include an underscore and hyphen. The name cannot contain spaces or special characters.

Command Default

None

Command Modes

EXEC mode

Command History

Release
Modification
5.0(2)N1(1)
This command was introduced.

Examples

This example shows how to display the session history of the switch profile named s5010 on switch 1 of the peer:

switch# show switch-profile s5010 session-history
 
Start-time: 959269 usecs after Fri Aug 13 06:16:29 2010
End-time: 961304 usecs after Fri Aug 13 06:16:29 2010
 
Profile-Revision: 1
Session-type: Initial-Exchange
Peer-triggered: No
Profile-status: -
 
Local information:
----------------
Status: -
Error(s):
 
Peer information:
----------------
IP-address: 192.168.120.3
Pending-merge: 1
Received-merge: 0
Sync-status: Not yet merged. pending-merge:1 received-merge:0
Status: Peer not reachable
Error(s):
 
Start-time: 794606 usecs after Fri Aug 13 06:16:40 2010
End-time: 796861 usecs after Fri Aug 13 06:16:40 2010
 
Profile-Revision: 1
Session-type: Peer-delete
Peer-triggered: No
Profile-status: Sync Success
 
Local information:
----------------
Status: Verify Success
Error(s):
 
switch#
 

The table below describes the fields shown in the display:

Field Descriptions of the show switch-profile session-history Command
Field
Description
Start-time
The start time of the configuration session in the format nn usecs after Day-of-week Month Date hh : mm : ss Year , where usecs represents microseconds.
For example, 265561 usecs after Fri Aug 13 06:21:30 2010
End-time
The end time of the configuration session in the format nn usecs after Day-of-week Month Date hh : mm : ss Year , where usecs represents microseconds.
Profile-Revision
The number of times the switch profile configuration has been revised.
Session-type
The action taken on the switch profile configuration; for example, Initial-Exchange, Commit, Peer-Delete.
Peer-triggered
The status of receiving the peer reachable notification.
Profile-status
The status of the configuration synchronization.
Local information
The information about the local switch profile.
  • Status
The status of the configuration synchronization action in the local switch.
  • Error(s)
The reason for the errors that appear while synchronizing the configuration in the local switch.
Peer information
The information about the peer switch profile.
  • IP-address
The IPv4 address of the destination peer switch.
  • Pending-merge
The latest configuration revision number in the local switch that is to be merged with the configuration in the peer switch.
  • Received-merge
The configuration revision received from the local switch to synchronize with the peer switch.
  • Sync-status
The status of the synchronized configuration in the peer switch as follows:
  • In Sync—The configuration on the peer switch is synchronized with the configurations of the local switch.
  • Not yet merged. pending-merge:1 received_merge:0—The configuration in the local switch is not yet merged with the peer switch.
  • Status
The status of the peer switch, such as the connectivity, or command execution status.
  • Error(s)
The reason for the errors that appear while synchronizing the configuration in the peer switch.

Related Commands

Command
Description
show switch-profile
Displays the switch profile and configuration revisions.
show switch-profile status
Displays the status of the switch profile.
switch-profile
Configures a switch profile.