Monitoring IP
This section shows how to set a statistics baseline and use the show commands to view your IP configuration and monitor IP interfaces and statistics.
Establishing a Baseline
IP statistics are stored in system counters. The only way to reset the system counters is to reboot the system. You can, however, establish a baseline for IP statistics by setting a group of reference counters to zero.
baseline ip
- Sets a statistics baseline for IP statistics.
- The system implements the baseline by reading and storing the statistics at the time the baseline is set and then subtracting this baseline whenever baseline-relative statistics are retrieved.
- Use the delta keyword with IP show commands to specify that baselined statistics are to be shown.
- Example
host1#baseline ipbaseline ip tcp
- Sets a statistics baseline for TCP statistics.
- The system implements the baseline by reading and storing the statistics at the time the baseline is set and then subtracting this baseline whenever baseline-relative statistics are retrieved.
- Use the delta keyword with IP show commands to specify that baselined statistics are to be shown.
- Example
host1#baseline ip tcpbaseline ip udp
- Sets a statistics baseline for UDP statistics.
- The system implements the baseline by reading and storing the statistics at the time the baseline is set and then subtracting this baseline whenever baseline-relative statistics are retrieved.
- Use the delta keyword with IP show commands to specify that baselined statistics are to be shown.
- Example
host1#baseline ip udpIP show Commands
You can monitor the following aspects of IP using show ip commands:
To set a statistics baseline for IP interfaces, use the baseline ip tcp and baseline ip udp commands. Use the delta keyword with IP show commands to specify that baselined statistics are to be shown.
You can use the output filtering feature of the show command to include or exclude lines of output based on a text string that you specify. See ERX System Basics Configuration Guide, Chapter 2, Command Line Interface, for details.
show access-list
host1#show access-listIP Access List 1:permit ip 172.31.192.217 0.0.0.0 0.0.0.0 255.255.255.255permit ip 12.40.0.0 0.0.0.3 0.0.0.0 255.255.255.255deny ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255IP Access List 2:permit ip 172.19.0.0 0.0.255.255 0.0.0.0 255.255.255.255deny ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255IP Access List 10:permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255IP Access List 11:deny ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255show arp
- Address - IP address of the entry
- Age - time to live for this entry in seconds
- Hardware Addr - physical (MAC) address of the entry
- Interface - interface-specifier of the entry (for example, FastEthernet6/0 is an Ethernet interface on slot 6, port 0)
- * - indicates that an ARP entry was added because of an arp-validate command, rather than just an arp command.
host1#show arpAddress Age Hardware Addr Interface172.31.192.217 21340 00d0.58f2.67e0 loopback1192.168.1.0 20730 00e0.09ed.5312 fastEthernet6/0 *192.168.1.1 12550 00e0.b06a.4c75 fastEthernet6/0 *192.168.1.217 21600 0090.1a00.0230 fastEthernet6/0 *192.168.1.255 21600 00f0.c2d1.1200 fastEthernet6/0 *12.40.0.2 24320 0020.6393.4233 atm5/0.1172.18.2.1 21600 0020.bed2.8738 atm5/1.1172.18.2.2 21600 0020.5b91.60f2 atm5/1.1172.31.192.206 21600 00d0.43b5.1032 atm5/1.1show ip
host1#show ipIP Router Id: 192.168.1.155Router Name: defaultDefault TTL: 60Reassemble Timeout: 30show ip as-path-access-list
host1#show ip as-path-access-listAS Path Access List 1:permit .*AS Path Access List 2:deny .*AS Path Access List 3:permit _109_deny .*AS Path Access List 4:permit _109$deny .*AS Path Access List 10:deny _109$permit ^108_deny .*show ip address
- Network Protocols - network protocols configured on this interface
- Internet address - IP address and subnet mask of this interface
- Broadcast address - broadcast address of this interface
- Operational MTU - MTU of this interface
- Administrative MTU - value of the MTU if it has been administratively overridden using the configuration
- Operational speed - speed of the interface
- Administrative speed - value of the speed if it has been administratively overridden using the configuration
- Discontinuity Time - value of the SysUpTime when the interface statistics last started being valid
- Router advertisement - status of router discovery advertisement: enabled, disabled
- Proxy Arp - status of the feature: enabled, disabled
- Administrative debounce-time - configured time in milliseconds that an interface event has to be in the same state before being reported
- Operational debounce-time - time in milliseconds that an interface event has to be in the same state before being reported
- Access routing - access route addition: enabled, disabled
- Multipath mode - equal cost multipath mode method: hashed, round robin
- In Received Packets, Bytes - total number of packets and bytes received on this interface
- Unicast Packets, Bytes - unicast packets and bytes received on the IP interface; link-local received multicast packets (non-multicast-routed frames) are counted as unicast packets
- Multicast Packets, Bytes - multicast packets and bytes received on the IP interface which are then multicast-routed are counted as multicast packets
- In Policed Packets, Bytes - packets and bytes that were received and dropped because of rate limits
- In Error Packets - number of packets received with errors
- In Invalid Source Address Packets - packets received with invalid source address (for example, spoofed packets)
- In Discarded Packets - packets received that were discarded for reasons other than rate limits, errors, and invalid source address
- Out Forwarded Packets, Bytes - total number of packets and bytes that were sent from this interface
- Unicast Packets, Bytes - unicast packets and bytes that were sent from this interface
- Multicast Routed Packets, Bytes - multicast packets and bytes that were sent from this interface
- Out Scheduler Drops Committed Packets, Bytes - outgoing packets and bytes dropped by the scheduler even though they had a committed traffic contract
- Out Scheduler Drops Conformed Packets, Bytes - outgoing packets and bytes dropped by the scheduler even though they conformed to the traffic contract
- Out Scheduler Drops Exceeded Packets, Bytes - outgoing packets and bytes that were dropped by the scheduler because they exceeded the contract
- Out Policed Packets, Bytes - outgoing packets and bytes dropped because of rate limiters
- Out Discarded Packets - outgoing packets that were discarded for reasons other than those dropped by the scheduler and those dropped because of rate limits
host1#show ip address 10.6.136.73fastEthernet0/0 is up, line protocol is upNetwork Protocols: IPInternet address is 10.6.136.73/255.255.128.0Broadcast address is 255.255.255.255Operational MTU = 0 Administrative MTU = 0Operational speed = 1 Administrative speed = 0Discontinuity Time = 5766Router advertisement = disabledProxy Arp = disabledAdministrative debounce-time = 10 mSecsOperational debounce-time = disabledAccess routing = disabledMultipath mode = hashedIn Received Packets 2849, Bytes 759428Unicast Packets 2849, Bytes 759428Multicast Packets 0, Bytes 0In Policed Packets 0, Bytes 0In Error Packets 0In Invalid Source Address Packets 0In Discarded Packets 0Out Forwarded Packets 1866, Bytes 84650Unicast Packets 1866, Bytes 84650Multicast Routed Packets 0, Bytes 0Out Scheduler Drops Committed Packets 0, Bytes 0Out Scheduler Drops Conformed Packets 0, Bytes 0Out Scheduler Drops Exceeded Packets 0, Bytes 0Out Policed Packets 0, Bytes 0Out Discarded Packets 0show ip community-list
host1#show ip community-listCommunity List 1:permit 752877569 (11488:1)permit 752877570 (11488:2)permit 752877571 (11488:3)permit 752877572 (11488:4)Community List 2:permit 4294967043 (local-as)show ip demux interface
- Prefix/Length - source or destination addresses that the subscriber interface demultiplexes
- SA/DA - demultiplexing method for subscriber interface
- Subscriber-Intf - name of shared interface on which subscriber interface is configured
- VR/VRF - name of VR or VRF on which the subscriber interface is configured
- Description - text description for the IP interface on which subscriber interface is configured (added with the ip description command)
host1#show ip demux interface fastEthernet 2/0Prefix/Length SA/DA Subsriber-Intf VR/VRF Description132.2.2.2/32 SA ip subsc1 3 subsc1@test132.2.2.3/32 SA ip subsc2 3 subsc2@test132.2.2.4/32 SA ip subsc3 3 subsc3@test132.2.2.5/32 SA ip subsc4 3 subsc4@testshow ip dynamic-interface-prefix
host1#show ip dynamic-interface-prefixDynamic Interface Prefix: dynshow ip forwarding-table slot
- Use to display details on the routing table for a specific line module, including the memory used by each virtual router configured on the line module and free memory available on the module.
- The Load Errors field records any failed routing table distribution attempt as an error. Attempts can fail for many reasons during normal operation; a failed attempt does not necessarily indicate a problem. It is normal to see many Load Errors per day.
- If the Status field does not indicate Valid, then the routing table distribution has failed constantly for that VR. It is normal and appropriate behavior for the Status field to indicate Valid while the Load Error field increases daily.
- Field descriptions
- Free Memory - amount of routing table memory free on the line module, in kilobytes
- Virtual Router - name of the virtual router(s) configured on the line module
- Memory (KB) - amount of routing table memory consumed by the virtual router, in kilobytes
- Load Errors - count of errors made while loading the routing table on the line module
- Status - indicates whether the routing table for the virtual router is valid
host1#show ip forwarding-table slot 9Free Memory = 3,166KBVirtual Router Memory Load Errors Status(KB)---------------- --------- ------------- --------vr1 4128 0 Validvr2 3136 0 Validvr3 2256 0 Validvr4 1512 0 Validdefault 1024 0 Valid-----------------------------------------------------------show ip interface
- Use to display the current state of all IP interfaces or the IP interfaces you specify.
- The default is all interface types and all interfaces.
- Field descriptions
- interface - interface type and interface specifier
- interface status - status of the interface
- line protocol - status of the line protocol
- Description - text description or alias if configured for the interface
- Link up/down trap - status of SNMP link up/down traps on the interface
- Internet address - IP address of the interface
- IP Statistics Rcvd:
- local destination - frames with this router as their destinations
- hdr errors - number of packets containing header errors
- addr errors - number of packets containing addressing errors
- unkn proto - number of packets received containing unknown protocols
- discards - number of discarded packets
- reasm ok - number of reassembled packets
- reasm req - number of requests for reassembly
- reasm fails - number of reassembly failures
- frag ok - number of packets fragmented successfully
- frag req - number of frames requiring fragmentation
- frag fails - number of packets unsuccessfully fragmented
- generated - number of packets generated
- no routes - number of packets that could not be routed
- discards - number of packets that could not be routed that were discarded
- errors - error packets received
- dst unreach - packets received with destination unreachable
- time exceed - packets received with time-to-live exceeded
- param probs - packets received with parameter errors
- src quench - source quench packets received
- redirect - receive packet redirects
- echo req - echo request (PING) packets
- echo rpy - echo replies received
- timestamp req - requests for a timestamp
- timestamp rpy - replies of timestamp requests
- addr mask req - mask requests sent
- addr mask rpy - mask replies sent
- errors - error packets sent
- dst unreach - packets sent with destination unreachable
- time excd - packets sent with time-to-live exceeded
- param probs - packets sent with parameter errors
- src quench - source quench packets sent
- redirect - send packet redirects
- timestamp req - requests for a timestamp
- timestamp rpy - replies to timestamp requests
- addr mask req - address mask requests
- addr mask rpy - address mask replies
- Unicast Packets, Bytes - unicast packets and bytes received on the IP interface; link-local received multicast packets (non-multicast-routed frames) are counted as unicast packets
- Multicast Packets, Bytes - multicast packets and bytes received on the IP interface which are then multicast-routed are counted as multicast packets
- In Forwarded Packets, Bytes - packets and bytes forwarded into an output IP interface
- In Total Dropped Packets, Bytes - total number of packets and bytes that were dropped on the interface; sum of all the drop reasons indented below this field
- In Policed Packets - packets discarded on a receive IP interface due to token bucket limiting
- In Invalid Source Address Packets - packets discarded on a receive IP interface due to invalid IP source address (sa-validate enabled)
- In Error Packets - packets discarded on a receive IP interface due to IP header errors
- In Discarded Packets - packets discarded on the ingress interface due to a configuration problem rather than a problem with the packet itself
- In Fabric Dropped Packets - packets discarded on a receive IP interface due to internal fabric congestion
- Unicast Packets, Bytes - unicast packets and bytes forwarded out the IP interface
- Multicast Routed Packets, Bytes - multicast packets and bytes forwarded out the IP interface
- Out Requested Packets, Bytes - packets and bytes requested to be forwarded out an IP interface
- Out Total Dropped Packets, Bytes - total number of packets and bytes that were discarded on the egress interface; sum of all the drop reasons indented below this field
- Out Scheduler Drops Committed Packets, Bytes - packets and bytes dropped by the scheduler even though they had a committed traffic contract
- Out Scheduler Drops Conformed Packets, Bytes - packets and bytes dropped by the scheduler even though they conformed to the traffic contract
- Out Scheduler Drops Exceeded Packets, Bytes - packets and bytes dropped by the scheduler because they exceeded the contract
- Out Policed Packets - packets discarded on the egress interface due to rate limiting
- Out Discarded Packets - packets discarded on the egress interface due to a configuration problem rather than a problem with the packet itself
- Out Fabric Dropped Packets - packets dropped due to internal fabric congestion
host1#show ip interface detail FastEthernet 0/0FastEthernet0/0 is up, line protocol is upDescription: boston00 fast ethernet interfaceLink up/down trap is disabledInternet address is 1.1.1.2/255.255.255.0IP statistics:Rcvd: 0 local destination0 hdr errors, 0 addr errors0 unkn proto, 0 discardsFrags: 0 reasm ok, 0 reasm req, 0 reasm fails0 frag ok, 0 frag creates, 0 frag failsSent: 31656835 generated, 0 no routes, 0 discardsICMP statistics:Rcvd: 0 errors, 0 dst unreach, 0 time exceed0 param probs, 0 src quench, 0 redirect,0 echo req, 31656816 echo rpy0 timestmp req, 0 timestmp rpy0 addr mask req, 0 addr mask rpySent: 0 errors, 0 dst unreach, 0 time excd0 param probs, 0 src qnch, 0 redirect0 timestamp req, 0 timestamp rpy0 addr mask req, 0 addr mask rpyIn Received Packets 246220, Bytes 344624800Unicast Packets 246162, Bytes 344621410Multicast Packets 58, Bytes 3390In Forwarded Packets 245464, Bytes 343566400In Total Dropped Packets 756, Bytes 1058400In Policed Packets 756In Invalid Source Address Packets 0In Error Packets 0In Discarded Packets 0In Fabric Dropped Packets 0Out Forwarded Packets 117, Bytes 87297Unicast Packets 117, Bytes 87297Multicast Routed Packets 0, Bytes 0Out Requested Packets 117, Bytes 87297Out Total Dropped Packets 0, Bytes 0Out Scheduler Drops Committed Packets 0, Bytes 0Out Scheduler Drops Conformed Packets 0, Bytes 0Out Scheduler Drops Exceeded Packets 0, Bytes 0Out Policed Packets 0Out Discarded Packets 0Out Fabric Dropped Packets 0If you are losing packets because of fabric congestion, you can use the In Fabric Dropped Packets and Out Fabric Dropped Packets statistics to help determine the location of the bottleneck. Both statistics count the same thing—the same packets dropped because of fabric congestion—but in different directions.
At any given time, the total number of packets dropped in the fabric for all interfaces in the chassis is equal to the sum of all In Fabric Dropped Packets for all interfaces in the chassis, which equals the sum of all Out Fabric Dropped Packets for all interfaces in the chassis.
Packets not dropped for another listed reason are considered to have been dropped in the fabric. The system calculates In Fabric Dropped Packets by subtracting the total number of inbound packets dropped for all other reasons from the In Total Dropped Packets number. The system calculates Out Fabric Dropped Packets by subtracting the total number of outbound packets dropped for all other reasons from the Out Total Dropped Packets number.
The system calculates In Total Dropped Packets by subtracting In Forwarded Packets from In Received Packets. The system calculates Out Total Dropped Packets by subtracting Out Forwarded Packets from Out Received Packets. These statistics are reported as traffic is moving through the system. It is possible to get false statistics based on packets being forwarded and/or received after polling and based on which of the statistics is reported first. For example, In Forwarded Packets could be reported as greater than In Received Packets. Rather than displaying In Total Dropped Packets as a negative value, the command displays it as the sum of all drop reasons other than fabric drops; fabric drops are reported as 0, but might actually be nonzero. If you halt traffic, the In Total Dropped Packets and Out Total Dropped Packets values are always correct.
show ip interface shares
- Use to display information about shared IP interfaces.
- If you specify an IP interface specifier, the command displays information only for that interface and any shared IP interfaces associated with it.
- Field descriptions
- Interface - interface specifier or name of the interface
- IP-Address - IP address associated with the interface
- Status - operational state of the interface
- Protocol - state of the protocol running on the interface
- Virtual Router - virtual router in which the interface is configured
host1#show ip interface shares briefInterface IP-Address Status Protocol Virtual Routernull0 255.255.255.255/32 up upfastEthernet0/0 10.13.5.17/24 up uploopback100 202.1.1.1/24 up upatm4/0.1 10.1.1.1/24 up upip si0 Unnumbered up up vr-aip si1 Unnumbered up up vr-b:vrf-1host1#show ip interface shares brief atm 4/0.1Interface IP-Address Status Protocol Virtual Routeratm4/0.1 10.1.1.1/24 up upip si0 Unnumbered up up vr-aip si1 Unnumbered up up vr-b:vrf-1
- Example 3 - for a description of the following fields, see the show ip address command
host1#show ip interface shares atm 4/0.1atm4/0.1 is up, line protocol is upNetwork Protocols: IPUnnumbered Interface on loopback100( IP address 202.1.1.1 )Operational MTU = 1500 Administrative MTU = 0Operational speed = 155520000 Administrative speed = 0Discontinuity Time = 0Router advertisement = disabledAdministrative debounce-time = disabledOperational debounce-time = disabledAccess routing = disabledMultipath mode = hashedIn Received Packets 120, Bytes 12000Unicast Packets 60, Bytes 6000Multicast Packets 60, Bytes 6000In Policed Packets 0, Bytes 0In Error Packets 0In Invalid Source Address Packets 0Out Forwarded Packets 101, Bytes 5252Unicast Packets 101, Bytes 5252Multicast Routed Packets 0, Bytes 0Out Scheduler Drops Committed Packets 0, Bytes 0Out Scheduler Drops Conformed Packets 0, Bytes 0Out Scheduler Drops Exceeded Packets 0, Bytes 0Out Policed Packets 0, Bytes 0ip si0 is up, line protocol is upNetwork Protocols: IPVirtual Router vr-aLayer 2 interface atm4/0.1Unnumbered Interface on loopback100( IP address 202.1.1.1 )Operational MTU = 1500 Administrative MTU = 0Operational speed = 155520000 Administrative speed = 0Discontinuity Time = 0Router advertisement = disabledAdministrative debounce-time = disabledOperational debounce-time = disabledAccess routing = disabledMultipath mode = hashedIn Received Packets 0, Bytes 0Unicast Packets 0, Bytes 0Multicast Packets 0, Bytes 0In Policed Packets 0, Bytes 0In Error Packets 0In Invalid Source Address Packets 0Out Forwarded Packets 101, Bytes 5252Unicast Packets 101, Bytes 5252Multicast Routed Packets 0, Bytes 0Out Scheduler Drops Committed Packets 0, Bytes 0Out Scheduler Drops Conformed Packets 0, Bytes 0Out Scheduler Drops Exceeded Packets 0, Bytes 0Out Policed Packets 0, Bytes 0ip si1 is up, line protocol is upNetwork Protocols: IPVirtual Router vr-b:vrf-1Layer 2 interface atm4/0.1...Out Policed Packets 0, Bytes 0
- Example - You can also display statistics for shared IP interfaces with the show ip interface command:
host1#show ip interface ip si0ip0 is up, line protocol is upNetwork Protocols: IPLayer 2 interface atm4/0.1Unnumbered Interface on loopback100( IP address 202.1.1.1 )Operational MTU = 1500 Administrative MTU = 0Operational speed = 155520000 Administrative speed = 0Discontinuity Time = 0Router advertisement = disabledAdministrative debounce-time = disabledOperational debounce-time = disabledAccess routing = disabledMultipath mode = hashedIn Received Packets 0, Bytes 0Unicast Packets 0, Bytes 0Multicast Packets 0, Bytes 0In Policed Packets 0, Bytes 0In Error Packets 0In Invalid Source Address Packets 0Out Forwarded Packets 101, Bytes 5252Unicast Packets 101, Bytes 5252Multicast Routed Packets 0, Bytes 0Out Scheduler Drops Committed Packets 0, Bytes 0Out Scheduler Drops Conformed Packets 0, Bytes 0Out Scheduler Drops Exceeded Packets 0, Bytes 0Out Policed Packets 0, Bytes 0show ip profile
- IP profile - profile name
- IP address - IP address and subnet mask of the interface or none if the interface is unnumbered
- Unnumbered interface - specifier for the unnumbered interface or none if the interface is numbered
- Router - router name
- Directed Broadcast - enabled or disabled
- ICMP Redirects - enabled or disabled
- Access Route Addition - enabled or disabled
- Source-Address Validation - enabled or disabled
- Ignore DF Bit - enabled or disabled
- Administrative MTU - MTU size
host1#show ip profile fooIP profile : fooIP address : noneUnnumbered interface : noneRouter :Directed Broadcast : EnabledICMP Redirects : DisabledAccess Route Addition : EnabledSource-Address Validation : EnabledIgnore DF Bit : DisabledAdministrative MTU : 0show ip protocols
- Redistributing - protocol to which BGP is redistributing routes
- Default local preference - local preference value
- IGP synchronization - status of IGP synchronization: enabled, disabled
- Always compare MED - status of multiexit discrimination: enabled, disabled
- Router flap damping - status of route dampening: enabled, disabled
- Administrative Distance - external, internal, and local administrative distances
- Neighbor Address - IP address of the BGP neighbor
- Neighbor Incoming/Outgoing update distribute list - number of the access list for outgoing routes
- Neighbor Incoming/Outgoing update prefix list - number of the prefix list for incoming or outgoing routes
- Neighbor Incoming/Outgoing update prefix tree - number of the prefix tree for incoming or outgoing routes
- Neighbor Incoming/Outgoing update filter list - number of filter list for incoming routes
- Routing for Networks - network for which BGP is currently injecting routes
- System Id - 6-byte value of the system
- IS-Type - routing type of the router: Level 1, Level 2
- Distance - administrative distance for IS-IS learned routes
- Address Summarization - aggregate addresses defined in the routing table for multiple groups of addresses at a given level or routes learned from other routing protocols
- Routing for Networks - network for which IS-IS is currently injecting routes
- Router ID - OSPF process ID for the router
- Distance - administrative distance for OSPF learned routes
- Redistributing - protocol to which OSPF is redistributing routes
- Address Summarization - aggregate addresses defined in the routing table for multiple groups of addresses at a given level or routes learned form other routing protocols
- Routing for Networks - network for which OSPF is currently injecting routes
- Router Administrative State - RIP protocol state. Enable means that it is allowed to send and receive updates. Disable means that it may be configured but it is not allowed to run yet.
- System Version - RIP versions allowed for sending and receiving RIP updates. The system version is currently set to RIP1, which sends RIP version 1 but will receive version 1 or 2. If the version is set to RIP2, the system will send and receive version 2 only. The default is configured for RIP1.
- Update interval - current setting of the update timer (in seconds)
- Invalid after - current setting of the invalid timer (in seconds)
- hold down time - current setting of the hold down timer (in seconds)
- flushed interval - current setting of the flush timer (in seconds)
- Filter applied to outgoing route update - access list applied to outgoing RIP route updates
- Filter applied to incoming route update - access list applied to incoming RIP route updates
- Global route map - route map that specifies all RIP interfaces on the system
- Distance - value added to RIP routes added to the IP routing table. The default is 120.
- Interface - interface type on which RIP protocol is running
- Redistributing - protocol to which RIP is redistributing routes
- Routing for Networks - network for which RIP is currently injecting routes
host1#show ip protocolsRouting Protocol is "bgp 100"Redistributing: ospfDefault local preference is 100IGP synchronization is enabledAlways compare MED is disabledRouter flap damping is disabledAdministrative Distance: external 20 internal 200 local 200Neighbor(s):Address 1.1.1.1Outgoing update distribute list is 2Outgoing update prefix list is efgIncoming update prefix tree is abcIncoming update filter list is 1Routing for Networks:192.168.1.0/24Routing Protocol is "isis isisOne"System Id: 0000.0000.0011.00 IS-Type: level-1-2Distance: 115Address Summarization:NoneRouting for Networks:fastEthernet0/0Routing Protocol is "ospf 1" with Router ID 192.168.1.151Distance is 110Redistributing: isisAddress Summarization:NoneRouting for Networks:192.168.1.0/255.255.255.0 area 0.0.0.0Routing Protocol is "rip"Router Administrative State: enableSystem version RIP1: send = 1, receive = 1 or 2Update interval: 30 secondsInvalid after: 180 secondshold down time: 120 secondsflushed interval: 300 secondsFilter applied to outgoing route update is not setFilter applied to incoming route update is not setNo global route mapDistance is 120Interface Tx Rx AuthfastEthernet0/0 1 1,2 noneRedistributing: ospfRouting for Networks:192.168.1.0/255.255.255.0show ip redistribute
- To - protocol that routes are distributed into
- From - protocol that routes are distributed from
- status - redistribution status
- route map number - number of the route map
host1#show ip redTo ospf, From static is enabled with route map 4To ospf, From connected is enabled with route map 3show ip route
- Use to display the current state of the routing table, including routes not used for forwarding.
- You can display all routes, a specific route, best route to a resolved domain name, all routes beginning with a specified address, routes for a particular protocol (BGP, IS-IS, OSPF, or RIP), locally connected routes, internal control routes, static routes, or summary counters for the routing table.
- Field descriptions
- Type - protocol type
- Prefix - IP address prefix
- Length - prefix length
- Next Hop - IP address of the next hop to the route, whether it is a local interface or another router
- Dist - administrative distance for the route; see Table 2-4
- Met - number of hops
- Intf - interface type and interface specifier
host1#show ip routeProtocol/Route type codes:I1- ISIS level 1, I2- ISIS level2,I- route type intra, IA- route type inter, E- route type external,i- metric type internal, e- metric type external,O- OSPF, E1- external type 1, E2- external type2,N1- NSSA external type1, N2- NSSA external type2Prefix/Length Type Next Hop Dist/Met Intf------------- ---- -------- -------- ------172.16.2.0/24 Bgp 192.168.1.102 20/1 fastEthernet0/010.10.0.112/32 Static 192.168.1.1 1/1 fastEthernet0/010.1.1.0/24 Connect 10.1.1.1 0/1 atm3/0.100host1#show ip route staticProtocol/Route type codes:I1- ISIS level 1, I2- ISIS level2,I- route type intra, IA- route type inter, E- route type external,i- metric type internal, e- metric type external,O- OSPF, E1- external type 1, E2- external type2,N1- NSSA external type1, N2- NSSA external type2Prefix/Length Type Next Hop Dist/Met Intf------------- ---- -------- -------- --------------10.10.0.112/32 Static 192.168.1.1 1/1 fastEthernet0/0host1#show ip route summary5 total routes, 720 bytes in route entries0 isis routes0 rip routes1 static routes1 connected routes0 bgp routes0 ospf routes3 other internal routes0 access routes0 internally created access host routesLast route added/deleted: 0.0.0.0/0 by StaticLowAt THU MAR 09 2000 05:22:49 UTChost1#show ip route allProtocol/Route type codes:I1- ISIS level 1, I2- ISIS level2,I- route type intra, IA- route type inter, E- route type external,i- metric type internal, e- metric type external,O- OSPF, E1- external type 1, E2- external type2,N1- NSSA external type1, N2- NSSA external type2Prefix/Length Type Next Hop Dist/Met Intf------------- ---- -------- -------- ------0.0.0.0/0 Static 192.168.1.1 1/1 fastEthernet0/0 1.1.1.1/32 I2-E-i 192.168.1.105 115/10 fastEthernet0/0 6.6.6.0/24 Static 192.168.1.1 1/1 fastEthernet0/0 6.33.5.0/24 Static 0.0.0.0 1/1 loopback2 8.8.8.0/24 I2-E-i 192.168.1.105 115/10 fastEthernet0/0 9.9.9.9/32 I2-E-i 192.168.1.105 115/10 fastEthernet0/0 10.0.0.0/8 I2-E-i 192.168.1.105 115/10 fastEthernet0/0 10.10.0.156/32 Static 192.168.1.1 1/1 fastEthernet0/0 11.1.1.1/32 I2-E-i 192.168.1.105 115/10 fastEthernet0/0 11.11.11.12/32 I2-I-i 192.168.1.105 115/10 fastEthernet0/0 22.2.0.0/16 I2-I-i 92.168.1.105 115/10 fastEthernet0/0 34.0.0.0/8 I2-E-i 192.168.1.105 115/10 fastEthernet0/0 172.20.32.0/24 Static 192.168.1.1 1/1 fastEthernet0/0 174.20.32.0/24 I2-I-i 192.168.1.105 115/20 fastEthernet0/0 176.20.32.0/24 Connect 176.20.32.1 0/1 loopback1 192.168.1.0/24 Connect 192.168.1.214 0/1 fastEthernet0/0 201.1.1.0/24 I2-E-i 192.168.1.105 115/10 fastEthernet0/0 201.2.1.0/24 I2-E-i 192.168.1.105 115/10 fastEthernet0/0 201.3.1.0/24 I2-E-i 192.168.1.105 115/10 fastEthernet0/0 202.1.1.1/32 I2-E-i 192.168.1.105 115/10 fastEthernet0/0 207.1.1.0/24 I2-E-i 192.168.1.105 115/10 fastEthernet0/0show ip route slot
- slotNumber - number of slot containing the line module for which the information is displayed
- ipAddress - IP address to look up in the routing table
- A next hop is displayed only for protocols where ARP is used to resolve the addresses, such as for FastEthernet, GigabitEthernet, bridged Ethernet over ATM, and so on.
- Field descriptions
- IP address - address reachable via the interface
- Interface - interface type and specifier associated with the IP address; displays "Local Interface" if a special interface index is present in the routing table for special IP addresses, such as broadcast addresses
- Next Hop - IP address of the next hop router to reach the IP address; displays "---" if no next hop is associated with the IP address
host1#show ip route slot 6 10.10.0.231IP address Interface Next Hop------------ ---------------- ------------10.10.0.231 fastEthernet 6/0 10.10.0.231host1#show ip route slot 9 90.248.1.2IP address Interface Next Hop------------ ---------------- ------------90.248.1.2 serial9/23:2 ---host1#show ip route slot 9 90.249.255.255IP address Interface Next Hop------------ ---------------- ------------90.249.255.255 Local Interface ---show ip static
- Use to display the status of static routes in the routing table.
- You can specify an IP mask that filters specific routes.
- Field descriptions
- Prefix - IP address prefix
- Length - prefix length
- Next Hop - IP address of the next hop
- Met - number of hops
- Dist - administrative distance of the route; see Table 2-4
- Tag - tag value of the route
- Intf - interface type and interface specifier
host1#show ip route staticPrefix/Length: Next Hop: Met: Dist: Tag: Intf:10.2.0.0/24 192.168.1.1 1 1 0 ethernet6/010.2.1.0/24 192.168.1.1 1 1 1 ethernet6/0172.31.1.48/32 172.18.2.2 1 1 0 atm5/1.1show ip tcp statistics
- attempted - number of outgoing TCP connections attempted
- accepted - number of incoming TCP connections accepted
- established - number of TCP connections established
- total pkts - total number of packets received
- in-sequence pkts - number of packets received in sequence
- bytes - number of bytes received
- chksum err pkts - number of checksum error packets received
- authentication err pkts - number of authentication error packets received
- bad offset pkts - number of bad offset packets received
- short pkts - number of short packets received
- duplicate pkts - number of duplicate packets received
- out of order pkts - number of packets received out of order
- total pkts - total number of packets sent
- data pkts - number of data packets sent
- bytes - number of bytes sent
- retransmitted pkts - number of packets retransmitted
- retransmitted bytes - number of bytes retransmitted
- Local addr - local address of the TCP connection
- Local port - local port number of the TCP connection
- Remote addr - remote address of the TCP connection
- Remote port - remote port number of the TCP connection
- State - current state of the TCP connection
- Authentication - authentication status of the TCP connection
- total pkts - total number of packets received on the TCP connection
- in-sequence pkts - number of packets received in sequence on the TCP connection
- bytes - number of bytes received on the TCP connection
- chksum err pkts - number of checksum error packets received on the TCP connection
- bad offset pkts - number of bad offset packets received on the TCP connection
- short pkts - number of short packets received on the TCP connection
- duplicate pkts - number of duplicate packets received on the TCP connection
- out of order pkts - number of packets received out of order on the TCP connection
- total pkts - total number of packets sent on the TCP connection
- data pkts - number of data packets sent on the TCP connection
- bytes - number of bytes sent on the TCP connection
- retransmitted pkts - number of packets retransmitted on the TCP connection
- retransmitted bytes - number of bytes retransmitted on the TCP connection
host1#show ip tcp statisticsTCP Global Statistics:Connections: 7358 attempted, 4 accepted, 7362 established0 dropped, 14718 closedRcvd: 75923 total pkts, 53608 in-sequence pkts, 3120303 bytes0 chksum err pkts, 0 authentication err pkts, 0 bad offset pkts0 short pkts, 0 duplicate pkts, 0 out of order pktsSent: 82352 total pkts, 44404 data pkts, 657095 bytes34 retransmitted pkts, 487 retransmitted bytesTCP Session Statistics:Local addr: 0.0.0.0, Local port: 23Remote addr: 0.0.0.0, Remote port: 0State: LISTEN Authentication: NoneRcvd: 4 total pkts, 0 in-sequence pkts, 0 bytes0 chksum err pkts, 0 bad offset pkts, 0 short pkts0 duplicate pkts, 0 out of order pktsSent: 0 total pkts, 0 data pkts, 0 bytes0 retransmitted pkts, 0 retransmitted bytesLocal addr: 192.168.1.250, Local port: 23Remote addr: 10.10.0.77, Remote port: 2170State: ESTABLISHED Authentication: NoneRcvd: 61 total pkts, 34 in-sequence pkts, 41 bytes0 chksum err pkts, 0 bad offset pkts, 0 short pkts0 duplicate pkts, 0 out of order pktsSent: 64 total pkts, 45 dataLocal addr: 192.168.1.250, Local port: 23Remote addr: 10.10.0.77, Remote port: 2170State: ESTABLISHED Authentication: NoneRcvd: 61 total pkts, 34 in-sequence pkts, 41 bytes0 chksum err pkts, 0 bad offset pkts, 0 short pkts0 duplicate pkts, 0 out of order pktsSent: 64 total pkts, 45 data pkts, 2304 bytes0 retransmitted pkts, 0 retransmitted bytesLocal addr: 192.168.1.250, Local port: 23Remote addr: 192.168.1.139, Remote port: 1038State: ESTABLISHED Authentication: NoneRcvd: 295 total pkts, 159 in-sequence pkts, 299 bytes0 chksum err pkts, 0 bad offset pkts, 0 short pkts0 duplicate pkts, 0 out of order pktsSent: 281 total pkts, 210 data pkts, 3089 bytes0 retransmitted pkts, 0 retransmitted bytesshow ip traffic
- Use to display statistics about IP traffic.
- You can use the ipTraffic log to show consumable IP traffic to the SRP module; the traffic is filterable per router and IP interface. You can show ICMP, TCP, and UDP traffic with the icmpTraffic, udpTraffic, and tcpTraffic logs.
- Field descriptions
- router Id - router ID number
- total - number of frames received
- local destination - frames with this router as their destination
- hdr errors - number of packets containing header errors
- addr errors - number of packets containing addressing errors
- unkn proto - number of packets received containing unknown protocols
- discards - number of discarded packets
- reassembled - number of reassembled packets
- reasm timed out - number of reassembled packets that timed out
- reasm req - number of requests for reassembly
- reasm fails - number of reassembly failures
- frag ok - number of fragmented packets reassembled successfully
- frag fail - number of fragmented packets reassembled unsuccessfully
- frag creates - number of packets created by fragmentation
- forwarded - number of packets forwarded
- generated - number of packets generated
- out disc - number of outbound packets discarded
- no routes - number of packets that could not be routed
- routing discards - number of packets that could not be routed and were discarded
- total - total number of ICMP packets received
- errors - number of error packets received
- dst unreach - number of packets received with destination unreachable
- time exceed - number of packets received with time-to-live exceeded
- param probs - number of packets received with parameter errors
- src quench - number of source quench packets received
- redirects - number of receive packet redirects
- echo req - number of echo request (PING) packets
- echo rpy - number of echo replies received
- timestamp req - number of requests for a timestamp
- timestamp rpy - number of replies of timestamp requests
- addr mask req - number of mask requests sent
- addr mask rpy - number of mask replies sent
- total - total number of ICMP packets sent
- errors - number of error packets sent
- dest unreach - number of packets sent with destination unreachable
- time excd - number of packets sent with time-to-live exceeded
- param prob - number of packets sent with parameter errors
- src quench - number of source quench packets sent
- redirects - number of send packet redirects
- echo req - number of echo request (ping) packets
- echo rpy - number of echo replies received
- timestamp req - number of request for a timestamp
- timestamp rpy - number of replies to timestamp requests
- addr mask req - number of address mask requests
- addr mask rpy - number of replies to address mask requests
- total - total number of UDP packets received
- checksum - number of checksum error packets received
- no port - number of packets received for which no ERX application listener was listening on the destination port
- attempted - number of outgoing TCP connections attempted
- accepted - number of incoming TCP connections accepted
- established - number of TCP connections established
- dropped - number of TCP connections dropped
- closed - number of TCP connections closed
- currently established - number of TCP connections currently established
- total pkts - total number of TCP packets received
- in-sequence pkts - number of packets received in sequence
- bytes - number of bytes received
- chksum err pkts - number of checksum error packets received
- authentication err pkts - number of authentication error packets received
- bad offset pkts - number of packets received with bad offsets
- short pkts - number of short packets received
- duplicate pkts - number of duplicate packets received
- out of order pkts - number of packets received out of order
- total pkts - total number of TCP packets sent
- data pkts - number of data packets sent
- bytes - number of bytes sent
- retransmitted pkts - number of packets retransmitted
- retransmitted bytes - number of retransmitted bytes
- OSPF Statistics - provides statistics on OSPF
- IGMP Statistics - provides statistics about queries, reports sent or received
- ARP Statistics - not supported for this version of the system
host1#show ip trafficIP statistics: Router Id: 172.31.192.217Rcvd: 97833 total, 171059 local destination0 hdr errors, 0 addr errors167 unkn proto, 0 discardsFrags: 4 reassembled, 30 reasm timed out, 8 reasm req0 reasm fails, 145 frag ok, 0 frag fail290 frag createsSent: 15 forwarded, 25144 generated, 0 out disc0 no routes,0 routing discardsRoute: 57680 routes in table0 timestamp req, 0 timestamp rpy0 addr mask req, 0 addr mask rpyICMP statistics:Rcvd: 561 total, 0 errors, 15 dst unreach0 time exceed, 0 param probs, 0 src quench0 redirects, 0 echo req, 0 echo rpy0 timestamp req, 0 timestamp rpy0 addr mask req, 0 addr mask rpySent: 463866 total, 0 errors, 163676 dest unreach0 time excd, 0 param prob, 0 src quench20 redirects, 463846 echo req, 0 echo rpy0 timestamp req, 0 timestamp rpy0 addr mask req, 0 addr mask rpyUDP Statistics:Rcvd: 93326 total, 0 checksum errors, 90610 no portSent: 0 total, 0 errorsTCP Global Statistics:Connections: 7358 attempted, 4 accepted, 7362 established0 dropped, 14718 closedRcvd: 75889 total pkts, 53591 in-sequence pkts, 3120283 bytes0 chksum err pkts, 0 authentication err pkts, 0 bad offset0 short pkts, 0 duplicate pkts, 0 out of order pktsSent: 82318 total pkts, 44381 data pkts, 656321 bytes34 retransmitted pkts, 487 retransmitted bytesOSPF Statistics:IGMP Statistics:ARP Statistics:show ip udp statistics
host1#show ip udp statisticsUDP Statistics:Rcvd: 39196 total, 0 checksum errors, 29996 no portSent: 210 total, 0 errorsshow profile brief
host1#show profile briefProfile :footrillprofile4show route-map
- Use to display the configured route maps.
- The displayed information includes the instances of each access list such as match and set commands.
- Example
host1(config)#route-map westford permit 10host1(config-route-map)#match community 44host1(config-route-map)#set local-pref 400host1(config-route-map)#exithost1(config)#exithost1#show route-map westfordroute-map 1, permit, sequence 10Match clauses:match community 44Set clauses:set local-pref 400