Table Of Contents
TE Network Discovery
Overview
TE Discovery Prerequisites
Memory Shortage on Large Networks
Creating a TE Discovery Task
Verifying a TE Discovery Task
Task Logs
TE Topology
View Network Element Types
TE Network Discovery
After the bootstrapping process has been completed and a seed router created, you can discover the TE network for a particular TE provider to populate the repository with a view to creating primary and backup tunnels.
The TE network is discovered by creating TE Discovery tasks and using a logging and verification mechanism.
This chapter describes the steps required to create and run a TE Discovery task and verify the results.
It includes the following sections:
•
Overview
•
TE Discovery Prerequisites
•
Creating a TE Discovery Task
•
Verifying a TE Discovery Task
Overview
The purpose of the discovery process is to populate the repository with the network topology, tunnels, and static routes to tunnels present in the live network.
The discovery process uses a seed device to discover the MPLS TE network topology using either Telnet or SSH. It uses a schedulable task that can be run once or on a periodic basis. Any inconsistencies between the repository and the network are reported. The service state information is updated incrementally by logging tunnel in-use Label Switched Paths (LSPs) and updating the service request (SR) state.
TE Discovery Prerequisites
To successfully run a TE Discovery task, the seed router must be directly accessible from the management station.
For Telnet, there must be either direct Telnet access from the Cisco IP Solution Center Traffic Engineering Management (ISC TEM) management station to each device and/or Telnet access from the seed device.
See Bootstrapping Process Overview for instructions on how to select Telnet or SSH when setting up a seed router.
Memory Shortage on Large Networks
When running discovery on a large network (250+ devices or 5000+ tunnels, for example) and an OutOfMemoryException is encountered, do the following:
Edit the watchdog.server.worker.java.flags property in the vpnsc.properties file to say -Xmx1024m instead of the default -Xmx512m. This increases the heapsize of the discovery task, which will clear up the OutOfMemoryException problem.
When no longer needed, make sure to revert the properties back to their original state to reduce the resource usage.
Creating a TE Discovery Task
To create a TE Discovery task on the TE network, use the following steps:
Step 1
Navigate Monitoring > Task Manager. The window in Figure 3-1 appears.
Figure 3-1 Tasks
Step 2
Create a new task by clicking Create. The window in Figure 3-2 appears.
Figure 3-2 Create TE Discovery Task (Step 1)
Step 3
Select TE Discovery in the Type pull-down menu and click Next. The Select TE Provider window in Figure 3-3 appears.
Figure 3-3 Select TE Provider
Step 4
Select a TE provider and click Next. The Select Seed Device window in Figure 3-4 appears.
Figure 3-4 Select Seed Device
Step 5
Select the seed device for discovery of the network and click Next. The Task Schedules window in Figure 3-5 appears.
Figure 3-5 TE Discovery Task Schedules Window Before Scheduling
Step 6
Click Now to schedule the task to run immediately or click Create to create a scheduler for this task. The Task Schedule window in Figure 3-6 appears.
Figure 3-6 Task Schedule
Step 7
In the Task Schedule window, make your selections to define when and how often the task should be run.
Note
The default setting is to schedule a single TE Discovery task to take place immediately ("Now").
Step 8
Click OK. The scheduled task should now appear in the Task Schedules table as shown in Figure 3-7.
Figure 3-7 TE Discovery Task Schedules Window After Scheduling
Step 9
Click Next. A summary of the scheduled task in Figure 3-8 appears.
Figure 3-8 Discovery Task Summary
Step 10
Click Finish. This will add the task to the list of created tasks in the Tasks window (Figure 3-1).
Verifying a TE Discovery Task
The result of running the TE Discovery task can be assessed in three ways:
•
Task Logs—View a summary log of any changes that have occured in the network.
•
TE Topology—Display the latest TE Topology from the repository.
•
View network element types—In the Traffic Engineering Management GUI, go to TE Nodes, TE Links, TE Primary Tunnels, and so on to verify the state of specific network element types.
Task Logs
The TE Discovery log captures the state of the network and compares it with the most recent snapshot of the repository.
To view the task log for a TE Discovery task, use the following steps:
Step 1
Navigate Monitoring > Task Manager.
Step 2
Select Logs in the table of contents on the left side of the Tasks window. The Task Runtime Actions window in Figure 3-9 appears.
Figure 3-9 Task Runtime Actions
For an explanation of the various window elements, see Task Runtime Actions.
The status of the tasks are shown in the displayed table. This updates automatically and indicates when the discovery process is complete.
If the task is not completed and Auto Refresh is selected, the table continues to update periodically until it is completed.
Step 3
Click the desired task in the Runtime Task Name field. The Runtime Actions window in Figure 3-10 appears.
Figure 3-10 Runtime Actions
For an explanation of the various window elements, see Runtime Actions.
The Runtime Actions window shows the actions created for the selected task.
Step 4
To view the log for a particular task, click the log name in the Action column. A copy of a TE Discovery log is shown in the following screenshots, starting with Figure 3-11.
Note
To find the summary of changes in the network depicted in the following screenshots, scroll to the bottom of the log .
Figure 3-11 TE Discovery Task Log - Devices/Interfaces
Figure 3-12 TE Discovery Task Log - Links
Figure 3-13 TE Discovery Task Log - Explicit Paths
Figure 3-14 TE Discovery Task Log - Primary Tunnels
Figure 3-15 TE Discovery Task Log - Backup Tunnels
Figure 3-16 TE Discovery Task Log - Static Routes
The TE Discovery task log window is organized into sections that each describes particular events in the TE network:
•
either the state of the network as recorded in the repository the first time a TE Discovery task is run
•
or changes in the network since the last time the TE Discovery task was run (repository delta).
The summary of changes in the network is reported in six steps:
1.
Devices/Interfaces (Figure 3-11)
2.
Links (Figure 3-12)
3.
Explicit paths (Figure 3-13)
4.
Primary tunnels (Figure 3-14)
5.
Backup tunnels (Figure 3-15)
6.
Static routes (Figure 3-16).
As seen in the figures, in each step a log table reports the changes in the following reporting categories:
•
ADD—This section lists any new network elements that have been added to the repository since the last TE Discovery task was run.
•
SKIP—This section lists any network elements that remain unchanged since the previous run of the TE Discovery task.
•
MISSING—This section lists any network elements that are missing when compared with the repository.
•
MISMATCH—This section lists any network elements, for which certain attributes have changed since the previous run of the TE Discovery task. The repository is not automatically modified. Any modifications must be performed manually.
•
MODIFY—This section lists any network elements that have been modified since the previous run of the TE Discovery task. The repository has been modified to reflect the changes.
Step 5
Click Return to Logs to quit the current log with the option to open another log.
TE Topology
The TE Topology tool provides a visual snapshot of the current state of the network. It cannot be used to determine changes that have taken place in the network.
The steps required to generate a topology graph of the network are described in Chapter 4, "TE Resource Management."
View Network Element Types
Another way to check the state of the network after running TE discovery is to go to the Traffic Engineering Management Services window and select the type of elements you want to verify.
For example, to check the status of the nodes after running TE discovery, navigate Service Inventory > Inventory and Connection Manager > Traffic Engineering Management > TE Nodes. Look at the updated list of TE nodes to assess which nodes are in the network.
Do the same for TE Links, TE Primary Tunnels, TE Backup Tunnels, and so on.