Other Commands. Cabletron Systems CyberSWITCH CSX203, CyberSWITCH CSX202, CSX200 CyberSWITCH, CyberSWITCH CSX201

Add to My manuals
261 Pages

advertisement

Other Commands. Cabletron Systems CyberSWITCH CSX203, CyberSWITCH CSX202, CSX200 CyberSWITCH, CyberSWITCH CSX201 | Manualzz

MIB Navigator

Other Commands

The Other commands listed in this section activate functions on the LM managed device or devices being accessed through MIB Navigation.

arp:

Syntax:

Description:

Options: arp <options>

The arp command provides access to the ARP (Address Resolution

Protocol) cache, enabling you to view cache data, delete entries, or add a static route. Super-user access is required to delete an entry or add a static route.

Each ARP cache entry lists: the network interface that the device is connected to, the device’s network address or IP address, the device’s

physical address or MAC address, and the media type of connection to the device. Media types are displayed as numbers, which stand for the following states:

1 - Other

2 - Invalid entry (cannot ping device, timed out, etc.)

3 - Dynamic route entry

4 - Static route entry (not subject to change)

-a Views cache data

-d Deletes an IP address entry.

Requires additional arguments: <Interface Number> <IP address>

-s Adds a static entry.

Requires additional arguments: <Interface Number> <IP address>

<MAC address>

CSX200 Family User’s Guide 187

MIB Navigator

Example: defroute:

Syntax:

Description:

Options:

Example:

MIBNav-> arp -a

# Interface

# (SonicInt)

# (SonicInt)

# (SonicInt)

# (SonicInt)

Network Address

122.144.40.111

122.144.48.109

122.144.52.68

122.144.21.43

Physical Address

00.00.0e.12.3c.04

00.00.0e.f3.3d.14

00.00.0e.12.3c.04

00.00.0e.03.1d.3c

Media Type

3(dynamic)

3(dynamic)

3(dynamic)

3(dynamic)

MIBNav-> arp -d 1 122.144.52.68

MIBNav-> arp -s 1 22.44.2.3 00:00:0e:03:1d:3c

051467 defroute [interface number] [IP address]

The defroute command allows you to set the default IP route to a managed device through the specified interface.

Not Applicable

MIBNav-> defroute 2 147.152.42.32

051469

188 CSX200 Family User’s Guide

dhcp:

Syntax:

Description:

Options:

MIB Navigator dhcp <options>

The dhcp command provides a status of the Dynamic Host Configuration

Protocol feature. Allows the user to enable/disable DHCP globally and by interface, and to configure interfaces with server parameters.

dhcp (with no options) Displays DHCP status information.

dhcp enable/disable. Enables or disables the DHCP feature globally.

dhcp <IFNUM> enable disable Enables or disables the DHCP feature by interface.

dhcp reclaim <IPADDRESS> Reclaims an IP address so another client can use it.

dhcp <IFNUM> <GATEWAY> <DNSADDRESS>

<WINSADDRESS> <DOMAINNAME> The IFNUM is the Ethernet port number. The four configuration parameters can be passed to the hosts (clients). These are the IP address of their default gateway, the IP address of their domain name server, the IP address of their WINS server, and their domain name.

dhcp <IFNUM> <NETADDRESS> <NETMASK>

<LOWADDRESS> <HIGHADDRESS> <LEASE> Allows the user to specify the lease period for the hosts (clients), from one hour to many years. Selectable on a per port basis only.

<IFNUM> The Ethernet port number .

<NETADDRESS> The IP network on which the hosts will reside .

<NETMASK> The subnet mask for the hosts .

<LOWADDRESS> The lowest numerical value of the IP range to be allocated .

<HIGHADDRESS> The highest numerical value of the IP range .

CSX200 Family User’s Guide 189

MIB Navigator

Example:

MIBNav->dhcp

DHCP Server Summary:

Admin: Enabled Oper: Enabled Server Time: 458400

Discovers: 0, Offers: 0, Requests: 2, Errors: 0

Declines: 0, Releases: 0, Acks: 2, Naks: 0, Other Servers: 0

DHCP Interface Configuration:

IF Admin Oper ServerIP Active Free

1 Enabled Enabled 192.168.254.254 2 250

IF Net Address Net Mask Low Address High Address Lease

1 192.168.254.0 255.255.255.0 192.168.254.2 192.168.254.253 2880

IF Default Gateway DNS Address WINS Address Domain Name

1 192.168.254.254 134.141.72.219 134.141.70.34 ctron.com

DHCP Client Status:

# IF MAC Address Net Address Time Left Name

1 1 00:a0:c9:39:5e:40 192.168.254.2 22980 crotty

2 1 00:00:1d:16:71:99 192.168.254.3 22980 slowhand dhcp

190 CSX200 Family User’s Guide

