background image

57

NH 2001M 

NBase Communications

IP Commands

get-ip

Show current IP address

set-ip

Set IP address

get-ip-cfg

Show current IP configuration

set-ip-cfg 

Set IP address, netmask and broadcast

clear-ip-cfg

Clear IP configuration in NVRAM

get-gatew

Show default gateway 

set-gatew 

Define default gateway 

get-arp-tbl

Display the ARP Table

del-arp-entry 

Deletes an entry/all entries of the ARP table

add-arp-entry 

Adds an entry to the ARP table

ping 

IP traffic generator

ping-stop

Stop the ping process

SNMP Commands

get-comm 

Show current read and /or write community 

set-comm 

Change the read or write community 

get-auth

Shows the traps authentication mode

set-auth 

Sets the trap authentication mode

get-traps

Show destination stations in the trap list

add-trap 

Add destination station to trap list

del-trap 

Delete a destination station from trap list

get-rmon-state

Display the RMON session state

Switching Database Commands

get-lt-entry 

Gets an LT entry at index

get-lt-16 

Gets 16 LT entries starting at a given index

find-lt-addr 

Searches for an address in the LT

del-lt-entry 

Removes an LT entry at index

del-lt-addr

Removes an LT with a given address

add-lt-entry 

Adds an LT entry

get-lt-age

Displays the LT aging period

set-lt-age 

Modifies the LT aging period

AI2001SB.QXD  4/5/98 11:27 AM  Page 57

Summary of Contents for NH2001M

Page 1: ...10 100 Connectivity Switch MegaSwitch EZ NH 2001M INSTALLATION AND USER GUIDE ML41931 Rev 1 00 UG2001SB QXD 4 12 98 1 53 PM Page 1...

Page 2: ...thods of Measurement of Radio Interference Characteristics of Information Technology Equipment EN 50082 1 Electromagnetic compatibility Generic immunity standard Part 1 Residential commercial and ligh...

Page 3: ...MENT SYSTEMS 14 ACCESSING THE SNMP AGENT 15 Console Management 15 Setting Up and Starting the Local Console 15 Configuring the SNMP Agent 16 Logging into the Command Line Interface 16 Setting the IP A...

Page 4: ...init nvram 28 get sw file 28 set sw file 29 set tftp srvr 29 get tftp srvr 29 set tftp mode 29 get tftp mode 29 sw dnld 29 set fg param 30 start fg 30 stop fg 30 IP Commands 31 IP Configuration 31 get...

Page 5: ...dr 44 del lt entry 45 del lt addr 45 add lt entry 46 get lt age 46 set lt age 46 Port Monitoring 47 set mon port 47 monitor 47 stop mon 47 get nv mon 47 save mon 47 clear nv mon 47 Port Configuration...

Page 6: ...B SYSTEM DEFAULT VALUES 64 NBase Communications NH2001M This document and the information contained herein are proprietary to NBase and are furnished to the recipient solely for use in operating main...

Page 7: ...x connection The NH 2001M is managed through MegaVision the comprehensive NBase NMS any SNMP compatible NMS or through the CLI commands The switch utilizes self learning of network addresses and filte...

Page 8: ...an include 10Mbps and 100Mbps servers a Fast Ethernet backbone 10 or 100Mbps hubs or individual stations all functioning in half full duplex mode Connectivity is possible over 10Base T 100Base TX UTP...

Page 9: ...ions Figure 2 Application possibilities NH 2001MFO One SM Fiber Port One Copper Port Figure 3 Application possibilities Dual Fiber NH 2001MFO Left Port MM Connection Right Port SM Connection UG2001SB...

Page 10: ...port a PC or UNIX workstation The unit is powered by a wide range power supply for either 110 or 220 VAC operation WARNING Free air flow must be maintained in order to permit adequate cooling of the u...

Page 11: ...k panel of each NH 2001MFO module identifies the fiber port s as multimode or singlemode fiber In addition a sticker on the front panel of each dual fiber NH 2001MFO module identifies the left port as...

