SANRAD V-Switch manual Checking IP Routes, Viewing IP Routes, Removing an IP Route

Models: V-Switch

1 300
Download 300 pages 15.92 Kb
Page 74
Image 74

ip route default –gw 20.20.10.20

Checking IP Routes

After creating an IP routing path, you can ping any IP-connected device from the V-Switch Eht1 to check that the routing is configured correctly. Use the CLI command ping to ping an IP address from the V-Switch.

Make sure that the route is defined on the other side as well.

ping

You need one parameter to check an IP routing path from the V-Switch.

SWITCH

PARAMETER

DEFINITION

STATUS

EXAMPLE

 

 

 

 

 

-ip

IP ADDRESS

IP ADDRESS TO

MANDATORY

172.17.200.69

 

 

PING

 

 

 

 

 

 

 

ping –ip 172.17.200.69

Viewing IP Routes

After creating an IP routing path to an external network, you can view it and any other configured IP routing path. Use the CLI command ip route show to view a V-Switch’s routing table.

ip route show

Table 16: V-Switch IP Routing Paths

Dest IP

Dest Mask

Interface

Gateway

TOS

Address

 

 

 

 

10.10.20.20

255.255.255.0

Eth2

30.30.20.20

 

10.12.40.40

255.255.255.0

Eth3

20.22.11.11

 

Removing an IP Route

You can remove unwanted IP routing paths from your V-Switch. Use the CLI command ip route remove to remove an IP routing path. If you are working in a V-Switch cluster, the IP route must be removed from both V- Switch databases. For more information on V-Switch clusters, see “Introduction to V-Switch Clusters,” page 72.

68

SANRAD V-Switch User Manual

Page 74
Image 74
SANRAD V-Switch manual Checking IP Routes, Viewing IP Routes, Removing an IP Route