1-9
Static Routing, Track and the Interface Management Module Collaboration
Configuration Example
Network requirements
z
As shown in
Figure 1-3
, the next hop of the static route from Switch A to Switch C is Switch B.
z
Configure Static Routing, Track and the Interface Management Module collaboration on Switch A
to implement real-time monitoring of the validity of the static route to Switch C.
Figure 1-3
Network diagram for Static Routing, Track and the Interface Management Module
collaboration configuration
Vlan-int2
10.1.1.1/24
Vlan-int2
10.1.1.2/24
Vlan-int3
10.2.1.1/24
Switch C
Vlan-int3
10.2.1.2/24
Switch B
Switch A
Configuration procedure
1) Configure the IP address of each interface as shown in
Figure 1-3
.
2) Configure a static route on Switch A and associate it with the Track object.
# Configure the address of the next hop of the static route to Switch C as 10.2.1.1, and configure the
static route to associate with Track object 1.
<SwitchA> system-view
[SwitchA] ip route-static 10.1.1.2 24 10.2.1.1 track 1
3) Configure the Track and Interface Management on Switch A.
# Create a Track object and associate it with the interface management module to monitor the Layer 3
protocol status of an interface
[SwitchA] track 1 interface vlan-interface 3 protocol ipv4
4) Verify the configuration
# Display information of the Track object on Switch A.
[SwitchA] display track all
Track ID: 1
Status: Positive
Reference object:
Track interface :
Interface status : Inserted
Interface : Vlan-interface1
Protocol : IPv4
# Display the routing table of Switch A.
[SwitchA] display ip routing-table
Routing Tables: Public
Содержание S5810 Series
Страница 307: ...ii Configured Multicast Group Policy Fails to Take Effect 1 32...
Страница 648: ...1 8 Return to the upper directory Sysname cd Display the current working directory Sysname pwd flash...
Страница 812: ...1 7 Role Slave Sysname stack_3 DeviceD Device type S5810 50S MAC address 000f e200 1003...