Foundry Configuration Guide for the FESX, FSX, and FWSX
16 - 68
© Foundry Networks, Inc.
December 2005
Displaying the IP Route Table
To display the IP route table, enter the following command at any CLI level:
Syntax:
show ip route [<ip-addr> [<ip-mask>] [longer] [none-bgp]] | <num> | bgp | direct | ospf | rip | static
The <ip-addr> parameter displays the route to the specified IP address.
The <ip-mask> parameter lets you specify a network mask or, if you prefer CIDR format, the number of bits in the
network mask. If you use CIDR format, enter a forward slash immediately after the IP address, then enter the
number of mask bits (for example: 209.157.22.0/24 for 209.157.22.0 255.255.255.0).
The
longer
parameter applies only when you specify an IP address and mask. This option displays only the
routes for the specified IP address and mask. See the example below.
The
none-bgp
parameter displays only the routes that did not come from BGP4.
The <num> option display the route table entry whose row number corresponds to the number you specify. For
example, if you want to display the tenth row in the table, enter “10”.
The
bgp
option displays the BGP4 routes.
The
direct
option displays only the IP routes that are directly attached to the Layer 3 Switch.
The
ospf
option displays the OSPF routes.
The
rip
option displays the RIP routes.
The
static
option displays only the static IP routes.
The default routes are displayed first.
Here is an example of how to use the
direct
option. To display only the IP routes that go to devices directly
attached to the Layer 3 Switch:
Notice that the route displayed in this example has “D” in the Type field, indicating the route is to a directly
connected device.
FastIron SuperX Router> show ip route
Total number of IP routes: 514
Start index: 1 B:BGP D:Connected R:RIP S:Static O:OSPF *:Candidate default
Destination NetMask Gateway Port Cost Type
1.1.0.0 255.255.0.0 99.1.1.2 1/1 2 R
1.2.0.0 255.255.0.0 99.1.1.2 1/1 2 R
1.3.0.0 255.255.0.0 99.1.1.2 1/1 2 R
1.4.0.0 255.255.0.0 99.1.1.2 1/1 2 R
1.5.0.0 255.255.0.0 99.1.1.2 1/1 2 R
1.6.0.0 255.255.0.0 99.1.1.2 1/1 2 R
1.7.0.0 255.255.0.0 99.1.1.2 1/1 2 R
1.8.0.0 255.255.0.0 99.1.1.2 1/1 2 R
1.9.0.0 255.255.0.0 99.1.1.2 1/1 2 R
1.10.0.0 255.255.0.0 99.1.1.2 1/1 2 S
FastIron SuperX Router(config)#
show ip route direct
Start index: 1 B:BGP D:Connected R:RIP S:Static O:OSPF *:Candidate default
Destination NetMask Gateway Port Cost Type
209.157.22.0 255.255.255.0 0.0.0.0 4/11 1 D
Содержание FastIron Edge Switch X424
Страница 36: ...Foundry Configuration Guide for the FESX FSX and FWSX 2 12 Foundry Networks Inc December 2005...
Страница 56: ...Foundry Configuration Guide for the FESX FSX and FWSX 3 20 Foundry Networks Inc December 2005...
Страница 70: ...Foundry Configuration Guide for the FESX FSX and FWSX 4 14 Foundry Networks Inc December 2005...
Страница 198: ...Foundry Configuration Guide for the FESX FSX and FWSX 8 38 Foundry Networks Inc December 2005...
Страница 316: ...Foundry Configuration Guide for the FESX FSX and FWSX 12 26 Foundry Networks Inc December 2005...
Страница 334: ...Foundry Configuration Guide for the FESX FSX and FWSX 13 18 Foundry Networks Inc December 22 2005...
Страница 350: ...Foundry Configuration Guide for the FESX FSX and FWSX 15 12 Foundry Networks Inc December 2005...
Страница 458: ...Foundry Configuration Guide for the FESX FSX and FWSX 18 18 Foundry Networks Inc December 2005...
Страница 712: ...Foundry Configuration Guide for the FESX FSX and FWSX 22 32 Foundry Networks Inc December 2005...
Страница 760: ...Foundry Configuration Guide for the FESX FSX and FWSX A 34 Foundry Networks Inc December 2005...
Страница 796: ...Foundry Configuration Guide for the FESX FSX and FWSX C 18 Foundry Networks Inc December 2005...
Страница 820: ...Foundry Configuration Guide for the FESX FSX and FWSX E 10 Foundry Networks Inc December 2005...