Page 12: ...ct device It should be plugged into an easily accessible outlet A built in power supply automatically adjusts to any outlet providing between 90 VAC and 264 VAC at 50 60 Hz For a 115 volt configuratio...

Page 13: ...n des entsprechenden Landes Input Supply Check nameplate ratings to assure there is no overloading of supply circuits that could have an effect on overcurrent protection and supply wiring Grounding Re...

Page 14: ...dard straight through patch cable In order to cascade switches or connect a hub to the switch a crossover cable must be used Figure 5 Straight cable connection between an NH 2001M and a server PC MDI...

Page 15: ...gh software for 100Mbps no auto speed sensing with a connection to a 100Mbps PC adaptor c The port is configured through software for 10Mbps no auto speed sensing with a connection to a 10Mbps hub d T...

Page 16: ...serial number of your switch the HW SW versions and its hardware address The configuration of the equipment being interfaced with the switch The sequence of events leading up to your problem Troubles...

Page 17: ...s RX Green ON indicates receive data from a connected hub or NIC card LINK Green ON when another 10Base T hub or NIC is connected to the port COL FD Yellow Green Bi color LED indicates Yellow port is...

Page 18: ...12 NBase Communications NH2001M UG2001SB QXD 4 12 98 1 53 PM Page 12...

Page 19: ...13 NH2001M NBase Communications UG2001SB QXD 4 12 98 1 53 PM Page 13...

Page 20: ...NH 2001M ADMINISTRATIVE INTERFACE AI2001SB QXD 4 5 98 11 27 AM Page 1...

Page 21: ...NBase private MIBs switch mib and gswitch mib The SNMP agent utilizes UDP IP RFC 768 RFC950 RFC1071 and RFC791 as OSI layers 3 and 4 protocols ICMP RFC792 and ARP RFC826 to complete the UDP IP protoc...

Page 22: ...he NH 2001M may be achieved through Ethernet To enable management of an NH 2001M device the user must define the device and provide specific parameters to establish communication The Describe window i...

Page 23: ...D subminiature connector on each end to attach to the VT terminal or VT100 terminal emulator Software Requirements If you are using a workstation use the VT100 terminal emulation software appropriate...

Page 24: ...t No Local Echo Terminate the setup session by keying Ctrl C Configuring the SNMP Agent Logging into the Command Line Interface The CLI is protected against usage by inappropriate personnel To access...

Page 25: ...nd SYS_console set ip cfg 192 1 1 64 255 255 255 0 192 1 1 255 NOTE If the switch has no IP Address then the provided IP Configuration will change the running parameters as well as the NVRAM based dat...

Page 26: ...90 136 126 Alive echo reply id 4643 seq 1 echo data len 0 194 90 136 126 Alive echo reply id 4643 seq 2 echo data len 0 PING process stopped statistics ICMP echo requests 2 ICMP echo responses 2 PING...

Page 27: ...e command name followed by zero or more parameters and pressing enter For example typing banner enter at the command prompt displays the Administrative Interface logo Items typed in courier are to be...

Page 28: ...ation IP address arg 1 number of packets to send or 0 for endless ping SYS_console ping _ Note that the command is reprinted after the prompt and the user has only to add the necessary parameters If a...

Page 29: ...ice cold reset cold reset of the device get last err displays information about the last fatal error init nvram initialize NVRAM to default values get sw file retrieves the SNMP Agent Software file na...

Page 30: ...start with the text he has already typed eg User pressed SYS_console get c command get c not found Commands matching get c get comm show current read or and write community get colls cnt gets the col...

Page 31: ...atistics commands Spanning Tree related commands See the quick reference at the end of this chapter for a command list separated by subject Typing at the CLI prompt displays a list of all the availabl...

Page 32: ...sition in 1st column list of the categorie in command list of parameters in parameters list of the parameters with line number repeat command from history for example 26 without line number show histo...

