hardware media-database activate

Activates the media-database, which contains a list of the port media that the device supports.

Syntax

hardware media-database activate

Command Default

By default, the media-database is not activated.

Modes

Privileged EXEC mode

Usage Guidelines

The media-database contains the list of port media supported on the device. This information is saved in an .xml file on the device.

The default version of the file is provided in the release package. You can also download your own version or upload the file to a remote server for modification. After a new media-database is downloaded to the device, it needs to be activated to take effect.

You can use the show hardware media-database command to see the supported media types in the media-database file.

After the media-database is activated, the device sends RASLOG to warn against incompatible media that is detected on the ports. You can use this information to help identify the cause of links that do not come online.

Examples

This example activates the media-database file.
device# hardware media-database activate
device#