routing analysis troubleshooting work book

Upload: valmach

Post on 03-Jun-2018

239 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    1/23

    1

    Routing Analysis & Troubleshooting

    Workbook

    1. Search, map and visualize a routing designObjective

    Create a map for all devices or interfaces running a certain routing protocol.

    Visualize the routing design in the map

    Instructions

    a. Search and map a routing design1) Enter a configuration keyword such as router eigrp in the Searchbox and press the Enterkey.

    Use double quotes around the string to match the whole string.

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    2/23

    2

    2) Check the checkbox before the category Configuration file to select all devices under this

    category. Check the checkbox Create new mapand then click the Map Selected Deviceslink. A

    new Qmap (Qmap1) is created.

    3) Zoom in on the map to see the routing protocol along the link.

    b. Highlight the routing protocolSelect Highlight>> Routing Protocol from the map floating menu of the map you created in the

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    3/23

    3

    previous step. In the pop up window, keep the default setting (highlight all routing protocols) and

    click OK.

    c. Annotate the configurations of a routing protocol on the mapMouse over an object on the map such as a routing protocol to view its configurations and click the

    Display on the current mapbutton to save it as a note on the map.

    d. Launch Design Reader to analyze the routing design

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    4/23

    4

    1) From the tip window, click the To Design Readericon. The Design Reader pane opens at the

    bottom.

    2) Select two devices (NY-WAN-Trand SF-WAN1-Tr) on the map and their configurations will be

    displayed in the Design Readerpane. Select a design filter (Routing Redistribution) in the lower

    left pane. In our example here, it shows the routing redistribution from EIGRP to BGP.

    e. Create a dynamic link group for all interfaces running a certain routing protocolThe map you created earlier shows the devices running EIGRP 1300. For routing protocol such as

    EIGRP or OSPF, it is ideal to create a map to draw only the interfaces running this routing protocol.

    You can create a link group to serve this purpose.

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    5/23

    5

    1) In the Workspacepane, right click on the Local node under Link Group and select the New Link

    Group option.

    2) Enter a unique name (eigrp interfaces). Under Search Dynamic Interfaces, select Routing

    Protocol from the drop-down menu of criteria Aand enter eigrp#eigrp_as (#eigrp_as is a

    variable). Click the OKbutton. Click the Yesbutton if a popup window comes up.

    Note: Under Search Dynamic Devices, you can enter the criteria to search devices and all

    interfaces of the matched devices are added into the link group.

    3) Right click on the link group you just created in the Workspacepane and select the Create Map

    option. Enter an EIGRP AS number (1300) under the Valuefiled in the popup window and click

    the OK button.

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    6/23

    6

    Note: the link group name, the variable name and value are labeled in the created map.

    2. Use Procedure to document the routing protocol designObjective

    Run automation procedures to

    Filter a routing protocol configuration

    Draw a map with all devices running this routing protocol

    Draw note to show the configurations

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    7/23

    7

    Instructions

    Automation procedures provide further automation to document the routing design. If you are

    interested in how to write this type of procedure, attend our free web training class Network

    AutomationviaQapp Intermediate. Here we use a built-in procedure as an example.

    a. Search procedures in the Procedure Center

    Click the Proceduretab and then the Qapp Centericon in the ribbon menu. At the top of the Qapp

    Center is the Searchbox. Enter a keyword (for example, eigrp) and the first file matching this

    keyword will be highlighted. Double click a procedure (Highlight EIGRP Configuration) to pre-view

    the procedure. Click the Editlink to edit the procedure.

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    8/23

    8

    b. Run a procedureRight click a procedure (Highlight EIGRP Configuration) and select the Run...option.

    c. Select seed devicesIn the Procedure Taskwindow, click the Select Seed Deviceslink. In the Select Device(s)window,

    click on the Device Groupradio button and select a device group (Netbrain Class Lab)from the pull

    down menu. Click the >>button to select all devices in this device group. Click the OKbutton.

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    9/23

    9

    Wait for the process to finish. This procedure will create a map with EIGRP devices and their EIGRP

    configurations as device notes. Right click the blank space of the map and select the Auto Link

    option to link the devices. You may also right click the blank space of the map and select the Auto

    Layoutto get a better layout.

    Note: some procedures such as the one we just ran, Highlight EIGRP Configuration, are run againstthe current baseline. If a procedure requires retrieving data from the live network, it may take some

    extra time to finish.

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    10/23

    10

    3. Route Table toolkitObjective

    View the route table and find the route to a destination quickly

    Identify any flapping routes and how a route is propagated

    Compare the route tables to find any missing routes

    Instructions

    a. View the route tableSelect a router (NY-WAN-Tr) in a map and click Route Table>> Route Table from the map floating

    menu.

    b. Sort the route entries

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    11/23

    11

    Click on a parameter to sort route entries by this parameter. For example: sort the routes by Age

    in ascending order to find flapping routes.

    c. Find the route for a destinationEnter a destination IP address or subnet (10.81.12.0) in the Filterfield of the Route Table pane,

    then press the Enterkey.

    d. Map the route on the mapCreate a new map and drag-and-drop a route entry to the Qmap.

    e. Find out how a route is propagated

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    12/23

    12

    Click the Go To Next-hop button to discover how this subnet is routed to the next hop device.

    Continue this process till the destination is reached.

    4. Ping and Traceroute toolsObjective

    Ping a device

    Traceroute to a device and map the results

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    13/23

    13

    Instructions

    a. Run proxy ping from a device1) In the ribbon menu under the Hometag, select the Qapp group Network Analysis Tools. All

    common used network analysis tools are under this Qapp group. Click Ping tooption under the

    functional category Live Tools.

    2) In the Pingwindow, under Ping Fromselect Deviceand press the button to select the ping

    source (Bos-Core1-Tr). Similarly select the device (BOS-MUL-SRV-TR) or IP (10.83.10.20) to

    ping to. Click the Startbutton to run proxy ping.

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    14/23

    14

    b. Run traceroute from a device to an IP address1) In the ribbon menu under the Hometag, select the Qapp group Network Analysis Tools. Click

    Traceroute tooption under the functional category Live Tools.

    1) In the Traceroutewindow, switch to the Live Traceroute tab. Under Traceroute fromselect

    Device and press the button to select the traceroute source (Bos-Core2-Tr). Similarly

    select the device (SF-Office-SW-Tr) or IP to traceroute to. Click the Traceroutebutton to run

    the traceroute. The system will login to the source device and issue the traceroute command.

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    15/23

    15

    c. Map the traceroute resultsIn the Traceroutewindow, click the Optionsbutton to set the correct option and then click the

    Mapbutton. A new map will be created to draw the path for the traceroute results.

    5. Automation on CLI commands

    Objective

    Execute CLI commands to retrieve the routing status, for example, BGP/OSPF/EIGRP neighbors

    Compare CLI commands (text-based difference)

    Find out the real data change of a CLI command via NCT procedure

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    16/23

    16

    Monitor the real data change of CLI commands via Qapp

    Instructions

    a. Execute CLI commandsOn the map you created in step 1, click Run >> Execute CLI Commands from the map floating menu.

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    17/23

    17

    b. Add commands to be executedClick the Add via Template button and check the checkbox next to the template EIGRP Command Template

    to add all EGIRP commands of this template. Click the OKbutton.

    c. Execute commandsClick the Start button. You can select one device to see the execution status and log.

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    18/23

    18

    d. View show command resultsAfter the system finishes execution, click View Outputs to view results. Select one device (SF-

    NetMan-Tr) and one command (show ip eigrp neighbors).

    Tip: the show command results can also be viewed in the Map Datapane.

    e. Compare show command resultsClick the Comparebutton in CLI Command Outputs Browserwindow. Select two DataFolders and

    then click the Comparebutton. Note that the differences are highlighted and it is pure text-basedcomparison.

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    19/23

    19

    f. View the real data change of a CLI commandRight click on a device (SF-NetMan-Tr) in the map and select Device Data >> EIGRP Neighbors. Click

    the Retrieve Live button in the EIGRP Neighbors pane to retrieve the data on demand.

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    20/23

    20

    Click Compare button in the EIGRP Neighbors pane and select two DataFolders to compare the

    data. Note that the system does not think that an EIGRP neighbor has changed even if the field

    Uptime is different.

    Note:

    The device data EIGRP Neighborswe just demonstrated is implemented by NCT procedure. In the ribbon menu

    under the Proceduretag, click the System Procedure Manager icon to view NCT procedures.

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    21/23

    21

    A NCT procedure(NCT means Network Control Table) is used to benchmark and analyze the key network data.

    The data created by NCT Procedure are identical to the system built-in data such as route table.

    g. Monitor the data change of a CLI command via QappAs you may learn from other NetBrain classes, NetBrain Qapp is a standalone application which can be executed

    from inside NetBrain Workstation. From the point of an end user, a Qapp is usually run within a Qmap to

    monitor the data retrieved from any CLI command. The output of a Qapp map with the hotspot highlighted,alarms and the data chart.

    NetBrain team has created Qapps and Procedures for the routing protocols. From the ribbon menu under the

    Hometag, select the Qapp group Analyze EIGPR Neighbors and Routes. There are four function categories for

    this group, Map, Configuration, Monitorand Compare. Each function category includes one or multiple Qapps

    or Procedures.

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    22/23

    22

    Click the Monitor EIGRP option under Monitorfunctional category. The Instant Monitor window opens. The

    variables to be monitored are listed as well as the input for the Qapp. Click the Runbutton.

    The variables are displayed in the Qmap and refreshed very 2 minutes. The current variable value and its

    historical chart are shown under the map.

  • 8/12/2019 Routing Analysis Troubleshooting Work Book

    23/23

    23