Page 33: ...n set a more meaningful prompt such as a location of the switch or the name of a workgroup The default prompt is SYS_console and SYS_telnet if the connection was made through telnet SYS_console set pr...

Page 34: ...s asked to input a new password and then type it again for veri fication At no time are any of the passwords echoed back to the user If the user enters the old password incorrectly or fails to verify...

Page 35: ...2 entries Total uptime hundredths of seconds 12145 Total uptime days hh mm ss format 0 days 0 02 01 45 i f 1 description Port 1 10 100 BaseTx ETHERNET Port status UP i f 2 description Port 2 10 100 Ba...

Page 36: ...rs The statistics counters are also reset by the warm reset command cold reset This command causes the switch to cold reset Cold reset is equivalent to power cycling the Switch get last err This comma...

Page 37: ...tftp srvr IP address Sets the IP address of the TFTP server used for uploading and downloading set tftp mode This command sets the TFTP download mode Usage SYS_consol set tftp mode client server Switc...

Page 38: ...l length of the packet excluding CRC start fg Usage start fg dport count rate This command starts frame generation dport is a dash separated list of ports on which to generate traffic For example a dp...

Page 39: ...command shows the device s current IP address if any SYS_console get ip no IP Config defined The device has no IP Address defined SYS_console _ SYS_console get ip IP Config already defined The device...

Page 40: ...n the new values will be used immediately and saved into NVRAM If a previous IP configuration was being used the new configuration will be saved in NVRAM for the next session In order to use the newly...

Page 41: ...Configuration change in the NVRAM cleaned OK get gatew Shows default gateway This command shows which default route will be used to access a different IP network Usage SYS_console get gatew The defau...

Page 42: ...p entry will be deleted If is specified the entire ARP table will be flushed This command should be used if the network topology has physically changed e g if a management station has been moved from...

Page 43: ...P station It is not intended as a traffic generator Thus using the end less ping option is not recommended If you started a long ping issue a ping stop command to stop it successful ping of a reachabl...

Page 44: ...responding entry in the routing table Destination Unreachable the default gateway failed to route the datagram Outdated ARP table information flush the ARP table with the del arp entry command If ther...

Page 45: ...ing stop PING process stopped statistics ICMP echo requests 35 ICMP echo responses 0 PING process press CR for prompt SYS_console SYS_console ping 194 90 136 21 1 Use ping stop to stop the ping proces...

Page 46: ...g types of accesses read mode gives read access to all the objects in the MIB but does not allow write access write mode gives read and write access to all objects in the MIB get comm Usage get comm r...

Page 47: ...nager Stations to which the switch generated traps will be sent by the SNMP agent The list has a maximum capacity of five entries get auth Displays the Authentication Trap mode enabled or disabled set...

Page 48: ...0 136 20 rnd added SNMP TRAP TABLE IPADDR COMMUNITY 194 090 136 126 public 194 090 136 020 rnd SYS_console del trap Usage del trap IPaddress The del trap command can be used to remove a station from t...

Page 49: ...ocess if the workstation is not active during an aging time period MGMT not user configurable If on denoted as a the entry is a system address Such addresses are the switch s individual and group addr...

Page 50: ...SYS_console get lt entry 10 Entry MAC Address LOCK DPORT MGMT 10 08 00 2B 0F 44 2B 1 SYS_console The entry described is Entry number 10 MAC Address 08 00 2B 0F 44 2B Is not a static entry i e it will...

Page 51: ...8 00 2B 0F 44 2B 1 11 00 00 A7 10 C4 EB 1 12 08 00 09 9D 5E 30 1 13 00 20 AF C9 EB 23 1 14 00 20 AF 93 98 A5 1 15 00 20 1A 75 08 24 1 16 00 A0 24 E4 B4 BE 1 17 00 60 97 05 A6 A2 1 18 00 A0 24 3B CB EF...

Page 52: ...columns These entries were each learned from the port stated in the DPORT field find lt addr Usage find lt addr mac_address Search for a MAC address in the learn table If mac_address is found in the...

