Cabletron Systems 6A000-ZX-250 User Manual
Size:
1.27 Mb
Download

Console Commands

Route

Use Route to administer IP (internet protocol) route management to an ATM client through an Ethernet network. It allows network management software to communicate across a network of switches.

SERVER SVC

X X

Operators

add, delete, show

Parameters

Input Parameter

Description

Value/Field Size

Default

 

 

 

 

[DestNetIP]

IP network number of a remote network.

dot decimal/

NONE

 

 

7-15characters

 

[GatewayIP]

IP address for gateway to the remote network.

dot decimal/

NONE

 

 

7-15characters

 

Output Parameter

Description

 

 

[flags]

The flags field is a bitmask of different options:

 

0x1 – Route is usable (“up”)

 

0x2 – Destination address is a gateway0x4 – Host-specificrouting

 

 

entry

 

0x10 – Created dynamically by ICMP redirect

 

0x20 – Modified dynamically by ICMP redirect

[Refcnt]

Internal/debugging info.

[Use]

Number of times this route has been used to send a packet.

[Interface]

Interface used for forwarding packets on this route.

SmartCell 6A000/ZX-250Reference Manual2-161

Console Commands

Descriptions

Operator Parameters/Permissions Description

add route [DestNetIP] <destnetip> [GatewayIP] <gatewayip>

Administrator

Creates an IP route to an ATM client when it is not directly connected to the NMS (network management system). You must assign both the destination IP address and the gateway IP address to reach the ATM client, and these addresses must already exist.

delete [DestNetIP] <destnetip> route[GatewayIP] <gatewayip>

Administrator

show route All

Removes an IP route from the switch configuration when it is not directly connected to the NMS.

Displays IP routes used by the switch. The flag numbers shown in the flags column relate to the hexadecimal figures listed in the Output Parameter table above. Whatever number is shown defines what flags are active. For example, 1 equals flag 0x1; 5 equals flag 0x1 + flag 0x4; 7 equals flag 0x1 + flag 0x2 + flag 0x4 and so on.

Examples

switch_prompt #

add route

 

 

DestNetIP()

 

: 204.95.77.187

 

GatewayIP()

 

: 204.95.77.186

 

switch_prompt #

 

 

 

switch_prompt #

show route

 

 

ROUTE NET TABLE

 

 

 

destination

gateway

flags Refcnt Use

Interface

------------------------------------------------------------------------

90.1.1.0

90.1.1.186

1

0

6508

zn1

204.95.77.0

204.95.77.186

1

3

6312

ei0

------------------------------------------------------------------------

ROUTE HOST TABLE

destination gateway flags Refcnt Use Interface

------------------------------------------------------------------------

127.0.0.1

127.0.0.1

5

0

0

lo0

204.95.77.187

204.95.77.186

5

0

0

ei0

------------------------------------------------------------------------

switch_prompt #

switch_prompt # delete route

 

DestNetIP()

: 204.95.77.187

GatewayIP()

: 204.95.77.186

switch_prompt #

 

2-162SmartCell6A000/ZX-250Reference Manual