
137
the backup route. When the master route is unavailable, the backup route takes effect. Switch D
forwards packets to 20.1.1.0/24 through Switch C.
Figure 30
Network diagram
Configuration procedure
1.
Create VLANs and assign ports to them. Configure the IP address of each VLAN interface as
2.
Configure Switch A:
# Configure a static route to 30.1.1.0/24 with the next hop 10.1.1.2 and the default priority 60.
Associate this static route is with track entry 1.
<SwitchA> system-view
[SwitchA] ip route-static 30.1.1.0 24 10.1.1.2 track 1
# Configure a static route to 30.1.1.0/24 with the next hop 10.3.1.3 and the priority 80.
[SwitchA] ip route-static 30.1.1.0 24 10.3.1.3 preference 80
# Configure a static route to 10.2.1.4 with the next hop 10.1.1.2.
[SwitchA] ip route-static 10.2.1.4 24 10.1.1.2
# Create an NQA operation with the administrator
admin
and the operation tag
test
.
[SwitchA] nqa entry admin test
# Configure the operation type as ICMP echo.
[SwitchA-nqa-admin-test] type icmp-echo
# Configure the destination address of the operation as 10.2.1.4 and the next hop address as
10.1.1.2.
[SwitchA-nqa-admin-test-icmp-echo] destination ip 10.2.1.4
[SwitchA-nqa-admin-test-icmp-echo] next-hop 10.1.1.2
# Configure the ICMP echo operation to repeat at an interval of 100 milliseconds.
[SwitchA-nqa-admin-test-icmp-echo] frequency 100
# Configure reaction entry 1, specifying that five consecutive probe failures trigger the Track
module.
[SwitchA-nqa-admin-test-icmp-echo] reaction 1 checked-element probe-fail
threshold-type consecutive 5 action-type trigger-only
Содержание 5130 EI Switch Series
Страница 6: ...iv Related information 145 Documents 145 Websites 145 Conventions 146 Index 148 ...
Страница 128: ...122 Member Role Status GE1 0 1 UPLINK DOWN GE1 0 2 DOWNLINK DOWN ...
Страница 171: ...165 ...