C H A P T E R  4

Routing Commands

This chapter describes the routing commands available in the FASTPATH® CLI.

The commands in this chapter are in one of three functional groups:

This chapter contains the following sections:


Address Resolution Protocol (ARP) Commands

This section describes the commands you use to configure ARP and to view ARP information on the switch. ARP associates IP addresses with MAC addresses and stores the information as ARP entries in the ARP cache.

arp

This command creates an ARP entry. The value for <ipaddress> is the IP address of a device on a subnet attached to an existing routing interface. <macaddr> is a unicast MAC address for that device.

The format is 6 two-digit hexadecimal numbers that are separated by colons, for example 00:06:29:32:81:40.


Format

arp <ipaddress> <macaddr>

Mode

Global Config


no arp

This command deletes an ARP entry. The value for <arpentry> is the IP address of the interface. The value for <ipaddress> is the IP address of a device on a subnet attached to an existing routing interface. <macaddr> is a unicast MAC address for that device.


Format

no arp <ipaddress> <macaddr>

Mode

Global Config


ip proxy-arp

This command enables proxy ARP on a router interface. Without proxy ARP, a device only responds to an ARP request if the target IP address is an address configured on the interface where the ARP request arrived. With proxy ARP, the device may also respond if the target IP address is reachable. The device only responds if all next hops in its route to the destination are through interfaces other than the interface that received the ARP request.


Default

enabled

Format

ip proxy-arp

Mode

Interface Config


no ip proxy-arp

This command disables proxy ARP on a router interface.


Format

no ip proxy-arp

Mode

Interface Config


arp cachesize

This command configures the ARP cache size. The ARP cache size value is a platform specific integer value. The default size also varies depending on the platform.


Format

arp cachesize <platform specific integer value>

Mode

Global Config


no arp cachesize

This command configures the default ARP cache size.


Format

no arp cachesize

Mode

Global Config


arp dynamicrenew

This command enables the ARP component to automatically renew dynamic ARP entries when they age out.


Default

enabled

Format

arp dynamicrenew

Mode

Privileged EXEC


no arp dynamicrenew

This command prevents dynamic ARP entries from renewing when they age out.


Format

no arp dynamicrenew

Mode

Privileged EXEC


arp purge

This command causes the specified IP address to be removed from the ARP cache. Only entries of type dynamic or gateway are affected by this command.


Format

arp purge <ipaddr>

Mode

Privileged EXEC


arp resptime

This command configures the ARP request response timeout.

The value for <seconds> is a valid positive integer, which represents the IP ARP entry response timeout time in seconds. The range for <seconds> is between 1-10 seconds.


Default

l

Format

arp resptime <1-10>

Mode

Global Config


no arp resptime

This command configures the default ARP request response timeout.


Format

no arp resptime

Mode

Global Config


arp retries

This command configures the ARP count of maximum request for retries.

The value for <retries> is an integer, which represents the maximum number of request for retries. The range for <retries> is an integer between 0-10 retries.


Default

4

Format

arp retries <0-10>

Mode

Global Config


no arp retries

This command configures the default ARP count of maximum request for retries.


Format

no arp retries

Mode

Global Config


arp timeout

This command configures the ARP entry ageout time.

The value for <seconds> is a valid positive integer, which represents the IP ARP entry ageout time in seconds. The range for <seconds> is between 15-21600 seconds.


Default

1200

Format

arp timeout <15-21600>

Mode

Global Config


no arp timeout

This command configures the default ARP entry ageout time.


Format

no arp timeout

Mode

Global Config


clear arp-cache

This command causes all ARP entries of type dynamic to be removed from the ARP cache. If the gateway keyword is specified, the dynamic entries of type gateway are purged as well.


Format

clear arp-cache [gateway]

Mode

Privileged EXEC


show arp

This command displays the Address Resolution Protocol (ARP) cache. The displayed results are not the total ARP entries. To view the total ARP entries, the operator should view the show arp results in conjunction with the show arp switch results.


Format

show arp

Mode

Privileged EXEC



TABLE 4-1 Entry Definitions for show arp

Entry

Definition

Age Time (seconds)

Is the time it takes for an ARP entry to age out. This value was configured into the unit. Age time is measured in seconds.

Response Time (seconds)

Is the time it takes for an ARP request timeout. This value was configured into the unit. Response time is measured in seconds.

Retries

Is the maximum number of times an ARP request is retried. This value was configured into the unit.

Cache Size

Is the maximum number of entries in the ARP table. This value was configured into the unit.

Dynamic Renew Mode

Displays whether the ARP component automatically attempts to renew dynamic ARP entries when they age out.

Total Entry Count Current / Peak

Field listing the total entries in the ARP table and the peak entry count in the ARP table.

Static Entry Count Current / Max

Field listing the static entry count in the ARP table and maximum static entry count in the ARP table. The following entries are displayed for each ARP entry.

IP Address

Is the IP address of a device on a subnet attached to an existing routing interface.

MAC Address

Is the hardware MAC address of that device.

Interface

Is the routing slot/port associated with the device ARP entry.

Type

Is the type that was configured into the unit. The possible values are Local, Gateway, Dynamic and Static.

Age

