This chapter provides detailed explanations of the Routing commands.
Note - The commands in this appendix are not officially supported by Sun Microsystems. The information in this appendix is provided as a courtesy; use them at your own risk.
|
This chapter contains the following topics:
Address Resolution Protocol Commands
This section provides a detailed explanation of the Address Resolution Protocol (ARP) commands. The commands are divided by functionality into the following different groups:
- Show commands are used to display switch settings, statistics and other information.
- Configuration commands are used to configure features and options of the switch. For every configuration command there is a show command that will display the configuration setting.
- Copy commands are used to transfer configuration and informational files to and from the switch.
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
arp cachesize
This command configures the ARP cache size. The value for <cachesize> is a platform specific integer value.
- 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 ARP component to automatically renew ARP entries of type dynamic when they age out.
- Format - arp dynamicrenew
- Mode - Privileged Exec
no arp dynamicrenew
This command disables ARP component from automatically renewing ARP entries of type dynamic 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 parameter 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 0-1 Entry Definitions for show arp
Entry
|
Definition
|
Age Time (seconds)
|
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)
|
The time it takes for an ARP request timeout. This value was configured into the unit. Response time is measured in seconds.
|
Retries
|
The maximum number of times an ARP request is retried. This value was configured into the unit.
|
Cache Size
|
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 are displayed for each ARP entry.
TABLE 0-2 Entry Definitions for show arp For Each ARP Entry
Display
|
Definition
|
IP Address
|
The IP address of a device on a subnet attached to an existing routing interface.
|
MAC Address
|
The hardware MAC address of that device.
|
Interface
|
The routing slot/port associated with the device ARP entry.
|
Type
|
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 0-3 Entry Definitions for show arp brief
Entry
|
Definition
|
Age Time (seconds)
|
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)
|
The time it takes for an ARP request timeout. This value was configured into the unit. Response time is measured in seconds.
|
Retries
|
The maximum number of times an ARP request is retried. This value was configured into the unit.
|
Cache Size
|
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.
|
IP Routing
This chapter provides a detailed explanation of the IP Routing commands. The commands are divided by functionality into the following different groups:
- Show commands are used to display switch settings, statistics and other information.
- Configuration Commands are used to configure features and options of the switch. For every configuration command there is a show command that will display the configuration setting.
- Copy commands are used to transfer configuration and informational files to and from the switch.
routing
This command enables routing for an interface.
The current value for this function is displayed under "show ip interface" labeled as "Routing Mode".
- Default - disabled
- Format - routing
- Mode - Interface Config
no routing
This command disables routing for an interface.
The current value for this function is displayed under "show ip interface" 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.
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. This changes the label "IP address" in "show ip interface."
- Format - ip address <ipaddr> <subnetmask>
- 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>
- Mode - Interface Config
ip route
This command configures a static route. The <ip_addr> is a valid ip address. The <subnet_mask> is a valid subnet mask. The <nextHopRtr> is a valid IP address of the next hop router. The <preference> is an integer value from 1 to 255.
- Default - preference - 1
- Format - ip route <ip_addr> <subnet_mask> <nextHopRtr> [<preference>]
- Mode - Global Config
no ip route
This command deletes all next hops to a destination static route. If the optional <nextHopRtr> parameter is designated, the next hop is deleted and if the optional preference value is designated, the preference value of the static route is reset to its default,
- Format - no ip route <ip_addr> <subnet_mask> [{<nextHopRtr> | <preference>}]
- Mode - Global Config
ip route default
This command configures the default route. The value for <nextHopRtr> is a valid IP address of the next hop router. The <preference> is an integer value from 1 to 255
- Default - preference - 1
- Format - ip route default <nextHopRtr> [<preference>]
- Mode - Global Config
no ip route default
This command deletes all configured default routes. If the optional <nextHopRtr> 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 [{<nextHopRtr> | <preference>}]
- Mode - Global Config
ip route distance
This command sets the default distance for static routes. Lower route preference values are preferred when determining the best route. The "ip route" and "ip route default" commands allow you to optionally set the distance 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 maximum transmission unit (MTU) size of IP packets sent on a specific routing interface.
- Default - 1500 bytes
- Format - ip mtu <68 - 9194>
- Mode - Interface Config
no ip mtu
This command sets the maximum transmission unit (MTU) size to the default value.
- Format - no ip mtu
- Mode - Interface Config
show ip brief
This command displays all the summary information of the IP. This command takes no options.
- Format - show ip brief
- Mode - Privileged EXEC and User EXEC
TABLE 0-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.
|
Router ID
|
A 32 bit integer in dotted decimal format identifying the router, about which information is displayed. This is a configured value.
|
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.
|
show ip interface
This command displays all pertinent information about the IP interface.
- Format - show ip interface <slot/port>
- Mode - Privileged EXEC and User EXEC
TABLE 0-5 Entry Definitions for show ip interface
Entry
|
Definition
|
IP Address
|
An IP address representing the subnet configuration of the router interface. This value was configured into the unit.
|
Subnet Mask
|
A mask of the network and host portion of the IP address for the router interface. This value was configured into the unit.
|
Routing Mode
|
The administrative mode of router interface participation. The possible values are enable or disable. This value was configured into the unit.
|
Administrative Mode
|
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.
|
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
|
An integer representing the physical link data rate of the specified interface. This is measured in Megabits per second (Mbps).
|
MAC Address
|
The burned in physical address of the specified interface. The format is 6 two-digit hexadecimal numbers that are separated by colons.
|
Encapsulation Type
|
The encapsulation type for the specified interface. The types are: Ethernet or SNAP.
|
show ip interface brief
This command displays summary information about IP configuration settings for all ports in the router. This command takes no options.
- Format - show ip interface brief
- Mode - Privileged EXEC and User EXEC
TABLE 0-6 Entry Definitions for show ip interface brief
Entry
|
Definition
|
Slot/Port
|
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.
|
In Access Mode
|
Indicates the inbound access list checking administrative mode on this interface. Possible values are Enable or Disable.
|
Out Access Mode
|
Indicates the outbound access list checking administrative mode on this interface. Possible values are Enable or Disable.
|
show ip route
This command displays the entire route table. This commands takes no options.
- Format - show ip route
- Mode - Privileged EXEC
TABLE 0-7 Entry Definitions for show ip route
Entry
|
Definition
|
Network Address
|
An IP address identifying the network on the specified interface.
|
Subnet Mask
|
A mask of the network and host portion of the IP address for the router interface.
|
Protocol
|
Tells which protocol added the specified route. The possibilities are: local, static, OSPF or RIP.
|
Total Number of Routes
|
The total number of routes.
|
For each Next Hop, the following is displayed.
TABLE 0-8 Entry Definitions for show ip route For Each Next Hop
Display
|
Definition
|
Next Hop Intf
|
The outgoing router interface to use when forwarding traffic to the next destination.
|
Next Hop IP Address
|
The outgoing router IP address to use when forwarding traffic to the next router (if any) in the path toward the destination.
|
show ip route bestroutes
This command causes the entire route table to be displayed. This commands takes no options.
- Format - show ip route bestroutes
- Mode - Privileged EXEC
TABLE 0-9 Entry Definitions for show ip route bestroutes
Entry
|
Definition
|
Network Address
|
An IP route prefix for the destination.
|
Subnet Mask
|
A mask of the network and host portion of the IP address for the specified interface.
|
Protocol
|
Tells which protocol added the specified route. The possibilities are: local, static, OSPF or RIP.
|
Total Number of Routes
|
The total number of routes in the route table.
|
For each Next Hop, the following is displayed.
TABLE 0-10 Entry Definitions for show ip route bestroutes For Each Next Hop
Display
|
Definition
|
Next Hop Intf
|
The outgoing router interface to use when forwarding traffic to the next destination.
|
Next Hop IP Address
|
The outgoing router IP address to use when forwarding traffic to the next router (if any) in the path toward the destination. The next router will always be one of the adjacent neighbors or the IP address of the local interface for a directly attached network.
|
show ip route entry
This command displays the entire route table.
- Format - show ip route entry
- Mode - Privileged EXEC
TABLE 0-11 Entry Definitions for show ip route entry
Entry
|
Definition
|
Network Address
|
A valid network address identifying the network on the specified interface.
|
Subnet Mask
|
A mask of the network and host portion of the IP address for the attached network.
|
Protocol
|
Tells which protocol added the specified route. The possibilities are: local, static, OSPF or RIP.
|
For each Next Hop, the following is displayed.
TABLE 0-12 Entry Definitions for show ip route entry For Each Next Hop
Display
|
Definition
|
Next Hop Interface
|
The outgoing router interface to use when forwarding traffic to the next destination.
|
Next Hop IP Address
|
The outgoing router IP address to use when forwarding traffic to the next router (if any) in the path toward the destination.
|
Preference
|
The metric value that is used for this route entry.
|
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.
- Format - show ip route preferences
- Mode - Privileged EXEC and User EXEC
TABLE 0-13 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 Type-1
|
This field displays the OSPF Type-1 route preference value.
|
OSPF Type-2
|
This field displays the OSPF Type-2 route preference value.
|
RIP
|
This field displays the RIP route preference value.
|
BGP4
|
This field displays the BGP-4 route preference value.
|
show ip stats
This command displays IP statistical information. Refer to RFC 1213 for more information about the fields that are displayed. This command takes no options.
- Format - show ip stats
- Mode - Privileged EXEC and User EXEC
encapsulation
This command configures the link layer encapsulation type for the packet. Acceptable values for <encapstype> are Ethernet and SNAP. The default is Ethernet.
- Format - encapsulation {ethernet | snap}
- Mode - Interface Config
- Restrictions--Routed frames are always Ethernet encapsulated when a frame is routed to a VLAN.
Bootp/DHCP Relay Commands
This chapter provides a detailed explanation of the BootP/DHCP Relay commands. The commands are divided by functionality into the following different groups:
- Show commands are used to display switch settings, statistics and other information.
- Configuration Commands are used to configure features and options of the switch. For every configuration command there is a show command that will display the configuration setting.
- Copy commands are used to transfer configuration and informational files to and from the switch.
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
- Mode - Privileged EXEC and User EXEC
TABLE 0-14 Entry Definitions for show bootpdhcprelay
Entry
|
Definition
|
Maximum Hop Count
|
The maximum allowable relay agent hops.
|
Minimum Wait Time (Seconds)
|
The minimum wait time.
|
Admin Mode
|
Represents whether relaying of requests is enabled or disabled.
|
Server IP Address
|
The IP Address for the BootP/DHCP Relay server.
|
Circuit Id Option Mode
|
The DHCP circuit Id option which may be enabled or disabled.
|
Requests Received
|
The number or requests received.
|
Requests Relayed
|
The number of requests relayed.
|
Packets Discarded
|
The number of packets discarded.
|
Router Discovery Protocol Commands
This chapter provides a detailed explanation of the Router Discovery commands. The commands are divided by functionality into the following different groups:
- Show commands are used to display switch settings, statistics and other information.
- Configuration Commands are used to configure features and options of the switch. For every configuration command there is a show command that will display the configuration setting.
- Copy commands are used to transfer configuration and informational files to and from the switch.
ip irdp
This command enables Router Discovery on an interface.
- Default - enabled
- 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 to be used to advertise the router for the interface. The valid values for ipaddr are 224.0.0.1 and 255.255.255.255.
- Default - 224.0.0.1
- Format - ip irdp address <ipaddr>
- Mode - Interface Config
no ip irdp address
This command configures the default address to be 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 range is the 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 3 to the value of maxadvertinterval.
- Default - 0.75 * maxadvertinterval
- Format - ip irdp minadvertinterval <3-maxadvertinterval>
- Mode - Interface Config
no ip irdp minadvertinterval
This command configures the default minimum time, in seconds.
- 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. The range is -2147483648 to -1 to 0 to 1 to 2147483647.
- Default - 0
- Format - ip irdp preference <-2147483648-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}
- Mode - Privileged EXEC and User EXEC
TABLE 0-15 Entry Definitions for show ip irdp
DIsplay
|
Definition
|
Ad Mode
|
Displays the advertise mode which indicates whether router discovery is enabled or disabled on this interface.
|
Max Int
|
Displays the maximum advertise interval which is the maximum time allowed between sending router advertisements from the interface in seconds.
|
Min Int
|
Displays the minimum advertise interval which is the minimum time allowed between sending router advertisements from the interface in seconds.
|
Adv Life
|
Displays advertise lifetime which is the value of the lifetime field of the router advertisement sent from the interface in seconds.
|
Preferences
|
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 chapter provides a detailed explanation of the Virtual LAN Routing commands. The commands are divided by functionality into the following different groups:
- Show commands are used to display switch settings, statistics and other information.
- Configuration Commands are used to configure features and options of the switch. For every configuration command there is a show command that will display the configuration setting.
- Copy commands are used to transfer configuration and informational files to and from the switch.
vlan routing
This command creates routing on a VLAN. The <vlanid> value has a range from 1 to 4021.
- Format - vlan routing <vlanid>
- Mode - VLAN Database
no vlan routing
This command deletes routing on a VLAN. The <vlanid> value has a range from 1 to 4021.
- Format - no vlan routing <vlanid>
- Mode - VLAN Database
show ip vlan
This command displays the VLAN routing information for all VLANs with routing enabled in the system.
- Format - show ip vlan
- Mode - Privileged EXEC and User EXEC
TABLE 0-16 Entry Definitions for show ip vlan
Display
|
Definition
|
MAC Address used by Routing VLANs
|
The MAC Address associated with the internal bridge-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
|
The identifier of the VLAN.
|
Logical Interface
|
Indicates 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 (VRRP) Commands
This section provides a detailed explanation of the VRRP commands. The commands are divided by functionality into the following different groups:
- Show commands are used to display switch settings, statistics and other information.
- Configuration Commands are used to configure features and options of the switch. For every configuration command there is a show command that will display the configuration setting.
- Copy commands are used to transfer configuration and informational files to and from the switch.
ip vrrp
This command sets the virtual router ID on an interface for Virtual router configuration in the router. 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 - Interface Config
no ip vrrp
This command removes all VRRP configuration details of the virtual router configured on a specific interface. The parameter <vrID> is the virtual router ID which has an integer value ranges from 1 to 255.
- Format - no ip vrrp <vrID>
- Mode - Interface Config
ip vrrp
This command enables the administrative mode of VRRP in the router.
- Default - enabled
- Format - ip vrrp
- Mode - Global Config
no ip vrrp
This command disables the default administrative mode of VRRP in the router.
- Format - no ip vrrp
- Mode - Global 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 ipaddress value for a virtual router. 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.
- Default - none
- Format - ip vrrp <vrID> ip <ipaddr>
- 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 has an integer value range 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 advertisement value for a virtual router. The value for advinterval is time used for VRRP advertisement in seconds. The parameter <vrID> is the virtual router ID which has an integer value range from 1 to 255.
- Default - 1
- Format - ip vrrp <vrID> timers advertise <1-255>
- Mode - Interface Config
no ip vrrp timers advertise
This command sets the default advertisement value for a virtual router.
- 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>
- Mode - Privileged EXEC and User EXEC
TABLE 0-17 Entry Definitions for show ip vrrp interface stats
Entry
|
Definition
|
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
- Mode - Privileged EXEC and User EXEC
TABLE 0-18 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>
- Mode - Privileged EXEC and User EXEC
TABLE 0-19 Entry Definitions for show ip vrrp interface
Display
|
Definition
|
IP Address
|
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
|
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 specific virtual
|
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
- Mode - Privileged EXEC and User EXEC
TABLE 0-20 Entry Definitions for show ip vrrp interface brief
Display
|
Definition
|
Slot/Port
|
Valid slot and port number separated by forward slashes.
|
VRID
|
Represents the router ID of the virtual router.
|
IP Address
|
The IP Address that was configured on the virtual router
|
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 provides information about the VRRP tracking commands. 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.
track
A track object can track a particular 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 following commands according to the tracking method you prefer.
track <object-number> interface <unit/port> line-protocol
Track the link state of an interface. This object will be up when the interface is linked.
- Default - none
- Format - track <object-number> interface <unit/port> line-protocol
- Mode - Global Config
track <object-number> interface <unit/port> ip routing
Tracks the state of a local IP route.
- Default - none
- Format - track <object-number> interface <unit/port> ip routing
- Mode - Global Config
An IP-routing object is considered up when the following criteria exists:
- IP routing is enabled and active on the interface.
- The interface line-protocol state is up.
- The interface IP address is known. The IP address is configured or received through the Dynamic Host Configuration Protocol (DHCP) or IP Control Protocol (IPCP) negotiation.
An IP-routing object is considered down when one of the following criteria exist:
- IP routing is disabled globally.
- The interface line-protocol state is down.
- The interface IP address is unknown. The IP address is not configured or received through DHCP or IPCP negotiation.
track <object-number> ip route <ip-address/prefix-length> reachability
Tracks the state of a remote IP address. This object will be up when the remote IP address is present in the ARP table.
- Default - none
- Format - track <object-number> ip route <ip-address/prefix-length> reachability
- Mode - Global Config
no track
Removes the track with the given object number.
- Format - no track <object number>
- Mode - Global Config
vrrp
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>.
- Default - none
- Format - vrrp <vrID> track <object-number> <decrement priority>
- Mode - Global Config
no vrrp
Removes the specified track object from the specificed VRRP instance.
- Format - no vrrp <vrID> track <object-number>
- Mode - Global Config
show track
Displays all configuration information for VRRP track objects.
- Format - show track [object-number]
- Mode - Privileged EXEC and User EXEC
- Track ID - This field represents the tracked objects ID number
- Interface - Represents the interface the track object is monitoring
- Attribute - Represents this particular track object’s type
show ip vrrp track
Displays the current status of all tracks associated with <vrID>
- Format - show ip vrrp track <vrID>
- Mode - Privileged EXEC and User EXEC
- Priority Dec - Represents the amount the given track object is decrementing the priority of the VRRP instance
- Track ID - Represents the tracked objects ID number
- Interface - Represents the interface the track object is monitoring
- Attribute - Represents this particular track object’s type
Open Shortest Path First (OSPF) Commands
This chapter provides a detailed explanation of the OSPF commands. The commands are divided by functionality into the following different groups:
- Show commands are used to display switch settings, statistics and other information.
- Configuration Commands are used to configure features and options of the switch. For every configuration command there is a show command that will display the configuration setting.
- Copy commands are used to transfer configuration and informational files to and from the switch.
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
This command configures the monetary default cost for the stub area. The operator 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
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
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-16777215. 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 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 will cause the router to assume the role of the translator the instant it becomes a border router and a value of candidate will cause 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
This command configures the translator stability interval 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
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 optionally 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
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 summarylsa
This command configures the Summary LSA mode for the stub area identified by <areaid>. The Summary LSA mode is configured as enabled.
- Default - disabled
- Format - area <areaid> stub summarylsa
- Mode - Router OSPF Config
no area stub summarylsa
This command configures the default Summary LSA mode for the stub area identified by <areaid>.
- Format - no area <areaid> stub summarylsa
- Mode - Router OSPF Config
area virtual-link
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
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 <1-65535>
- 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
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
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 <0-3600>
- 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
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 <0-3600>
- Mode - Router OSPF Config
no area virtual-link transmit-delay
This command configures the default 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.
- 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.
- Defaults:
- metric--unspecified
- type--2
- Format - default-information originate [always] [metric <0-16777215>] [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-16777215>
- 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
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 range of preference is 0 to 255.
- Defaults:
- intra - 8
- inter - 10
- type-1 - 13
- type-2 - 150
- Format - distance ospf {intra | inter | type1 | type2} <0-255>
- 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 disatance ospf {intra | inter | type1 | type2}
- Mode - Router OSPF Config
distribute-list out
This command is used to specify the access list to filter routes received from the source protocol.
- Format - distribute-list <1-199> out {rip | static | connected}
- Mode - Router OSPF 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 {rip | static | connected}
- Mode - Router OSPF Config
exit-overflow-interval
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 <0-2147483647>
- 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
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 <-1-2147483647>
- 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 value for <areaid> is an IP address, formatted as a 4-digit dotted-decimal number that 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.
- Defaults
- The default authentication type is none.
- The default password key is not configured. Unauthenticated interfaces do not need an authentication key.
- The default keyid is not configured. Unauthenticated interfaces do not need an authentication key id.
- 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-5535>
- Mode - Interface Config
no ip ospf cost
This command configures the default cost on an OSPF interface. The <cost> parameter has a range of 1 to 65535.
- 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 <1-2147483647>
- 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 <1-65535>
- 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 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
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
This command configures OSPF protocol to redistribute routes from the specified source protocol/ routers.
- Default - metric -- unspecified; type -- 2; tag -- 0
- Format - redistribute {rip | static | connected} [metric <0-16777215>] [metric-type {1 | 2}] [tag <0-4294967295>] [subnets]
- Mode - Router OSPF Config
no redistribute
This command configures OSPF protocol to redistribute routes from the specified source protocol/routers.
- Format - no redistribute {rip | static | connected} [metric] [metric-type] [tag] [subnets]
- Mode - Router OSPF Config
maximum-paths
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 - OSPF Router 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 - OSPF Router Config
show ip ospf
This command displays information relevant to the OSPF router. This command takes no options.
- Format - show ip ospf
- Mode - Privileged EXEC
TABLE 0-21 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
|
The administrative mode of OSPF in the router. 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.
|
Default-metric
|
RDefault value for redistributed routes.
|
Source
|
Source protocol/routes that are being redistributed.
|
Metric-value
|
Metric of the routes being redistributed.
|
Type-value
|
External Type 1 or External Type 2 routes.
|
Tag-value
|
Decimal value attached to each external route.
|
Subnets
|
For redistributing routes into OSPF, the scope of redistribution for the specified protocol.
|
Distribute-list
|
TAccess list used to filter redistributed routes.
|
Default-info originate
|
Indicates whether the default routes received from other source protocols are advertised or not
|
The information below will only be displayed if OSPF is enabled.
TABLE 0-22 Entry Definitions for show ip ospf When OSPF Is Enabled
Display
|
Definition
|
ABR Status
|
Reflects the whether or not the router is an OSPF Area Border Router.
|
Exit Overflow Interval
|
The number of seconds that, after entering OverflowState, a router will attempt to leave OverflowState.
|
External LSA count
|
The number of external (LS type 5) link-state advertisements in the link-state database.
|
External LSA Checksum
|
A number which represents the sum of the LS checksums of external link-state advertisements contained in the link-state database.
|
New LSAs Originated
|
The number of new link-state advertisements that have been originated.
|
LSAs Received
|
The number of link-state advertisements received determined to be new instantiations.
|
External LSDB Limit
|
The maximum number of non-default AS-external-LSAs entries that can be stored in the link-state database.
|
Max Paths
|
Maximum number of paths that OSPF can report for a given destination.
|
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>
- Mode - Privileged EXEC and User EXEC
TABLE 0-23 Entry Definitions for show ip ospf area
Entry
|
Definition
|
AreaID
|
The area id of the requested OSPF area.
|
Aging Interval
|
A number representing the aging interval for this area.
|
External Routing
|
A number representing the external routing capabilities for this area.
|
Authentication Type
|
The configured authentication type to use for this area.
|
Spf Runs
|
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.
|
Stub Mode
|
Represents whether the specified Area is a stub area or not. The possible values are enabled and disabled. This is a configured value.
|
Metric Value
|
A number representing the Metric Value for the specified area.
|
Metric Type
|
The default Metric Type for the specified Area.
|
show ip ospf database
This command displays the link state database. This command takes no options. The information below will only be displayed if OSPF is enabled.
- Format - show ip ospf database
- Mode - Privileged EXEC and User EXEC
TABLE 0-24 Entry Definitions for show ip ospf database
Entry
|
Definition
|
Router ID
|
A 32 bit dotted decimal number representing the LSDB interface.
|
Area ID
|
The IP address identifying the router ID.
|
LSA Type
|
The types are: router, network, ipnet sum, asbr sum, as external, group member, tmp 1, tmp 2, opaque link, opaque area.
|
LS ID
|
A number that "uniquely identifies an LSA that a router originates from all other self originated LSA's of the same LS type."
|
Age
|
A number representing the age of the link state advertisement in seconds.
|
Sequence
|
A number that represents which LSA is more recent.
|
Checksum
|
Is to total number LSA checksum.
|
Options
|
This is an integer. It indicates that the LSA receives special handling during routing calculations.
|
show ip ospf interface
This command displays the information for the IFO object or virtual interface tables.
- Format - show ip ospf interface <slot/port>
- Mode - Privileged EXEC and User EXEC
TABLE 0-25 Entry Definitions for show ip ospf interface
Entry
|
Definition
|
IP Address
|
Represents the IP address for the specified interface. This is a configured value.
|
Subnet Mask
|
A mask of the network and host portion of the IP address for the OSPF interface. This value was configured into the unit. This is a configured value.
|
OSPF Admin Mode
|
States whether OSPF is enabled or disabled on a router interface. This is a configured value.
|
OSPF Area ID
|
Represents the OSPF Area Id for the specified interface. This is a configured value.
|
Router Priority
|
A number representing the OSPF Priority for the specified interface. This is a configured value.
|
Retransmit Interval
|
A number representing the OSPF Retransmit Interval for the specified interface. This is a configured value.
|
Hello Interval
|
A number representing the OSPF Hello Interval for the specified interface. This is a configured value.
|
Dead Interval
|
A number representing the OSPF Dead Interval for the specified interface. This is a configured value.
|
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. This is a configured value.
|
Authentication Type
|
The OSPF Authentication Type for the specified interface are: none, simple, and encrypt. This is a configured value.
|
The information that follows will only be displayed if OSPF is enabled.
TABLE 0-26 Entry Definitions for show ip ospf interface When OSPF Is Enanbled
Display
|
Definition
|
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. This is the state of the OSPF interface.
|
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. This is a configured value.
|
show ip ospf interface brief
This command displays brief information for the IFO object or virtual interface tables. This command takes no options.
- Format - show ip ospf interface brief
- Mode - Privileged EXEC and User EXEC
TABLE 0-27 Entry Definitions for show ip ospf interface brief
Entry
|
Definition
|
Slot/Port
|
Valid slot and port number separated by forward slashes.
|
OSPF Admin Mode
|
States whether OSPF is enabled or disabled on a router interface. This is a configured value.
|
OSPF Area ID
|
Represents the OSPF Area Id for the specified interface. This is a configured value.
|
Router Priority
|
A number representing the OSPF Priority for the specified interface. This is a configured value.
|
Hello Interval
|
A number representing the OSPF Hello Interval for the specified interface. This is a configured value.
|
Dead Interval
|
A number representing the OSPF Dead Interval for the specified interface. This is a configured value.
|
Retransmit Interval
|
A number representing the OSPF Retransmit Interval for the specified interface. This is a configured value.
|
Transit Delay Interval
|
A number representing the OSPF Transit Delay for the specified interface. This is a configured value.
|
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>
- Mode - Privileged EXEC and User EXEC
TABLE 0-28 Entry Definitions for show ip ospf interface stats
Entry
|
Definition
|
OSPF Area ID
|
The area id of this OSPF interface.
|
Spf Runs
|
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. 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.
|
LSAs Received
|
The number of LSAs received.
|
Originate New LSAs
|
The number of LSAs originated.
|
show ip ospf neighbor
This command displays the OSPF neighbor table list. When a particular neighbor ID is specified, detailed information about a neighbor is given. The information below will only be displayed if OSPF is enabled and the interface has a neighbor. The IP address is the IP address of the neighbor.
- Format - show ip ospf neighbor <ipaddr> <slot/port>
- Mode - Privileged EXEC and User EXEC
TABLE 0-29 Entry Definitions for show ip ospf neighbor
Entry
|
Definition
|
Interface
|
Valid slot and port number separated by forward slashes..
|
Router Id
|
A 4-digit dotted-decimal number identifying neighbor router.
|
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.
|
State
|
The types are:
- 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 conAcerted effort should be made to contact the neighbor.
- Init - an Hello packet has recently been seen from the neighbor, but bi-directional communication has not yet been established.
- 2 way - communication between the two routers is bi-directional.
- 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.
|
Events
|
The number of times this neighbor relationship has changed state, or an error has occurred.
|
Permanence
|
This variable displays the status of the entry, either dynamic or permanent. This refers to how the neighbor became known.
|
Hellos Suppressed
|
This indicates whether Hellos are being suppressed to the neighbor. The types are enabled and disabled.
|
Retransmission Queue Length
|
An integer representing the current length of the retransmission queue of the specified neighbor router Id of the specified interface.
|
show ip ospf neighbor brief
This command displays the OSPF neighbor table list. When a particular neighbor ID is specified, detailed information about a neighbor is given. The information below will only be displayed if OSPF is enabled.
- Format - show ip ospf neighbor brief {<slot/port> | all}
- Mode - Privileged EXEC and User EXEC
TABLE 0-30 Entry Definitions for show ip ospf neighbor brief
Entry
|
Definition
|
Router ID
|
A 4 digit dotted decimal number representing the neighbor interface.
|
IP Address
|
An IP address representing the neighbor interface.
|
Neighbor Interface Index
|
A slot/port identifying the neighbor interface index.
|
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>
- Mode - Privileged EXEC and User EXEC
TABLE 0-31 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 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
- Mode - Privileged EXEC and User EXEC
TABLE 0-32 Entry Definitions for show ip ospf stub table
Entry
|
Definition
|
Area ID
|
A 32-bit identifier for the created stub area.
|
Type of Service
|
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.
|
Metric Type
|
The type of metric advertised as the default route.
|
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>
- Mode - Privileged EXEC and User EXEC
TABLE 0-33 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
- Mode - Privileged EXEC and User EXEC
TABLE 0-34 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.
|
trapflags
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
Routing Information Protocol (RIP) Commands
This section provides a detailed explanation of the RIP commands. The commands are divided by functionality into the following different groups:
- Show commands are used to display switch settings, statistics and other information.
- Configuration Commands are used to configure features and options of the switch. For every configuration command there is a show command that will display the configuration setting.
- Copy commands are used to transfer configuration and informational files to and from the switch.
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 - enabled
- 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.
- Default - 15
- Format - distance rip <0-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
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 | 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 | static | connected}
- Mode - Router RIP Config
no default-information originate
This command is used to control the advertisement of default routes.
- Format - no default-information originate
- 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.
- Defaults:
- The default authentication type is none.
- The default password key is an empty string. Unauthenticated interfaces do not need an authentication key.
- The default key id is not defined. Unauthenticated interfaces do not need an authentication key id.
- 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.
- 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.
- 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
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.
- Defaults:
- metric--not-configured
- match--internal
- Format (for OSPF as source protocol)--redistribute ospf [metric <0-15>] [match [internal] [external 1] [external 2] [nssa-external 1] [nssa-external-2]]
- Format (for other source protocol)--redistribute {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 | 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
- Mode - Privileged EXEC and User EXEC
TABLE 0-35 Entry Definitions for show ip rip
Entry
|
Definition
|
RIP Admin Mode
|
Select enable or disable from the pulldown menu. If you select enable RIP will be enabled for the switch. The default is disable.
|
Split Horizon Mode
|
Select none, simple or poison reverse from the pulldown menu. 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. The default is simple
|
Auto Summary Mode
|
Select enable or disable from the pulldown menu. If you select enable groups of adjacent routes will be summarized into single entries, in order to reduce the total number of entries The default is enable.
|
Host Routes Accept Mode
|
Select enable or disable from the pulldown menu. If you select enable the router will be accept 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 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
- Mode - Privileged EXEC and User EXEC
TABLE 0-36 Entry Definitions for show ip rip interface brief
Entry
|
Definition
|
Slot/Port
|
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>
- Mode - Privileged EXEC and User EXEC
TABLE 0-37 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.
TABLE 0-38 Entry Definitions for show ip rip interface With Link State Down
Entry
|
Definition
|
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.
|
Sun Netra CP3140 Switch Software Reference Manual
|
819-3774-15
|
|
Copyright © 2009 Sun Microsystems, Inc. All rights reserved.