history

Use this command to display the contents of the command history buffer.

Syntax

history

Parameters

None.

Defaults

None.

Mode

All command modes.

Usage

The command history buffer includes all the switch commands entered up to a maximum of 100, as specified in the set history command set history.

Example

This example shows how to display the contents of the command history buffer. It shows there are four commands in the buffer:

System(rw)->history
 1 hist
 2 show gvrp
 3 show vlan
 4 show igmp