
IP Routing Commands
981
Syntax Description
Default Configuration
This command has no default configuration.
Command Mode
User EXEC, Privileged EXEC modes
User Guidelines
This command has no user guidelines.
Example
The following example displays the IPv4 address of the default gateway and
the default route associated with the gateway.
console#show ip route
Route Codes: R - RIP Derived, O - OSPF Derived, C -
Connected, S - Static
B - BGP Derived, IA - OSPF Inter Area
E1 - OSPF External Type 1, E2 - OSPF External Type 2
N1 - OSPF NSSA External Type 1, N2 - OSPF NSSA External Type
2
Parameter
Description
ip-address
Specifies the network for which the route is to be displayed and
displays the best matching best-route for the address.
mask
Subnet mask of the IP address.
prefix-length
Length of prefix, in bits. Must be preceded with a forward slash
(/). (Range: 0-32 bits.)
longer-prefixes
Indicates that the
ip-address
and
subnet-mask
pair becomes the
prefix, and the command displays the routes to the addresses
that match that prefix.
protocol
Specifies the protocol that installed the routes. (Range:
connected, ospf, rip static
)
2CSPC4.XCT-SWUM2XX1.book Page 981 Monday, October 3, 2011 11:05 AM
Summary of Contents for PowerConnect 7000 Series
Page 74: ...74 Contents 2CSPC4 XCT SWUM2XX1 book Page 74 Monday October 3 2011 11 05 AM ...
Page 164: ...164 Command Groups 2CSPC4 XCT SWUM2XX1 book Page 164 Monday October 3 2011 11 05 AM ...
Page 266: ...266 AAA Commands 2CSPC4 XCT SWUM2XX1 book Page 266 Monday October 3 2011 11 05 AM ...
Page 316: ...316 Auto VoIP Commands 2CSPC4 XCT SWUM2XX1 book Page 316 Monday October 3 2011 11 05 AM ...
Page 368: ...368 DHCP Snooping Commands 2CSPC4 XCT SWUM2XX1 book Page 368 Monday October 3 2011 11 05 AM ...
Page 454: ...454 Ethernet CFM Commands 2CSPC4 XCT SWUM2XX1 book Page 454 Monday October 3 2011 11 05 AM ...
Page 468: ...468 Green Ethernet Commands 2CSPC4 XCT SWUM2XX1 book Page 468 Monday October 3 2011 11 05 AM ...
Page 558: ...558 IP Source Guard Commands 2CSPC4 XCT SWUM2XX1 book Page 558 Monday October 3 2011 11 05 AM ...
Page 578: ...578 Link Dependency Commands 2CSPC4 XCT SWUM2XX1 book Page 578 Monday October 3 2011 11 05 AM ...
Page 606: ...606 LLDP Commands 2CSPC4 XCT SWUM2XX1 book Page 606 Monday October 3 2011 11 05 AM ...
Page 700: ...700 QoS Commands 2CSPC4 XCT SWUM2XX1 book Page 700 Monday October 3 2011 11 05 AM ...
Page 728: ...728 RADIUS Commands 2CSPC4 XCT SWUM2XX1 book Page 728 Monday October 3 2011 11 05 AM ...
Page 808: ...808 VLAN Commands 2CSPC4 XCT SWUM2XX1 book Page 808 Monday October 3 2011 11 05 AM ...
Page 814: ...814 Voice VLAN Commands 2CSPC4 XCT SWUM2XX1 book Page 814 Monday October 3 2011 11 05 AM ...
Page 848: ...848 802 1x Commands 2CSPC4 XCT SWUM2XX1 book Page 848 Monday October 3 2011 11 05 AM ...
Page 850: ...850 Layer 3 Commands 2CSPC4 XCT SWUM2XX1 book Page 850 Monday October 3 2011 11 05 AM ...
Page 912: ...912 DHCPv6 Commands 2CSPC4 XCT SWUM2XX1 book Page 912 Monday October 3 2011 11 05 AM ...
Page 920: ...920 DVMRP Commands 2CSPC4 XCT SWUM2XX1 book Page 920 Monday October 3 2011 11 05 AM ...
Page 946: ...946 IGMP Proxy Commands 2CSPC4 XCT SWUM2XX1 book Page 946 Monday October 3 2011 11 05 AM ...
Page 1062: ...1062 IPv6 Routing Commands 2CSPC4 XCT SWUM2XX1 book Page 1062 Monday October 3 2011 11 05 AM ...
Page 1174: ...1174 OSPF Commands 2CSPC4 XCT SWUM2XX1 book Page 1174 Monday October 3 2011 11 05 AM ...
Page 1234: ...1234 OSPFv3 Commands 2CSPC4 XCT SWUM2XX1 book Page 1234 Monday October 3 2011 11 05 AM ...
Page 1294: ...1294 Utility Commands 2CSPC4 XCT SWUM2XX1 book Page 1294 Monday October 3 2011 11 05 AM ...
Page 1304: ...1304 Auto Install Commands 2CSPC4 XCT SWUM2XX1 book Page 1304 Monday October 3 2011 11 05 AM ...
Page 1348: ...1348 CLI Macro Commands 2CSPC4 XCT SWUM2XX1 book Page 1348 Monday October 3 2011 11 05 AM ...
Page 1366: ...1366 Clock Commands 2CSPC4 XCT SWUM2XX1 book Page 1366 Monday October 3 2011 11 05 AM ...
Page 1478: ...1478 RMON Commands 2CSPC4 XCT SWUM2XX1 book Page 1478 Monday October 3 2011 11 05 AM ...
Page 1518: ...1518 Sflow Commands 2CSPC4 XCT SWUM2XX1 book Page 1518 Monday October 3 2011 11 05 AM ...
Page 1578: ...1578 Syslog Commands 2CSPC4 XCT SWUM2XX1 book Page 1578 Monday October 3 2011 11 05 AM ...
Page 1646: ...1646 Telnet Server Commands 2CSPC4 XCT SWUM2XX1 book Page 1646 Monday October 3 2011 11 05 AM ...
Page 1686: ...1686 Web Server Commands 2CSPC4 XCT SWUM2XX1 book Page 1686 Monday October 3 2011 11 05 AM ...
Page 1729: ...2CSPC4 XCT SWUM2XX1 book Page 1 Monday October 3 2011 11 05 AM ...