This document describes the Internet Protocol (IP) implementation and includes the following sections:
Internet Protocol Overview
Configuring IP
Other Configuration Tasks
IP Commands
Internet Protocol Overview
IP is a network layer protocol that provides a connectionless service for the delivery of data. The fact that it is connectionless makes IP an unreliable protocol, one that tries but does nothing to guarantee the delivery of data. As used on the Internet, IP is the package used to carry data; actual delivery of the data is assured by transport layer protocols like TCP (Transmission Control Protocol).
The Nx Networks IP implementation conforms to standards defined by the TCP/IP protocol suite.
IP Addresses
IP addresses identify where a host's interface attaches to the IP network or a particular network segment. If, for example, a host has more than one interface attached to the network, that host would have an IP address for each connection. This makes an IP address much like a postal street address, indicating where to send the data, not to whom to send the data.
An IP address is a 32-bit number in the header of an IP datagram that encodes network segment identification, as well as identification of a unique host on that network. This 32-bit number is commonly represented in dotted decimal notation. In this notation, each decimal integer represents one octet of the 32-bit address.
Thus a 32-bit IP address, in base 2
10000000 00001010 0000010 00011110
is written as the following set of decimal numbers:
128.10.2.30
Each IP address forms a pair of identifiers, the netid and the hostid.
The netid identifies the network.
The hostid identifies a host on that network.
A Class A address is used for any network having more than 65,536 hosts. Only 127 Class A network numbers exist. A host interprets a Class A address by reading bit 0 of the 32-bit address. If this bit is set to 0, the host interprets the netid as the first 8 bits and hostid as the last 24 bits.
A Class B address is used for any intermediate size network having between 256 and 65,536 hosts. With this address, the first 16 bits of the 32-bit address are devoted to the netid and last 16 bits are devoted to the hostid. A host interprets this address by reading bits 0 and 1 of the 32-bit address. If these bits are set to 1 and 0, respectively, then the host interprets the netid field as the first 16 bits and the hostid field as the last 16 bits.
A Class C address is used for any network having less than 256 hosts. With this address, the first 24 bits are devoted to the netid and last 8 bits to the hostid. A host interprets this address by reading bits 0, 1, and 2 of the 32-bit address. If these bits are set to 1, 1, 0 respectively, then the host interprets the netid field as the first 24 bits and the hostid field as the last 8 bits.
A Class D address is used for IP multicasting. With this address, the first 4 bits contain 1110 and identify the address as a multicast. Bits 4 through 31 identify the specific multicast group.

Migrating from one IP address to another.
Using two subnets on the same physical network segment. For example, it is possible that the number of hosts on the physical network segment exceeds the current subnet's capacity. When this occurs, you must add another subnet to the physical network segment.
When using multiple addresses, the router sends IP broadcasts only to the first address on the interface.
You should restrict multiple addresses on the same interface to LAN interfaces.
There is no set standard for the width of the subnet part; it can be a few bits wide to most of the width of the hostid field.
Figure 2 Subnet Concept

Subnet Mask
When adding an IP address to an interface, you must specify the subnet mask.
Subnet masks identify the portion of the address occupied by the netid and the subnetid. The mask is simply another 32-bit string written in dotted decimal notation with all ones in the network and subnet portion of the address.
For example, suppose you have a class B address. You want to assign the first 8 bits of the hostid as the subnet id. Following the rule of placing all ones in the netid and subnetid fields, you get a a mask of 255.255.255.0 as shown in Figure 3.
Figure 3 8-bit Subnet Mask

Figure 4 10-bit Subnet Mask

