Configuring and Managing IP Interfaces and Services 119

Displaying IP Routes

To display IP routes, use the following command:

show ip route [destination]

The destination parameter specifies a destination IP address.

To display the IP route table, type the following command:

23x0# show ip route

Router table for

IPv4

 

Destination/Mask

Proto Metric NH-Type Gateway

VLAN:Interface

__________________ _______ ______ _______ _______________ _______________

0.0.0.0/ 0

Static

1

Router

10.0.1.17

vlan:1:ip

0.0.0.0/ 0

Static

2

Router

10.0.2.17

vlan:2:ip

10.0.1.1/24 IP

0

Direct

 

vlan:1:ip

10.0.1.1/32 IP

 

0 Local

 

 

vlan:1:ip:10.0.1.1/24

10.0.1.255/32 IP

0 Local

 

 

vlan:1:ip:10.0.1.1/24

10.0.2.1/24 IP

0

Direct

 

vlan:2:ip

10.0.2.1/32 IP

 

0 Local

 

 

vlan:2:ip:10.0.1.1/24

10.0.2.255/32 IP

0 Local

 

 

vlan:2:ip:10.0.1.1/24

224.0.0.0/ 4

IP

0

Local

 

MULTICAST

This example shows dynamic routes added by WSS Software for two VLAN interfaces, 10.0.1.1/24 on VLAN 1 and 10.0.2.1/24 on VLAN 2.

This example also shows two static routes, which have a next-hop type (NH-Type) value of Router. Static routes have a gateway router, listed in the Gateway field. The 0.0.0.0 destination represents a default route. Here, gateway router 10.0.1.17 is reachable through the subnet on VLAN 1. Route 10.0.1.1/24 resolves the static route that uses the gateway router. Gateway router 10.0.2.17 is reachable through the subnet on VLAN 2 and route 10.0.2.1/24 resolves the static route to that gateway.

WSS Software adds routes with next-hop types Direct and Local when you add an IP interface to a VLAN, when the VLAN is up. Direct routes are for the locally attached subnets that the switch’s IP addresses are in. Local routes are for destination interfaces configured on the WSS switch itself.

WSS Software automatically adds the 224.0.0.0 route to support the IGMP snooping feature.

If a VLAN is administratively disabled or all of the links in the VLAN go down or are disabled, WSS Software removes the VLAN’s routes from the route table. If the direct route required by a static route goes down, WSS Software changes the static route state to Down. If the route table contains other static routes to the same desti- nation, WSS Software selects the resolved route that has the lowest cost. In the following example, the default route to 10.0.1.17 is down, so WSS Software selects the default route to 10.0.2.17.

23x0# show ip route

Router table for

IPv4

 

Destination/Mask

Proto Metric NH-Type Gateway

VLAN:Interface

__________________ _______ ______ _______ _______________ _______________

0.0.0.0/

0

Static

1

Router

10.0.1.17

Down

0.0.0.0/

0

Static

2

Router

10.0.2.17

vlan:2:ip

10.0.2.1/24 IP

0

Direct

 

vlan:2:ip

10.0.2.1/32 IP

0 Direct

 

vlan:2:ip:10.0.1.1/24

10.0.2.255/32 IP

0 Direct

 

vlan:2:ip:10.0.1.1/24

Nortel WLAN Security Switch 2300 Series Configuration Guide

Page 119
Image 119
Nortel Networks 2300 manual Displaying IP Routes, Show ip route destination, 23x0# show ip route