Page 53: ...dress Therefore it should be used with caution SYS_console del lt entry 15 Deleting entry at index 15 OK SYS_console SYS_console del lt entry 45 MAC Address 45 not in LT SYS_console del lt entry 1 Can...

Page 54: ...a period equal to the Aging Time is discarded The default value for the Aging Time is 300 seconds set lt age Usage set lt age run nvram all aging_time Lets the user modify the Switching Database Agin...

Page 55: ...ng port specified by the set mon port command The monitoring device or sniffer must be connected to the monitoring port before monitoring is activated Usage monitor port stop mon This command ends por...

Page 56: ...ode The information displayed contains An interface number LAN type ETH 10 indicates 10 Mbps Ethernet ETH 10 100 indicates 10 100 Mbps Ethernet ETH 100 indicates 100 Mbps Ethernet Link status ON OFF P...

Page 57: ...speed use this command to set the correct value If the port s link partner is in Full Duplex mode and not in Asense or auto negotiation mode Asense can not be selected as the line speed of the port s...

Page 58: ...thernet Statistics Counters for port port number SYS_console get eth cnt 1 Ethernet Statistics for port 1 Good Bytes Received 1249432 Good Multicast Bytes Received 1011480 Good Broadcast Bytes Receive...

Page 59: ...nt 2 Ethernet Collision Counters for port 2 Collision count 0 Late Collision Count 0 SYS_console get rmon cnt Usage get rmon cnt port Retrieve the RMON statistics group 1 counters for port get sdist c...

Page 60: ...Counters Frm Received 15606 Bytes Received 1119792 Frm Filtered 0 Frm Received Bcast 14219 Frm Transmited 29944 Frm Transmit Ucast 344 Frm Transmit Mcast 29556 Frm Transmit Bcast 44 Received from port...

Page 61: ...This command enables or disables the Spanning Tree protocol Spanning Tree is enabled by default in accordance with 802 1d Enabling or disabling Spanning Tree will not take effect until the SNMP agent...

Page 62: ...age set br hellot hello_time This command sets the Spanning Tree bridge Hello Time hello_time is an integer in the range 1 10 Note that hello_time is in units of seconds while the corresponding MIB va...

Page 63: ...s or disables a port in the Spanning Tree port_number is the integer port number This is equivalent to setting the MIB variable dot1dStpPortEnable RFC 1493 set prt pcost Usage set prt pcost port_numbe...

Page 64: ...level of switch set stst level Change the self test level warm reset Warm reset of device cold reset Cold reset of device get last err Display information about the last fatal error init nvram Initia...

Page 65: ...community set comm Change the read or write community get auth Shows the traps authentication mode set auth Sets the trap authentication mode get traps Show destination stations in the trap list add...

Page 66: ...get colls cnt Get the collision distribution counters per port get rmon cnt Get the Ethernet RMON counters per port get sdist cnt Get packet size distribution counters per port get mgm brcnt Get the...

Page 67: ...ult values However to ensure proper operation and maximum performance specific to your network configuration and to provide SNMP access some environment specific parameters must be configured through...

Page 68: ...desired one SYS_console get ip cfg The device IP address netmask and broadcast are IP address 129 001 001 064 IP netmask 255 255 255 000 IP broadcast 129 001 001 000 2 Set the default gateway address...

Page 69: ...private New write community is private SYS_console get comm Current read community is public Current write community is private SYS_console 2 Set up the trap receiver table add the Network Manager Sta...

Page 70: ...ly entered the SNMP Management Workstation address in the trap receiver table Display the table using the get trap tbl command Check that both the IP Address and the community string are correct If th...

Page 71: ...re file into a file with a suitable name 6 Set the remote software file using the set sw file command 7 Set the TFTP mode to client or server using the set tftp mode command 8 If client mode was selec...

Page 72: ...rite Community private Authentication Mode enable Traps Managers NONE switch db Aging Time 300 seconds port configuration port duplex full speed 100 spanning tree Spanning Tree enabled Bridge Priority...

Reviews: