[Top][Contents][Prev][Next][Last]Search


Network Administration


This chapter covers the following topics:
Overview
Diagnostic tools for TCP/IP networks
Diagnostic tools for IGMP multicast interfaces
Diagnostic tools for OSPF routers
Diagnostic tools for IPX routers

Overview

The MAX TNT supports several network management commands, which are useful for locating the sources of problems on the network and for communicating with other hosts for management purposes.

Some of the network management tools focus on routing and interface information. They enable you to display the routing and interface tables, view real-time routing statistics, display route caches, and make changes to the routing table. The OSPF command supports numerous arguments for viewing information about the OSPF link-state database, adjacencies, and other aspects of the router configuration.

Other tools are geared toward network usage, and enable you to display packets received on LAN interfaces, display the ARP cache, Ping a host, and log into a host by means of Rlogin or Telnet.

Diagnostic tools for TCP/IP networks

The MAX TNT maintains an internal IP routing table. You can configure the system to use RIP or OSPF to propagate the information in that table to other routers, receive information from other routers, or both, on any LAN or WAN interface. For information about configuring the router, see the MAX TNT Network Configuration Guide.

Using the Ping command to test connectivity

The Ping command is useful for verifying that the transmission path between the MAX TNT and another station is open. Ping sends an ICMP echo_request packet to the specified station. It the station receives the packet, it returns an ICMP echo_response packet. For example, to Ping the host techpubs:

You can terminate the Ping exchange at any time by pressing Ctrl-C. When you press Ctrl-C, the command reports the number of packets sent and received, the percentage of packet loss, the number of duplicate or damaged echo_response packets (if any), and round-trip statistics. In some cases, round-trip times cannot be calculated.

During the Ping exchange, the MAX TNT displays information about the packet exchange, including the Time-To-Live (TTL) of each ICMP echo_response packet.

The maximum TTL for ICMP Ping is 255, while and the maximum TTL for TCP is often 60 or lower, so you might be able to Ping a host but not be able to run a TCP application (such as Telnet or FTP) to that station. If you Ping a host running a version of Berkeley UNIX before 4.3BSD-Tahoe, the TTL report is 255 minus the number of routers in the round-trip path. If you Ping a host running the current version of Berkeley UNIX, the TTL report is 255 minus the number of routers in the path from the remote system to the station performing the Ping.

Using the Netstat command to display the interface table

At system startup, the MAX TNT creates an IP interface, in the active state, for each Ethernet interface that has a configured IP-Interface profile, and for the built-in loopback, reject, and blackhole interfaces. It also creates IP interfaces in the inactive state for remote connections. For each IP interface that is not configured as a private route, the MAX TNT also adds a route to the routing table.

IP interfaces change between the active and inactive state as switched calls are brought up and down. To display the interface table, enter the Netstat command with the -in option, as in the following example:

admin> netstat -in
Name MTU Net/Dest Address Ipkts Ierr Opkts Oerr
ie0 1500 10.103.0.0/16 10.103.0.254 17889 0 8819 0
ie0-3 1500 10.235.0.0/16 10.235.0.254 0 0 0 0
ie0-1 1500 10.233.0.0/16 10.233.0.254 0 0 0 0
lo0 1500 127.0.0.1/32 127.0.0.1 116 0 116 0
rj0 1500 127.0.0.2/32 127.0.0.2 0 0 0 0
bh0 1500 127.0.0.3/32 127.0.0.3 29 0 29 0
wanabe 1500 127.0.0.3/32 127.0.0.3 0 0 0 0
local 65535 127.0.0.1/32 127.0.0.1 19783 0 19783 0
mcast 65535 224.0.0.0/4 224.0.0.0 0 0 0 0
tunnel9 1500 10.103.0.0/16 10.103.0.254 0 0 0 0
wan10 1500 130.57.40.243 - 0 0 0 0
wan11 1500 140.57.40.244 - 0 0 0 0
wan12 1500 150.57.40.245 - 0 0 0 0
wan13 1500 10.101.0.2 - 0 0 0 0
wan14 1500 12.151.0.2 12.151.0.1 0 0 0 0
wan15 1500 160.57.40.246 - 0 0 0 0
wan16 1500 50.151.0.2 50.151.0.1 0 0 0 0
wan17 1500 10.102.0.2 - 0 0 0 0
ie1-7-1 1500 10.105.0.0/16 10.105.0.254 1871 0 2686 0
ie1-7-2 1500 10.106.0.0/16 10.106.0.254 0 0 327 0
ie1-7-3 1500 10.107.0.0/16 10.107.0.254 329 0 0 0
ie1-7-4 1500 10.108.0.0/16 10.108.0.254 0 0 985 0
ie1-7-4-1 1500 101.108.0.0/16 101.108.0.254 0 0 0 0
ie1-7-4-2 1500 201.108.0.0/24 201.108.0.254 0 0 0 0
The interface table contains the following information:

