Checking ip routes, Viewing ip routes, Removing an ip route – SANRAD I3.1.1205 User Manual

Page 78

Advertising
background image

4-26

SANRAD V-Switch CLI User Manual

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.

S

WITCH

P

ARAMETER

D

EFINITION

S

TATUS

E

XAMPLE

-ip

IP

ADDRESS

IP

ADDRESS TO

PING

MANDATORY

172.17.200.69

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 4-6:

V-Switch IP Routing Paths

Dest

IP

Address

Dest Mask

Interface

Gateway

TOS

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

”.

Advertising