Shyam FS400 Cli User's Manual

4 port ethernet switch

Advertisement

Quick Links

FS400 – 4 Port Ethernet Switch
CLI User Guide
1.0
Proprietary Information
The information contained herein is proprietary to Shyam
Networks Limited. Use or disclosure of this document or the
information contained herein, for any purpose other than that
for which it was furnished is not permitted or it shall not be
disclosed or divulged to any third party without the prior
written consent of Shyam Networks Limited.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FS400 and is the answer not in the manual?

Questions and answers

Summary of Contents for Shyam FS400

  • Page 1 FS400 – 4 Port Ethernet Switch CLI User Guide Proprietary Information The information contained herein is proprietary to Shyam Networks Limited. Use or disclosure of this document or the information contained herein, for any purpose other than that for which it was furnished is not permitted or it shall not be disclosed or divulged to any third party without the prior written consent of Shyam Networks Limited.
  • Page 2: Copyright Notice

    S E R U I D E Copyright Notice This document is copyright © 2011 Shyam Networks Limited. All Rights Reserved. No part of this document, in whole or in part, may be used, reproduced, stored in a retrieval system or...
  • Page 3: Table Of Contents

    1.3 Document Conventions ................9 1.4 Terms and Abbreviations ............... 10 1.5 References ....................11 2. Remotely Managing FS400 ............ 12 2.1 Using the CLI ....................12 2.1.1 Accessing CLI using Serial Port ............. 12 2.1.2 Accessing CLI using Telnet ............. 15 2.2 CLI Command Syntax ................
  • Page 4 4.8 Igmp Snooping ..................46 4.9 QoS ......................... 47 4.9.1 Port based QoS ................... 47 4.9.2 ip based qos ..................48 4.10 Link Fault Pass (LFP) ................49 4.11 Firmware Upgradation ................. 50 © 2011 SHYAM | Company Confidential Page 4/57...
  • Page 5 4.11.2 fw-upgrade serial ................52 4.12 Saving the Configurations ..............54 4.13 Enable PoE ....................55 4.14 exit ........................ 55 4.15 Rebooting FS400 ..................56 4.15.1 boot ...................... 56 4.16 reset ......................57 © 2011 SHYAM | Company Confidential Page 5/57...
  • Page 6 Figure 3: Properties Dialog Box ............... 14 Figure 4: Logon to HyperTerminal ..............15 Figure 5: Login Details ..................16 Figure 6: Login to FS400 ..................16 Figure 7: Full Help Arguments Window ............18 Figure 8: Show Info ....................20 Figure 9: Show IP ....................
  • Page 7 Figure 38: Command to Upgrade Firmware Using Serial Port .... 53 Figure 39: File Transfer using Serial Port ............53 Figure 40: Sending File ..................54 Figure 41: Saving the Configuration ............. 55 © 2011 SHYAM | Company Confidential Page 7/57...
  • Page 8 Table 1: Document Conventions ............... 9 Table 2: Terms and Abbreviations Used in the Document ....10 Table 3: Command Conventions ..............17 Table 4: Configuring the Terminal Emulation Console ......52 © 2011 SHYAM | Company Confidential Page 8/57...
  • Page 9: About This Document

    This guide familiarizes you with the command line interface (CLI) commands to configure the FS400 switch. You can configure FS400 from a remote location through a serial port or Telnet. 1.2 Intended Audience The intended target groups for this document are: •...
  • Page 10: Terms And Abbreviations

    Terms / Abbreviations Description / Expansion Command Line Interface Cyclic Redundancy Check DHCP Dynamic Host Configuration Protocol IGMP Internet Group Management Protocol Internet Protocol Kbps Kilo Bits Per Second Media Access Control © 2011 SHYAM | Company Confidential Page 10/57...
  • Page 11: References

    Trivial File Transfer Protocol Tx/Rx Transmit/Receive VLAN Virtual Local Area Network 1.5 References • FS 400 Configuration and User Guide Note: Please refer to the above mentioned guide for a detailed description of the commands. © 2011 SHYAM | Company Confidential Page 11/57...
  • Page 12: Remotely Managing Fs400

    • Using remote logical connection with Telnet Note: You need to ensure that IP address of the system and FS400 are in the same subnet. The default IP address of FS400 is 192.168.1.2 and your system must also have the IP address in the same domain as 192.168.1.x (where x is between 1 and 254...
  • Page 13 U I D E Perform the following steps to access the CLI through the serial port: 1. Connect one end of the console cable to FS400 console port. 2. Connect the other end of the cable to the serial port of the computer.
  • Page 14 Make sure that following values are set: • Baud rate: 115200 • Data bits: 8 • Parity: None • Stop bits: 1 bit • Flow control: None 5. Click OK. The following prompt appears: © 2011 SHYAM | Company Confidential Page 14/57...
  • Page 15: Accessing Cli Using Telnet

    You have successfully logged into CLI using serial port. 2.1.2 Accessing CLI using Telnet You can access the CLI of FS400 using Telnet. But before that you must set the IP address for FS400. Once you are connected to the remote system, provide login and password to keep access restricted to authorized individuals only.
  • Page 16 U I D E Note: Both username and password are case-sensitive. Figure 4: Login Details The following prompt appears: Figure 5: Login to FS400 You have successfully logged into CLI using Telnet. © 2011 SHYAM | Company Confidential Page 16/57...
  • Page 17: Cli Command Syntax

    [ ] square [value] Indicates an optional parameter bracket that you can enter in place of the brackets and text inside them. | vertical bar <choice1> Separates the mutually exclusive |<choice 2> choices. © 2011 SHYAM | Company Confidential Page 17/57...
  • Page 18: Basic Commands

    W I T C H S E R U I D E 3. Basic Commands This section familiarizes you with the basic commands of FS400. 3.1 help (?) This command displays a partial list of available commands. To list more available commands, execute? repeatedly.
  • Page 19: Show Info

    1 to 5. 3.2 show info This command displays the following information of FS400: • Type: Displays the name of the FS400 model with PoE and non PoE. • MAC Address: Displays the media access control (MAC) address of FS400.
  • Page 20: Show Ip

    W I T C H S E R U I D E Figure 7: Show Info 3.2.1 show ip You can use this command to view the IP settings of FS400. Syntax show ip Example FS-400> show ip © 2011 SHYAM | Company Confidential...
  • Page 21: Changing The Ip Address

    W I T C H S E R U I D E Figure 8: Show IP 3.2.2 Changing the IP Address You can also change or configure the IP address of FS400 by using the following command: Syntax ip address <ip address><subnet mask> Example FS-400>...
  • Page 22: Enabling Dhcp

    192.168.1.2 to 192.168.10.98) and gateway (from 192.168.1.1 to 192.168.10.1): Figure 9: Changed IP Address and Gateway 3.3 Enabling DHCP You can use the dhcp command to enable FS400 to take IP automatically from the dynamic host configuration protocol (DHCP) server. Syntax...
  • Page 23: Disabling Dhcp

    S E R U I D E FS-400>show dhcp 3.4 Disabling DHCP You can use the no dhcp command to disable the DHCP services. FS400 takes the last saved static IP address after disabling DHCP. Syntax no dhcp Example FS-400> no dhcp FS-400>show dhcp...
  • Page 24: Changing Password

    U I D E 3.5 Changing Password You can use the password command to change the existing password. Syntax password <current password> <new password> Example FS-400> password password user1 Figure 11: Change Password © 2011 SHYAM | Company Confidential Page 24/57...
  • Page 25: Configuration Commands

    FS400. 4.1 Port Configuration This section describes the various commands that you can use to configure the port settings of FS400. 4.1.1 show port status This command displays the following information of the port: • State: Displays the status of the port as enabled or disabled.
  • Page 26: Show Port Statistics

    • Rx CRC Error: Displays the total number of cyclic redundancy check (CRC) or code errors at the time of receiving the packets. • Rx frame Error: Displays the total number of error frames received. Syntax show port statistics <port 1-5> © 2011 SHYAM | Company Confidential Page 26/57...
  • Page 27: Vlan Configuration

    A frame with VLAN Identifier (VID) of null (0) is called a priority frame, meaning that only the priority level is significant and the default VID of the ingress port is given © 2011 SHYAM | Company Confidential Page 27/57...
  • Page 28: Vlan Pass-All

    F S 4 0 0 S C L I U W I T C H S E R U I D E as the VID of the frame. Maximum VLAN possible in FS400 is 16 only (include default). Options Pass-all Pass-all the VLAN’s...
  • Page 29: Vlan Mode

    4.2.2 vlan mode This command is used to set the VLAN mode. The VLAN modes are of two types: • Original: Uses the configured setting on FS400. In this mode if port is untagged then the output is untagged and vice versa.
  • Page 30: Vlan Create

    Figure 15: Vlan Mode 4.2.3 vlan create This command is used to create a VLAN by specifying an ID and a name. Syntax vlan create <vlan id> <vlan name> © 2011 SHYAM | Company Confidential Page 30/57...
  • Page 31: Vlan Add

    Note: By default vlan pass-all is enabled to use specific VLANs. You are required to disable the vlan pass-all and change the vlan mode to original. 4.2.4 vlan add This command is used to add a VLAN. © 2011 SHYAM | Company Confidential Page 31/57...
  • Page 32: Vlan Insert

    10 Figure 17: Add Vlan 4.2.5 vlan insert There are two types of ports tagged and untagged. You can add any port type as desired by using the vlan insert command. © 2011 SHYAM | Company Confidential Page 32/57...
  • Page 33: Vlan Pvid

    4.2.6 vlan pvid This command is used to assign the port VLAN ID (PVID) to a specific port. Note: By default PVID of all the ports is 1. Syntax vlan pvid <port 1-5> <vid> © 2011 SHYAM | Company Confidential Page 33/57...
  • Page 34: Vlan Leaky

    Figure 19: Vlan Pvid 4.2.7 vlan leaky This command is used to enable or disable the leaky VLAN for unicast and mirror. Syntax vlan leaky [enable | disable][unicast |mirror] Example FS-400> vlan leaky enable unicast © 2011 SHYAM | Company Confidential Page 34/57...
  • Page 35: Vlan Delete

    This command is used to delete a desired port from VLAN. Syntax vlan delete <vid> <port 1-5> Example FS-400> vlan delete 10 1 You can view the VLAN status after deletion by using the following command: © 2011 SHYAM | Company Confidential Page 35/57...
  • Page 36: Vlan Ingress-Filter

    VLAN membership of the receiving interface, are admitted and forwarded to ports that are members of that VLAN. Note: By default ingress filtering is disabled. Syntax vlan ingress-filter [enable | disable] © 2011 SHYAM | Company Confidential Page 36/57...
  • Page 37: No Vlan

    Figure 22: Vlan Ingress Filter 4.2.10 no vlan This command deletes an existing VLAN having a valid ID. (ID1 is reserved for the default VLAN). Syntax no vlan <vid> Example FS-400> no vlan 2 © 2011 SHYAM | Company Confidential Page 37/57...
  • Page 38: Vlan Management-Vlan

    Note: By default the value of management VLAN is 1. Syntax vlan management-vlan <vid> Example FS-400> vlan management-vlan 2 You can view the management VLAN by using show vlan management-vlan command. Syntax show vlan management-vlan © 2011 SHYAM | Company Confidential Page 38/57...
  • Page 39: Mac-Address-Table

    • <entry 0-3> is the order of the MAC address entry in the table. • <port 1-5> is the port number to which MAC address is assigned. Example FS-400> mac-address-table static 00:12: 23:34:45:63 2 4 © 2011 SHYAM | Company Confidential Page 39/57...
  • Page 40: No Mac-Address-Table

    Figure 25: MAC Address Table 4.4.1 no mac-address-table This command is used to delete a MAC address entry from the MAC address table. Syntax no mac-address-table <MAC address> Example FS-400> no mac-address-table 00:12: 23:34: 45:63 © 2011 SHYAM | Company Confidential Page 40/57...
  • Page 41: Learning

    You can enable or disable the learning of MAC address by using the no mac-address-table command. Note: By default learning is enabled. Syntax learning [enable|disable]> [<port 1-5> | all] Example FS-400> learning enable 2 FS-400> learning enable all © 2011 SHYAM | Company Confidential Page 41/57...
  • Page 42: Bandwidth-Control

    64 (64 Kbps to 97664 Kbps). Syntax bandwidth-control [ingress|egress] <rate[64- 97664]> <port number> Example FS-400> bandwidth-control ingress 3200 2 You can view the bandwidth control of all the ports by using show bandwidth-control command. Syntax show bandwidth-control © 2011 SHYAM | Company Confidential Page 42/57...
  • Page 43: Storm-Control

    Limitation is also possible for the following ranges in packets per second (pps) 10, 20, 40, 80, 160, 320, and 640 pps. You can enable or disable the storm control using the following commands: • storm-control • storm-control rate © 2011 SHYAM | Company Confidential Page 43/57...
  • Page 44: Port Mirroring Configuration

    You can view the information of the storm control by using show storm-control command. Syntax show storm-control Figure 29: Storm Control 4.7 Port Mirroring Configuration This section describes the various commands that you can use to configure port mirroring in FS400. © 2011 SHYAM | Company Confidential Page 44/57...
  • Page 45: Mirror

    Note: The above example shows packets received on port 2 are to be mirrored on port 4. You can view the formed mirror by using show mirror command. Syntax show mirror Figure 30: Mirroring © 2011 SHYAM | Company Confidential Page 45/57...
  • Page 46: No Mirror

    Figure 31: Delete Mirroring 4.8 Igmp Snooping The Internet group management protocol (IGMP) snooping feature helps to preserve bandwidth by allowing FS400 to forward IP multicast traffic only to connected hosts that request multicast traffic. You can enable/disable the IGMP snooping feature.
  • Page 47: Qos

    4.9.1 Port based QoS Port-based QoS allows you to prioritize performance of the LAN ports 1-5. For each of these ports, select high or low priority. Syntax qos port-based <priority 0-3> <port 1-5> © 2011 SHYAM | Company Confidential Page 47/57...
  • Page 48: Ip Based Qos

    Note: By default all the ports have 0 priority. 4.9.2 ip based qos This command is used to enable the IP based QoS. Syntax qos ip-based <priority 0-3> <ip-A> <mask-A> <ip-B> <mask-B> © 2011 SHYAM | Company Confidential Page 48/57...
  • Page 49: Link Fault Pass (Lfp)

    This command is used to enable or disable the link fault pass. When lfp is enabled the link status on TX port informs the FX port of FS400 and vice versa. If link fail occurs on TX port, the FX port then forces its TX port to fail.
  • Page 50: Firmware Upgradation

    4.11.1 fw-upgrade tftp TFTP support allows FS400 firmware to be upgraded by downloading a new firmware to the switch. Firmware images to be uploaded in the switch should be available in the TFTP client machine.
  • Page 51 C:> tftp –i <switch ip> PUT <image path> Note: It is recommended that you enter the drive:\path\ before the file name as shown in the figure below: Figure 36: File Transfer using TFTP © 2011 SHYAM | Company Confidential Page 51/57...
  • Page 52: Fw-Upgrade Serial

    U I D E Note: You have to type the above mentioned command in the CLI of the host machine and not in the CLI of FS400. 4.11.2 fw-upgrade serial This command is used to upgrade the firmware image using serial port.
  • Page 53 Note: Ensure that the new switch boot code firmware file is available on the computer. 5. Select Transfer from menu bar and click Send File. Figure 38: File Transfer using Serial Port The Send File dialog box appears. © 2011 SHYAM | Company Confidential Page 53/57...
  • Page 54: Saving The Configurations

    Note: Do not power cycle/reset FS400 during this process. After extracting the image, it is updated to flash and a message with a progress indicator appears. 4.12 Saving the Configurations You can save the configuration of FS400 by using the save command. Syntax save Example FS-400>...
  • Page 55: Enable Poe

    U I D E Figure 40: Saving the Configuration 4.13 Enable PoE You can enable the power over Ethernet (PoE) on a desired port of FS400 by using poe on command. Syntax poe on <port number> Example FS-400> poe on 2 You can view the status of PoE by show poe command.
  • Page 56: Rebooting Fs400

    W I T C H S E R U I D E 4.15 Rebooting FS400 Rebooting causes FS400 to restart without changing the configuration settings. After rebooting, the unsaved configurations are lost. 4.15.1 boot This command is used to boot the switch type.
  • Page 57: Reset

    C L I U W I T C H S E R U I D E 4.16 reset This command resets the configuration to the factory defaults without turning off FS400. Syntax reset © 2011 SHYAM | Company Confidential Page 57/57...

Table of Contents