Configuration Condition
Before configuring the monitor object, first complete the following task:
- Configure the Track group
Configure Monitoring Interface Status
We can configure the monitor object as the interface status in the Track group. When the interface network layer protocol is up, the monitor object status is up; when the interface network layer protocol is down, the monitor object status is down.
Table 9–3 Configure monitoring interface status
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the Track configuration mode
|
track group-id
|
Mandatory
|
Configure monitoring interface status
|
interface interface-name
line-protocol
interface interface-name
line-ipv6-protocol
|
Mandatory
|
Configure Monitoring L2 Ethernet Interface Status
We can configure the monitor object as the status of the L2 Ethernet interface in the Track group. When the L2 Ethernet interface is up, the monitor object status is up; when the L2 Ethernet interface is down, the monitor object status is down.
Table 9–4 Configure monitoring the L2 Ethernet interface status
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the Track configuration mode
|
track group-id
|
Mandatory
|
Configure monitoring the status of the L2 Ethernet interface
|
switchport interface name
|
Mandatory
|
Configure Monitoring Direct Route of Interface
We can configure the monitor object as the direct route of the interface in the Track group. When the interface has IP address and the status is up, the status of the monitor object is up; when the interface does not have IP address or the status is down, the status of the monitor object is down.
Table 9–5 Configure monitoring the direct route of the interface
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the Track configuration mode
|
track group-id
|
Mandatory
|
Configure monitoring the direct route of the interface
|
interface interface-name
ip-routing
interface interface-name
ipv6-routing
|
Mandatory
|
Configure Monitoring Route Reachable
We can configure the monitor object as the route reachable in the Track group. When there is the route of the configured network, the status of the monitor object is up; when there is no route of the configured network, the status of the monitor object is down.
Table 9–6 Configure monitoring route reachable
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the Track configuration mode
|
track group-id
|
Mandatory
|
Configure monitoring route reachable
|
ip-route network mask [ vrf vrf-name ] [ metric metric-value ]
ipv6-route network mask [ vrf vrf-name ] [ metric metric-value ]
|
Mandatory
When there is the option metric, the route metric to the network needs to be smaller than the configured value so that the status of the monitor object can be up.
|
Configure Monitoring RTR Group
We can configure the monitor object as the RTR group in the Track group. When the status of the RTR group is reachable, the status of the monitor object is up; when the status of the RTR group is unreachable, the status of the monitor object is down. RTR (Response Time Reporter) is one tool of detecting and monitoring the network. Track can monitor the RTR group to monitor the network communication.
Table 9–7 Configure monitoring the RTR group
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the Track configuration mode
|
track group-id
|
Mandatory
|
Configure monitoring the RTR group
|
rtr rtr-group-id
|
Mandatory
|
-
For the configuration of the RTR group, refer to SLA Configuration Manual.
Configure Monitoring Aggregation Group Status
We can configure the monitored object in the Track group as the aggregation group status. When the aggregation group status is up, the monitored object state is up; when the aggregation group state is down, the monitored object state is down.
Table 9–8 Configure monitoring the aggregation group status
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the Track configuration mode
|
track group-id
|
Mandatory
|
Configure monitoring the BFD session
|
link-aggregation link-aggregation-id
|
Mandatory
|
Configure Monitoring BFD Session
We can configure the monitor object as the BFD session in the Track group. When the status of the BFD session is up, the status of the monitor object is up; when the status of the BFD session is down, the status of the monitor object is down. The BFD protocol is one set of standard unified detection mechanism, used to fast detect, monitor the path in the network or the connection status of the IP route forwarding. The network connection status can be monitored indirectly by monitoring the BFD session.
Table 9–9 Configure monitoring the BFD session
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the Track configuration mode
|
track group-id
|
Mandatory
|
Configure monitoring the BFD session
|
bfd interface interface-name remote-ip ip-address local-ip ip-address
bfd interface interface-name remote-ipv6 ipv6-address local-ipv6 ipv6-address
|
Mandatory
When configuring monitoring the BFD session, it needs to be configured at the two sides of the BFD session.
Otherwise, the BFD session cannot be set up successfully.
|