backup interface
This command specifies the redundancy interface to which the switch will occur when communication is lost on the primary. Redundancy is enabled only on those interfaces on which the SPANNING TREE protocol is disabled and VLAN Ingress Filtering is enabled. If the reserve is specified globally for the interface, it will be used for all VLANs. If another reserve is specified for some VLANs, this setting will take priority over the global setting.
The use of a negative form (no) of the command removes configuration from the interface.
Syntax
[no] backup interface <INTERFACE> <RANGE> vlan <VLAN_ID_RANGE>
Parameters
<INTERFACE> – interface type: front-port; port-channel . The description of interfaces is given in Table 4.1.
<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If you specify the value 'all' in the command, all interfaces of the given type will be specified.
You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).
<VLAN_ID_RANGE> – can take the following values:
- [1..4094] – specified VLAN (VLAN range) identifier, for which the redundancy must be enabled.
- ignore – enable redundancy regardless of existing VLANs on the port.
Command mode
FRONT-PORT
PORT-CHANNEL
Example
Global redundancy
ma4000(port-channel-1)# no backup interface front-port 1/1 vlan ignore ma4000(port-channel-1)# backup interface front-port 1/1 vlan ignore
Redundancy in a specific VLAN
ma4000(front-port-1/0)# no backup interfacefront-port 1/1 vlan 10 ma4000(front-port-1/0)# backup interface port-channel 1 vlan 10
backup-interface mac-per-second
This command specifies the packet quantity per second, that will be sent into the active interface during the fallback.
The use of a negative form (no) of the command restores the default value (400 packets).
Syntax
[no] backup-interfacemac-per-second <COUNT>
Parameters
<COUNT> – amount of MAC addresses per second, takes value of [50..400].
Default value
400 packets
Command mode
CONFIG
Example
ma4000(config)# backup-interface mac-per-second 200
backup-interface mac-duplicate
This command defines the number of copies of packets with the same MAC address that will be sent to the active interface when switching.
The use of a negative form (no) of the command restores the default value (1 packet).
Syntax
[no] backup-interfacemac-duplicate <COUNT>
Parameters
<COUNT> – amount of packets copies, takes values of [1..4].
Default value
1 packet
Command mode
CONFIGURE
Example
ma4000(config)# backup-interface mac-duplicate 4
backup-interface preemption
This command specifies that it is necessary to switch traffic to the main interface when restoring communication. If the recovery of the main interface is configured while the backup is active, then when the link is raised on the main interface, the traffic will be switched to it.
The use of a negative form (no) of the command restores the default configuration.
Syntax
[no] backup-interface preemption
Parameters
The command contains no arguments.
Default value
Switch disabled.
Command mode
CONFIG
Example
ma4000(config)# backup-interface preemption
show backup interface
This command allows to view interface redundancy settings.
Syntax
show backup interface
Parameters
The command contains no arguments.
Command mode
ROOT
Example
ma4000# show backup interface Backup Interface Options: Preemption is disabled. MAC recovery packets rate 400 pps. Recovery packets repeats count 1. Backup Interface Pairs ~~~~~~~~~~~~~~~~~~~~~~ VID Master Interface Backup Interface State ---- ------------------------- ------------------------- ------------------------------ 30 front-port 1/0 front-port 2/0 Master Up/Backup Standby ---- ------------------------- ------------------------- ------------------------------ 150 front-port 1/0 front-port 2/0 Master Up/Backup Standby