This field displays the current age of the ARP entry since last refresh (in hh:mm:ss format


show arp brief

This command displays the brief Address Resolution Protocol (ARP) table information.


Format

show arp brief

Mode

Privileged EXEC



TABLE 4-2 Entry Definitions for show arp brief

Entry

Definition

Age Time (seconds)

Is the time it takes for an ARP entry to age out. This value was configured into the unit. Age time is measured in seconds.

Response Time (seconds)

Is the time it takes for an ARP request timeout. This value was configured into the unit. Response time is measured in seconds.

Retries

Is the maximum number of times an ARP request is retried. This value was configured into the unit.

Cache Size

Is the maximum number of entries in the ARP table. This value was configured into the unit.

Dynamic Renew Mode

Displays whether the ARP component automatically attempts to renew dynamic ARP entries when they age out.

Total Entry Count Current / Peak

Field listing the total entries in the ARP table and the peak entry count in the ARP table.

Static Entry Count Current / Max

Field listing the static entry count in the ARP table and maximum static entry count in the ARP table.


show arp switch

This command displays the contents of the switch’s Address Resolution Protocol (ARP) table.


Format

show arp switch

Mode

Privileged EXEC



TABLE 4-3 Entry Definitions for show arp switch

Entry

Definition

IP Address

Is the IP address of a device on a subnet attached to the switch.

MAC Address

Is the hardware MAC address of that device.

Interface

Is the routing slot/port associated with the device’s ARP entry.



IP Routing Commands

This section describes the commands you use to enable and configure IP routing on the switch.

routing

This command enables IPv4 and IPv6 routing for an interface. You can view the current value for this function with the show ip brief command. The value is labeled as “Routing Mode.”


Default

disabled

Format

routing

Mode

Interface Config


no routing

This command disables routing for an interface.

You can view the current value for this function with the show ip brief command. The value is labeled as “Routing Mode.”


Format

no routing

Mode

Interface Config


ip routing

This command enables the IP Router Admin Mode for the master switch.


Format

ip routing

Mode

Global Config


no ip routing

This command disables the IP Router Admin Mode for the master switch.


Format

no ip routing

Mode

Global Config


ip address

This command configures an IP address on an interface. You can also use this command to configure one or more secondary IP addresses on the interface.The value for <ipaddr> is the IP Address of the interface. The value for <subnetmask> is a 4-digit dotted-decimal number which represents the subnet mask of the interface. The subnet mask must have contiguous ones and be no longer than 30 bits, for example 255.255.255.0. This command changes the label IP address in show ip interface.


Format

ip address <ipaddr> <subnetmask> [secondary]

Mode

Interface Config


no ip address

This command deletes an IP address from an interface. The value for <ipaddr> is the IP Address of the interface. The value for <subnetmask> is a 4-digit dotted-decimal number which represents the Subnet Mask of the interface.


Format

no ip address <ipaddr> <subnetmask> [secondary]

Mode

Interface Config


ip route

This command configures a static route.

Among routes to the same destination, the route with the lowest preference value is the route entered into the forwarding database. By specifying the preference of a static route, you control whether a static route is more or less preferred than routes from dynamic routing protocols. The preference also controls whether a static route is more or less preferred than other static routes to the same destination. A route with a preference of 255 cannot be used to forward traffic.

For the static routes to be visible, you must perform the following steps:

no ip route

This command deletes all next hops to a destination static route. If you use the <nexthopip> parameter, the next hop is deleted. If you use the <preference> value, the preference value of the static route is reset to its default.


Format

no ip route <ipaddr> <subnetmask> [{<nexthopip> | <preference>}]

Mode

Global Config


ip route default

This command configures the default route. The value for <nexthopip> is a valid IP address of the next hop router. The <preference> is an integer value from 1 to 255. A route with a preference of 255 cannot be used to forward traffic.


Default

preference--1

Format

ip route default <nexthopip> [<preference>]

Mode

Global Config


no ip route default

This command deletes all configured default routes. If the optional <nexthopip> parameter is designated, the specific next hop is deleted from the configured default route and if the optional preference value is designated, the preference of the configured default route is reset to its default.


Format

no ip route default [{<nexthopip> | <preference>}]

Mode

Global Config


ip route distance

This command sets the default distance (preference) for static routes. Lower route distance values are preferred when determining the best route. The ip route and ip route default commands allow you to optionally set the distance (preference) of an individual static route. The default distance is used when no distance is specified in these commands. Changing the default distance does not update the distance of existing static routes, even if they were assigned the original default distance. The new default distance will only be applied to static routes created after invoking the ip route distance command.


Default

1

Format

ip route distance <1-255>

Mode

Global Config


no ip route distance

This command sets the default static route preference value in the router. Lower route preference values are preferred when determining the best route.


Format

no ip route distance

Mode

Global Config


ip forwarding

This command enables forwarding of IP frames.


Default

enabled

Format

ip forwarding

Mode

Global Config


no ip forwarding

This command disables forwarding of IP frames.


Format

no ip forwarding

Mode

Global Config


ip netdirbcast

This command enables the forwarding of network-directed broadcasts. When enabled, network directed broadcasts are forwarded. When disabled they are dropped.


Default

disabled

Format

ip netdirbcast

Mode

Interface Config


no ip netdirbcast

This command disables the forwarding of network-directed broadcasts. When disabled, network directed broadcasts are dropped.


Format

no ip netdirbcast

Mode

Interface Config


ip mtu

This command sets the IP Maximum Transmission Unit (MTU) on a routing interface. The IP MTU is the size of the largest IP packet that can be transmitted on the interface without fragmentation. FASTPATH software currently does not fragment IP packets.

Packets originated on the router, such as OSPF packets, may be fragmented by the IP stack. The IP stack uses its default IP MTU and ignores the value set using the ip mtu command.

OSPF advertises the IP MTU in the Database Description packets it sends to its neighbors during database exchange. If two OSPF neighbors advertise different IP MTUs, they will not form an adjacency (unless OSPF has been instructed to ignore differences in IP MTU with the ip ospf mtu-ignore command.)



Note - The IP MTU size refers to the maximum size of the IP packet (IP Header + IP payload). It does not include any extra bytes that may be required for Layer-2 headers. To receive and process packets, the Ethernet MTU (mtu) must take into account the size of the Ethernet header.



Default

1500 bytes

Format

ip mtu <68-1500>

Mode

Interface Config


no ip mtu

This command resets the ip mtu to the default value.


Format

no ip mtu <mtu>

Mode

Interface Config


encapsulation

This command configures the link layer encapsulation type for the packet. The encapsulation type can be ethernet or snap.


Default

ethernet

Format

encapsulation {ethernet | snap}

Mode

Interface Config




Note - Routed frames are always ethernet encapsulated when a frame is routed to a VLAN.


show ip brief

This command displays all the summary information of the IP.


Format

show ip brief

Modes

Privileged EXEC
User EXEC



TABLE 4-4 Entry Definitions for show ip brief

Entry

Definition

Default Time to Live

The computed TTL (Time to Live) of forwarding a packet from the local router to the final destination.

Routing Mode

Shows whether the routing mode is enabled or disabled.

IP Forwarding Mode

Shows whether forwarding of IP frames is enabled or disabled. This is a configured value.

Maximum Next Hops

Shows the maximum number of next hops the packet can travel.


show ip interface

This command displays all pertinent information about the IP interface.


Format

show ip interface <slot/port>

Modes

Privileged EXEC
User EXEC



TABLE 4-5 Entry Definitions for show ip interface

Entry

Definition

Primary IP Address

Displays the primary IP address and subnet masks for the interface. This value appears only if you configure it.

Secondary IP Address

Displays one or more secondary IP addresses and subnet masks for the interface. This value appears only if you configure it.

Routing Mode

Is the administrative mode of router interface participation. The possible values are enable or disable. This value was configured into the unit.

Administrative Mode

Is the administrative mode of the specified interface. The possible values of this field are enable or disable. This value was configured into the unit.

Forward Net Directed Broadcasts

Displays whether forwarding of network-directed broadcasts is enabled or disabled. This value was configured into the unit.

Proxy ARP

Displays whether Proxy ARP is enabled or disabled on the system.

Active State

Displays whether the interface is active or inactive. An interface is considered active if its link is up and it is in forwarding state.

Link Speed Data Rate

Is an integer representing the physical link data rate of the specified interface. This is measured in Megabits per second (Mbps).

MAC Address

Is the burned in physical address of the specified interface. The format is 6 two-digit hexadecimal numbers that are separated by colons.

Encapsulation Type

Is the encapsulation type for the specified interface. The types are: Ethernet or SNAP.

IP MTU

Displays the maximum transmission unit (MTU) size of a frame, in bytes.


show ip interface brief

This command displays summary information about IP configuration settings for all ports in the router.


Format

show ip interface brief

Modes

Privileged EXEC
User EXEC



TABLE 4-6 Entry Definitions for show ip interface brief

Entry

Definition

Interface

Valid slot and port number separated by forward slashes.

IP Address

The IP address of the routing interface in 32-bit dotted decimal format.

IP Mask

The IP mask of the routing interface in 32-bit dotted decimal format.

Netdir Bcast

Indicates if IP forwards net-directed broadcasts on this interface. Possible values are Enable or Disable.

MultiCast Fwd

Indicates the multicast forwarding administrative mode on the interface. Possible values are Enable or Disable.


show ip route

This command displays the routing table.



Note - If you use the connected keyword for <protocol>, the all option is not available because there are no best or non-best connected routes.



Format

show ip route [{<ip-address> [<protocol>] | {<ip-address> <mask> [longer-prefixes] [<protocol>] | <protocol>} [all] | all}]

Mode

Privileged EXEC
User EXEC

Route Codes

Displays the key for the routing protocol codes that might appear in the routing table output.


The show ip route command displays the routing tables in the following format:


Code   IP-Address/Mask [Preference/Metric] via Next-Hop, Interface

The columns for the routing table display the following information.


TABLE 4-7 Entry Definitions for show ip route

Entry

Definition

Code

The codes for the routing protocols that created the routes.

IP-Address/Mask

The IP-Address and mask of the destination network corresponding to this route.

Preference

The administrative distance associated with this route. Routes with low values are preferred over routes with higher values.

Metric

The cost associated with this route.

via Next-Hop

The outgoing router IP address to use when forwarding traffic to the next router (if any) in the path toward the destination

Interface

The outgoing router interface to use when forwarding traffic to the next destination


show ip route summary

Use this command to display the routing table summary. Use the optional all parameter to show the number of all routes, including best and non-best routes. To include only the number of best routes, do not use the optional parameter.


Format

show ip route summary [all]

Mode

Privileged EXEC
User EXEC



TABLE 4-8 Entry Definitions for show ip route summary

Entry

Definition

Connected Routes

The total number of connected routes in the routing table.

Static Routes

Total number of static routes in the routing table.

RIP Routes

Total number of routes installed by RIP protocol.

BGP Routes

Total number of routes installed by BGP protocol.

OSPF Routes

Total number of routes installed by OSPF protocol.

Total Routes

Total number of routes in the routing table.


show ip route preferences

This command displays detailed information about the route preferences. Route preferences are used in determining the best route. Lower router preference values are preferred over higher router preference values. A route with a preference of 255 cannot be used to forward traffic.


Format

show ip route preferences

Modes

Privileged EXEC
User EXEC



TABLE 4-9 Entry Definitions for show ip route preferences

Entry

Definition

Local

This field displays the local route preference value.

Static

This field displays the static route preference value.

OSPF Intra

This field displays the OSPF Intra route preference value.

OSPF Inter

This field displays the OSPF Inter route preference value.

OSPF Ext T1

This field displays the OSPF External Type-1 route preference value.

OSPF Ext T2

This field displays the OSPF External Type-2 route preference value.

OSPF NSSA T1

This field displays the OSPF NSSA Type-1 route preference value.

OSPF NSSA T2

This field displays the OSPF NSSA Type-2 route preference value.

RIP

This field displays the RIP route preference value.

BGP4

This field displays the BGP-4 route preference value.




Note - The configuration of NSSA preferences is not supported in this release.


show ip stats

This command displays IP statistical information. Refer to RFC 1213 for more information about the fields that are displayed.


Format

show ip stats

Modes

Privileged EXEC
User EXEC



Router Discovery Protocol Commands

This section describes the commands you use to view and configure Router Discovery Protocol settings on the switch. The Router Discovery Protocol enables a host to discover the IP address of routers on the subnet.

ip irdp

This command enables Router Discovery on an interface.


Default

disabled

Format

ip irdp

Mode

Interface Config


no ip irdp

This command disables Router Discovery on an interface.


Format

no ip irdp

Mode

Interface Config


ip irdp address

This command configures the address that the interface uses to send the router discovery advertisements. The valid values for <ipaddr> are 224.0.0.1, which is the all-hosts IP multicast address, and 255.255.255.255, which is the limited broadcast address.


Default

224.0.0.1

Format

ip irdp address <ipaddr>

Mode

Interface Config


no ip irdp address

This command configures the default address used to advertise the router for the interface.


Format

no ip irdp address

Mode

Interface Config


ip irdp holdtime

This command configures the value, in seconds, of the holdtime field of the router advertisement sent from this interface. The holdtime range is the value of <maxadvertinterval> to 9000 seconds.


Default

3 * maxinterval

Format

ip irdp holdtime <maxadvertinterval-9000>

Mode

Interface Config


no ip irdp holdtime

This command configures the default value, in seconds, of the holdtime field of the router advertisement sent from this interface.


Format

no ip irdp holdtime

Mode

Interface Config


ip irdp maxadvertinterval

This command configures the maximum time, in seconds, allowed between sending router advertisements from the interface. The range for maxadvertinterval is 4 to 1800 seconds.


Default

600

Format

ip irdp maxadvertinterval <4-1800>

Mode

Interface Config


no ip irdp maxadvertinterval

This command configures the default maximum time, in seconds.


Format

no ip irdp maxadvertinterval

Mode

Interface Config


ip irdp minadvertinterval

This command configures the minimum time, in seconds, allowed between sending router advertisements from the interface. The range for minadvertinterval is three to the value of maxadvertinterval.


Default

0.75 * maxadvertinterval

Format

ip irdp minadvertinterval <3-maxadvertinterval>

Mode

Interface Config


no ip irdp minadvertinterval

This command sets the default minimum time to the default.


Format

no ip irdp minadvertinterval

Mode

Interface Config


ip irdp preference

This command configures the preferability of the address as a default router address, relative to other router addresses on the same subnet.


Default

0

Format

ip irdp preference <-2147483648 to 2147483647>

Mode

Interface Config


no ip irdp preference

This command configures the default preferability of the address as a default router address, relative to other router addresses on the same subnet.


Format

no ip irdp preference

Mode

Interface Config


show ip irdp

This command displays the router discovery information for all interfaces, or a specified interface.


Format

show ip irdp {<slot/port> | all}

Modes

Privileged EXEC
User EXEC



TABLE 4-10 Entry Definitions for show ip irdp

Entry

Definition

Interface

Shows the <slot/port> that matches the rest of the information in the row.

Ad Mode

Displays the advertise mode, which indicates whether router discovery is enabled or disabled on this interface.

Advertise Address

Displays the IP address to which the interface sends the advertisement.

Max Int

Displays the maximum advertise interval, which is the maximum time, in seconds, allowed between sending router advertisements from the interface.

Min Int

Displays the minimum advertise interval, which is the minimum time, in seconds, allowed between sending router advertisements from the interface.

Hold Time

Displays the amount of time, in seconds, that a system should keep the router advertisement before discarding it.

Preference

Displays the preference of the address as a default router address, relative to other router addresses on the same subnet.



Virtual LAN Routing Commands

This section describes the commands you use to view and configure VLAN routing and to view VLAN routing status information.

vlan routing

This command creates routing on a VLAN. The <vlanid> value has a range from 1 to 4094.


Format

vlan routing <vlanid>

Mode

VLAN Config


no vlan routing

This command deletes routing on a VLAN. The <vlanid> value has a range from 1 to 4094.


Format

no vlan routing <vlanid>

Mode

VLAN Config


show ip vlan

This command displays the VLAN routing information for all VLANs with routing enabled.


Format

show ip vlan

Modes

Privileged EXEC
User EXEC



TABLE 4-11 Entry Definitions for show ip vlan

Entry

Definition

MAC Address used by Routing VLANs

Is the MAC Address associated with the internalbridge-router interface (IBRI). The same MAC Address is used by all VLAN routing interfaces. It will be displayed above the per-VLAN information.

VLAN ID

Is the identifier of the VLAN.

Logical Interface

Shows the logical slot/port associated with the VLAN routing interface.

IP Address

Displays the IP Address associated with this VLAN.

Subnet Mask

Indicates the subnet mask that is associated with this VLAN.



Virtual Router Redundancy Protocol Commands

This section describes the commands you use to view and configure Virtual Router Redundancy Protocol (VRRP) and to view VRRP status information. VRRP helps provide failover and load balancing when you configure two devices as a VRRP pair.

ip vrrp

In Global Config mode, this command enables the administrative mode of VRRP in the router. In Interface Config mode, this command enables the VRRP protocol on an interface. The parameter <vrid> is the virtual router ID which has an integer value range from 1 to 255.


Default

none

Format

ip vrrp <vrid>

Mode

Global Config
Interface Config


no ip vrrp

In Global Config mode, this command disables the default administrative mode of VRRP in the router. In Interface Config mode, this command disables the VRRP protocol on an interface. This command also removes a virtual router IP address as a secondary IP address on an interface. The virtual Router ID, <vrid>, is an integer value that ranges from 1 to 255.


Format

no ip vrrp <vrid> <ipaddress> [secondary]

Mode

Global Config
Interface Config


ip vrrp mode

This command enables the virtual router configured on the specified interface. Enabling the status field starts a virtual router. The parameter <vrid> is the virtual router ID which has an integer value ranging from 1 to 255.


Default

disabled

Format

ip vrrp <vrid> mode

Mode

Interface Config


no ip vrrp mode

This command disables the virtual router configured on the specified interface. Disabling the status field stops a virtual router.


Format

no ip vrrp <vrid> mode

Mode

Interface Config


ip vrrp ip

This command sets the virtual router ipaddress value for an interface. The value for <ipaddr> is the IP Address which is to be configured on that interface for VRRP. The parameter <vrid> is the virtual router ID which has an integer value range from 1 to 255. You can use the optional [secondary] parameter to designate the IP address as a secondary IP address.


Default

none

Format

ip vrrp <vrid> ip <ipaddr> [secondary]

Mode

Interface Config


ip vrrp authentication

This command sets the authorization details value for the virtual router configured on a specified interface. The parameter {none | simple} specifies the authorization type for virtual router configured on the specified interface. The parameter [key] is optional, it is only required when authorization type is simple text password. The parameter <vrid> is the virtual router ID which has an integer value ranges from 1 to 255.


Default

no authorization

Format

ip vrrp <vrid> authentication {none | simple <key>}

Mode

Interface Config


no ip vrrp authentication

This command sets the default authorization details value for the virtual router configured on a specified interface.


Format

no ip vrrp <vrid> authentication

Mode

Interface Config


ip vrrp preempt

This command sets the preemption mode value for the virtual router configured on a specified interface. The parameter <vrid> is the virtual router ID, which is an integer from 1 to 255


Default

enabled

Format

ip vrrp <vrid> preempt

Mode

Interface Config


no ip vrrp preempt

This command sets the default preemption mode value for the virtual router configured on a specified interface.


Format

no ip vrrp <vrid> preempt

Mode

Interface Config


ip vrrp priority

This command sets the priority value for the virtual router configured on a specified interface. The priority of the interface is a priority integer from 1 to 254. The parameter <vrid> is the virtual router ID which has an integer value ranges from 1 to 255.


Default

100

Format

ip vrrp <vrid> priority <1-254>

Mode

Interface Config


no ip vrrp priority

This command sets the default priority value for the virtual router configured on a specified interface.


Format

no ip vrrp <vrid> priority

Mode

Interface Config


ip vrrp timers advertise

This command sets the frequency, in seconds, that an interface on the specified virtual router sends a virtual router advertisement.


Default

1

Format

ip vrrp <vrid> timers advertise <1-255>

Mode

Interface Config


no ip vrrp timers advertise

This command sets the default virtual router advertisement value for an interface.


Format

no ip vrrp <vrid> timers advertise

Mode

Interface Config


show ip vrrp interface stats

This command displays the statistical information about each virtual router configured on the FASTPATH switch.


Format

show ip vrrp interface stats <slot/port> <vrid>

Modes

Privileged EXEC
User EXEC



TABLE 4-12 Entry Definitions for show ip vrrp interface stats

Entry

Definition

Uptime

The time that the virtual router has been up, in days, hours, minutes and seconds.

Protocol

Represents the protocol configured on the interface.

State Transitioned to Master

Represents the total number of times virtual router state has changed to MASTER.

Advertisement Received

Represents the total number of VRRP advertisements received by this virtual router.

Advertisement Interval Errors

Represents the total number of VRRP advertisements received for which advertisement interval is different than the configured value for this virtual router.

Authentication Failure

Represents the total number of VRRP packets received that don't pass the authentication check.

IP TTL errors

Represents the total number of VRRP packets received by the virtual router with IP TTL (time to live) not equal to 255.

Zero Priority Packets Received

Represents the total number of VRRP packets received by virtual router with a priority of '0'.

Zero Priority Packets Sent

Represents the total number of VRRP packets sent by the virtual router with a priority of '0'.

Invalid Type Packets Received

Represents the total number of VRRP packets received by the virtual router with invalid 'type' field.

Address List Errors

Represents the total number of VRRP packets received for which address list does not match the locally configured list for the virtual router.

Invalid Authentication Type

Represents the total number of VRRP packets received with unknown authentication type.

Authentication Type Mismatch

Represents the total number of VRRP advertisements received for which 'auth type' not equal to locally configured one for this virtual router.

Packet Length Errors

Represents the total number of VRRP packets received with packet length less than length of VRRP header.


show ip vrrp

This command displays whether VRRP functionality is enabled or disabled on the FASTPATH switch. It also displays some global parameters which are required for monitoring This command takes no options.


Format

show ip vrrp

Modes

Privileged EXEC
User EXEC



TABLE 4-13 Entry Definitions for show ip vrrp

Entry

Definition

VRRP Admin Mode

Displays the administrative mode for VRRP functionality on the switch.

Router Checksum Errors

Represents the total number of VRRP packets received with an invalid VRRP checksum value.

Router Version Errors

Represents the total number of VRRP packets received with Unknown or unsupported version number.

Router VRID Errors

Represents the total number of VRRP packets received with invalid VRID for this virtual router.


show ip vrrp interface

This command displays all configuration information and VRRP router statistics of a virtual router configured on a specific interface.


Format

show ip vrrp interface <slot/port> <vrid>

Modes

Privileged EXEC
User EXEC



TABLE 4-14 Entry Definitions for show ip vrrp interface

Entry

Definition

IP Address

This field represents the configured IP Address for the Virtual router.

VMAC address

Represents the VMAC address of the specified router.

Authentication type

Represents the authentication type for the specific virtual router.

Priority

Represents the priority value for the specific virtual router.

Advertisement interval

Represents the advertisement interval for the specific virtual router.

Pre-Empt Mode

Is the preemption mode configured on the specified virtual router.

Administrative Mode

Represents the status (Enable or Disable) of the specific router.

State

Represents the state (Master/backup) of the virtual router.


show ip vrrp interface brief

This command displays information about each virtual router configured on the FASTPATH switch. This command takes no options. It displays information about each virtual router.


Format

show ip vrrp interface brief

Modes

Privileged EXEC
User EXEC



TABLE 4-15 Entry Definitions for show ip vrrp interface brief

Entry

Definition

Interface

Valid slot and port number separated by forward slashes.

VRID

Represents the router ID of the virtual router.

IP Address

The virtual router IP address.

Mode

Represents whether the virtual router is enabled or disabled.

State

Represents the state (Master/backup) of the virtual router.



VRRP Tracking Commands

This section describes the commands for tracking VRRP. The configuration of VRRP tracking is accomplished with two logical steps:

1. Configure the events that can impact VRRP priority change by defining tracking objects.

2. Link between VRRP priority changes and tracking objects by specifying VRRP priority change for state change in the tracked objects.

A track command object can track an interface property or IP layer properties. An interface might be tracked by its line-protocol state (up/down) or by its IP routing state (enable/disable). Use the commands in this section according to the preferred tracking method.

track interface line-protocol

This command tracks the link state of an interface. The object will be up when the interface is linked.


Default

none

Format

track <object-number> interface <unit/port> line-protocol

Modes

Global Config


track interface ip routing

This command tracks the state of a local ip route.


Default

none

Format

track <object-number> interface <unit/port> ip routing

Modes

Global Config


An IP-routing object is considered up when the following criteria exists:

An IP-routing object is considered down when one of the following criteria exist:

track ip route reachability

This command tracks the state of a local ip route.


Default

none

Format

track <object-number> ip route <ip-address/prefix-length> reachability

Modes

Global Config


no track

This command removes the track with the given object number..


Format

no track <object-number>

Modes

Global Config


vrrp

This command assocates a track object with a VRRP instance. When the tracked object is down, the VRRP instance’s priority will be decremented by <decrement priority>..


Format

vrrp <vrID> track <object-number> <decrement priority>

Modes

Global Config


vrrp

This command removes the specified track object from a specificed VRRP instance..


Format

no vrrp <vrID> track <object-number>

Modes

Global Config


show track

This command displays all configuration information for VRRP track objects.


Format

show track <object-number>

Modes

Privileged EXEC
User EXEC



TABLE 4-16 Entry Definitions for show track

Entry

Definition

Interface

Represents the interface the track object is monitoring.

Track ID

Represents the tracked objects ID number.

Attribute

Represents this particular track object’s type.


show ip vrrp track

This command displays the current status of all tracks associated with <vrID>.


Format

show ip vrrp track <vrID>

Modes

Privileged EXEC
User EXEC



TABLE 4-17 Entry Definitions for show ip vrrp track

Entry

Definition

Priority Dec

Represents the amount the given track object is decrementing the priority of the VRRP instance.

Interface

Represents the interface the track object is monitoring.

Track ID

Represents the tracked objects ID number.

Attribute

Represents this particular track object’s type.



DHCP and BOOTP Relay Commands

This section describes the commands you use to configure BootP/DHCP Relay on the switch. A DHCP relay agent operates at Layer 3 and forwards DHCP requests and replies between clients and servers when they are not on the same physical subnet.

bootpdhcprelay cidoptmode

This command enables the circuit ID option mode for BootP/DHCP Relay on the system.


Default

disabled

Format

bootpdhcprelay cidoptmode

Mode

Global Config


no bootpdhcprelay cidoptmode

This command disables the circuit ID option mode for BootP/DHCP Relay on the system.


Format

no bootpdhcprelay cidoptmode

Mode

Global Config


bootpdhcprelay enable

This command enables the forwarding of relay requests for BootP/DHCP Relay on the system.


Default

disabled

Format

bootpdhcprelay enable

Mode

Global Config


no bootpdhcprelay enable

This command disables the forwarding of relay requests for BootP/DHCP Relay on the system.


Format

no bootpdhcprelay enable

Mode

Global Config


bootpdhcprelay maxhopcount

This command configures the maximum allowable relay agent hops for BootP/DHCP Relay on the system. The <hops> parameter has a range of 1 to 16.


Default

4

Format

bootpdhcprelay maxhopcount <1-16>

Mode

Global Config


no bootpdhcprelay maxhopcount

This command configures the default maximum allowable relay agent hops for BootP/DHCP Relay on the system.


Format

no bootpdhcprelay maxhopcount

Mode

Global Config


bootpdhcprelay minwaittime

This command configures the minimum wait time in seconds for BootP/DHCP Relay on the system. When the BOOTP relay agent receives a BOOTREQUEST message, it MAY use the seconds-since-client-began-booting field of the request as a factor in deciding whether to relay the request or not. The parameter has a range of 0 to 100 seconds.


Default

0

Format

bootpdhcprelay minwaittime <0-100>

Mode

Global Config


no bootpdhcprelay minwaittime

This command configures the default minimum wait time in seconds for BootP/DHCP Relay on the system.


Format

no bootpdhcprelay minwaittime

Mode

Global Config


bootpdhcprelay serverip

This command configures the server IP Address for BootP/DHCP Relay on the system. The <ipaddr> parameter is an IP address in a 4-digit dotted decimal format.


Default

0.0.0.0

Format

bootpdhcprelay serverip <ipaddr>

Mode

Global Config


no bootpdhcprelay serverip

This command configures the default server IP Address for BootP/DHCP Relay on the system.


Format

no bootpdhcprelay serverip

Mode

Global Config


show bootpdhcprelay

This command displays the BootP/DHCP Relay information.


Format

show bootpdhcprelay

Modes

Privileged EXEC
User EXEC



TABLE 4-18 Entry Definitions for show bootpdhcprelay

Entry

Definition

Maximum Hop Count

Is the maximum allowable relay agent hops.

Minimum Wait Time (Seconds)

Is the minimum wait time.

Admin Mode

Represents whether relaying of requests is enabled or disabled.

Server IP Address

Is the IP Address for the BootP/DHCP Relay server.

Circuit Id Option Mode

Is the DHCP circuit Id option which may be enabled or disabled.

Requests Received

Is the number or requests received.

Requests Relayed

Is the number of requests relayed.

Packets Discarded

Is the number of packets discarded.



Open Shortest Path First (OSPF) Commands

This section describes the commands you use to view and configure OSPF, which is a link-state routing protocol that you use to route traffic within a network.

router ospf

Use this command to enter Router OSPF mode.


Format

router ospf

Mode

Global Config


enable (OSPF)

This command resets the default administrative mode of OSPF in the router (active).


Default

enabled

Format

enable

Mode

Router OSPF Config


no enable (OSPF)

This command sets the administrative mode of OSPF in the router to inactive.


Format

no enable

Mode

Router OSPF Config


ip ospf

This command enables OSPF on a router interface.


Default

disabled

Format

ip ospf

Mode

Interface Config


no ip ospf

This command disables OSPF on a router interface.


Format

no ip ospf

Mode

Interface Config


1583compatibility

This command enables OSPF 1583 compatibility.



Note - 1583 compatibility mode is enabled by default. If all OSPF routers in the routing domain are capable of operating according to RFC 2328, OSPF 1583 compatibility mode should be disabled.



Default

enabled

Format

1583compatibility

Mode

Router OSPF Config


no 1583compatibility

This command disables OSPF 1583 compatibility.


Format

no 1583compatibility

Mode

Router OSPF Config


area default-cost (OSPF)

This command configures the default cost for the stub area. You must specify the area ID and an integer value between 1-16777215.


Format

area <areaid> default-cost <1-16777215>

Mode

Router OSPF Config


area nssa (OSPF)

This command configures the specified areaid to function as an NSSA.


Format

area <areaid> nssa

Mode

Router OSPF Config


no area nssa

This command disables nssa from the specified area id.


Format

no area <areaid> nssa

Mode

Router OSPF Config


area nssa default-info-originate (OSPF)

This command configures the metric value and type for the default route advertised into the NSSA. The optional metric parameter specifies the metric of the default route and is to be in a range of 1-16777214. If no metric is specified, the default value is ****. The metric type can be comparable (nssa-external 1) or non-comparable (nssa-external 2).


Format

area <areaid> nssa default-info-originate [<metric>] [{comparable | non-comparable}]

Mode

Router OSPF Config


area nssa no-redistribute (OSPF)

This command configures the NSSA Area Border router (ABR) so that learned external routes will not be redistributed to the NSSA.


Format

area <areaid> nssa no-redistribute

Mode

Router OSPF Config


area nssa no-summary (OSPF)

This command configures the NSSA so that summary LSAs are not advertised into the NSSA.


Format

area <areaid> nssa no-summary

Mode

Router OSPF Config


area nssa translator-role (OSPF)

This command configures the translator role of the NSSA. A value of always causes the router to assume the role of the translator the instant it becomes a border router and a value of candidate causes the router to participate in the translator election process when it attains border router status.


Format

area <areaid> nssa translator-role {always | candidate}

Mode

Router OSPF Config


area nssa translator-stab-intv (OSPF)

This command configures the translator <stabilityinterval> of the NSSA. The <stabilityinterval> is the period of time that an elected translator continues to perform its duties after it determines that its translator status has been deposed by another router.


Format

area <areaid> nssa translator-stab-intv <stabilityinterval>

Mode

Router OSPF Config


area range (OSPF)

This command creates a specified area range for a specified NSSA. The <ipaddr> is a valid IP address. The <subnetmask> is a valid subnet mask. The LSDB type must be specified by either summarylink or nssaexternallink, and the advertising of the area range can be allowed or suppressed.


Format

area <areaid> range <ipaddr> <subnetmask> {summarylink | nssaexternallink} [advertise | not-advertise]

Mode

Router OSPF Config


no area range

This command deletes a specified area range. The <ipaddr> is a valid IP address. The <subnetmask> is a valid subnet mask.


Format

no area <areaid> range <ipaddr> <subnetmask>

Mode

Router OSPF Config


area stub (OSPF)

This command creates a stub area for the specified area ID. A stub area is characterized by the fact that AS External LSAs are not propagated into the area. Removing AS External LSAs and Summary LSAs can significantly reduce the link state database of routers within the stub area.


Format

area <areaid> stub

Mode

Router OSPF Config


no area stub

This command deletes a stub area for the specified area ID.


Format

no area <areaid> stub

Mode

Router OSPF Config


area stub no-summary (OSPF)

This command configures the Summary LSA mode for the stub area identified by <areaid>. Use this command to prevent LSA Summaries from being sent.


Default

disabled

Format

area <areaid> stub no-summary

Mode

Router OSPF Config


no area stub no-summary

This command configures the default Summary LSA mode for the stub area identified by <areaid>.


Format

no area <areaid> stub no-summary

Mode

Router OSPF Config


area virtual-link (OSPF)

This command creates the OSPF virtual interface for the specified <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor.


Format

area <areaid> virtual-link <neighbor>

Mode

Router OSPF Config


no area virtual-link

This command deletes the OSPF virtual interface from the given interface, identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor.


Format

no area <areaid> virtual-link <neighbor>

Mode

Router OSPF Config


area virtual-link authentication

This command configures the authentication type and key for the OSPF virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor. The value for <type> is either none, simple, or encrypt. The [key] is composed of standard displayable, non-control keystrokes from a Standard 101/102-key keyboard. The authentication key must be 8 bytes or less if the authentication type is simple. If the type is encrypt, the key may be up to 256 bytes. Unauthenticated interfaces do not need an authentication key. If the type is encrypt, a key id in the range of 0 and 255 must be specified.The default value for authentication type is none. Neither the default password key nor the default key id are configured.


Default

none

Format

area <areaid> virtual-link <neighbor> authentication {none | {simple <key>} | {encrypt <key> <keyid>}}

Mode

Router OSPF Config


no area virtual-link authentication

This command configures the default authentication type for the OSPF virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor.


Format

no area <areaid> virtual-link <neighbor> authentication

Mode

Router OSPF Config


area virtual-link dead-interval (OSPF)

This command configures the dead interval for the OSPF virtual interface on the virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor. The range for seconds is 1 to 65535.


Default

40

Format

area <areaid> virtual-link <neighbor> dead-interval <seconds>

Mode

Router OSPF Config


no area virtual-link dead-interval

This command configures the default dead interval for the OSPF virtual interface on the virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor.


Format

no area <areaid> virtual-link <neighbor> dead-interval

Mode

Router OSPF Config


area virtual-link hello-interval (OSPF)

This command configures the hello interval for the OSPF virtual interface on the virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor. The range for <seconds> is 1 to 65535.


Default

10

Format

area <areaid> virtual-link <neighbor> hello-interval <1-65535>

Mode

Router OSPF Config


no area virtual-link hello-interval

This command configures the default hello interval for the OSPF virtual interface on the virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor.


Format

no area <areaid> virtual-link <neighbor> hello-interval

Mode

Router OSPF Config


area virtual-link retransmit-interval (OSPF)

This command configures the retransmit interval for the OSPF virtual interface on the virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor. The range for seconds is 0 to 3600.


Default

5

Format

area <areaid> virtual-link <neighbor> retransmit-interval <seconds>

Mode

Router OSPF Config


no area virtual-link retransmit-interval

This command configures the default retransmit interval for the OSPF virtual interface on the virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor.


Format

no area <areaid> virtual-link <neighbor> retransmit-interval

Mode

Router OSPF Config


area virtual-link transmit-delay (OSPF)

This command configures the transmit delay for the OSPF virtual interface on the virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor. The range for seconds is 0 to 3600 (1 hour).


Default

1

Format

area <areaid> virtual-link <neighbor> transmit-delay <seconds>

Mode

Router OSPF Config


no area virtual-link transmit-delay

This command resets the default transmit delay for the OSPF virtual interface to the default value.


Format

no area <areaid> virtual-link <neighbor> transmit-delay

Mode

Router OSPF Config


default-information originate (OSPF)

This command is used to control the advertisement of default routes.


Default

metric--unspecified
type--2

Format

default-information originate [always] [metric <0-16777214>] [metric-type {1 | 2}]

Mode

Router OSPF Config


no default-information originate (OSPF)

This command is used to control the advertisement of default routes.


Format

no default-information originate [metric] [metric-type]

Mode

Router OSPF Config


default-metric (OSPF)

This command is used to set a default for the metric of distributed routes.


Format

default-metric <1-16777214>

Mode

Router OSPF Config


no default-metric (OSPF)

This command is used to set a default for the metric of distributed routes.


Format

no default-metric

Mode

Router OSPF Config


distance ospf (OSPF)

This command sets the route preference value of OSPF in the router. Lower route preference values are preferred when determining the best route. The type of OSPF can be intra, inter, type-1, or type-2. The OSPF specification (RFC 2328) requires that preferences must be given to the routes learned via OSPF in the following order: intra < inter < type-1 < type-2. The <preference> range is 1 to 255. A route with a preference of 255 cannot be used to forward traffic.


Default

intra--8
inter--10
type-1--13
type-2--50.

Format

distance ospf {intra | inter | type1 | type2} <preference>

Mode

Router OSPF Config


no distance ospf

This command sets the default route preference value of OSPF in the router. The type of OSPF can be intra, inter, type-1, or type-2.


Format

no distance ospf {intra | inter | type1 | type2}

Mode

Router OSPF Config


distribute-list out (OSPF)

Use this command to specify the access list to filter routes received from the source protocol.


Format

distribute-list <1-199> out {rip | bgp | static | connected}

Mode

Router OSPF Config


no distribute-list out

Use this command to specify the access list to filter routes received from the source protocol.


Format

no distribute-list <1-199> out {rip | bgp | static | connected}

Mode

Router OSPF Config


exit-overflow-interval (OSPF)

This command configures the exit overflow interval for OSPF. It describes the number of seconds after entering Overflow state that a router will wait before attempting to leave the Overflow State. This allows the router to again originate non-default AS-external-LSAs. When set to 0, the router will not leave Overflow State until restarted. The range for seconds is 0 to 2147483647 seconds.


Default

0

Format

exit-overflow-interval <seconds>

Mode

Router OSPF Config


no exit-overflow-interval

This command configures the default exit overflow interval for OSPF.


Format

no exit-overflow-interval

Mode

Router OSPF Config


external-lsdb-limit (OSPF)

This command configures the external LSDB limit for OSPF. If the value is -1, then there is no limit. When the number of non-default AS-external-LSAs in a router's link-state database reaches the external LSDB limit, the router enters overflow state. The router never holds more than the external LSDB limit non-default AS-external-LSAs in it database. The external LSDB limit MUST be set identically in all routers attached to the OSPF backbone and/or any regular OSPF area. The range for limit is -1 to 2147483647.


Default

-1

Format

external-lsdb-limit <limit>

Mode

Router OSPF Config


no external-lsdb-limit

This command configures the default external LSDB limit for OSPF.


Format

no external-lsdb-limit

Mode

Router OSPF Config


ip ospf areaid

This command sets the OSPF area to which the specified router interface belongs. The <areaid> is an IP address, formatted as a 4-digit dotted-decimal number or a decimal value in the range of <0-4294967295>. The <areaid> uniquely identifies the area to which the interface connects. Assigning an area id, which does not exist on an interface, causes the area to be created with default values.


Format

ip ospf areaid <areaid>

Mode

Interface Config


ip ospf authentication

This command sets the OSPF Authentication Type and Key for the specified interface. The value of <type> is either none, simple or encrypt. The [key] is composed of standard displayable, non-control keystrokes from a Standard 101/102-key keyboard. The authentication key must be 8 bytes or less if the authentication type is simple. If the type is encrypt, the key may be up to 256 bytes. If the type is encrypt a <keyid> in the range of 0 and 255 must be specified. Unauthenticated interfaces do not need an authentication key or authentication key ID.


Default

none

Format

ip ospf authentication {none | {simple <key>} | {encrypt <key> <keyid>}}

Mode

Interface Config


no ip ospf authentication

This command sets the default OSPF Authentication Type for the specified interface.


Format

no ip ospf authentication

Mode

Interface Config


ip ospf cost

This command configures the cost on an OSPF interface. The <cost> parameter has a range of 1 to 65535.


Default

10

Format

ip ospf cost <1-65535>

Mode

Interface Config


no ip ospf cost

This command configures the default cost on an OSPF interface.


Format

no ip ospf cost

Mode

Interface Config


ip ospf dead-interval

This command sets the OSPF dead interval for the specified interface. The value for <seconds> is a valid positive integer, which represents the length of time in seconds that a router's Hello packets have not been seen before its neighbor routers declare that the router is down. The value for the length of time must be the same for all routers attached to a common network. This value should be some multiple of the Hello Interval (i.e. 4). Valid values range for seconds is from 1 to 2147483647.


Default

40

Format

ip ospf dead-interval <seconds>

Mode

Interface Config


no ip ospf dead-interval

This command sets the default OSPF dead interval for the specified interface.


Format

no ip ospf dead-interval

Mode

Interface Config


ip ospf hello-interval

This command sets the OSPF hello interval for the specified interface. The value for seconds is a valid positive integer, which represents the length of time in seconds. The value for the length of time must be the same for all routers attached to a network.

Valid values range from 1 to 65535.


Default

10

Format

ip ospf hello-interval <seconds>

Mode

Interface Config


no ip ospf hello-interval

This command sets the default OSPF hello interval for the specified interface.


Format

no ip ospf hello-interval

Mode

Interface Config


ip ospf priority

This command sets the OSPF priority for the specified router interface. The priority of the interface is a priority integer from 0 to 255. A value of 0 indicates that the router is not eligible to become the designated router on this network.


Default

1, which is the highest router priority.

Format

ip ospf priority <0-255>

Mode

Interface Config


no ip ospf priority

This command sets the default OSPF priority for the specified router interface.


Format

no ip ospf priority

Mode

Interface Config


ip ospf retransmit-interval

This command sets the OSPF retransmit Interval for the specified interface. The retransmit interval is specified in seconds. The value for <seconds> is the number of seconds between link-state advertisement retransmissions for adjacencies belonging to this router interface. This value is also used when retransmitting database description and link-state request packets. Valid values range from 0 to 3600 (1 hour).


Default

5

Format

ip ospf retransmit-interval <0-3600>

Mode

Interface Config


no ip ospf retransmit-interval

This command sets the default OSPF retransmit Interval for the specified interface.


Format

no ip ospf retransmit-interval

Mode

Interface Config


ip ospf transmit-delay

This command sets the OSPF Transit Delay for the specified interface. The transmit delay is specified in seconds. In addition, it sets the estimated number of seconds it takes to transmit a link state update packet over this interface. Valid values for <seconds> range from 1 to 3600 (1 hour).


Default

1

Format

ip ospf transmit-delay <1-3600>

Mode

Interface Config


no ip ospf transmit-delay

This command sets the default OSPF Transit Delay for the specified interface.


Format

no ip ospf transmit-delay

Mode

Interface Config


ip ospf mtu-ignore

This command disables OSPF maximum transmission unit (MTU) mismatch detection. OSPF Database Description packets specify the size of the largest IP packet that can be sent without fragmentation on the interface. When a router receives a Database Description packet, it examines the MTU advertised by the neighbor. By default, if the MTU is larger than the router can accept, the Database Description packet is rejected and the OSPF adjacency is not established.


Default

enabled

Format

ip ospf mtu-ignore

Mode

Interface Config


no ip ospf mtu-ignore

This command enables the OSPF MTU mismatch detection.


Format

no ip ospf mtu-ignore

Mode

Interface Config


router-id (OSPF)

This command sets a 4-digit dotted-decimal number uniquely identifying the router ospf id. The <ipaddress> is a configured value.


Format

router-id <ipaddress>

Mode

Router OSPF Config


redistribute (OSPF)

This command configures OSPF protocol to allow redistribution of routes from the specified source protocol/routers.


Default

metric--unspecified
type--2
tag--0

Format

redistribute {rip | bgp | static | connected} [metric <0-16777214>] [metric-type {1 | 2}] [tag <0-4294967295>] [subnets]

Mode

Router OSPF Config


no redistribute

This command configures OSPF protocol to prohibit redistribution of routes from the specified source protocol/routers.


Format

no redistribute {rip | bgp | static | connected} [metric] [metric-type] [tag] [subnets]

Mode

Router OSPF Config


maximum-paths (OSPF)

This command sets the number of paths that OSPF can report for a given destination where maxpaths is platform dependent.


Default

4

Format

maximum-paths <maxpaths>

Mode

Router OSPF Config


no maximum-paths

This command resets the number of paths that OSPF can report for a given destination back to its default value.


Format

no maximum-paths

Mode

Router OSPF Config


timers spf

Use this command to configure the SPF delay time and hold time. The valid range for both parameters is 0-65535 seconds.


Default

delay-time--5
hold-time--10

Format

timers spf <delay-time> <hold-time>

Mode

Router OSPF Config


trapflags (OSPF)

This command enables OSPF traps.


Default

enabled

Format

trapflags

Mode

Router OSPF Config


no trapflags

This command disables OSPF traps.


Format

no trapflags

Mode

Router OSPF Config


show ip ospf

This command displays information relevant to the OSPF router.


Format

show ip ospf

Mode

Privileged EXEC




Note - Some of the information below displays only if you enable OSPF and configure certain features.



TABLE 4-19 Entry Definitions for show ip ospf

Entry

Definition

Router ID

A 32-bit integer in dotted decimal format identifying the router, about which information is displayed. This is a configured value.

OSPF Admin Mode

Shows whether the administrative mode of OSPF in the router is enabled or disabled. This is a configured value.

ASBR Mode

Reflects whether the ASBR mode is enabled or disabled. Enable implies that the router is an autonomous system border router. Router automatically becomes an ASBR when it is configured to redistribute routes learnt from other protocol. The possible values for the ASBR status is enabled (if the router is configured to re-distribute routes learnt by other protocols) or disabled (if the router is not configured for the same).

RFC 1583 Compatibility

Reflects whether 1583 compatibility is enabled or disabled. This is a configured value.

ABR Status

Shows whether the router is an OSPF Area Border Router.

Exit Overflow Interval

Shows the number of seconds that, after entering OverflowState, a router will attempt to leave OverflowState.

External LSA Count

Shows the number of external (LS type 5) link-state advertisements in the link-state database.

External LSA Checksum

Shows the sum of the LS checksums of external link-state advertisements contained in the link-state database.

New LSAs Originated

Shows the number of new link-state advertisements that have been originated.

LSAs Received

Shows the number of link-state advertisements received determined to be new instantiations.

External LSDB Limit

Shows the maximum number of non-default AS-external-LSAs entries that can be stored in the link-state database.

Default Metric

Default value for redistributed routes.

Default Route Advertise

Indicates whether the default routes received from other source protocols are advertised or not

Always

Shows whether default routes are always advertised.

Metric

Shows the metric for the advertised default routes. If the metric is not configured, this field is blank.

Metric Type

Shows whether the routes are External Type 1 or External Type 2.

Maximum Paths

Shows the maximum number of paths that OSPF can report for a given destination.

Redistributing

This field is a heading and appears only if you configure the system to take routes learned from a non-OSPF source and advertise them to its peers.

Source

Shows source protocol/routes that are being redistributed. Possible values are static, connected, BGP, or RIP.

Metric

Shows the metric of the routes being redistributed.

Metric Type

Shows whether the routes are External Type 1 or External Type 2.

Tag

Shows the decimal value attached to each external route.

Subnets

For redistributing routes into OSPF, the scope of redistribution for the specified protocol.

Distribute-List

Shows the access list used to filter redistributed routes.


show ip ospf area

This command displays information about the area. The <areaid> identifies the OSPF area that is being displayed.


Format

show ip ospf area <areaid>

Modes

Privileged EXEC
User EXEC



TABLE 4-20 Entry Definitions for show ip ospf area

Entry

Definition

AreaID

Is the area id of the requested OSPF area.

External Routing

Is a number representing the external routing capabilities for this area.

Spf Runs

Is the number of times that the intra-area route table has been calculated using this area's link-state database.

Area Border Router Count

The total number of area border routers reachable within this area.

Area LSA Count

Total number of link-state advertisements in this area's link-state database, excluding AS External LSA's.

Area LSA Checksum

A number representing the Area LSA Checksum for the specified AreaID excluding the external (LS type 5) link-state advertisements.

Import Summary LSAs

Shows whether to import summary LSAs.

OSPF Stub Metric Value

Shows the metric value of the stub area. This field displays only if the area is a configured as a stub area.

The following OSPF NSSA specific information displays only if the area is configured as an NSSA.

Import Summary LSAs

Shows whether to import summary LSAs into the NSSA.

Redistribute into NSSA

Shows whether to redistribute information into the NSSA.

Default Information Originate

Shows whether to advertise a default route into the NSSA

Default Metric

Shows the metric value for the default route advertised into the NSSA.

Default Metric Type

Shows the metric type for the default route advertised into the NSSA.

Translator Role

Shows the NSSA translator role of the ABR, which is always or candidate.

Translator Stability Interval

Shows the amount of time that an elected translator continues to perform its duties after it determines that its translator status has been deposed by another router.

Translator State

Shows whether the ABR translator state is disabled, always, or elected.


show ip ospf border-routers

This command displays the internal OSPF routing table entries to an Area Border Router (ABR) and Autonomous System Boundary Router (ASBR).


Format

show ip ospf border-routers

Modes

User EXEC
Privileged EXEC



TABLE 4-21 Entry Definitions for show ip ospf border-routers

Entry

Definition

Type

The type of the route to the destination, which is one of the following values:

  • intra - Intra-area route
  • inter - Inter-area route

Router ID

Router ID of the destination.

Cost

Cost of using this route.

Area ID

The area ID of the area from which this route is learned.

Router Type

The router type of the destination; it is either an ABR or ASBR or both.

Next Hop

Address of the next hop toward the destination.

Next Hop Intf

The outgoing router interface to use when forwarding traffic to the next hop.


show ip ospf database

This command displays information about the link state database when OSPF is enabled. If you do not enter any parameters, the command displays the LSA headers for all areas.

For each link-type and area, the following information is displayed only if OSPF is enabled.


TABLE 4-22 Entry Definitions for show ip ospf database

Entry

Definition

Link Id

Is a number that uniquely identifies an LSA that a router originates from all other self originated LSA's of the same LS type.

Adv Router

The Advertising Router. Is a 32 bit dotted decimal number representing the LSDB interface.

Age

Is a number representing the age of the link state advertisement in seconds.

Sequence

Is a number that represents which LSA is more recent.

Checksum

Is the total number LSA checksum.

Options

This is an integer. It indicates that the LSA receives special handling during routing calculations.

Rtr Opt

Router Options are valid for router links only.


show ip ospf database database-summary

Use this command to display the number of each type of LSA in the database for each area and for the router. The command also displays the total number of LSAs in the database.


Format

show ip ospf database database-summary

Modes

Privileged EXEC
User EXEC



TABLE 4-23 Entry Definitions for show ip ospf database database-summary

Entry

Definition

Router

Total number of router LSAs in the OSPF link state database.

Network

Total number of network LSAs in the OSPF link state database.

Summary Net

Total number of summary network LSAs in the database.

Summary ASBR

Number of summary ASBR LSAs in the database.

Type-7 Ext

Total number of Type-7 external LSAs in the database.

Self-Originated Type-7

Total number of self originated AS external LSAs in the OSPFv3 link state database.

Opaque Link

Number of opaque link LSAs in the database.

Opaque Area

Number of opaque area LSAs in the database.

Subtotal

Number of entries for the identified area.

Total

Number of entries for all areas.


show ip ospf interface

This command displays the information for the IFO object or virtual interface tables.


Format

show ip ospf interface {<slot/port> | loopback <loopback-id>}

Modes

Privileged EXEC
User EXEC



TABLE 4-24 Entry Definitions for show ip ospf interface

Entry

Definition

IP Address

Represents the IP address for the specified interface.

Subnet Mask

A mask of the network and host portion of the IP address for the OSPF interface.

OSPF Admin Mode

States whether OSPF is enabled or disabled on a router interface.

OSPF Area ID

Represents the OSPF Area Id for the specified interface.

Router Priority

A number representing the OSPF Priority for the specified interface.

Retransmit Interval

A number representing the OSPF Retransmit Interval for the specified interface.

Hello Interval

A number representing the OSPF Hello Interval for the specified interface.

Dead Interval

A number representing the OSPF Dead Interval for the specified interface.

LSA Ack Interval

A number representing the OSPF LSA Acknowledgement Interval for the specified interface.

Transit Delay Interval

A number representing the OSPF Transit Delay for the specified interface.

Authentication Type

The OSPF Authentication Type for the specified interface are: none, simple, and encrypt.

The following information is displayed only if OSPF is enabled.

OSPF Interface Type

Broadcast LANs, such as Ethernet and IEEE 802.5, take the value broadcast. The OSPF Interface Type will be 'broadcast'.

State

The OSPF Interface States are: down, loopback, waiting, point-to-point, designated router, and backup designated router.

Designated Router

The router ID representing the designated router.

Backup Designated Router

The router ID representing the backup designated router.

Number of Link Events

The number of link events.

Metric Cost

The cost of the OSPF interface.


show ip ospf interface brief

This command displays brief information for the IFO object or virtual interface tables.


Format

show ip ospf interface brief

Modes

Privileged EXEC
User EXEC



TABLE 4-25 Entry Definitions for show ip ospf interface brief

Entry

Definition

Interface

Valid slot and port number separated by forward slashes.

OSPF Admin Mode

States whether OSPF is enabled or disabled on a router interface.

OSPF Area ID

Represents the OSPF Area Id for the specified interface.

Router Priority

A number representing the OSPF Priority for the specified interface.

Hello Interval

A number representing the OSPF Hello Interval for the specified interface.

Dead Interval

A number representing the OSPF Dead Interval for the specified interface.

Retransmit Interval

A number representing the OSPF Retransmit Interval for the specified interface.

Retransmit Delay Interval

A number representing the OSPF Transit Delay for the specified interface.

LSA Ack Interval

A number representing the OSPF LSA Acknowledgement Interval for the specified interface.


show ip ospf interface stats

This command displays the statistics for a specific interface. The information below will only be displayed if OSPF is enabled.


Format

show ip ospf interface stats <slot/port>

Modes

Privileged EXEC
User EXEC



TABLE 4-26 Entry Definitions for show ip ospf interface stats

Entry

Definition

OSPF Area ID

The area id of this OSPF interface.

Area Border Router Count

The total number of area border routers reachable within this area. This is initially zero, and is calculated in each SPF pass.

AS Border Router Count

The total number of Autonomous System border routers reachable within this area.

Area LSA Count

The total number of link-state advertisements in this area's link-state database, excluding AS External LSAs.

IP Address

The IP address associated with this OSPF interface.

OSPF Interface Events

The number of times the specified OSPF interface has changed its state, or an error has occurred.

Virtual Events

The number of state changes or errors that occurred on this virtual link.

Neighbor Events

The number of times this neighbor relationship has changed state, or an error has occurred.

External LSA Count

The number of external (LS type 5) link-state advertisements in the link-state database.


show ip ospf neighbor

This command displays information about OSPF neighbors. If you do not specify a neighbor IP address, the output displays summary information in a table. If you specify an interface or tunnel, only the information for that interface or tunnel displays. The <ip-address> is the IP address of the neighbor, and when you specify this, detailed information about the neighbor displays. The information below only displays if OSPF is enabled and the interface has a neighbor.


Format

show ip ospf neighbor [interface <slot/port>] [<ip-address>]

Modes

Privileged EXEC
User EXEC


If you do not specify an IP address, a table with the following columns displays for all neighbors or the neighbor associated with the interface that you specify.


TABLE 4-27 Entry Definitions for show ip ospf neighbor

Entry

Definition

Router ID

Shows the 4-digit dotted-decimal number of the neighbor router.

Priority

Displays the OSPF priority for the specified interface. The priority of an interface is a priority integer from 0 to 255. A value of '0' indicates that the router is not eligible to become the designated router on this network.

IP Address

Shows the IP address of the neighbor.

Interface

Shows the interface of the local router in slot/port format.

State

Shows the state of the neighboring routers. Possible values are as follows:

  • Down- initial state of the neighbor conversation - no recent information has been received from the neighbor.
  • Attempt - no recent information has been received from the neighbor but a more concerted effort should be made to contact the neighbor.
  • Init - an Hello packet has recently been seen from the neighbor, but bidirectional communication has not yet been established.
  • 2 way - communication between the two routers is bidirectional.
  • Exchange start - the first step in creating an adjacency between the two neighboring routers, the goal is to decide which router is the master and to decide upon the initial DD sequence number.
  • Exchange - the router is describing its entire link state database by sending Database Description packets to the neighbor.
  • Loading - Link State Request packets are sent to the neighbor asking for the more recent LSAs that have been discovered (but not yet received) in the Exchange state.
  • Full - the neighboring routers are fully adjacent and they will now appear in router-LSAs and network-LSAs.

Dead Time

Shows the amount of time, in seconds, to wait before the router assumes the neighbor is unreachable.

If you specify an IP address for the neighbor router, the following fields display:

Interface

Valid slot and port number separated by forward slashes.

Neighbor IP Address

Shows the IP address of the neighbor router.

Interface Index

Shows the interface ID of the neighbor router.

Area ID

Shows the area ID of the OSPF area associated with the interface.

Options

An integer value that indicates the optional OSPF capabilities supported by the neighbor. The neighbor's optional OSPF capabilities are also listed in its Hello packets. This enables received Hello Packets to be rejected (i.e., neighbor relationships will not even start to form) if there is a mismatch in certain crucial OSPF capabilities.

Router Priority

Displays the OSPF priority for the specified interface. The priority of an interface is a priority integer from 0 to 255. A value of '0' indicates that the router is not eligible to become the designated router on this network.

Dead Timer Due

Shows the amount of time, in seconds, to wait before the router assumes the neighbor is unreachable.

State

Shows the state of the neighboring routers.

Events

The number of times this neighbor relationship has changed state, or an error has occurred.

Retransmission Queue Length

Is an integer representing the current length of the retransmission queue of the specified neighbor router Id of the specified interface.


show ip ospf range

This command displays information about the area ranges for the specified <areaid>. The <areaid> identifies the OSPF area whose ranges are being displayed.


Format

show ip ospf range <areaid>

Modes

Privileged EXEC
User EXEC



TABLE 4-28 Entry Definitions for show ip ospf range

Entry

Definition

Area ID

The area id of the requested OSPF area.

IP Address

An IP Address which represents this area range.

Subnet Mask

A valid subnet mask for this area range.

Lsdb Type

The type of link advertisement associated with this area range.

Advertisement

The status of the advertisement. Advertisement has two possible settings: enabled or disabled.


show ip ospf statistics

This command displays information about recent Shortest Path First (SPF) calculations. The SPF is the OSPF routing table calculation. The output lists the number of times the SPF has run for each OSPF area. A table follows this information. For each of the 15 most recent SPF runs, the table lists how long ago the SPF ran, how long the SPF took, and the reasons why the SPF was scheduled.


Format

show ip ospf statistics

Modes

Privileged EXEC
User EXEC



TABLE 4-29 Entry Definitions for show ip ospf statistics

Entry

Definition

Delta T

How long ago the SPF ran. The time is in the format hh:mm:ss, giving the hours, minutes, and seconds since the SPF run.

SPF Duration

How long the SPF took in milliseconds.

Reason

The reason the SPF was scheduled. Reason codes are as follows:

  • R - a router LSA has changed
  • N - a network LSA has changed
  • SN - a type 3 network summary LSA has changed
  • SA - a type 4 ASBR summary LSA has changed
  • X - a type 5 or type 7 external LSA has changed

show ip ospf stub table

This command displays the OSPF stub table. The information below will only be displayed if OSPF is initialized on the switch.


Format

show ip ospf stub table

Modes

Privileged EXEC
User EXEC



TABLE 4-30 Entry Definitions for show ip stub table

Entry

Definition

Area ID

Is a 32-bit identifier for the created stub area.

Type of Service

Is the type of service associated with the stub metric. FASTPATH only supports Normal TOS.

Metric Val

The metric value is applied based on the TOS. It defaults to the least metric of the type of service among the interfaces to other areas. The OSPF cost for a route is a function of the metric value.

Import Summary LSA

Controls the import of summary LSAs into stub areas.


show ip ospf virtual-link

This command displays the OSPF Virtual Interface information for a specific area and neighbor. The <areaid> parameter identifies the area and the <neighbor> parameter identifies the neighbor's Router ID.


Format

show ip ospf virtual-link <areaid> <neighbor>

Modes

Privileged EXEC
User EXEC



TABLE 4-31 Entry Definitions for show ip ospf virtual-link

Entry

Definition

Area ID

The area id of the requested OSPF area.

Neighbor Router ID

The input neighbor Router ID.

Hello Interval

The configured hello interval for the OSPF virtual interface.

Dead Interval

The configured dead interval for the OSPF virtual interface.

Iftransit Delay Interval

The configured transit delay for the OSPF virtual interface.

Retransmit Interval

The configured retransmit interval for the OSPF virtual interface.

Authentication Type

The configured authentication type of the OSPF virtual interface.

State

The OSPF Interface States are: down, loopback, waiting, point-to-point, designated router, and backup designated router. This is the state of the OSPF interface.

Neighbor State

The neighbor state.


show ip ospf virtual-link brief

This command displays the OSPF Virtual Interface information for all areas in the system.


Format

show ip ospf virtual-link brief

Modes

Privileged EXEC
User EXEC



TABLE 4-32 Entry Definitions for show ip ospf virtual-link brief

Entry

Definition

Area Id

The area id of the requested OSPF area.

Neighbor

The neighbor interface of the OSPF virtual interface.

Hello Interval

The configured hello interval for the OSPF virtual interface.

Dead Interval

The configured dead interval for the OSPF virtual interface.

Retransmit Interval

The configured retransmit interval for the OSPF virtual interface.

Transit Delay

The configured transit delay for the OSPF virtual interface.



Routing Information Protocol (RIP) Commands

This section describes the commands you use to view and configure RIP, which is a distance-vector routing protocol that you use to route traffic within a small network.

router rip

Use this command to enter Router RIP mode.


Format

router rip

Mode

Global Config


enable (RIP)

This command resets the default administrative mode of RIP in the router (active).


Default

enabled

Format

enable

Mode

Router RIP Config


no enable (RIP)

This command sets the administrative mode of RIP in the router to inactive.


Format

no enable

Mode

Router RIP Config


ip rip

This command enables RIP on a router interface.


Default

disabled

Format

ip rip

Mode

Interface Config


no ip rip

This command disables RIP on a router interface.


Format

no ip rip

Mode

Interface Config


auto-summary

This command enables the RIP auto-summarization mode.


Default

disabled

Format

auto-summary

Mode

Router RIP Config


no auto-summary

This command disables the RIP auto-summarization mode.


Format

no auto-summary

Mode

Router RIP Config


default-information originate (RIP)

This command is used to control the advertisement of default routes.


Format

default-information originate

Mode

Router RIP Config


no default-information originate (RIP)

This command is used to control the advertisement of default routes.


Format

no default-information originate

Mode

Router RIP Config


default-metric (RIP)

This command is used to set a default for the metric of distributed routes.


Format

default-metric <0-15>

Mode

Router RIP Config


no default-metric (RIP)

This command is used to reset the default metric of distributed routes to its default value.


Format

no default-metric

Mode

Router RIP Config


distance rip

This command sets the route preference value of RIP in the router. Lower route preference values are preferred when determining the best route. A route with a preference of 255 cannot be used to forward traffic.


Default

15

Format

distance rip <1-255>

Mode

Router RIP Config


no distance rip

This command sets the default route preference value of RIP in the router.


Format

no distance rip

Mode

Router RIP Config


distribute-list out (RIP)

This command is used to specify the access list to filter routes received from the source protocol.


Default

0

Format

distribute-list <1-199> out {ospf | bgp | static | connected}

Mode

Router RIP Config


no distribute-list out

This command is used to specify the access list to filter routes received from the source protocol.


Format

no distribute-list <1-199> out {ospf | bgp | static | connected}

Mode

Router RIP Config


ip rip authentication

This command sets the RIP Version 2 Authentication Type and Key for the specified interface. The value of <type> is either none, simple, or encrypt. The value for authentication key [key] must be 16 bytes or less. The [key] is composed of standard displayable, non-control keystrokes from a Standard 101/102-key keyboard. If the value of <type> is encrypt, a keyid in the range of 0 and 255 must be specified. Unauthenticated interfaces do not need an authentication key or authentication key ID.


Default

none

Format

ip rip authentication {none | {simple <key>} | {encrypt <key> <keyid>}}

Mode

Interface Config


no ip rip authentication

This command sets the default RIP Version 2 Authentication Type for an interface.


Format

no ip rip authentication

Mode

Interface Config


ip rip receive version

This command configures the interface to allow RIP control packets of the specified version(s) to be received.

The value for <mode> is one of: rip1 to receive only RIP version 1 formatted packets, rip2 for RIP version 2, both to receive packets from either format, or none to not allow any RIP control packets to be received.


Default

both

Format

ip rip receive version {rip1 | rip2 | both | none}

Mode

Interface Config


no ip rip receive version

This command configures the interface to allow RIP control packets of the default version(s) to be received.


Format

no ip rip receive version

Mode

Interface Config


ip rip send version

This command configures the interface to allow RIP control packets of the specified version to be sent.

The value for <mode> is one of: rip1 to broadcast RIP version 1 formatted packets, rip1c (RIP version 1 compatibility mode) which sends RIP version 2 formatted packets via broadcast, rip2 for sending RIP version 2 using multicast, or none to not allow any RIP control packets to be sent.


Default

rip2

Format

ip rip send version {rip1 | rip1c | rip2 | none}

Mode

Interface Config


no ip rip send version

This command configures the interface to allow RIP control packets of the default version to be sent.


Format

no ip rip send version

Mode

Interface Config


hostroutesaccept

This command enables the RIP hostroutesaccept mode.


Default

enabled

Format

hostroutesaccept

Mode

Router RIP Config


no hostroutesaccept

This command disables the RIP hostroutesaccept mode.


Format

no hostroutesaccept

Mode

Router RIP Config


split-horizon

This command sets the RIP split horizon mode. Split horizon is a technique for avoiding problems caused by including routes in updates sent to the router from which the route was originally learned. The options are: None - no special processing for this case. Simple - a route will not be included in updates sent to the router from which it was learned. Poisoned reverse - a route will be included in updates sent to the router from which it was learned, but the metric will be set to infinity.


Default

simple

Format

split-horizon {none | simple | poison}

Mode

Router RIP Config


no split-horizon

This command sets the default RIP split horizon mode.


Format

no split-horizon

Mode

Router RIP Config


redistribute (RIP)

This command configures RIP protocol to redistribute routes from the specified source protocol/routers. There are five possible match options. When you submit the command redistribute ospf match <match-type> the match-type or types specified are added to any match types presently being redistributed. Internal routes are redistributed by default.


Default

metric--not-configured
match--internal

Format

OSPF as source protocol:

redistribute ospf [metric <0-15>] [match [internal] [external 1] [external 2] [nssa-external 1] [nssa-external-2]]

 

Other source protocol:

redistribute {bgp | static | connected} [metric <0-15>]

Mode

Router RIP Config


no redistribute

This command de-configures RIP protocol to redistribute routes from the specified source protocol/routers.


Format

no redistribute {ospf | bgp | static | connected} [metric] [match [internal] [external 1] [external 2] [nssa-external 1] [nssa-external-2]]

Mode

Router RIP Config


show ip rip

This command displays information relevant to the RIP router.


Format

show ip rip

Modes

Privileged EXEC
User EXEC



TABLE 4-33 Entry Definitions for show ip rip

Entry

Definition

RIP Admin Mode

Enable or disable.

Split Horizon Mode

None, simple or poison reverse.

Auto Summary Mode

Enable or disable. If enabled, groups of adjacent routes are summarized into single entries, in order to reduce the total number of entries The default is enable.

Host Routes Accept Mode

Enable or disable. If enabled the router accepts host routes. The default is enable.

Global Route Changes

The number of route changes made to the IP Route Database by RIP. This does not include the refresh of a route's age.

Global queries

The number of responses sent to RIP queries from other systems.

Default Metric

Sets a default for the metric of redistributed routes.This field displays the default metric if one has already been set or blank if not configured earlier. The valid values are (1 to 15)

Default Route Advertise

The default route.


show ip rip interface brief

This command displays general information for each RIP interface. For this command to display successful results routing must be enabled per interface (i.e. ip rip).


Format

show ip rip interface brief

Modes

Privileged EXEC
User EXEC



TABLE 4-34 Entry Definitions for show ip rip interface brief

Entry

Definition

Interface

Valid slot and port number separated by forward slashes.

IP Address

The IP source address used by the specified RIP interface.

Send Version

The RIP version(s) used when sending updates on the specified interface. The types are none, RIP-1, RIP-1c, RIP-2.

Receive Version

The RIP version(s) allowed when receiving updates from the specified interface. The types are none, RIP-1, RIP-2, Both

RIP Mode

RIP administrative mode of router RIP operation; enable activates, disable de-activates it.

Link State

The mode of the interface (up or down).


show ip rip interface

This command displays information related to a particular RIP interface.


Format

show ip rip interface <slot/port>

Modes

Privileged EXEC
User EXEC



TABLE 4-35 Entry Definitions for show ip rip interface

Entry

Definition

Interface

Valid slot and port number separated by forward slashes. This is a configured value.

IP Address

The IP source address used by the specified RIP interface. This is a configured value.

Send version

The RIP version(s) used when sending updates on the specified interface. The types are none, RIP-1, RIP-1c, RIP-2. This is a configured value.

Receive version

The RIP version(s) allowed when receiving updates from the specified interface. The types are none, RIP-1, RIP-2, Both. This is a configured value.

Both RIP Admin Mode

RIP administrative mode of router RIP operation; enable activates, disable de-activates it. This is a configured value.

Link State

Indicates whether the RIP interface is up or down. This is a configured value.

Authentication Type

The RIP Authentication Type for the specified interface. The types are none, simple, and encrypt. This is a configured value.

Default Metric

A number which represents the metric used for default routes in RIP updates originated on the specified interface. This is a configured value.

The following information will be invalid if the link state is down.

Bad Packets Received

The number of RIP response packets received by the RIP process which were subsequently discarded for any reason.

Bad Routes Received

The number of routes contained in valid RIP packets that were ignored for any reason.

Updates Sent

The number of triggered RIP updates actually sent on this interface.