Column name

Description

Name
Name of the interface:

  • ie0-n -The shelf-controller Ethernet interfaces.

  • ie[shelf]-[slot]-[item]-The Ethernet interfaces for Ethernet cards.

  • lo0-The loopback interface.

  • rj0-The reject interface, used in network summarization.

  • bh0-The blackhole interface, used in network summarization.

  • wanN -A WAN connection, entered as it becomes active.

  • wanabe-An inactive RADIUS dialout profile.

  • local-The local machine.

  • mcast-The multicast interface, which represents the multicast forwarder for the entire class-D address space.

  • tunnelN is a tunnel, entered as it becomes active.

MTU
(Maximum Transmission Unit) The maximum packet size allowed on the interface.

Net/Dest
Network or the target host this interface can reach.

Address
Address of this interface.

Ipkts
Number of packets received.

Ierr
Number of packets that contain errors.

Opkts
Number of packets transmitted.

Oerr
Number of transmitted packets that contain errors.

Displaying and modifying IP routes

This section explains how to display the MAX TNT IP routing table. It also explains how to use the Netstat command to display the IP routing table and the IProute command to add or delete static routes. For complete information about configuring IP routing on the MAX TNT, see the MAX TNT Network Configuration Guide.

Using the Netstat command to display the routing table

To display the routing table, enter the Netstat command with the -rn argument, as in the following example:

admin> netstat -rn
Destination Gateway IF Flg Pref Met Use Age
9.64.254.0/24 10.63.254.1 wanabe SGP 120 5 0 3297
9.70.254.0/24 10.63.254.1 wanabe SGP 120 5 0 3349
10.63.254.0/24 10.63.254.1 wanabe SGP 120 5 0 3297
10.103.0.0/16 - ie0 C 0 0 2001 3352
10.103.0.254/32 - local CP 0 0 1464 3352
10.105.0.0/16 - ie1-7-1 C 0 0 692 3300
10.105.0.254/32 - local CP 0 0 506 3300
10.106.0.0/16 - ie1-7-2 C 0 0 8 3298
10.106.0.254/32 - local CP 0 0 0 3298
10.107.0.0/16 - ie1-7-3 C 0 0 8 3298
10.107.0.254/32 - local CP 0 0 0 3298
10.108.0.0/16 - ie1-7-4 C 0 0 8 3298
10.108.0.254/32 - local CP 0 0 0 3298
10.113.0.0/16 10.103.0.1 ie0 OG 10 2 0 194
10.115.0.0/16 10.105.0.1 ie1-7-1 OG 10 2 0 2288
10.123.0.0/16 10.103.0.8 ie0 OG 10 10 0 3322
10.233.0.0/16 - ie0-1 C 0 0 11629 3352
10.233.0.254/32 - local CP 0 0 174 3352
12.151.0.1/32 - local C 0 0 0 3352
13.103.0.140/32 10.103.0.2 ie0 OG 150 1 0 35
50.151.0.1/32 - local C 0 0 0 3352
127.0.0.0/8 - bh0 CP 0 0 0 3352
127.0.0.1/32 - local CP 0 0 0 3352
127.0.0.2/32 - rj0 CP 0 0 0 3352
130.57.0.0/16 130.57.40.243 wan10 SG 120 7 0 3298
160.57.0.0/16 160.57.40.246 wan15 SG 120 7 0 3298
160.57.40.246/32 160.57.40.246 wan15 S 120 7 1 3298
192.31.114.0/24 192.31.114.254 wanabe SGP 120 5 0 3298
224.0.0.0/4 - mcast CP 0 0 0 3352
224.0.0.1/32 - local CP 0 0 0 3352
224.0.0.2/32 - local CP 0 0 0 3352
224.0.0.5/32 - local CP 0 0 8794 3352
224.0.0.6/32 - local CP 0 0 6602 3352
224.0.0.9/32 - local CP 0 0 0 3352
255.255.255.255/32 - ie0 CP 0 0 0 3352
The routing table contains the following information:

Column name:

Description

Destination
The route's target address. To send a packet to this address, the MAX TNT uses this route. If the target address appears more than once in the routing table, the MAX TNT uses the most specific route (having the largest subnet mask) that matches that address.

Gateway
The next hop router that can forward packets to the given destination. Direct routes (without a gateway) show a hyphen in this column.

IF
The name of the interface through which to send packets over this route. (For a description of these entries, see Using the Netstat command to display the interface table.)

Flg
One or more of the following flags:

  • C-Directly connected route, such as Ethernet

  • I-ICMP redirect dynamic route

  • N-Placed in the table via SNMP MIB II

  • O-Route learned from OSPF

  • R-Route learned from RIP

  • r-Transient RADIUS-like route that will disappear when the connection is dropped

  • S -Static route

  • ?-Route of unknown origin, which indicates an error

  • G-Indirect route via a gateway

  • P-Private route

  • T-Temporary route

  • M-Multipath route

  • *-Backup static route for a transient RADIUS-like route

Pref
The preference value. When choosing which routes should be put in the routing table, the router first compares preference values, preferring the lower number. If the preference values are equal, then the router compares the metric field, and uses the route with the lower metric. The default route preference values are:

  • Connected routes-0

  • OSPF routes-10

  • ICMP redirects-30

  • RIP routes-100

  • Static routes-100

  • ATMP routes-100

For information about configuring route preferences, see the MAX TNT Network Configuration Guide

Met
A RIP-style metric for the route, with a valid range of 0-16. Routes learned from OSPF show a RIP metric of 10. OSPF cost-infinity routes show a RIP metric of 16.

Use
A count of the number of times the route was referenced since it was created. (Many of these references are internal, so this is not a count of the number of packets sent over this route.)

Age
The age of the route in seconds. Used for troubleshooting, age can show that a route is changing rapidly or flapping.

Modifying the routing table

The IProute command enables you to manually add routes to the routing table, delete them, or change their preference or metric values. The command is useful for temporary routing changes. Changes you make to the routing table with the IProute command do not persist across system resets. RIP and OSPF updates can add back any route you remove with IProute Delete. Also, the MAX TNT restores all routes listed in the IP-Route profile after a system reset.

The IProute command uses the following syntax:

iproute E18349.txt  

Syntax element

Description

add
Add an IP route to the routing table.

delete
Delete an IP route from the routing table.

Adding a static IP route to the routing table
To add a static IP route to the MAX TNT unit's routing table, use the IProute Add command:

iproute add dest_IPaddr [/subnet_mask] gateway_IPaddr [/subnet_mask] 
[pref] [metric] 

Syntax element

Description

dest_IPaddr [/subnet_mask]
Destination network address. The optional subnet mask specifies the number of bits in the mask. The default is 0.0.0.0/0. Note that the router uses the most specific route (having the largest mask) that matches a given destination.

gateway_IPaddr [/subnet_mask]
IP address of the router that can forward packets to the destination network, and optional subnet mask (in bits). The default is 0.0.0.0.

pref
Route preference. The default is 100.

metric
Virtual hop count of the route. You can enter a value between 1 and 15. The default is 1. Note that RIP and OSPF updates can change the metric for any route, including one you have modified manually by using the IProute command.

For example, consider the following command:

admin> iproute add 10.1.2.0/24 10.0.0.3/24 1
It adds a route to the 10.1.2.0 network and all of its subnets, through the IP router located at 10.0.0.3/24. The metric to the route is 1 (one hop away).

If you try to add a route to a destination that is already in the routing table, the MAX TNT does not replace the existing route unless it has a higher metric than the route you attempt to add. If you get the message Warning: a better route appears to exist, the MAX TNT has rejected your attempt to add a route.

Deleting a static IP route from the routing table
To remove a static IP route from the MAX TNT unit's routing table, enter the IProute Delete command:

iproute delete dest_IPaddr[/subnet_mask][gateway_IPaddr[/subnet_mask]]
The arguments are the same as for IP Route Add. For example, the following command 
removes the route to the 10.1.2.0 network:
admin> iproute delete 10.1.2.0 10.0.0.3/24
You can also change the metric or preference value of an existing route by using the IProute command. For example, if the routing table contains the following route:

Destination        Gateway        IF       Flg   Pref Met     Use       Age
10.122.99.0/24 10.122.99.1 wan4 SG 100 7 0 48630
You could change the mteric as follows:

Using the TraceRoute command to trace routes

The TraceRoute command is useful for locating slow routers or diagnosing IP routing problems. It traces the route an IP packet follows, by launching UDP probe packets with a low Time-To-Live (TTL) value and then listening for an ICMP time exceeded reply from a router. For example, to trace the route to the host techpubs:

Probes start with a TTL of one and increase by one until of the following conditions occurs:

TraceRoute sends three probes at each TTL setting. The second line of output shows the address of the router and the round trip time of each probe. If the probe answers come from different gateways, the address of each responding system is shown. If there is no response within a three-second timeout interval, the second line of output an asterisk.

For the details of the TraceRoute command, see the MAX TNT Reference Guide.

Using the NSlookup command to verify name service setup

You can retrieve a host address by using the NSlookup command, provided that the MAX TNT has been configured with the address of a name server. (For information about configuring name servers, see the MAX TNT Network Configuration Guide). If a host has several IP interfaces, the command returns several addresses.

To retrieve the IP address of the host techpubs, proceed as in the following example:

Using the ARPtable command to display the ARP cache

The Address Resolution Protocol (ARP) translates between IP addresses and media access control (MAC) addresses as defined in RFC 826. Hosts broadcast an ARP request that is received by all hosts on the local network, and the one host that recognizes its own IP address sends an ARP response with its MAC address.

The MAX TNT maintains a cache of known IP addresses and host MAC, addresses which enables it to act as a proxy for ARP requests for target hosts across the WAN, provided that proxy mode is turned on. (For configuring proxy ARP, see MAX TNT Network Configuration Guide.)

With the ARPtable command, you can display the ARP table, add or delete ARP table entries, or clear the ARP cache entirely. To display the ARP cache, enter the ARPtable command without any arguments, as in the following example:

admin> arptable
IP Address MAC Address Type IF Retries/Pkts/RefCnt Time Stamp

10.103.0.141 00:B0:24:BE:D4:84 DYN 0 0/0/1 23323
10.103.0.2 00:C0:7B:7A:AC:54 DYN 0 0/0/599 23351
10.103.0.220 00:C0:7B:71:83:02 DYN 0 0/0/2843 23301
10.103.0.1 08:00:30:7B:24:27 DYN 0 0/0/4406 23352
10.103.0.8 00:00:0C:06:B3:A2 DYN 0 0/0/6640 23599
10.103.0.7 00:00:0C:56:57:4C DYN 0 0/0/6690 23676
10.103.0.49 00:B0:80:89:19:95 DYN 0 0/0/398 23674
The ARP table displays the following information:

Column Name

Description

IP Address
IP address of the host.

MAC Address
The MAC address of the host.

Type
How the address was learned, either dynamically (DYN) or as a static route (STAT).

IF
The interface on which the MAX TNT received the ARP request.

Retries/Pkts/RefCnt
Number of retires/Number of packets queued/Number of times the entry has been referenced.

Time Stamp
Time stamp, indicating when the entry was added to the table, displayed as the number of seconds since the last system reset.

To add an ARP table entry, use the -a option, as in the following example:

To delete an ARP table entry, use the -d option, as in the following example:

To clear the entire ARP table, use the -f option:

Displaying protocol statistics

The Netstat command displays the MAX TNT IP interface and routing tables, protocol statistics, and active sockets. By default (without an argument), the Netstat command reports information about both UDP and TCP. Following is an example that shows the use of the -n option to display the information in numeric format:

admin> netstat -n
udp:
-Socket- Local Port InQLen InQMax InQDrops Total Rx
1/c 0 1023 0 1 0 0
1/c 1 route 0 0 0 25
1/c 2 echo 0 32 0 0
1/c 3 ntp 0 32 0 1
1/c 4 1022 0 128 0 0
1/c 5 snmp 0 128 0 0
1/1 0 1 0 256 0 0
1/1 1 1018 0 128 0 0
1/3 0 3 0 256 0 0
1/3 1 1021 0 128 0 0
1/5 0 5 0 256 0 0
1/5 1 1020 0 128 0 0
1/8 0 8 0 256 0 0
1/8 1 1019 0 128 0 0
tcp:
Socket Local Remote State
1/c 0 *.23 *.* LISTEN
1/c 1 10.2.3.114.23 15.5.248.121.44581 ESTABLISHED
Without the -n option, the output contains symbolic names instead of numeric values.

The Netstat command also supports UDP and TCP arguments, which you can use in conjunction with existing options (such as -n). For example, to view information about UDP sockets, use this command:

The output shows the queue depth of various UDP ports, as well as the total packets received and total packets dropped on each port. The total-packets-received count includes the total packets dropped. For this sample output, the SNMP queue depth was set to 32. For information about queue depths, see the MAX TNT Network Configuration Guide.

