
Pre-configuration Tasks
Before configuring association between interface backup and routing, complete the following
tasks:
l
Configuring routing protocols on the primary link and backup link to ensure connectivity
at the network layer
Procedure
1.
Run:
system-view
The system view is displayed.
2.
Run:
interface
interface-type
interface-number
The backup interface view is displayed.
3.
Run:
standby track ip route
ip-address
{
mask-address
|
mask-length
} [
vpn-
instance
vpn-instance-name
]
Interface backup is associated with routing.
Example
Run the
display standby state
command to check the status of the backup interface and
associated route.
<Huawei>
display standby state
Interface Interfacestate Backupstate Backupflag Pri Loadstate
Backup-flag meaning:
M---MAIN B---BACKUP V---MOVED U---USED
D---LOAD P---PULLED
----------------------------------------------------------------------------
Below is track BFD information:
Bfd-Name Bfd-State BackupInterface State
----------------------------------------------------------------------------
Below is track IP route information:
Destination/Mask Route-State BackupInterface State
4.1.1.0/24
OK
GigabitEthernet2/0/0
STANDBY
----------------------------------------------------------------------------
Below is track NQA Information:
Instance Name BackupInterface State
According to the preceding information, the route status is OK and the status of backup interface
GigabitEthernet2/0/0 is STANDBY, indicating that the primary interface is transmitting traffic.
If the route status is ERR and the status of backup interface GigabitEthernet2/0/0 is Up, the
backup interface has started. The output information is as follows:
<Huawei>
display standby state
Interface Interfacestate Backupstate Backupflag Pri Loadstate
Backup-flag meaning:
M---MAIN B---BACKUP V---MOVED U---USED
D---LOAD P---PULLED
Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
1 Interface Backup Configuration
Issue 01 (2012-01-06)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
13