| Subnet Bits | Host Bits |
Byte of Hex Mask |
Byte of Decimal Mask |
|---|---|---|---|
| 0 | 8 | 0 | 0 |
| 1 | 7 | 0x80 | 128 |
| 2 | 6 | 0xC0 | 192 |
| 3 | 5 | 0xE0 | 224 |
| 4 | 4 | 0xF0 | 240 |
| 5 | 3 | 0xF8 | 248 |
| 6 | 2 | 0xFC | 252 |
| 7 | 1 | 0xFE | 254 |
Note: All interfaces running RIP must have the same subnet mask.
The Nx Networks IP implementation supports variable-length subnets. This feature lets you divide the hostid of a single IP network number into many variable size subnets. For example, 128.185 could have a subnet 128.185.22.0 with subnet mask of 255.255.255.0 (giving a size of 254 possible hosts) and a subnet 128.185.23.16 with mask 255.255.255.240 (giving a size of 14 possible hosts). You can use variable-length subnets only with dynamic routing protocols that distribute each destination's subnet mask (that is, OSPF protocol). IP also allows static routing information to take advantage of variable-length subnetting.CAUTION:
Assign variable length subnets with care. If you assign a subnet in an overlapping fashion, problems may occur.
If you are planning to connect your networks and routers to the Internet, talk to your Internet Service Provider, the Internic (http://rs.internic.net), or the address registry in your country to get IP addresses.
Control packets for IP itself
Routing update packets
Packets used for diagnostic purposes
Maintaining default routers (gateways).
Martian filtering.
Using unnumbered serial lines for network traffic.
Allowing dynamic IP address assignment
Default Network-Gateway - Performs routing for other routers on an internet that has packet traffic for an unknown-network destination.
Default Subnet-Gateway - Performs subnet routing in a network where the other routers do not know how to route traffic for specific subnets.
On network segment 13.104, unknown-network traffic goes first to router Dresden then toward the appropriate destination.
Figure 5 Internet with Default Gateway (Dresden)

Martian Filtering
Martian is a humorous term that applies to packets that are incorrectly formatted or have an improper destination address. The router drops these packets to ensure that Martians are not forwarded further into the network.
Address filtering ensures that IP does not forward any packets to those specified addresses, nor does it broadcast any routing information it receives concerning those addresses. For example, address 127.0.0.0 is used as a local loop-back address in BSD-derived UNIX-based operating systems. You should install filters on your routers to ensure that your routers receive and relay only packets with valid IP addresses.
Unnumbered Serial Lines
This implementation of IP allows you to send IP traffic over a serial line interface without assigning an IP network number to that line. This feature allows you to configure static routes across the line to the next hop router or to a default gateway; however, this feature also includes the following restrictions on certain diagnostic capabilities:
You cannot run Ping to the interface to find out if it is functional.
You cannot load the router's software over an unnumbered serial line. The router software loading uses TFTP, which requires a destination IP address.
RIP does not send or transmit subnet routes over unnumbered serial lines.
Router ID
The router ID is the default IP address that IP uses when sourcing various kinds of IP traffic. When you set the router ID, the router ID becomes the source IP address in all locally-originated IP packets either that the router sends over unnumbered serial lines or that are multicasts.
Internal IP Address
The internal IP address is an address that belongs to the router as a whole, and not any particular interface. The router uses it only when the router needs to be assured of always having a particular address available or when the router is the source of many multicast packets, for example, when the router is running IP multicast bridging tunnel.
When you set the internal IP address,
The internal IP address becomes the source IP address in all locally-originated IP packets either that the router sends over unnumbered serial lines or that are multicast.
To 0.0.0.0, the router deletes the internal IP address.
The internal IP address takes precedence over the router ID if you also set the router ID.
Any application that uses the IGMP protocol to establish group membership. Examples of this include the Silicon Graphics' Dogfight program and the voice conferencing program ("vat") that is run over DARTNet. Both of these applications run over UNIX and require a multicast kernel. They also usually use DVMRP as their multicast routing protocol, but you can substitute MOSPF for DVMRP without loss of functionality.
The Multicast Backbone, or MBONE, uses DVMRP. MOSPF and DVMRP running on the boundary router of an organization can connect multicast traffic from the Internet to the MOSPF network within the company.
The router's IP monitoring prompt supports a ping command that accepts a class D address as destination. The ping command displays the IP address of the (possible) multiple responders.
The router's OSPF monitoring prompt supports join and leave commands that enable the router to establish multicast group membership. After joining a multicast group, the router responds to pings and SNMP queries sent to the group address. If you want to make the router's group membership permanent in the configuration, you can use the analogous join and leave commands at the OSPF configuration prompt.
Distance limitations of seven hops
Large amounts of overhead that source routing causes in Wide Area Networks (WANs)
Source routing's sensitivity to WAN faults and failures (if a path fails, all systems must restart their transmissions)
Least-Cost Routing. OSPF accesses the fastest path (tunnel) with the fewest delays allowing network administrators to distribute traffic over the least expensive route.
Dynamic Routing. OSPF looks for the least-cost path as well as detects failures and reroutes traffic with low overhead.
Multi-Path Routing. Load sharing makes more efficient use of available bandwidth.
Config> prompt:Config>protocol IP
IP config>
Config> prompt.
IP allows you to use a serial line interface for IP traffic without assigning an IP address to the line. However, you must still assign each serial line a label. Use the add address command to assign the serial line an address of the form 0.0.0.n, where n is the interface number (again obtained from the list interfaces command). This address format tells the router that the interface is an unnumbered serial line.
For PPP interfaces, you can set up unnumbered serial lines so that the router or server at the other end of the PPP link dynamically assigns an IP address for the interface. The router uses PPP's IP Control Protocol (IPCP) address negotiation. To set up a PPP interface for dynamic address assignment, follow these steps:IP Config> prompt enter add address.
IP config>add address
Which net is this address for [0]? 1
New address [0.0.0.0]? 0.0.0.1
Allow dynamic address assignment(Yes or [No]): yes
Address mask [255.255.255.0]?
Default Network Gateway. The router sends packets to default (authoritative) gateways when the router cannot find the packet destination in the routing table.
Default Subnet Gateway. If you are using subnetted networks, you can define a separate default gateway for each subnetted network.
Static Network/Subnet Route. You can set up fixed routes for destinations.
Both OSPF and RIP can learn and advertise default gateways. For OSPF, you can configure a router to advertise itself as the default gateway with the following OSPF command:IP Config>set default network-gateway
Default gateway [0.0.0.0]? 192.9.1.4
gateway's cost [0]? 5
You can set up RIP to advertise the default gateway (if it has any) to its neighbors. You can also set up RIP so that a learned default gateway does (or does not) override a statically configured default gateway. You accomplish these tasks with the following RIP commands:OSPF Config>enable AS-boundary-routing
If your network is attached to the Internet, then the boundary router, which connects your network to your Internet Service Provider (ISP), should have a default route pointing to your ISP. Since your router does not know of every route on the Internet, your router assumes any addresses it does not recognize are on the Internet and sends those packets to your ISP. Your IGP should then distribute the knowledge that the boundary router knows the default route (in this case, to the Internet) so that other routers know to send packets to unknown destinations to that router.RIP Config>enable/disable sending default-routes
RIP Config>enable/disable override default
The above example specifies that the next hop to the subnet default gateway is 128.185.123.22, and that the cost of routing a packet to the default subnet gateway is 2.IP Config>set default subnet-gateway
For which subnetted network [0.0.0.0]? 18.0.0.0
Default gateway [0.0.0.0]? 128.185.123.22
gateway's cost [0]? 2
You can set up multiple routes to a destination. See add route for more information.IP Config>add route
IP destination [0.0.0.0]? 128.1.2.0
Address mask [0.0.0.0]? 255.255.255.0
Via gateway at [0.0.0.0]? 128.185.123.22
Cost [1]? 6
Use change route to modify a route and delete route to delete a route. Routes dynamically learned through the OSPF and RIP protocols can override static routes. For RIP, you can disable this override behavior. See Setting RIP Flags.
Enabling ARP Subnet Routing
If there are hosts on attached subnetted networks that do not support IP subnetting, use Address Resolution Protocol (ARP) subnetting routing (described in RFC 1027). When you configure the router for ARP subnet routing, it replies by proxy to ARP requests for destination (that is, off the LAN if the router is itself the best route to the destination). For proper operation, configure all routers attached to a LAN containing subnetting-ignorant hosts for ARP subnet routing.
To enable ARP subnet routing, use the following command:
Some IP hosts ARP for all destinations, whether or not they are attached to the local network segment. For these hosts, ARP subnet routing is not enough and you must see the proxy ARP functionality specified in RFC 925 instead. RFC 925 ARP routing is a subset of ARP subnet routing. To enable RFC 925 ARP routing, use the following command:IP Config>enable ARP-subnet-routing
IP Config>enable RFC-925
BOOTP client - the diskless workstation
BOOTP servers - the boot host (with UNIX daemon bootpd or DOS version available from FTP software)
BOOTP relay agent or BOOTP forwarder - your router
Note: If multiple hops are required before reaching the BOOTP agent, the packet is routed normally via IP. All other routers would not examine the packet to determine whether it is a BOOTP packet.
When enabling BOOTP, you are prompted for the following values:IP Config>enable/disable bootp
Maximum number of application hops you want the BOOTP request to go. This is the maximum number of BOOTP relay agents that can forward the packet. This is NOT the maximum number of IP hops to the BOOTP server. A typical value for this parameter is 1.
Number of seconds you want the client to retry before the BOOTP request is forwarded. This parameter is not commonly used. A typical value for this parameter is 0.
You can configure multiple servers. In addition, if only the network number of the server is known or if multiple servers reside on the same network segment, a broadcast address can be configured for the server.IP Config>add BOOTP-SERVER IP-address-of-server
IP config>add udp-destination
UDP port number [-1]? 36
Destination IP address [0.0.0.0]? 20.1.2.2
IP Config>enable udp-forwarding
For which UDP port number [-1]? 36
OpenROUTE software supports a DHCP server only on LAN interfaces.
You configure a DHCP server per interface. If you have more than one LAN interface, you need to provide the interface number when configuring the server.
IP config> prompt.
[M] means the command is available at the IP> prompt.
Add [C]
Adds IP addresses, BOOTP server, hostname, routes, and UDP destination.
Syntax: add
Which net is this address for [0]? 1
New address [0.0.0.0]? 0.0.0.1
Allow dynamic address assignment(Yes or [No]): yes
Address mask [255.255.255.0]?
add address
The software prompts you for whether or not to allow dynamic address assignment only if you enter an unnumbered serial line address (0.0.0.n).Which net is this address for [0]?
New address [0.0.0.0]?
Allow dynamic address assignment via DHCP(Yes or [No]):yes
add bootp-server
BOOTP server address [0.0.0.0]? 128.185.123.22
add hostname
Hostname?
IP address? 128.185.227.221
The router first sends traffic over the route that has the lowest cost. If that route goes down, the router sends traffic over the route that has the next lowest cost.
If there are multiple routes with equal costs, the router shares the traffic load between the routes on a per destination basis or, if per-packet-multipath is enabled, on a per packet basis.
add route
IP destination [0.0.0.0]? 128.1.2.0
Address mask [0.0.0.0]? 255.255.255.0
Via gateway at [0.0.0.0]? 128.185.123.22
Cost [1]? 6
udp-destination port# address
Adds a UDP destination port number and IP address. See Configuring UDP Broadcast Forwarding for more information on this feature.
You can enter a broadcast, unicast, or multicast IP address.
Repeat this command to add more than one IP address for the same UDP port. This causes the router to forward the frame to each of the IP addresses.
Example:
add udp-destination
UDP port number [-1]? 36
Destination IP address [0.0.0.0]? 20.1.2.2
cache
Destination Usage Next hop
128.185.128.225 1 128.185.138.180 (Eth/0)
192.26.100.42 1 128.185.138.180 (Eth/0)
128.185.121.1 18 128.185.123.18 (PPP/0)
128.185.129.219 76 128.185.125.25 (PPP/1)
128.185.129.41 130 128.185.125.25 (PPP/1)
128.185.129.134 546 128.185.125.40 (PPP/1)
128.185.129.221 1895 128.185.125.40 (PPP/1)
128.185.129.193 96 128.185.125.40 (PPP/1)
128.197.3.4 4 128.185.123.18 (PPP/0)
128.185.128.25 98 128.185.125.41 (PPP/1)
128.185.124.121 4 128.185.124.121 (Eth/0)
128.185.136.203 95 128.185.125.39 (PPP/1)
128.185.194.4 581 128.185.125.39 (PPP/1)
128.185.123.17 2 128.185.123.17 (PPP/0)
192.26.100.42 1 128.185.125.38 (PPP/1)
128.52.22.6 2 128.185.123.18 (PPP/0)
128.197.3.2 1 128.185.123.18 (PPP/0)
128.185.126.24 61 128.185.125.25 (PPP/1)
128.185.138.150 482 128.185.125.39 (PPP/1)
128.185.123.18 152 128.185.123.18 (PPP/0)
Change [C]
Changes an IP configuration item previously installed by the add command. In general, you must specify the item you want to change, just as you specified the item with the add command.
Syntax: change
change address
Enter the address to be changed [0.0.0.0]? 128.185.123.22
New address [128.185.123.22]? 128.185.123.8
Address mask [255.255.0.0]?
change address
Enter the address to be changed [0.0.0.0]? 128.185.123.22
New address [0.0.0.2]? 0.0.0.2
Allow dynamic address assignment? [Yes]:
Address mask [255.255.255.0]?
change route
IP destination [0.0.0.0]? 10.0.0.0
Address mask [0.0.0.0]? 255.0.0.0
New address mask [255.0.0.0]? 255.255.0.0
Via gateway at [0.0.0.0]? 128.185.123.18
Cost [1]? 6
counters
Routing errors
Count Type
0 Routing table overflow
2539 Net unreachable
0 Bad subnet number
0 Bad net number
0 Unhandled broadcast
58186 Unhandled multicast
0 Unhandled directed broadcast
4048 Attempted forward of LL broadcast
Packets discarded through filter 0
IP multicasts accepted: 60592
IP input packet overflows
Net Count
Eth/0 0
PPP/0 0
Eth/1 0
Delete [C]
Deletes an IP configuration parameter that you added with the add command. In general, you must specify the item you want to delete, just as you specified the item with the add command.
Syntax: delete
delete address 128.185.123.22
delete bootp-server 128.185.123.22
delete default subnet-gateway 128.185.0.0
delete hostname
Hostname?
delete route 10.0.0.0
Example:
delete udp-destination
UDP port number [-1]? 36
Destination IP address [0.0.0.0]? 20.1.2.2
IP> prompt, displays the DHCP Client> prompt.
IP config> prompt, displays the DHCP Server Config> prompt.
From the IP> prompt, displays the DHCP Server> prompt.
disable arp subnet routing
disable bootp-forwarding
disable directed-broadcast
disable ip-source-routing
disable per-packet-multipath
disable rfc925-routing
Example:
disable udp-forwarding
IP config>disable udp-forwarding
For which UDP port number [-1]? 36
dump routing tables
Type Dest net Mask Cost Age Next hop(s)
RIP 9.0.0.0 FF000000 5 0 128.185.227.15
RIP 10.0.0.0 FF000000 3 0 128.185.227.15
RIP 50.0.0.0 FF000000 2 0 128.185.227.15
Sbnt 128.185.0.0 FFFF0000 1 0 None
RIP 128.185.1.0 FFFFFF00 4 0 128.185.227.15
RIP 128.185.2.0 FFFFFF00 4 0 128.185.227.15
RIP 128.185.224.0 FFFFFF00 2 30 128.185.227.15
RIP 128.185.225.0 FFFFFF00 2 30 128.185.227.15
Dir* 128.185.227.0 FFFFFF00 1 0 Eth/0
RIP 128.185.245.0 FFFFFF00 6 0 128.185.227.15
RIP 143.116.0.0 FFFF0000 5 0 128.185.227.15
RIP 162.6.0.0 FFFF0000 9 30 128.185.227.16
Dir* 162.9.0.0 FFFF0000 1 0 PPP/0
RIP 192.26.102.0 FFFFFF00 6 0 128.185.227.15
RIP 192.77.229.0 FFFFFF00 5 0 128.185.227.15
RIP 192.96.3.0 FFFFFF00 2 0 128.185.227.15
RIP 192.190.7.0 FFFFFF00 4 0 128.185.227.15
RIP 192.233.33.0 FFFFFF00 3 10 128.185.227.15
RIP 204.6.103.0 FFFFFF00 4 30 128.185.227.15
RIP 204.69.207.0 FFFFFF00 4 0 128.185.227.15
Routing table size: 768 nets (49152 bytes), 67 nets known
An asterisk (*) after the route type indicates that the route has a static or directly connected backup. A percent sign (%) after the route type indicates that RIP updates are always accepted for this network/subnet.
A number in parentheses at the end of the column indicates the number of equal-cost routes to the destination. Display the first hops belonging to these routes with the IP route command.
Enable [C]
Activates IP features, capabilities, and information added to your IP configuration.
Syntax: enable
enable arp-subnet-routing
enable bootp-forwarding
Maximum number of forwarding hops [4]?
Minimum seconds before forwarding [0]?
directed-broadcast
Enables the forwarding of IP packets whose destination is a non-local (remote LAN) broadcast address. The source host originates the packet as a unicast and forwards it to a destination subnet where it is exploded into a broadcast.
These packets can be used to locate network servers. This command enables both the forwarding and exploding of directed broadcasts. The IP packet forwarder never forwards link level broadcasts/multicasts unless they correspond to Class D IP addresses. The default setting is enabled.Note:
Forwarding and exploding cannot be implemented separately. Also, the router does not forward subnet-wide IP broadcasts.
enable directed-broadcast
enable ip-source-routing
enable per-packet-multipath
enable rfc925-routing
Example:
enable udp-forwarding
For which UDP port number [-1]? 36
exit
IP config> prompt, displays the IP Filters Config> prompt.
From the IP> prompt, displays the IP Filters> prompt.
See Using IP Filters for information on IP filtering.
Hostnames [M]
Displays the hostnames and IP addresses that you added using the add hostname command.
Example:
hostnames Interface Addresses [M]
Displays the router's IP interface addresses together with their corresponding hardware interface and IP address mask.
IP does not use hardware interfaces that do not have configured IP interface addresses; they are listed as Not an IN net. There is one exception. Serial interfaces do not need an assigned IP interface addresses to forward IP traffic. Such serial lines are called unnumbered. They show up as having address 0.0.0.0.
Syntax: interface
interface
Interface IP Address(es) Mask(s)
Eth/0 128.185.227.22 255.255.255.0
PPP/0 162.9.0.22 255.255.0.0
PPP/1 0.0.0.0 0.0.0.0
|
Interface
| Hardware type of the interface. |
|
IP addresses
| IP address of the interface. |
|
Mask
| Subnet mask of the interface. |
List [C]
Displays various pieces of the IP configuration.
Syntax: list
list all
list addresses
list bootp
list hostname
list protocols
list routes
list sizes
list tags
UDP broadcast forwarding is enabled for the following UDP port numbers:
36
UDP broadcast forwarding destinations:
Port Destination
36 20.1.2.2
IP config> prompt, displays the NAT Config> prompt.
From the IP> prompt, displays the NAT> prompt.
See Using IP Network Address Translation (NAT).
Example: nat
Network Address Translation Configuration
NAT Config>
ping 128.185.142.11
PING 128.185.142.11: 56 data bytes
64 bytes from 128.185.142.11: icmp_seq=0. time=0. ms
64 bytes from 128.185.142.11: icmp_seq=1. time=0. ms
64 bytes from 128.185.142.11: icmp_seq=2. time=0. ms
64 bytes from 128.185.142.11: icmp_seq=3. time=0. ms
64 bytes from 128.185.142.11: icmp_seq=4. time=0. ms
64 bytes from 128.185.142.11: icmp_seq=5. time=0. ms
----128.185.142.11 PING Statistics----
6 packets transmitted, 6 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
IP config> prompt, displays the RIP Config> prompt.
From the IP> prompt, displays the RIP> prompt.
See Using RIPv1, RIPv2, and Triggered RIP.
Example: rip
RIP config>
route 18.10.0.5
Destination: 18.10.0.5
Mask: 255.0.0.0
Route type: SPE1
Distance: 3
Age: 1
Next hop(s): 128.185.123.18 (PPP/0)
route 128.185.230.0
Destination: 128.185.230.0
Mask: 55.255.255.0
Route type: SPF
Distance: 1
Age: 1
Next hop(s): 128.185.230.0 (TKR/0)
route 128.185.232.0
Destination: 128.185.232.0
Mask: 255.255.255.0
Route type: RIP
Distance: 3
Age: 0
Next hop(s): 128.185.146.4 (Eth/0)
set cache-size
number of cache entries [64]?
set default network-gateway
Default gateway [0.0.0.0]? 192.9.1.10
gateway's cost [1]? 10
set default subnet-gateway
For which subnetted network [0.0.0.0]? 128.0.0.0
Default gateway [0.0.0.0]? 128.185.123.22
gateway's cost [1]? 6
set internal-ip-address
Internal IP address [0.0.0.0]? 142.82.10.1
set reassembly-size
Reassembly buffer size [12000]?
The router ID must match one of the configured IP interface addresses of the router. If not, it is ignored. When ignored, or just not configured, the default IP address of the router is set to the first IP address in the router's configuration.Note: Setting a router ID may cause the router's OSPF router ID to change. If this happens, link state advertisements originated by the router before the router ID change persist until they age out, possibly as long as 30 minutes. This can cause an increase in link state database size.
Example:set router-id
Router-ID [0.0.0.0]? 128.185.120.209
set routing table-size
number of nets [768]? 1000
set tag
Interface address [0.0.0.0]?
Interface tag (AS number) [0]?
sizes
Routing table size: 768
Table entries used: 69
Reassembly buffer size: 12000
Largest reassembled pkt: 0
Size of routing cache: 64
# cache entries in use: 0
Static Routes [M]
Displays the list of configured static routes, configured default gateways, and default subnet gateways.
Each static route's destination is specified by an address-mask pair. Default gateways appear as static routes to destination 0.0.0.0 with mask 0.0.0.0. Default subnet gateways also appear as static routes to the entire IP subnetted network.
The example below shows a configured default gateway, a configured default subnet gateway (assuming 128.185.0.0 is subnetted), and a static route to network 192.9.10.0.
Syntax: static
static
Net Mask Cost Next hop
0.0.0.0 0.0.0.0 1 128.185.123.18
128.185.0.0 255.255.0.0 1 128.185.123.22
192.9.10.0 255.255.255.0 10 128.185.123.22
|
Net
| Network address of the route. |
|
Mask
| Subnet mask of the IP address. |
|
Cost
| Cost of using this route. |
|
Next Hop
| Next router a packet would pass through using this route. |
Traceroute [M]
Displays the entire path to a destination, hop by hop. For each successive hop, traceroute sends out three probes, and displays the IP address of the responder, together with the round trip time associated with the response. If a particular probe receives no response, the software displays an asterisk. Each line in the display relates to the set of three probes, with the left most number indicating the distance from the router sending the command (in router hops).
A traceroute is complete whenever the destination is reached, an ICMP Destination Unreachable is received, or the path length reaches 32 router hops.
When a probe receives an unexpected result, the software can display several indications:
Syntax: traceroute interface-address
Example:traceroute 128.185.142.239
TRACEROUTE 128.185.124.110: 56 data bytes
1 128.185.142.7 16 ms 0 ms 0 ms
2 128.185.123.22 16 ms 0 ms 16 ms
3 * * *
4 * * *
5 128.185.124.110 16 ms ! 0 ms ! 0 ms !
UDP-Forward [M]
Displays the UDP broadcast ports and addresses that you added using add udp-destination.
Syntax: udp-forward
udp-forward
UDP Port IP Address
35 20.2.1.1
20 22.2.1.2