The Netstat command supports the -s option, which displays protocol statistics. The -s option uses the following syntax:

If no identifiers follow the -s option, all protocol statistics are shown. If specified, the identifiers determine the type of protocol statistics to display. Valid identifiers include udp, tcp, icmp, ip, igmp, or mcast. Following is an example that displays IP and multicast statistics:

Logging into a network host

The Rlogin and Telnet commands enable you to log into a network host from the MAX TNT.

Using the Rlogin command

The Rlogin command initiates a login session from a host card, such as a modem or HDLC card, to a remote host. For example, to log into the host techpubs, first open a session with the host card. Then issue the Rlogin command:

You can log out of the remote host by entering the Rlogin escape sequence (tilde-dot):

Or, you can log out explicitly:

If you wish, you can change the default escape character from a tilde to any other character. For details, see the MAX TNT Reference Guide.

If your user name on the MAX TNT is different from your user name on the remote host, you can specify a user name on the Rlogin command line. For example:

Using the Telnet command

The Telnet command initiates a login session to a remote host. For example, to Telnet into the host techpubs:

You can close the Telnet session by logging out of the remote host:

Diagnostic tools for IGMP multicast interfaces

The IGMP command displays information about IGMP groups and clients. This can be useful for tracking the IGMP group memberships and active client interfaces.

Displaying IGMP group information

To display active multicast group addresses and clients (interfaces) registered for each group, enter the IGMP command with the group option:

admin> igmp group
IGMP Group address Routing Table Up Time: 0:0:22:17
Hash Group Address Members Expire time Counts
10 224.0.2.250
2 0:3:24 3211 :: 0 S5
1 0:3:21 145 :: 0 S5
0(Mbone) ...... 31901 :: 0 S5
The output contains the following fields:

Field

Description

Hash
Index to a hash table (displayed for debugging purposes only).

Group address
IP multicast address used for the group. An asterisk indicates the IP multicast address being monitored, meaning that members join this address by local application.

Members 
ID of each member of each multicast group. The zero ID represents members on the same Ethernet interface as the MAX TNT. All other IDs go to members of each group as they inform the MAX TNT that they have joined the group. If a client is a member of more than one group to which the MAX TNT forwards multicast packets, it has more than one multicast ID.

Expire time
When this membership expires. The MAX TNT sends out IGMP queries every 60 seconds, so the expiration time is usually renewed. If the expiration time is reached, the MAX TNT removes the entry from the table. If the field contains periods, this membership never expires.

Counts 
Number of packets forwarded to the client, number of packets dropped due to lack of resources, and the state of the membership. The state is displayed for debugging purposes.

Displaying IGMP client information

To display a list of multicast clients, enter the IGMP command with the client option:

admin> igmp client
IGMP Clients
Client Version RecvCount CLU ALU
0(Mbone) 1 0 0 0
2 1 39 68 67
1 1 33310 65 65
The output contains the following fields:

Field

Description

Client
ID of the interface on which the client resides. The value 0 (zero) represents the Ethernet. Other numbers are WAN interfaces, numbered according to when they became active. Mbone is the interface on which the multicast router resides.

Version
Version of IGMP being used.

RecvCount
Number of IGMP messages received on the client's interface.

CLU
ALU
Current Line Utilization and Average Line Utilization, respectively. Both indicate the percentage of bandwidth utilized across this interface. If bandwidth utilization is high, some IGMP packet types are not forwarded.

Diagnostic tools for OSPF routers

The OSPF diagnostic-level commands enable the administrator to display information related to OSPF routing, including the link state advertisements (LSAs), border routers' routing table, and the OSPF areas, interfaces, statistics, and routing table. To display the usage statement, enter the OSPF command with the ? option:

Displaying general information about OSPF routing

To display general information about OSPF, include the general option with the OSPF command:

admin> ospf general
Or, you can simply enter the OSPF command without any arguments. For example:

admin> ospf
Rtr ID: 10.168.6.148
Status: Enabled Version: 2 ABR: Off ASBR: On
LS ASE Count: 4 ASE Cksum sum: Ox241b3 Tos Support: TOS 0 Only
New LSA Originate Count: 17 Rx New LSA Count: 9
In either case, the output contains the following fields:

Field

Description

Rtr ID
IP address assigned to the MAX TNT Ethernet interface.

Status 
Whether OSPF is enabled or disabled.

Version 
Version of the OSPF protocols running.

ABR 
On or Off, depending on where the MAX TNT is situated on the network. If ABR is On, the MAX TNT performs additional calculations related to external routes.

ASBR 
Always On in the MAX TNT. Although the MAX TNT cannot function as an IGP gateway, it does import external routes (for example, when it establishes a WAN link with a caller that does not support OSPF). The ASBR calculations are always performed.

LS ASE Count 
Number of link-state database entries that are external.

ASE Cksum sum 
Checksum used to note that ASE routes in the database have changed.

TOS Support 
Level of type-of-service (TOS) support in the router.

New LSA Originate 
Count 
Number of LSAs this router created.

Rx New LSA Count 
Number of LSAs this router received from other OSPF routers.

Displaying information about OSPF areas

To display information about OSPF areas, include the areas option with the OSPF command. For example:

admin> ospf areas
Area ID: 0.0.0.0
Auth Type: Simple Passwd Import ASE: On Spf Runs: 5
Local ABRs: 0 Local ASBRs: 2 Inter LSAs: 3 Inter Cksum sum: 0x22298
The output includes the following fields:

Field

Description

Area ID 
Area number in dotted-decimal format. You use the Area parameter to configure the area ID.

Auth Type
The type of authentication (simple password or null). You use the Authen-Type parameter to configure the type of authentication in use.

Import ASE 
Always On, indicating that Area Border Router (ABR) functionality is enabled.

Spf Runs 
How many times the SPF calculation was run. The calculation is performed every time the router notes a topology change or receives an update from another router.

Local ABRs 
Number of Area Border Routers (ABRs) and number of areas the router knows about. The number 0 (zero) means that the router knows about the backbone area only.

Local ASBRs 
Number of Autonomous System Border Routers (ASBRs) the router knows about.

Inter LSAs 
Number of entries in the link-state database.

Inter Cksum 
sum 
Checksum that is used to note that a database has changed.

Displaying information about AS border routers

To display AS border-router information, include the border routers option with the OSPF command. For example:

admin> ospf border routers
Dest Area Cost E Path Nexthop AdvRtr L
AS Border Routes:
170.57.40.254 0.0.0.0 10 RTR 50.151.0.2 170.57.40.254
10.123.0.254 0.0.0.0 11 RTR 10.103.0.7 10.123.0.254
10.103.0.254 0.0.0.0 0 RTR 0.0.0.0 10.103.0.254
10.103.0.220 0.0.0.0 1 RTR 10.103.0.220 10.103.0.220
10.103.0.204 0.0.0.0 1 RTR 10.103.0.204 10.103.0.204
10.123.0.8 0.0.0.0 1 RTR 10.103.0.8 10.123.0.8
10.123.0.7 0.0.0.0 1 RTR 10.103.0.7 10.123.0.7
10.103.0.4 0.0.0.0 1 RTR 10.103.0.4 10.103.0.4
10.103.0.3 0.0.0.0 1 RTR 10.103.0.3 10.103.0.3
10.104.0.2 0.0.0.0 11 RTR 10.103.0.3 10.104.0.2
10.103.0.2 0.0.0.0 1 RTR 10.103.0.2 10.103.0.2
10.102.0.2 0.0.0.0 10 RTR 10.102.0.2 10.102.0.2
10.101.0.2 0.0.0.0 10 RTR 10.101.0.2 10.101.0.2
10.105.0.1 0.0.0.0 1 RTR 10.105.0.1 10.105.0.1
10.104.0.1 0.0.0.0 12 RTR 10.103.0.3 10.104.0.1
10.103.0.1 0.0.0.0 1 RTR 10.103.0.1 10.103.0.1
10.102.0.1 0.0.0.0 11 RTR 10.102.0.2 10.102.0.1
10.101.0.1 0.0.0.0 11 RTR 10.101.0.2 10.101.0.1
The output includes the following fields:

Field

Description

Dest 
IP address of an Area Border Router (ABR) that the MAX TNT knows about.

Area 
ID of the area handled by the ABR.

Cost
Cost of the route.

E 
Cost of the link. (The cost of a route is the sum of the cost of each intervening link, including the cost to the connected route.)

Path 
Type of link: EXT (exterior), INT (interior), RTR (router), or STUB (a default).

Nexthop 
IP address of the router through which the MAX TNT can reach an ABR.

AdvRtr
The router that advertised the route to the ABR. (Sometimes a router advertises routes for which it is not the gateway.)

Displaying the link-state database

To display the router's link-state database, use the database option. For example:

