Port-backup commands

Use these M4500 CLI commands to configure port-backup groups with active and backup ports, MAC move updates, and failback time, and display port-backup status.

This section describes commands you use to configure port-backup group. Port- backup group consists of two ports, one port is used under normal condition and treated as an “active port”, the other port is NOT used while the other port is active mode and it is treated as a “Backup (Stand-by) port”.

show port-backup

This command displays information about port-backup group.

Format show port-backup
Mode Privileged EXEC

The following example shows the CLI display output for the command show port-backup.

CODE
(M4500-32C) #show port-backup
Admin Mode: Enable
Group  Mode  MAC Update  Failback  Active Port   Backup Port  Current Active Port
-----  ----  ----------  --------  ------------  -----------  -------------------
1      En.   Enable      60(sec)   0/1           0/2

port-backup

Use this command to enable port-backup admin mode.

Default Disable
Format port-backup
Mode Global Config

no port-backup

Use this command to disable port-backup admin mode.

Format no port-backup
Mode Global Config

port-backup group

Use this command to create the port backup group.

Default NA
Format port-backup group [<group id>]
Mode Global Config

no port-backup group

Use this command to destroy the port-backup group.

Format no port-backup group <group id>
Mode Global Config

port-backup group active

Use this command to set active port for a port-backup group.

Default NA
Format port-backup group <group id> active
Mode Interface Config

no port-backup group active

Use this command to reset active port for a port-backup group.

Format no port-backup group <group id> active
Mode Interface Config

port-backup group backup

Use this command to set backup port for a port-backup group.

Default NA
Format port-backup group <group id> backup
Mode Interface Config

no port-backup group backup

Use this command to reset backup port for a port-backup group.

Format no port-backup group <group id> backup
Mode Interface Config

port-backup group enable

Use this command to enable a port-backup group.

Default Disable
Format port-backup group enable <group id>
Mode Global Config

port-backup group mac-move-update

Use this command to enable the MAC address-table move update feature for a port-backup group.

Default Disable
Format port-backup group <group id> mac-move-update
Mode Global Config

no port-backup group mac-move-update

Use this command to disable the MAC address-table move update feature for a port-backup group.

Format no port-backup group <group id> mac-move-update
Mode Global Config

port-backup group failback-time

Use this command to set auto-failback time for a port-backup group. Setting the value to 0 means that auto-failback time feature is disabled.

Default 60s
Format

port-backup group <group id> failback-time 0

port-backup group <group id> failback-time <10-60>

Mode Global Config

no port-backup group failback-time

Use this command to reset auto-failback time for a port-backup group.

Format no port-backup group <group id> failback-time
Mode Global Config