nat:

Syntax:

Description:

Options:

Example:

MIB Navigator nat <options>

The nat command provides status relating to Network Address

Translation. Allows the user to assign a private network to an interface, to define an interface to access the internet through, and to create a public

IP address to be used on the internet. Allows the user to assign a host on the private network as a “proxy server” accessible from the internet.

nat (with no options) displays status information nat enable/disable Enables or disables the NAT feature.

nat config <PRIVATEIFNUM> <PUBLICIFNUM> Selects the local and public interfaces .

nat proxy add <ENTRY_NUMBER> <PRIVATEIP>

<PUBLICPORT> <LOCALPORT> <PROTOCOL> Adds a proxy server nat proxy delete <ENTRY_NUMBER> Deletes a proxy server

MIBNav->nat

NAT Status:

Admin: Enabled Oper: Enabled Local Interface: 1 Internet Interface: 2

Local IP Local mask Internet IP Internet mask

192.168.254.254 255.255.255.0 134.141.17.165 255.255.0.0

Connections- TCP: 0, UDP: 0, ICMP: 0

Local to inet- pkts: 116, bytes: 10814

Inet to local- pkts: 91, bytes: 39812

Errors: cksum: 0, retries: 1, bad packets: 0

Total IP pkts: 3917, Reserved addresses: 2919

Server List:

Connections: #

# Number of valid entries: 0 nat

CSX200 Family User’s Guide 191

MIB Navigator netstat:

Syntax:

Description:

Options:

Example: netstat <option>

The netstat command provides a display of general network statistics for the managed device. The netstat command must be used with one of the two display options.

-i Displays status and capability information for each interface

-r Displays routing information for each interface

MIBNav-> netstat -i

Interface + Description

# 1 (ethernet -csmacd)

# 2 (ethernet - csmacd)

# 3 (ethernet - csmacd)

# 4 (ethernet - csmacd)

MTU

1514

1514

1514

1514

MIBNav-> netstat -r

Destination

# Default Route

# 134.141.0.0

# 134.141.0.0

Next-hop

DirectConnection

DirectConnection

DirectConnection

Speed Admin

10000000

10000000

10000000

10000000 up up up up

Oper MAC Addr up up up up

0x00 0x00 0x1d 0x07 0x50 0x0e

0x00 0x00 0x1d 0x07 0x50 0x0f

0x00 0x00 0x1d 0x07 0x50 0x10

0x00 0x00 0x1d 0x07 0x50 0x11

Interface

1

2

3

051470 ping:

Syntax:

Description:

Options:

Example: ping [IP address]

The ping command generates an outbound ping request to check the status (alive/not alive) of a device at a specified IP address.

Not Applicable

192 CSX200 Family User’s Guide

MIBNav-> ping 122.144.40.10

122.144.40.10 is alive

051471

MIB Navigator snmpbranch:

Syntax:

Description:

Options:

Example: snmpget:

Syntax:

Description:

Options:

Example: snmpbranch [IP address] [community name] [OID]

The snmpbranch command enables you to query another SNMP device.

The command provides a display of objects that match the specified

OID. If no match is made, no object is displayed.

Not Applicable

MIBNav-> snmpbranch 2.4.8.1 public 1.3.6.2.1.1

# /1/3/6/1/2/1/1/1

# /1/3/6/1/2/1/1/2

# /1/3/6/1/2/1/1/3

# /1/3/6/1/2/1/1/4 sysDescr sysObjectId sysUpTime sysContact

STRING

OBJECT ID

TIME TICKS

STRING

EMRev X.X.X.X

1.3.6.1.4.1.52

8098654

AlZwie/MIS

051473 snmpget [IP address] [community name] [OID]

The snmpget command enables you to query another SNMP device to obtain a value for a specified object. This command requires the appropriate community string and object id.

Not Applicable

MIBNav-> snmpget 22.44.61.22 public 1.3.6.1.2.1.1.1.0

# Cabletron EMME Revision X.XX.XX

051474

CSX200 Family User’s Guide 193

MIB Navigator snmpset:

Syntax:

Description:

Options:

Example: snmpset [IP address] [community name]

The snmpset command enables you to set the value of an object in other

SNMP devices. This command requires the appropriate community string and OID.

When defining a new leaf set, MIB Navigator asks for a value. The following lists possible value types:

( i )nteger - number

( c )ounter - number

( g )auge - number

( t )ime ticks - number o( p )aque - “value” (with quotation marks)

( s )tring - “value” (with quotation marks)

( o )id - OID number with dotted punctuation

( a )ddress - IP address in DDN format

( m )ac - MAC address in hexadecimal format

( n )ull - no type

Not Applicable

MIBNav-> snmpset 122.44.1.2 public

1.3.6.1.2.1.1.4.0 "Cyrus/MIS"

051475

194 CSX200 Family User’s Guide

snmptree:

Syntax:

Description:

Options:

Example: traceroute:

Syntax:

Description:

Options:

Example:

MIB Navigator snmptree [IP address] [community name]

The snmptree command provides a display of all objects in the device and their corresponding values.

Not Applicable

MIBNav-> snmptree 122.144.89.10 public

# /1/3/6/1/2/1/1/1

# /1/3/6/1/2/1/1/2

# /1/3/6/1/2/1/1/3

# /1/3/6/1/2/1/1/4 sysDescr sysObjectId sysUpTime sysContact

STRING

OBJECT ID

TIME TICKS

STRING

EMRev X.X.X.X

1.3.6.1.4.1.52

8098654

AlZwie/MIS

051476 traceroute [IP address]

The traceroute command generates a TRACEROUTE request to a specified IP address and provides a display of all next-hop routers in the path to the device. If the device is not reached, the command displays all next-hop routers to the point of failure.

Not Applicable

MIBNav-> traceroute 122.144.11.52

# next-hop[1] 122.144.61.45

# next-hop[2] 122.144.8.113

051477

CSX200 Family User’s Guide 195

MIB Navigator bridge:

Syntax:

Description:

Options:

Example: circuitmap:

Syntax:

Description:

Options: bridge <ENABLE/DISABLE> <IFNUM/ALL>

Allows management of bridging upon one or more interfaces of the device. Bridging may be enabled or disabled at your request, either one at a time or all at once. Specifying a single interface number affects the bridging status of that interface, while specifying ALL affects every interface of the device.

<ENABLE/DISABLE> Enables or disables bridging.

<IFNUM/ALL> Allows you to specify an interface number.

MIBNav-> bridge disable all bridge enable 1 bridge disable 1 bridge circuitmap -a <PROTOCOL> circuitmap -f <PROTOCOL> circuitmap -d <PROTOCOL> <INTERFACENUM>

<NETADDRESS> <MACADDRESS> circuitmap -s <PROTOCOL> <INTERFACENUM>

<NETADDRESS> <MACADDRESS> <CIRCUIT>

Allows the user to view and/or modify a Protocol’s Circuit Map (i.e., address-to-circuit) table for the device. The -a option shows the user the current HostMap information for the device. The -d option allows the user to delete an entry from the table. The -s option allows the user to insert a static entry into the table. The -f option allows the user to flush the table. The device must be initialized after changing the Circuit Map.

Not Applicable

196 CSX200 Family User’s Guide

Example: ppp:

Syntax:

Description:

Options: reset:

Syntax:

Description:

Options:

MIB Navigator

MIBNav-> circuitmap -s IPX 2 00000172 00:00:1d:02:d1:7a 102

MIBNav-> circuitmap -a

# Interface

# 2

# 2

Network

5A4C212B

00000172

Node

00:00:1d:23:a1:5b

00:00:1d:23:a1:5b

Circuit ID

203

102 circuitmap ppp

Provides additional status relating to PPP and its Network Control

Protocols.

Not Applicable reset

The reset command allows you to perform a soft reset of the device. The user is queried to confirm the reset command to insure against unwanted resets.

Note: The MIB Navigator’s connection to the device is terminated upon execution of this command.

Not Applicable

CSX200 Family User’s Guide 197

MIB Navigator route:

Syntax:

Description: route add <IPADDRESS> <IPADDRESS> <INTERFACENUM> route add <IPADDRESS> <IPADDRESS> <INTERFACENUM>

<METRIC> route delete <IPADDRESS> <IPADDRESS> <INTERFACENUM>

Allows you to add or delete static entries in the IP Forwarding Table for the device. The first address is the destination. The second address is the next hop for the given interface. The metric value is optional. If included, it is used to set the value of ipForwardingMetric1. When RIP is used, the metric specifies the distance in hops to the destination.

secondIP:

Syntax:

Description:

Options: show:

Syntax:

Description: secondIP add <IPADDRESS> <INTERFACENUM> secondIP delete <IPADDRESS> <INTERFACENUM>

Allows you to add or delete secondary IP addresses on the interface.

Not Applicable show <PROTOCOL> [TABLE]

The show command displays information concerning various components of the device. Protocols currently supported are IP and IPX.

Components of those protocols that are currently supported are ARP caches, route tables, FIB tables, server tables, and interface tables. The number of valid entries in the table is outputted at the end of the table display.

Example:

198 CSX200 Family User’s Guide

MIBNav-> show IP ARP

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

# Interface MediaType Physical Address NetworkAddress

# 4

# 4

(dynamic)

(dynamic)

00:00:1d:04:40:5d

08:00:20:0e:d8:31

203

102 show

advertisement

Related manuals

advertisement

Table of contents