admin> ospf database
ospf database
Stub Link States (Area 0.0.0.0)
Link ID Adv Router Age Len Seq# Metric
10.67.0.0 10.67.0.0 229 24 0x0 0
10.101.0.2 10.101.0.2 217 24 0x0 0
10.102.0.2 10.102.0.2 60 24 0x0 0
10.103.0.2 10.103.0.2 25 24 0x0 0
.
.
.
Router Link States (Area 0.0.0.0)
Link ID Adv Router Age Len Seq# Metric
10.101.0.1 10.101.0.1 1565 48 0x800005fb 0
10.101.0.2 10.101.0.2 65 84 0x80000073 0
10.102.0.1 10.102.0.1 827 48 0x80000e50 0
10.102.0.2 10.102.0.2 223 84 0x80000079 0
.
.
.
Network Link States (Area 0.0.0.0)
Link ID Adv Router Age Len Seq# Metric
10.101.0.1 10.101.0.1 1565 32 0x80000061 0
10.102.0.1 10.102.0.1 827 32 0x80000066 0
10.103.0.8 10.123.0.8 240 64 0x8000002f 0
10.104.0.1 10.104.0.1 1166 32 0x800002fc 0
10.105.0.1 10.105.0.1 1443 32 0x80000007 0
10.123.0.7 10.123.0.7 452 36 0x80000008 0

Type-5 AS External Link States
Link ID Adv Router Age Len Seq# Metric
0.0.0.0 10.123.0.7 452 36 0x800003c7 1
10.63.254.1 10.103.0.204 1331 36 0x800003d5 10
10.105.0.0 10.103.0.204 1331 36 0x80000006 1
10.107.0.0 10.103.0.254 1631 36 0x8000015b 1
10.132.0.2 10.103.0.254 35 36 0x80000001 1
10.134.0.2 10.103.0.254 29 36 0x80000001 1
.
.
.
The database is segmented by the type of link as defined in RFC 1583:

Link type

Description

Stub link states

Summary-LSAs that describe point-to-point routes to networks or AS boundary routers.

Router link states

Describe the collected states of the router's interfaces.

Network link states

Describe the set of routers attached to the network.

Type-5 AS-external link states

Describe static routes to destinations external to the Autonomous System. A default route for the Autonomous System can also be described by an AS-external-LSA.

Displaying details about a route in the database

The database option includes suboptions for focusing on particular areas of the database. To display the suboptions, enter the OSPF command with the database and ? arguments:

For example, you might focus on the network link states:

The following example shows information about Type-7 ASE link states:

Displaying OSPF interfaces

To display the OSPF interfaces, include the interfaces option with the OSPF command, for example:

admin> ospf interfaces
Area IP Address Remote Addr Type State Cost Pri DR BDR
---------------------------------------------------------------------------
0.0.0.0 10.2.6.4 10.2.6.4 Bcast BackupDR 1 5 10.2.6.8 10.2.6.4
The output contains the following fields:

Field

Description

Area 
Area ID (0.0.0.0 is the backbone).

IP Address
Ethernet interface IP address.

Type 
Broadcast (Ethernet) or point-to-point (WAN links).

State 
How far along the router is in the process of electing a a DR or BDR. The state can be 1-way (the election process has begun), 2-way (the router has received notification), BackupDR, or DR.

Cost 
Metric assigned to the link. The default cost for Ethernet is 1.

Pri 
Designated router-election priority assigned to the MAX TNT.

DR 
Address of the designated router.

BDR 
Address of the backup designated router.

Displaying OSPF neighbors

To display adjacencies, include the neighbor option with the OSPF command. For example:

admin> ospf neighbor
Area       Interface     Router Id     Nbr IP Addr   State      Mode   Pri
0.0.0.0 10.168.6.148 10.168.6.181 10.168.6.181 Full Slave 5
The output contains the following fields:

Field

Description

Area 
Area ID.

Interface
Address assigned to the interface. In the MAX TNT, the IP address is always the address assigned to the Ethernet interface.

Router Id 
IP address of the router used to reach a neighbor. This is often the same address as that of the neighbor itself.

Nbr IP Addr 
IP address of the neighbor.

State 
State of the link-state database exchange. Full means that the databases are fully aligned between the MAX TNT and its neighbor.

Mode
Whether the neighbor is in master or slave mode. The master sends Database Description packets (polls), which are acknowledged by Database Description packets (responses) sent by the slave.

Pri 
Designated router-election priority assigned to the MAX TNT.

Displaying the OSPF routing table

To display the OSPF routing table, include the rtab option with the OSPF command. For example:

admin> ospf rtab
Dest             Area    Cost E  Path Nexthop         AdvRtr          L
AS Border Routes:
10.168.6.181 0.0.0.0 1 RTR 10.168.6.181 10.168.6.181
10.168.6.148 0.0.0.0 0 RTR 0.0.0.0 10.168.6.148
Nets: Rtab Version 5
0.0.0.0/0 0.0.0.0 2 0 EXT 10.168.6.181 10.168.6.181 0
8.0.0.0/8 imported: 2
10.168.6.0/24 0.0.0.0 1 0 INT 10.168.6.148 10.168.6.181 1
10.168.6.152/32 imported: 2
The routing table is segmented by the type of route. Each segment contains the following fields:

Field

Description

Dest
Destination address of the area shown in the Area field.

Area
Area ID.

Cost
Cost of the route.

E
Cost of the link. (The cost of a route is the sum of the cost of each intervening link, including the cost to the connected link.)

Path
Type of link: EXT (exterior), INT (interior), RTR (router) or STUB (a default).

Nexthop
Target address from this router.

AdvRtr
Advertising router. Sometimes a router will advertise routes for which it is not the gateway.

Displaying the timer queue

To display information about the timer queue, include the timer-queue option with the OSPF command. For example:

Displaying information about packet errors

To display OSPF errors, include the errors option with the OSPF command. For example:

admin> ospf errors
ERRORS from:                       boot
0: IP: Bad OSPF pkt type 0: IP: Bad IP Dest
0: IP: Bad IP proto id 0: IP: Pkt src = my IP addr
0: OSPF: Bad OSPF version 0: OSPF: Bad OSPF checksum
0: OSPF: Bad intf area id 0: OSPF: Area mismatch
0: OSPF: Bad virt link info 0: OSPF: Auth type != area type
0: OSPF: Auth key != area key 0: OSPF: Packet is too small
0: OSPF: Packet size > IP length 0: OSPF: Transmit bad
1: OSPF: Received on down IF 0: Hello: IF mask mismatch
0: Hello: IF hello timer mismatch 0: Hello: IF dead timer mismatch
909: Hello: Extern option mismatch 0: Hello: Nbr Id/IP addr confusion
0: Hello: Unknown Virt nbr 0: Hello: Unknown NBMA nbr
0: DD: Unknown nbr 0: DD: Nbr state low
0: DD: Nbr's rtr = my rtrid 0: DD: Extern option mismatch
17: Ack: Unknown nbr 0: Ack: Nbr state low
0: Ls Req: Nbr state low 0: Ls Req: Unknown nbr
0: Ls Req: Empty request 0: LS Req: Bad pkt
0: LS Update: Nbr state low 21: Ls Update: Unknown nbr
0: Ls Update: Newer self-gen LSA 0: Ls Update: Bad LS chksum
5: Ls Update: less recent rx 0: Ls Update: Unknown type
The output lists all error messages related to OSPF, with each message preceded by the number of times it has been generated since the MAX TNT powered up. Immediately following the number is a field indicating one of the following packet types:

Displaying packet statistics

To display information about packets sent and received by the OSPF protocol, include the stats option with the OSPF command. For example:

Diagnostic tools for IPX routers

The MAX TNT provides two diagnostic commands for monitoring IPX networks, Show Netware Servers and Show Netware Networks.

To display the IPX service table, enter the Show command with the netware servers option. For example:

The output contains these fields:

To display the IPX routing table, enter the Show command with the netware networks option. For example:

The output contains these fields:

Fields

Descriptions

network

The IPX network number.

next router

The address of the next router, or 0 (zero) for a direct or WAN connection.

hops

The hop count from the shelf controller to the network.

ticks

The tick count to the network.

origin

The name of the profile used to reach the network. If the origin is a network connected to a MAX TNT Ethernet interface, the Origin field displays Ethernet.


Note: An S or an H flag can appear next to the origin. S indicates a static route. H indicates a hidden static route. Hidden static routes occur when the router learns of a better route.

Displaying Ethernet packet contents

The Ether-Display command displays the hexadecimal contents of Ethernet packets being received and transmitted on the specified Ethernet port. You must specify how many octets of each packet you want to display.

The following example displays 12 octets of each packet on port 1:

To stop displaying the Ethernet statistics, specify 0 (zero) octets:

For complete information about the Ether-Display command, see the MAX TNT Reference Guide.



[Top][Contents][Prev][Next][Last]Search

techpubs@eng.ascend.com

Copyright © 1997, Ascend Communications, Inc. All rights reserved.