ZyXEL Communications Corporation. Published by ZyXEL Communications Corporation. All rights reserved. Disclaimer ZyXEL does not assume any liability arising out of the application or use of any products, or software described herein.
GS-4012F User’s Guide Interference Statements and Warnings FCC Statement This switch complies with Part 15 of the FCC rules. Operation is subject to the following two conditions: 1 This switch may not cause harmful interference. 2 This switch must accept any interference received, including interference that may cause undesired operations.
GS-4012F User’s Guide 2 Select your product from the drop-down list box on the ZyXEL home page to go to that product's page. 3 Select the certification you wish to view from this page. Registration Register your product online for free future product updates and information at www.zyxel.com for global products, or at www.us.zyxel.com for North American products.
GS-4012F User’s Guide ZyXEL Limited Warranty ZyXEL warrants to the original end user (purchaser) that this product is free from any defects in materials or workmanship for a period of up to two years from the date of purchase. During the warranty period, and...
GS-4012F User’s Guide Customer Support Please have the following information ready when you contact customer support. • Product model and serial number. • Warranty Information. • Date that you received your device. • Brief description of the problem and the steps you took to solve it.
Page 7
GS-4012F User’s Guide METHOD SUPPORT E-MAIL TELEPHONE* WEB SITE REGULAR MAIL SALES E-MAIL FTP SITE LOCATION support@zyxel.co.uk +44 (0) 8702 909090 www.zyxel.co.uk ZyXEL Communications UK Ltd.,11 The Courtyard, sales@zyxel.co.uk +44 (0) 8702 909091 ftp.zyxel.co.uk UNITED KINGDOM Eastern Road, Bracknell, 0906 7370001(UK...
GS-4012F User’s Guide Table of Contents Copyright ........................1 Interference Statements and Warnings..............2 ZyXEL Limited Warranty ..................4 Customer Support ....................5 Table of Contents ..................... 7 List of Figures ......................19 List of Tables ......................25 Preface ........................29 Chapter 1 Getting to Know Your Switch................
Page 15
GS-4012F User’s Guide 32.6.1 Requirements for Using SSH ............... 195 32.7 Introduction to HTTPS ................... 195 32.8 HTTPS Example .................... 196 32.8.1 Internet Explorer Warning Messages ........... 196 32.8.2 Netscape Navigator Warning Messages ..........197 32.8.3 The Main Screen .................. 198 32.9 Service Port Access Control ................
• For brevity’s sake, we will use “e.g.,” as a shorthand for “for instance”, and “i.e.,” for “that is” or “in other words” throughout this manual. • The GS-4012F Ethernet Switch may be referred to as “the GS-4012F” or “the switch” in this User’s Guide.
Help us help you. E-mail all User Guide-related comments, questions or suggestions for improvement to techwriters@zyxel.com.tw or send regular mail to The Technical Writing Team, ZyXEL Communications Corp., 6 Innovation Road II, Science-Based Industrial Park, Hsinchu, 300, Taiwan. Thank you.
This chapter introduces the main features and applications of the switch. 1.1 Introduction The GS-4012F is a stand-alone layer-3 Gigabit Ethernet switch with 12 min-GBIC slots and four Gigabit/mini-GBIC ports. By integrating router functions, the GS-4012F performs wire- speed layer-3 routing in addition to layer-2 switching.
Page 33
GS-4012F User’s Guide VLAN Stacking Use VLAN stacking to add an outer VLAN tag to the inner IEEE 802.1Q tagged frames that enter the network. By tagging the tagged frames (“double-tagged” frames), the service provider can manage up to 4,094 VLAN groups with each group containing up to 4,094 customer VLANs.
Page 34
GS-4012F User’s Guide IP Multicast With IP multicast, the switch delivers IP packets to a group of hosts on the network - not everybody. In addition, the switch can send packets to Ethernet devices that are not VLAN- aware by untagging (removing the VLAN tags) IP multicast packets.
GS-4012F User’s Guide Maintenance and Management Features • Access Control You can specify the service(s) and computer IP address(es) to control access to the switch for management. • Cluster Management Cluster management (also known as iStacking) allows you to manage switches through one switch, called the cluster manager.
All users that need high bandwidth can connect to high-speed department servers via the switch. You can provide a super-fast uplink connection by using a Gigabit Ethernet/mini-GBIC port on the GS-4012F. Moreover, the switch eases supervision and maintenance by allowing network managers to centralize multiple servers at a single location.
GS-4012F User’s Guide Figure 2 Bridging Application 1.4.3 High Performance Switching Example The switch is ideal for connecting two networks that need high bandwidth. In the following example, use trunking to connect these two networks. Switching to higher-speed LANs such as ATM (Asynchronous Transmission Mode) is not feasible for most people due to the expense of replacing all existing Ethernet cables and adapter cards, restructuring your network and complex maintenance.
GS-4012F User’s Guide 1.4.4.1 Tag-based VLAN Example Ports in the same VLAN group share the same frame broadcast domain thus increase network performance through reduced broadcast traffic. VLAN groups can be modified at any time by adding, moving or changing ports without any re-cabling.
Page 39
GS-4012F User’s Guide Chapter 1 Getting to Know Your Switch...
GS-4012F User’s Guide H A P T E R Hardware Installation and Connection This chapter shows you how to install the hardware and make port connections. 2.1 Freestanding Installation 1 Make sure the switch is clean and dry. 2 Set the switch on a smooth, level surface strong enough to support the weight of the switch and the connected cables.
GS-4012F User’s Guide 2.2 Mounting the Switch on a Rack This section lists the rack mounting requirements and precautions and describes the installation steps. 2.2.1 Rack-mounted Installation Requirements • Two mounting brackets. • Eight M3 flat head screws and a #2 Philips screwdriver.
GS-4012F User’s Guide Figure 8 Mounting the Switch on a Rack 2 Using a #2 Philips screwdriver, install the M5 flat head screws through the mounting bracket holes into the rack. 3 Repeat steps to attach the second mounting bracket on the other side of the rack.
GS-4012F User’s Guide H A P T E R Hardware Overview This chapter describes the front panel and rear panel of the switch and shows you how to make the hardware connections. 3.1 Front Panel Connection The figure below shows the front panel of the switch.
GS-4012F User’s Guide 3.1.2 Gigabit Ethernet Ports The switch has four 100/1000Mbps auto-negotiating, auto-crossover Gigabit Ethernet ports. In 10/100/1000 Mbps Gigabit Ethernet, the speed can be 100Mbps or 1000Mbps and the duplex mode can be half duplex (for 100 Mbps) or full duplex.
GS-4012F User’s Guide Figure 10 Transceiver Installation Example 2 Press the transceiver firmly until it clicks into place. 3 The switch automatically detects the installed transceiver. Check the LEDs to verify that it is functioning properly. Figure 11 Installed Transceiver 3.1.3.2 Transceiver Removal...
GS-4012F User’s Guide Figure 13 Transceiver Removal Example 3.2 Rear Panel The following figure shows the rear panel of the switch. The rear panel contains a connector for backup power supply (BPS) and the power receptacle. Figure 14 Rear Panel 3.2.1 Power Connector...
GS-4012F User’s Guide 3.3 Front Panel LEDs The LEDs are located on the front panel. The following table describes the LEDs on the front panel. Table 2 Front Panel LEDs COLOR STATUS DESCRIPTION Green Blinking The system is receiving power from the backup power supply.
GS-4012F User’s Guide H A P T E R The Web Configurator This section introduces the configuration and functions of the web configurator. 4.1 Introduction The web configurator is an HTML-based management interface that allows easy switch setup and management via Internet browser. Use Internet Explorer 6.0 and later or Netscape Navigator 7.0 and later versions.
GS-4012F User’s Guide 4 Click OK to view the first web configurator screen. 4.3 The Status Screen The Status screen is the first screen that displays when you access the web configurator. The following figure shows the navigating components of a web configurator screen.
GS-4012F User’s Guide Table 3 Navigation Panel Sub-links Overview ADVANCED BASIC SETTING IP APPLICATION MANAGEMENT APPLICATION The following table lists the various web configurator screens within the sub-links. Table 4 Web Configurator Screen Sub-links Details ADVANCED BASIC SETTING IP APPLICATION...
GS-4012F User’s Guide Table 4 Web Configurator Screen Sub-links Details (continued) ADVANCED BASIC SETTING IP APPLICATION MANAGEMENT APPLICATION Broadcast Storm Control DHCP Server Status Cluster Management Status Mirroring DHCP Server Cluster Management Configuration Link Aggregation DHCP Relay MAC Table Link Aggregation...
Page 54
GS-4012F User’s Guide Table 5 Navigation Panel Links (continued) LINK DESCRIPTION Mirroring This link takes you to screens where you can copy traffic from one port or ports to another port in order that you can examine the traffic from the first port without...
GS-4012F User’s Guide Table 5 Navigation Panel Links (continued) LINK DESCRIPTION IP Table This link takes you to a screen where you can view the IP addresses (and types) of devices attached to what ports and VLAN IDs. ARP Table This link takes you to a screen where you can view the MAC addresses –...
GS-4012F User’s Guide 6 Assigning minimum bandwidth to the CPU port. If you limit bandwidth to the CPU port, you may find that the switch performs sluggishly or not at all. Note: Be careful not to lock yourself and others out of the switch.
GS-4012F User’s Guide H A P T E R Initial Setup Example This chapter shows how to set up the switch for an example network. 5.1 Overview The following lists the configuration steps for the example network: • Configure an IP interface •...
GS-4012F User’s Guide 2 Open your web browser and enter 192.168.0.1 (the default MGMT port IP address) in the address bar to access the web configurator. See Section 4.2 on page 49 for more information. 3 Click Basic Setting and IP Setup in the navigation panel.
GS-4012F User’s Guide 5.1.3 Creating a VLAN VLANs confine broadcast frames to the VLAN group in which the port(s) belongs. You can do this with port-based VLAN or tagged static VLAN with fixed port members. In this example, you want to configure port 10 as a member of VLAN 2.
GS-4012F User’s Guide 2 In the Static VLAN screen, select ACTIVE, enter a descriptive name in the Name field and enter 2 in the VLAN Group ID field for the Sales network. Note: The VLAN Group ID field in this screen and the VID field in the IP Setup screen refer to the same VLAN ID.
GS-4012F User’s Guide 1 Click Advanced Applications and VLAN in the navigation panel. Then click the VLAN Port Setting link. 2 Enter 2 in the PVID field for port 10 and click Apply to save the settings. 5.1.5 Enabling RIP To exchange routing information with other routing devices across different routing domains, enable RIP (Routing Information Protocol) in the RIP screen.
GS-4012F User’s Guide H A P T E R System Status and Port Statistics This chapter describes the system status (web configurator home page) and port details screens. 6.1 Overview The home screen of the web configurator displays a port statistical summary with links to each port showing statistical details.
GS-4012F User’s Guide Table 6 Status LABEL DESCRIPTION System up Time This field shows how long the system has been running since the last time it was started. Port This identifies the Ethernet port. Click a port number to display the Port Details...
GS-4012F User’s Guide Figure 24 Status: Port Details The following table describes the labels in this screen. Table 7 Status: Port Details LABEL DESCRIPTION Port Info Link This field displays the speed (either 10M for 10Mbps, 100M for 100Mbps or 1000M for 1000Mbps) and the duplex (F for full duplex or H for half duplex).
Page 67
GS-4012F User’s Guide Table 7 Status: Port Details (continued) LABEL DESCRIPTION Up Time This field shows the total amount of time the connection has been up. Tx Packet The following fields display detailed information about packets transmitted. TX Packet This field shows the number of good packets (unicast, multicast and broadcast) transmitted.
Page 68
GS-4012F User’s Guide Table 7 Status: Port Details (continued) LABEL DESCRIPTION 256-511 This field shows the number of packets (including bad packets) received that were between 256 and 511 octets in length. 512-1023 This field shows the number of packets (including bad packets) received that were between 512 and 1023 octets in length.
Page 69
GS-4012F User’s Guide Chapter 6 System Status and Port Statistics...
GS-4012F User’s Guide H A P T E R Basic Setting This chapter describes how to configure the System Info, General Setup, Switch Setup, IP Setup and Port Setup screens. 7.1 Overview The System Info screen displays general switch information (such as firmware version number) and hardware polling information (such as fan speeds).
GS-4012F User’s Guide Figure 25 System Info The following table describes the labels in this screen. Table 8 System Info LABEL DESCRIPTION System Name This field displays the descriptive name of the switch for identification purposes. ZyNOS F/W This field displays the version number of the switch 's current firmware including the Version date created.
GS-4012F User’s Guide Table 8 System Info (continued) LABEL DESCRIPTION Fan Speed A properly functioning fan is an essential component (along with a sufficiently (RPM) ventilated, cool operating environment) in order for the device to stay within the temperature threshold. Each fan has a sensor that is capable of detecting and reporting if the fan speed falls below the threshold shown.
GS-4012F User’s Guide Figure 26 General Setup The following table describes the labels in this screen. Table 9 General Setup LABEL DESCRIPTION System Name Choose a descriptive name for identification purposes. This name consists of up to 32 printable characters; spaces are not allowed.
GS-4012F User’s Guide Table 9 General Setup (continued) LABEL DESCRIPTION Use Time Server Enter the time service protocol that a timeserver sends when you turn on the switch. when Bootup Not all time servers support all protocols, so you may have to use trial and error to find a protocol that works.
GS-4012F User’s Guide 7.5 IGMP Snooping A switch can passively snoop on IGMP Query, Report and Leave (IGMP version 2) packets transferred between IP multicast routers/switches and IP multicast hosts to learn the IP multicast group membership. It checks IGMP packets passing through it, picks out the group registration information, and configures multicasting accordingly.
GS-4012F User’s Guide Table 10 Switch Setup LABEL DESCRIPTION VLAN Type Choose 802.1Q or Port Based. The VLAN Setup screen changes depending on whether you choose 802.1Q VLAN type or Port Based VLAN type in this screen. Chapter 8 on page 81 for more information.
GS-4012F User’s Guide Table 10 Switch Setup (continued) LABEL DESCRIPTION Level 4 Typically used for controlled load, latency-sensitive traffic such as SNA (Systems Network Architecture) transactions. Level 3 Typically used for “excellent effort” or better than best effort and would include important business traffic that can tolerate some delay.
GS-4012F User’s Guide Figure 28 IP Setup The following table describes the labels in this screen. Table 11 IP Setup LABEL DESCRIPTION Default Enter the IP address of the default outgoing gateway in dotted decimal notation, for Gateway example 192.168.1.254.
GS-4012F User’s Guide Table 11 IP Setup (continued) LABEL DESCRIPTION Default Enter the IP address of the default outgoing gateway in dotted decimal notation, for Gateway example 192.168.0.254 Apply Click Apply to save the settings. Cancel Click Cancel to reset the fields to your previous configuration.
GS-4012F User’s Guide Figure 29 Port Setup The following table describes the labels in this screen. Table 12 Port Setup LABEL DESCRIPTION Port This is the port index number. Active Select this check box to enable a port. The factory default for all ports is enabled. A port must be enabled for data transmission to occur.
Page 81
GS-4012F User’s Guide Table 12 Port Setup (continued) LABEL DESCRIPTION Flow Control A concentration of traffic on a port decreases port bandwidth and overflows buffer memory causing packet discards and frame losses. Flow Control is used to regulate transmission of signals to match the bandwidth of the receiving port.
GS-4012F User’s Guide H A P T E R VLAN The type of screen you see here depends on the VLAN Type you selected in the Switch Setup screen. This chapter shows you how to configure 802.1Q tagged and port-based VLANs.
GS-4012F User’s Guide The egress (outgoing) port(s) of a frame is determined on the combination of the destination MAC address and the VID of the frame. For a unicast frame, the egress port (based on the destination MAC address) must be a member of the VID, also; otherwise, the frame is blocked.
GS-4012F User’s Guide Table 13 GARP Terminology (continued) VLAN PARAMETER TERM DESCRIPTION VLAN Administrative Registration Fixed Fixed registration ports are permanent VLAN members. Control Registration Ports with registration forbidden are forbidden to join the Forbidden specified VLAN. Normal Registration Ports dynamically join a VLAN using GVRP.
GS-4012F User’s Guide Figure 31 Switch Setup: Select VLAN Type 8.5 Static VLAN Use a static VLAN to decide whether an incoming frame on a port should be • sent to a VLAN group as normal depends on its VLAN tag.
GS-4012F User’s Guide Table 14 VLAN: VLAN Status LABEL DESCRIPTION The Number of This is the number of VLANs configured on the switch. VLAN Index This is the VLAN index number. This is the VLAN identification number that was configured in the VLAN Setup screen.
GS-4012F User’s Guide Figure 33 VLAN: Static VLAN The following table describes the related labels in this screen. Table 15 VLAN: Static VLAN LABEL DESCRIPTION ACTIVE Select this check box to activate the VLAN settings. Name Enter a descriptive name (up to 12 printable ASCII characters) for the VLAN group for identification purposes.
GS-4012F User’s Guide Table 15 VLAN: Static VLAN (continued) LABEL DESCRIPTION Delete Click Delete to remove the selected entry from the summary table. Cancel Click Cancel to clear the Delete check boxes. 8.5.3 Configure VLAN Port Settings To configure the VLAN settings on a port, click the VLAN Port Setting link in the VLAN Status screen.
GS-4012F User’s Guide Table 16 VLAN: VLAN Port Setting (continued) LABEL DESCRIPTION PVID Specify the VLAN group ID (or VID) that will be added to untagged packets on the port. For example, if port 10’s PVID is 2, then all untagged traffic on port 10 will belong to (and be sent to) VLAN 2.
GS-4012F User’s Guide Figure 35 Port Based VLAN Setup (All Connected) Figure 36 Port Based VLAN Setup (Port Isolation) The following table describes the labels in this screen. Chapter 8 VLAN...
GS-4012F User’s Guide Table 17 Port Based VLAN Setup LABEL DESCRIPTION Setting Wizard Choose All connected or Port isolation. All connected means all ports can communicate with each other, that is, there are no virtual LANs. All incoming and outgoing ports are selected. This option is the most flexible but also the least secure.
GS-4012F User’s Guide H A P T E R Static MAC Forward Setup Use these screens to configure static MAC address forwarding. 9.1 Overview A static MAC address is an address that has been manually entered in the MAC address table.
GS-4012F User’s Guide Table 18 Static MAC Forwarding LABEL DESCRIPTION Active Select this check box to activate your rule. You may temporarily deactivate a rule without deleting it by clearing this check box. Name Enter a descriptive name (up to 32 printable ASCII characters) for identification purposes for this rule.
GS-4012F User’s Guide H A P T E R Filtering This chapter discusses static MAC address filtering. 10.1 Overview Filtering means sifting traffic going through the switch based on the source and/or destination MAC addresses and VLAN group (ID). 10.2 Configure a Filtering Rule Click Advanced Application, Filtering in the navigation panel to display the screen as shown next.
Page 95
GS-4012F User’s Guide Table 19 FIltering (continued) LABEL DESCRIPTION Action Select Discard source to drop frame from the source MAC address (specified in the MAC field). The switch can still send frames to the MAC address. Select Discard destination to drop frames to the destination MAC address (specified in the MAC field).
GS-4012F User’s Guide H A P T E R Spanning Tree Protocol This chapter introduces the Spanning Tree Protocol (STP). 11.1 Overview STP detects and breaks network loops and provides backup links between switches, bridges or routers. It allows a switch to interact with other STP-compliant switches in your network to ensure that only one route exists between any two stations on the network.
GS-4012F User’s Guide 11.1.2 How STP Works After a bridge determines the lowest cost-spanning tree with STP, it enables the root port and the ports that are the designated ports for connected LANs, and disables all other ports that participate in STP. Network packets are therefore only forwarded between enabled ports, eliminating any possible network loops.
GS-4012F User’s Guide Figure 39 Spanning Tree Protocol: Status The following table describes the labels in this screen. Table 22 Spanning Tree Protocol: Status LABEL DESCRIPTION Spanning Tree This field displays Running if STP is activated. Otherwise, it displays Down.
GS-4012F User’s Guide Table 22 Spanning Tree Protocol: Status (continued) LABEL DESCRIPTION Poll Interval(s) The text box displays how often (in seconds) this screen refreshes. You may change the refresh interval by typing a new number in the text box and then clicking Set Interval.
Page 100
GS-4012F User’s Guide Table 23 Spanning Tree Protocol: Configuration (continued) LABEL DESCRIPTION Bridge Priority Bridge priority is used in determining the root switch, root port and designated port. The switch with the highest priority (lowest numeric value) becomes the STP root switch.
Page 101
GS-4012F User’s Guide Chapter 11 Spanning Tree Protocol...
GS-4012F User’s Guide H A P T E R Bandwidth Control This chapter shows you how you can cap the maximum bandwidth allowed from specific source(s) to specified destination(s) using the Bandwidth Control screen. 12.1 Configuring Bandwidth control means defining a maximum allowable bandwidth for incoming and/or out- going traffic flows on a port.
Page 103
GS-4012F User’s Guide Table 24 Bandwidth Control (continued) LABEL DESCRIPTION Apply Click Apply to save the settings. Cancel Click Cancel to reset the fields to your previous configuration. Chapter 12 Bandwidth Control...
GS-4012F User’s Guide H A P T E R Broadcast Storm Control This chapter introduces and shows you how to configure the broadcast storm control feature. 13.1 Overview Broadcast storm control limits the number of broadcast, multicast and destination lookup failure (DLF) packets the switch receives per second on the ports.
GS-4012F User’s Guide Table 25 Broadcast Storm Control LABEL DESCRIPTION Active Select this check box to enable broadcast storm control on the switch. Port This field displays a port number. Broadcast (pkt/s) Select this option and specify how many broadcast packets the port receives per second.
GS-4012F User’s Guide H A P T E R Mirroring This chapter shows you how to configure mirroring on the switch. 14.1 Overview Port mirroring allows you to copy traffic going from one or all ports to another or all ports in order that you can examine the traffic from the mirror port (the port you copy the traffic to) without interference.
GS-4012F User’s Guide Table 26 Mirroring LABEL DESCRIPTION Active Clear this check box to deactivate port mirroring on the switch. Monitor The monitor port is the port you copy the traffic to in order to examine it in more detail Port without interfering with the traffic flow on the original port(s).
GS-4012F User’s Guide H A P T E R Link Aggregation This chapter shows you how to logically aggregate physical links to form one logical, higher- bandwidth link. 15.1 Overview Link aggregation (trunking) is the grouping of physical ports into one logical higher-capacity link.
GS-4012F User’s Guide 15.1.2 Link Aggregation ID LACP aggregation ID consists of the following information Table 27 Link Aggregation ID: Local Switch SYSTEM PRIORITY MAC ADDRESS PORT PRIORITY PORT NUMBER 0000 00-00-00-00-00 0000 0000 Table 28 Link Aggregation ID: Peer Switch...
GS-4012F User’s Guide Table 29 Link Aggregation Control Protocol: Status LABEL DESCRIPTION Index This field displays the trunk ID to identify a trunk group, that is, one logical link containing multiple ports. Aggregator ID Refer to Section 15.1.2 on page 108 for more information on this field.
GS-4012F User’s Guide Figure 45 Link Aggregation Control Protocol: Configuration The following table describes the labels in this screen. Table 30 Link Aggregation Control Protocol: Configuration LABEL DESCRIPTION Link Aggregation Control Protocol Active Select this checkbox to enable Link Aggregation Control Protocol (LACP).
Page 112
GS-4012F User’s Guide Table 30 Link Aggregation Control Protocol: Configuration (continued) LABEL DESCRIPTION LACP Timeout Timeout is the time interval between the individual port exchanges of LACP packets in order to check that the peer port in the trunk group is still up. If a port does not respond after three tries, then it is deemed to be “down”...
Page 113
GS-4012F User’s Guide Chapter 15 Link Aggregation...
GS-4012F User’s Guide H A P T E R Port Authentication This chapter describes the 802.1x authentication method and RADIUS server connection setup. 16.1 Overview IEEE 802.1x is an extended authentication protocol that allows support of RADIUS (Remote Authentication Dial In User Service, RFC 2138, 2139) for centralized user profile and accounting management on a network RADIUS server.
GS-4012F User’s Guide Click Advanced Application, Port Authentication in the navigation panel to display the screen as shown. Figure 47 Port Authentication 16.2.1 Activating IEEE 802.1x Security From the Port Authentication screen, display the configuration screen as shown. Figure 48 Port Authentication: 802.1x The following table describes the labels in this screen.
GS-4012F User’s Guide Table 31 Port Authentication: 802.1x (continued) LABEL DESCRIPTION Reauthentication Specify how often a client has to re-enter his or her username and password to stay Timer connected to the port. Apply Click Apply to save your changes back to the switch.
Page 117
GS-4012F User’s Guide Chapter 16 Port Authentication...
GS-4012F User’s Guide H A P T E R Port Security This chapter shows you how to set up port security. 17.1 Overview Port security allows only packets with dynamically learned MAC addresses and/or configured static MAC addresses to pass through a port on the switch.
GS-4012F User’s Guide Table 33 Port Security LABEL DESCRIPTION Active Select this check box to enable port security on the switch. Port This field displays a port number. Active Select this check box to enable the port security feature on this port. The switch forwards packets whose MAC address(es) is in the MAC address table on this port.
GS-4012F User’s Guide H A P T E R Classifier This chapter introduces and shows you how to configure the packet classifier on the switch. 18.1 Overview Quality of Service (QoS) refers to both a network’s ability to deliver data with minimum delay, and the networking methods used to control the use of bandwidth.
GS-4012F User’s Guide Figure 51 Classifier The following table describes the related labels in this screen. Table 34 Classifier LABEL DESCRIPTION Active Select this option to enable this rule. Name Type a descriptive name (up to 32 printable ASCII characters) for this rule. This is for identification purpose only.
Page 122
GS-4012F User’s Guide Table 34 Classifier (continued) LABEL DESCRIPTION Layer 2 Specify the fields below to configure a layer-2 classifier. VLAN Select Any to classify traffic from any VLAN or select the second option and specify the source VLAN ID in the field provided.
GS-4012F User’s Guide Table 34 Classifier (continued) LABEL DESCRIPTION Cancel Click Cancel to reset the fields back to your previous configuration. Clear Click Clear to set the above fields back to the factory defaults. 18.3 Viewing and Editing Classifier Configuration To view a summary of the classifier configuration, scroll down to the summary table at the bottom of the Classifier screen.
GS-4012F User’s Guide Table 36 Common Ethernet Types and Protocol Number (continued) ETHERNET TYPE PROTOCOL NUMBER XNS Compat 0807 Banyan Systems 0BAD BBN Simnet 5208 IBM SNA 80D5 AppleTalk AARP 80F3 Some of the most common IP ports are: Table 37 Common IP Ports...
GS-4012F User’s Guide H A P T E R Policy Rule This chapter shows you how to configure policy rules. 19.1 Overview A classifier distinguishes traffic into flows based on the configured criteria (refer to Chapter 18 on page 119 for more information).
GS-4012F User’s Guide Click Advanced Applications and then Policy Rule in the navigation panel to display the screen as shown. Figure 54 Policy The following table describes the labels in this screen. Chapter 19 Policy Rule...
GS-4012F User’s Guide Table 38 Policy LABEL DESCRIPTION Active Select this option to enable the policy. Name Enter a descriptive name (up to 32 printable ASCII characters) for identification purposes. Classifier(s) This field displays the active classifier(s) you configure in the Classifier screen (refer Chapter 18 on page 119).
GS-4012F User’s Guide Table 38 Policy (continued) LABEL DESCRIPTION DiffServ Select No change to keep the TOS and/or DSCP fields in the packets. Select Set the packet’s TOS field to set the TOS field with the value you configure in the TOS field.
GS-4012F User’s Guide Table 39 Policy: Summary Table (continued) LABEL DESCRIPTION Name Enter a descriptive name (up to 32 printable ASCII characters) for identification purposes. Classifier(s) This field displays the name(s) of the classifier to which this policy applies. Delete Click Delete to remove the selected entry from the summary table.
GS-4012F User’s Guide H A P T E R Queuing Method This chapter introduces the queuing methods supported. 20.1 Overview Queuing is used to help solve performance degradation when there is network congestion. Use the Queuing Method screen to configure queuing algorithms for outgoing traffic. See also Priority Queue Assignment in Switch Setup and 802.1p Priority in Port Setup for related...
GS-4012F User’s Guide 20.1.2 Weighted Round Robin Scheduling (WRR) Round Robin Scheduling services queues on a rotating basis and is activated only when a port has more traffic than it can handle. A queue is a given an amount of bandwidth irrespective of the incoming traffic on that port.
Page 134
GS-4012F User’s Guide The following table describes the labels in this screen. Table 41 Queuing Method LABEL DESCRIPTION Port This label shows the port you are configuring. Method Select SPQ (Strict Priority Queuing) or WRR (Weighted Round Robin). Strict Priority Queuing (SPQ) services queues based on priority only. When the highest priority queue empties, traffic on the next highest-priority queue begins.
GS-4012F User’s Guide H A P T E R VLAN Stacking This chapter shows you how to configure VLAN stacking on your switch. See the chapter on VLANs for more background information on Virtual LAN 21.1 Introduction A service provider can use VLAN stacking to allow it to distinguish multiple customers VLANs, even those with the same (customer-assigned) VLAN ID, within its network.
GS-4012F User’s Guide Figure 58 VLAN Stacking Example 21.2 VLAN Stacking Port Roles Each port can have three VLAN stacking “roles”, Normal, Access Port and Tunnel (the latter is for Gigabit ports only). • Select Normal for “regular” (non-VLAN stacking) IEEE 802.1Q frame switching.
GS-4012F User’s Guide Type is a standard Ethernet type code identifying the frame and indicates that whether the frame carries IEEE 802.1Q tag information. SP TPID (Service Provider Tag Protocol Identifier) is the service provider VLAN stacking tag type. Many vendors use 0x8100 or 0x9100.
GS-4012F User’s Guide 21.4 Configuring VLAN Stacking Click Advanced Applications and then VLAN Stacking in the navigation panel to display the screen as shown. Figure 59 VLAN Stacking The following table describes the labels in this screen. Table 45 VLAN Stacking...
Page 140
GS-4012F User’s Guide Table 45 VLAN Stacking (continued) LABEL DESCRIPTION Priority Select a number from the drop-down list box to configure the priority level of the outer tag. "0" is the lowest priority level and "7" is the highest. Note: Configure the priority level of the inner IEEE 802.1Q tag in the Port Setup screen.
GS-4012F User’s Guide H A P T E R Static Route This chapter shows you how to configure static routes. 22.1 Configuring Static routes tell the switch how to forward IP traffic when you configure the TCP/IP parameters manually. Click IP Application, Static Routing in the navigation panel to display the screen as shown.
Page 143
GS-4012F User’s Guide Table 46 Static Routing (continued) LABEL DESCRIPTION Metric The metric represents the “cost” of transmission for routing purposes. IP routing uses hop count as the measurement of cost, with a minimum of 1 for directly connected networks. Enter a number that approximates the cost for this link. The number need not be precise, but it must be between 1 and 15.
GS-4012F User’s Guide H A P T E R This chapter shows you how to configure RIP (Routing Information Protocol). 23.1 Overview RIP (Routing Information Protocol allows a routing device to exchange routing information with other routers. The Direction field controls the sending and receiving of RIP packets.
Page 145
GS-4012F User’s Guide Figure 61 RIP The following table describes the labels in this screen. Table 47 RIP LABEL DESCRIPTION Active Select this check box to enable RIP on the switch. Index This field displays the index number of an IP interface.
GS-4012F User’s Guide H A P T E R OSPF This chapter describes the OSPF (Open Shortest Path First) routing protocol and shows you how to configure OSPF. 24.1 Overview OSPF (Open Shortest Path First) is a link-state protocol designed to distribute routing information within an autonomous system (AS).
GS-4012F User’s Guide The following figure depicts an OSPF network example. The backbone is area 0 with a backbone router. The internal routers are in area 1 and 2. The area border routers connect area 1 and 2 to the backbone.
GS-4012F User’s Guide 24.2 OSPF Status To view current OSPF status, click IP Application, OSPF in the navigation panel to display the screen as shown next. Figure 63 OSPF Status The following table describes the labels in this screen. Table 50 OSPF Status...
GS-4012F User’s Guide The following table describes some common output fields. Table 51 OSPF Status: Common Output Fields FIELD DESCRIPTION Interface Internet Address This field displays the IP address and subnet bits of an IP routing domain. Area This field displays the area ID.
GS-4012F User’s Guide Figure 64 OSPF Configuration: Activating and General Settings The follow table describes the related labels in this screen. Table 52 OSPF Configuration: Activating and General Settings LABEL DESCRIPTION Active OSPF is disabled by default. Select this option to enable it.
GS-4012F User’s Guide 24.4 Configuring OSPF Areas To ensure that the switch receives only routing information from a trusted layer 3 devices, activate authentication. The OSPF supports three authentication methods: • None – no authentication is used. • Simple – authenticate link state updates using an 8 printable ASCII character password.
GS-4012F User’s Guide Table 53 OSPF Configuration: Area Setup (continued) LABEL DESCRIPTION Authentication Select an authentication method (Simple or MD5) to activate authentication. Select None to disable authentication. Interface(s) and virtual interface(s) must use the same authentication method as the associated area.
GS-4012F User’s Guide 24.5 Configuring OSPF Interfaces To configure an OSPF interface, first create an IP routing domain in the IP Setup screen (see Section 7.7 on page 76 for more information). Once you create an IP routing domain, an OSPF interface entry is automatically created.
GS-4012F User’s Guide Table 55 OSPF Interface (continued) LABEL DESCRIPTION Apply Click Apply to save the changes. Cancel Click Cancel to start configuring the above fields again. 24.6 OSPF Virtual Links Configure and view virtual link settings in the OSPF Virtual Link screen.
Page 155
GS-4012F User’s Guide Table 56 OSPF Virtual Link (continued) LABEL DESCRIPTION Note: Virtual interface(s) must use the same authentication method Authentication within the same area. Select an authentication method. Choices are Same-as-Area, None (default), Simple and MD5. To exchange OSPF packets with peer border router, you must set the authentication method and/or password the same as the peer border router.
GS-4012F User’s Guide H A P T E R IGMP This chapter shows you how to configure IGMP. 25.1 Overview IGMP (Internet Group Multicast Protocol) is a session-layer protocol used to establish membership in a multicast group - it is not used to carry user data. Refer to RFC 1112 and RFC 2236 for information on IGMP versions 1 and 2 respectively.
GS-4012F User’s Guide Table 57 IGMP (continued) LABEL DESCRIPTION Network This field displays the IP domain configured on the switch. Refer to the IP Setup section for more information on configuring IP domains. Version Select an IGMP version from the drop-down list box. Choices are IGMP-v1, IGMP-v2 and None.
GS-4012F User’s Guide H A P T E R DVMRP This chapter introduces DVMRP and tells you how to configure it. 26.1 Overview DVMRP (Distance Vector Multicast Routing Protocol) is a protocol used for routing multicast data within an autonomous system (AS). This DVMRP implementation is based on draft-ietf- idmr-dvmrp-v3-10.
GS-4012F User’s Guide Figure 70 How DVMRP Works 26.2.1 DVMRP Terminology DVMRP probes are used to discover other DVMRP Neighbors on a network. DVMRP reports are used to exchange DVMRP source routing information. These packets are used to build the DVMRP multicast routing table that is used to build source trees and also perform Reverse Path Forwarding (RPF) checks on incoming multicast packets.
GS-4012F User’s Guide Table 58 DVMRP LABEL DESCRIPTION Active Select Active to enable DVMRP on the switch. You should do this if you want the switch to act as a multicast router. Threshold Threshold is the maximum time to live (TTL) value. TTL is used to limit the scope of multicasting.
GS-4012F User’s Guide Figure 74 DVMRP: Duplicate VID Error Message 26.4 Default DVMRP Timer Values The following are some default DVMRP timer values. These may be changed using line commands. Please see the commands chapter later in this User's Guide.
GS-4012F User’s Guide H A P T E R IP Multicast This chapter shows you how to configure the IP Multicast screen. 27.1 Overview Traditionally, IP packets are transmitted in one of either two ways - Unicast (one sender to one recipient) or Broadcast (one sender to everybody on the network).
GS-4012F User’s Guide Table 60 IP Multicast LABEL DESCRIPTION Port This read-only field displays the port number. The switch removes the VLAN tag from IP multicast packets belonging to the specified Multicast VLAN before transmission on this port. Egress Enter a VLAN group ID in this field. Enter 0 to set the switch not to remove any VLAN tags Untag from the packets.
GS-4012F User’s Guide H A P T E R Differentiated Services This chapter shows you how to configure Differentiated Services (DiffServ) on the switch. 28.1 Overview Quality of Service (QoS) mechanisms provide the best service on a per-flow guarantee. To fine-tune the levels of services on the priority of the traffic flow using QoS places a heavy burden on the network infrastructure.
GS-4012F User’s Guide Figure 77 DiffServ Network Example Switch A marks traffic flowing into the network based on the configured marking rules. Intermediary network devices 1 and 2 allocate network resources (such as bandwidth) by mapping the DSCP values and the associated policies.
GS-4012F User’s Guide Table 61 DiffServ (continued) LABEL DESCRIPTION Port This field displays the index number of a port on the switch. Active Select this option to apply the default DSCP value you set in the Default DSCP field on a port.
GS-4012F User’s Guide Table 63 DiffServ: DSCP Setting LABEL DESCRIPTION 0 … 63 This is the DSCP classification identification number. To set the IEEE802.1p priority mapping, select the priority level from the drop-down list box. Apply Click Apply to save the changes.
GS-4012F User’s Guide H A P T E R DHCP This chapter shows you how to configure the DHCP feature. 29.1 Overview DHCP (Dynamic Host Configuration Protocol RFC 2131 and RFC 2132) allows individual computers to obtain TCP/IP configuration at start-up from a server. You can configure the switch as a DHCP server or disable it.
GS-4012F User’s Guide Figure 80 DHCP: DHCP Server Status The following table describes the labels in this screen. Table 64 DHCP: DHCP Server Status LABEL DESCRIPTION Index This is the index number. This field displays the ID number of the VLAN group to which this DHCP settings apply.
GS-4012F User’s Guide Figure 81 DHCP: Server The following table describes the labels in this screen. Table 65 DHCP: Server LABEL DESCRIPTION Enter the ID number of the VLAN group to which this DHCP settings apply. Client IP Pool Specify the first of the contiguous addresses in the IP address pool.
GS-4012F User’s Guide 29.3.1 DHCP Server Configuration Example The follow figure shows a network example where the switch is used to assign network information to the DHCP clients in the RD and Sales network. Figure 82 DHCP Server Network Example In the DHCP Server screen, configure two DHCP client IP address pools for the two networks.
GS-4012F User’s Guide 29.4.1 DHCP Relay Agent Information The switch can add information to client TCP/IP configuration requests that it relays to a DHCP server. This helps provide authentication about the source of the requests. You can also specify additional information for the switch to add to the client TCP/IP configuration requests that it relays to the DHCP server.
GS-4012F User’s Guide Table 66 DHCP: Relay (continued) LABEL DESCRIPTION Apply Click Apply to save the changes. Cancel Click Cancel to discard all changes and start configuring the screen again. 29.4.2 DHCP Relay Configuration Example The follow figure shows a network example where the switch is used to relay DHCP requests for the RD and Sales network.
Each host on a network is configured to send packets to a statically configured default gateway (the GS-4012F). The default gateway can become a single point of failure. Virtual Routing Redundancy Protocol (VRRP), defined in RFC 2338, allows you to create redundant backup gateways to ensure that the default gateway of a host is always available.
This field is Master indicating that the GS-4012F functions as the master router. This field is Backup indicating that the GS-4012F functions as a backup router. This field displays Init when the GS-4012F is initiating the VRRP protocol or when the Uplink Status field displays Dead.
GS-4012F User’s Guide 30.3 Configuring VRRP Follow the instructions in the follow sections to configure VRRP on the switch. 30.3.1 IP Interface Setup Before configuring VRRP, first create an IP interface (or routing domain) in the IP Setup screen (see the Section 7.7 on page 76...
GS-4012F User’s Guide Table 68 VRRP Configuration: IP Interface LABEL DESCRIPTION Index This field displays the index number of an entry. Network This field displays the IP address and number of subnet mask bit of an IP domain. Authentication Select None to disable authentication. This is the default setting.
GS-4012F User’s Guide 30.3.3 Configuring VRRP Parameters After you set up an IP interface, configure the VRRP parameters in the VRRP Configuration screen. Figure 90 VRRP Configuration: VRRP Parameters The following table describes the labels in this screen. Table 69 VRRP Configuration: VRRP Parameters...
GS-4012F User’s Guide 30.4 VRRP Configuration Summary To view a summary of all VRRP configurations on the switch, scroll down to the bottom of the VRRP Configuration screen. Figure 91 VRRP Configuration: Summary The following table describes the labels in this screen.
GS-4012F User’s Guide Figure 92 VRRP Configuration Example: One Virtual Router Network You want to set switch A as the master router. Configure the VRRP parameters in the VRRP Configuration screens on the switches as shown in the figures below.
GS-4012F User’s Guide Figure 95 VRRP Example 1: VRRP Status on Switch A Figure 96 VRRP Example 1: VRRP Status on Switch B 30.5.2 Two Subnets Example The following figure depicts an example in which two switches share the network traffic.
GS-4012F User’s Guide Figure 98 VRRP Example 2: VRRP Parameter Settings for VR2 on Switch A Figure 99 VRRP Example 2: VRRP Parameter Settings for VR2 on Switch B After configuring and saving the VRRP configuration, the VRRP Status screens for both switches are shown next.
GS-4012F User’s Guide H A P T E R Maintenance This chapter explains how to configure the maintenance screens that let you maintain the firmware and configuration files. 31.1 The Maintenance Screen Click Management, Maintenance in the navigation panel to open the following screen.
GS-4012F User’s Guide After the firmware upgrade process is complete, see the System Info screen to verify your current firmware version number. 31.3 Restore a Configuration File Restore a previously saved configuration from your computer to the switch using the Restore Configuration screen.
GS-4012F User’s Guide 3 Choose a location to save the file on your computer from the Save in drop-down list box and type a descriptive name for it in the File name list box. Click Save to save the configuration file to your computer.
GS-4012F User’s Guide Figure 109 Reboot System: Start 3 Click OK again and then wait for the switch to restart. This takes up to two minutes. This does not affect the switch’s configuration. 31.7 FTP Command Line This section shows some examples of uploading to or downloading files from the switch using FTP commands.
GS-4012F User’s Guide If your (T)FTP client does not allow you to have a destination filename different than the source, you will need to rename them as the switch only recognizes “config” and “ras”. Be sure you keep unaltered copies of both files for later use.
GS-4012F User’s Guide 31.7.4 FTP over WAN Restrictions FTP over WAN will not work when: • Telnet service is disabled in Secured Client Sets. • The IP address(es) in the Secured Client Sets menu does not match the client IP address.
GS-4012F User’s Guide H A P T E R Access Control This chapter describes how to control access to the switch. 32.1 Overview • A console port access control session and Telnet access control session cannot coexist. The console port has higher priority. If you telnet to the switch and someone is already logged in from the console port, then you will see the following message.
An SNMP managed network consists of two main components: agents and a manager. An agent is a management software module that resides in a managed switch (the GS-4012F). An agent translates the local management information from the managed switch into a form compatible with SNMP.
RFC 2012 SNMPv2 MIB for TCP, RFC 2013 SNMPv2 MIB for UDP 32.3.2 SNMP Traps The GS-4012F sends traps to an SNMP manager when an event occurs. SNMP traps supported are outlined in the following table. Table 74 SNMP Traps...
GS-4012F User’s Guide 32.3.3 Configuring SNMP From the Access Control screen, display the SNMP screen. You can click Access Control to go back to the Access Control screen. Figure 113 Access Control: SNMP The following table describes the labels in this screen.
GS-4012F User’s Guide Click Access Control from the navigation panel and then click Logins from this screen. Figure 114 Access Control: Logins The following table describes the labels in this screen. Table 76 Access Control: Logins LABEL DESCRIPTION Administrator This is the default administrator account with the “admin” user name. You cannot change the default administrator user name.
GS-4012F User’s Guide Figure 115 SSH Communication Example 32.5 How SSH works The following table summarizes how a secure connection is established between two remote hosts. Figure 116 How SSH Works 1 Host Identification The SSH client sends a connection request to the SSH server. The server identifies itself with a host key.
GS-4012F User’s Guide 3 Authentication and Data Transmission After the identification is verified and data encryption activated, a secure tunnel is established between the client and the server. The client then sends its authentication information (user name and password) to the server to log in to the server.
GS-4012F User’s Guide Figure 117 HTTPS Implementation Note: If you disable HTTP in the Service Access Control screen, then the switch blocks all HTTP connection attempts. 32.8 HTTPS Example If you haven’t changed the default HTTPS port on the switch, then in your browser enter “https://switch IP Address/”...
GS-4012F User’s Guide Figure 118 Security Alert Dialog Box (Internet Explorer) 32.8.2 Netscape Navigator Warning Messages When you attempt to access the switch HTTPS server, a Website Certified by an Unknown Authority screen pops up asking if you trust the server certificate. Click Examine Certificate if you want to verify that the certificate is from the switch.
GS-4012F User’s Guide Figure 120 Security Certificate 2 (Netscape) 32.8.3 The Main Screen After you accept the certificate and enter the login username and password, the switch main screen appears. The lock displayed in the bottom right of the browser status bar denotes a secure connection.
GS-4012F User’s Guide 32.9 Service Port Access Control Service Access Control allows you to decide what services you may use to access the switch. You may also change the default service port and configure “trusted computer(s)” for each service in the Remote Management screen (discussed later). Click Access Control to go back to the main Access Control screen.
GS-4012F User’s Guide Figure 124 Access Control: Remote Management The following table describes the labels in this screen. Table 78 Access Control: Remote Management LABEL DESCRIPTION Entry This is the client set index number. A “client set” is a group of one or more “trusted computers”...
GS-4012F User’s Guide H A P T E R Diagnostic This chapter explains the Diagnostic screen. 33.1 Diagnostic Click Management, Diagnostic in the navigation panel to open this screen. Use this screen to check system logs, reset the system or ping IP addresses.
GS-4012F User’s Guide H A P T E R Cluster Management This chapter introduces cluster management. 34.1 Overview Cluster Management allows you to manage switches through one switch, called the cluster manager. The switches must be directly connected and be in the same VLAN group so as to be able to communicate with one another.
GS-4012F User’s Guide 34.2 Cluster Management Status Click Management, Cluster Management in the navigation panel to display the following screen. Note: A cluster can only have one manager. Figure 127 Cluster Management: Status The following table describes the labels in this screen.
GS-4012F User’s Guide 34.2.1 Cluster Member Switch Management Go to the Clustering Management Status screen of the cluster manager switch and then select an Index hyperlink from the list of members to go to that cluster member switch's web configurator home page. This cluster member web configurator home page and the home page that you'd see if you accessed it directly are different.
GS-4012F User’s Guide Figure 129 Example: Uploading Firmware to a Cluster Member Switch C:\>ftp 192.168.1.1 Connected to 192.168.1.1. FTP version 1.0 ready at Thu Jan 1 00:47:52 1970 User (192.168.1.1:(none)): admin 331 Enter PASS command Password: 230 Logged in ftp> ls...
GS-4012F User’s Guide Figure 130 Clustering Management Configuration The following table describes the labels in this screen. Table 83 Clustering Management Configuration LABEL DESCRIPTION Clustering Manager Active Select Active to have this switch become the cluster manager switch. A cluster can only have one manager.
Page 211
GS-4012F User’s Guide Table 83 Clustering Management Configuration (continued) LABEL DESCRIPTION Password Each cluster member’s password is its web configurator password. Select a member in the Clustering Candidate list and then enter its web configurator password. If that switch administrator changes the web configurator password afterwards, then it cannot be managed from the Cluster Manager.
GS-4012F User’s Guide H A P T E R MAC Table This chapter introduces the MAC Table screen. 35.1 Overview The MAC Table screen (a MAC table is also known as a filtering database) shows how frames are forwarded or filtered across the switch’s ports. It shows what device MAC address,...
GS-4012F User’s Guide 35.2 Viewing the MAC Table Click Management, MAC Table in the navigation panel to display the following screen. Figure 132 MAC Table The following table describes the labels in this screen. Table 84 MAC Table LABEL DESCRIPTION...
GS-4012F User’s Guide H A P T E R IP Table This chapter introduces the IP table. 36.1 Overview The IP Table screen shows how packets are forwarded or filtered across the switch’s ports. It shows what device IP address, belonging to what VLAN group (if any) is forwarded to which port(s) and whether the IP address is dynamic (learned by the switch) or static (belonging to the switch).
GS-4012F User’s Guide 36.2 Viewing the IP Table Click Management, IP Table in the navigation panel to display the following screen. Figure 134 IP Table The following table describes the labels in this screen. Table 85 IP Table LABEL DESCRIPTION...
GS-4012F User’s Guide H A P T E R ARP Table This chapter introduces ARP Table. 37.1 Overview Address Resolution Protocol (ARP) is a protocol for mapping an Internet Protocol address (IP address) to a physical machine address, also known as a Media Access Control or MAC address, on the local area network.
GS-4012F User’s Guide Figure 135 ARP Table The following table describes the labels in this screen. Table 86 ARP Table LABEL DESCRIPTION Index This is the ARP Table entry number. IP Address This is the learned IP address of a device connected to a switch port with corresponding MAC address below.
GS-4012F User’s Guide H A P T E R Routing Table This chapter introduces the routing table. 38.1 Overview The routing table contains the route information to the network(s) that the switch can reach. The switch automatically updates the routing table with the RIP information received from other Ethernet devices.
GS-4012F User’s Guide H A P T E R Introducing the Commands This chapter introduces the commands and gives a summary of commands available. 39.1 Overview In addition to the web configurator, you can use line commands to configure the switch. Use line commands for advanced switch diagnosis and troubleshooting.
GS-4012F User’s Guide 3 A login screen displays (refer to Section 39.3 on page 221). 39.3 The Login Screen After you have successfully established a connection to the switch using a direct console connection or Telnet, a login screen displays as shown below. For your first login, enter the default administrator login username “admin”...
GS-4012F User’s Guide 39.5 Getting Help The system includes a help facility to provide you with the following information about the commands: • List of available commands under a command group. • Detailed descriptions of the commands. 39.5.1 List of Available Commands Enter “...
GS-4012F User’s Guide Figure 140 CLI Help: List of Commands: Example 2 ras> ? enable Turn on privileged commands exit Exit from the EXEC help Description of the interactive help system history Show a list of previously run commands logout...
GS-4012F User’s Guide To enter Enable (or privileged) mode, type and enter a password when prompted (the enable default is 1234). When you enter the Enable mode, the command prompt changes to the pound sign ( To enter the configuration mode, type .
GS-4012F User’s Guide Note: The command is not available in User mode. write memory You must save your changes after each CLI session. All unsaved configuration changes are lost once you restart the switch. 39.8.1 Logging Out In User mode, enter the command to log out of the CLI.
GS-4012F User’s Guide Table 88 Command Summary: User Mode (continued) COMMAND DESCRIPTION Connects to an SSH server with the specified SSH version. <1|2> <[user@]dest-ip> Determines the path a packet takes to a device. traceroute <ip|host-name> [in-band|out-of-band|vlan <vlan-id>] [ttl <1-255>] [wait <1-60>] [queries <1-10>]...
Page 228
GS-4012F User’s Guide Table 89 Command Summary: Enable Mode (continued) COMMAND DESCRIPTION Sends Ping request to an Ethernet ping <IP|host-name> device. Sends Ping request to an Ethernet device [vlan <vlan- in the specified VLAN(s). id>][..] Restarts the system and use the specified reload config <index>...
GS-4012F User’s Guide 39.9.3 General Configuration Mode The following table lists the commands in Configuration (or Config) mode. Table 90 Command Summary: Configuration Mode COMMAND DESCRIPTION Changes the administrator admin-password <pw-string> password. <confirm-string> bandwidth- Enables bandwidth control. control Enables Bridge Control Protocol bcp- (BCP) transparency.
Page 232
GS-4012F User’s Guide Table 90 Command Summary: Configuration Mode (continued) COMMAND DESCRIPTION Sets the IP addresses of up to 3 helper-address DHCP servers. <remote-dhcp- server1> <remote- dhcp-server2> <remote-dhcp- server3> Allows the switch to add system information name to agent information.
Page 233
GS-4012F User’s Guide Table 90 Command Summary: Configuration Mode (continued) COMMAND DESCRIPTION Creates a static route. route <ip> <mask> <next-hop-ip> Sets the metric of a static route <ip> <mask> or deactivates a static route. <next-hop-ip> [metric <metric>] [name <name>] [inactive]...
Page 234
GS-4012F User’s Guide Table 90 Command Summary: Configuration Mode (continued) COMMAND DESCRIPTION Disables cluster management cluster on the switch. Removes the cluster member. cluster member <mac-address> Disables DHCP relay. dhcp relay Disables the relay agent information information option 82. System name is not appended option to option 82 information field.
Page 235
GS-4012F User’s Guide Table 90 Command Summary: Configuration Mode (continued) COMMAND DESCRIPTION Enables the specified MAC name <name> mac address, belonging to a VLAN <mac-addr> vlan group (if any) forwarded through <vlan-id> an interface(s). interface <interface-id> inactive Disables port mirroring on the mirror-port switch.
Page 236
GS-4012F User’s Guide Table 90 Command Summary: Configuration Mode (continued) COMMAND DESCRIPTION Disables ICMP access to the icmp switch such as pinging and tracerouting. Disables SNMP management. snmp Disables SSH (Secure Shell) server access to the switch. Disables telnet access to the telnet switch.
Page 237
GS-4012F User’s Guide Table 90 Command Summary: Configuration Mode (continued) COMMAND DESCRIPTION Configures a policy. A classifier policy <name> classifier distinguishes traffic into flows <classifier-list> < based on the configured criteria. [vlan<vlan-id>] A policy rule ensures that a [egress-port <port- traffic flow gets the requested num>]...
Page 238
GS-4012F User’s Guide Table 90 Command Summary: Configuration Mode (continued) COMMAND DESCRIPTION Limits the number of (dynamic) address-limit MAC addresses that may be <number> learned on a port. Sets the priority level-to- queue level <0-7> priority physical queue mapping. <0-7>...
Page 239
GS-4012F User’s Guide Table 90 Command Summary: Configuration Mode (continued) COMMAND DESCRIPTION Enables simple authentication area <area-id> and sets the authentication key virtual-link for the specified virtual link in <router-id> the area. authentication- key <key> Sets the virtual link to use the area <area-id>...
Page 240
GS-4012F User’s Guide Table 90 Command Summary: Configuration Mode (continued) COMMAND DESCRIPTION Resets the authentication no area <area-id> settings on this virtual area. virtual-link <router-id> authentication- same-as-area Deletes the virtual link from the no area <area-id> area. virtual-link <router-id> Deletes the OSPF network.
Page 241
GS-4012F User’s Guide Table 90 Command Summary: Configuration Mode (continued) COMMAND DESCRIPTION Sets the primary VRRP virtual primary-virtual- gateway IP address. ip <ip> Sets the secondary VRRP secondary- virtual gateway IP address. virtual-ip <ip> Allows FTP access on the service-control ftp <socket-number>...
GS-4012F User’s Guide Table 90 Command Summary: Configuration Mode (continued) COMMAND DESCRIPTION Enables broadcast storm storm-control control on the switch. Sets the time in hour, minute time <Hour:Min:Sec> and second format. Sets the date in year, month date <month/day/ and day format.
GS-4012F User’s Guide Table 91 interface port-channel Commands COMMAND DESCRIPTION Enables a port or a list of ports interface for configuration. port-channel <port-list> Enables bandwidth control on bandwidth-limit the port(s). Sets the maximum bandwidth egress <Mbps> allowed for outgoing traffic on the port(s).
Page 244
GS-4012F User’s Guide Table 91 interface port-channel Commands (continued) COMMAND DESCRIPTION Enables the device to discard ingress-check incoming frames for VLANs that are not included in a port member set. Enables the port(s) to remove ipmc egress-untag- specified VLAN tag from IP vlan <1-4094>...
GS-4012F User’s Guide Table 91 interface port-channel Commands (continued) COMMAND DESCRIPTION The default PVID is VLAN 1 for pvid <1-4094> all ports. Sets a PVID in the range 1 to 4094 for the specified interface. Sets the quality of service qos priority <0 ..
GS-4012F User’s Guide Use these commands to configure the IP routing domains. Table 92 interface route-domain Commands COMMAND DESCRIPTION Enables a routing domain for configuration. interface route-domain <ip-address>/ <mask-bits> Exits from the interface routing-domain exit command mode. dvmrp Enables this function to permit VLAN groups beyond the local switch.
Page 247
GS-4012F User’s Guide Table 93 Command Summary: config-vlan Commands (continued) COMMAND DESCRIPTION Specifies the port(s) to be a permanent fixed <port-list> member of this VLAN group. Specifies the port(s) you want to forbidden <port- prohibit from joining this VLAN group.
GS-4012F User’s Guide H A P T E R Command Examples This chapter describes some commands in more detail. 40.1 Overview These are commands that you may use frequently in maintaining your switch. 40.2 show Commands These are the commonly used commands.
GS-4012F User’s Guide 40.2.2 show hardware-monitor Syntax: show hardware-monitor [c|f] This command displays the current hardware status (such as temperature and voltage levels). The following figure shows an example using degree Celsius as the temperature unit. Figure 146 show hardware-monitor Command Example ras>...
GS-4012F User’s Guide This command displays statistics of a port. The following example shows that port 2 is up and the related information. Figure 149 show interface Command Example ras# show interface 2 Port Info Port NO. Link :100M/F Statuss...
GS-4012F User’s Guide 40.4 traceroute Syntax: traceroute <ip> [in-band|out-of-band|vlan <vlan-id>][ttl <1- 255>] [wait <1-60>] [queries <1-10>] where The IP address of an Ethernet device. <ip> Specifies the network interface or the VLAN ID to which the [in-band|out-of- band|vlan <vlan- Ethernet device belongs.
GS-4012F User’s Guide Figure 153 Enable RSTP Command Example ras(config)# spanning-tree 10 ras# 40.6 Configuration File Maintenance This section shows you how to backup or restore the configuration file on the switch using TFTP. 40.6.1 Backing up Configuration Syntax: copy running-config tftp <ip> <remote-file>...
GS-4012F User’s Guide This command restores a configuration file on the switch. The following example uploads the configuration file ( ) from the TFTP server ( ) to the switch. test.cfg 172.23.19.96 Figure 155 CLI: Restore Configuration Example ras# copy tftp config 1 172.23.19.96 test.cfg...
GS-4012F User’s Guide The following example resets both configuration files to the factory default settings. Figure 158 CLI: Reset to the Factory Default Example ras# erase running-config ras# write memory ras# write memory 2 40.7 no Command Examples These are the commonly used command examples that belong to the group of commands.
GS-4012F User’s Guide 40.7.3 no trunk Syntax: no trunk <T1|T2|T3|T4|T5|T6> no trunk <T1|T2|T3|T4|T5|T6> lacp no trunk <T1|T2|T3|T4|T5|T6> interface <port-list> where Disables the trunk group. <T1|T2|T3|T4|T5|T6> Disables LACP in the trunk group. <T1|T2|T3|T4|T5|T6> lacp Removes ports from the trunk group. <T1|T2|T3|T4|T5|T6>...
GS-4012F User’s Guide Figure 162 no port-access-authenticator Command Example ras(config)# no port-access-authenticator ras(config)# no port-access-authenticator 1,3-5 reauthenticate ras(config)# no port-access-authenticator 1,6-7 40.7.5 no ssh Syntax: no ssh key <rsa1|rsa|dsa> no ssh known-hosts <host-ip> no ssh known-hosts <host-ip> [1024|ssh-rsa|ssh-dsa] where Disables the secure shell server encryption key. Your switch key <rsa1|rsa|dsa>...
GS-4012F User’s Guide 40.8.1 interface port-channel Syntax: interface port-channel <port-list> Use this command to enable the specified ports for configuration. Type multiple ports or port ranges separated by a comma. Ranges of port numbers are typed separated by a dash.
GS-4012F User’s Guide Figure 165 interface Command Example ras# config ras(config)# interface route-domain 192.168.1.1/24 cmd interface route domain 192.168.1.1 255.255.255.0 ras(config-if)# 40.8.3 bpdu-control Syntax: bpdu-control <peer|tunnel|discard|network> where Type to process any BPDUs received on peer|tunnel|discard|network> peer these ports. Type to forward BPDUs received on tunnel these ports.
GS-4012F User’s Guide where Enables broadcast storm control limit on the switch. Sets how many broadcast packets the interface receives per second. <pkt/s> An example is shown next. • Enable port one for configuration. • Enable broadcast control. • Set the number of broadband packets the interface receives per second.
GS-4012F User’s Guide 40.8.6 mirror Syntax: mirror mirror dir <ingress|egress|both> where Enables port mirroring on the interface. = Enables port mirroring for incoming, outgoing or both <ingress|egress|both> incoming and outgoing traffic. Port mirroring copies traffic from one or all ports to another or all ports for external analysis.
GS-4012F User’s Guide • Enable the IEEE 802.1Q tagged VLAN command to configure tagged VLAN for the switch. • Enable ports one, three, four and five for configuration. • Enable GVRP on the interface. Figure 170 gvrp Command Example ras(config)# vlan1q gvrp...
GS-4012F User’s Guide Figure 172 frame-type Command Example ras(config)# interface port-channel 1,3-5 ras(config-interface)# ingress-check ras(config-interface)# frame-type tagged 40.8.10 spq Syntax: Sets the interface to use Strict Priority Queuing. An example is shown next. • Enable ports one, three, four and five for configuration.
GS-4012F User’s Guide Figure 174 wrr Command Example ras# configure ras(config)# interface port-channel 2,6-12 ras(config-interface)# wrr ras(config-interface)# wrr 8 7 6 5 4 3 2 1 40.8.12 egress set Syntax: egress set <port-list> where Sets the outgoing traffic port list for a port-based VLAN.
GS-4012F User’s Guide Figure 176 qos priority Command Example ras(config)# interface port-channel 1,3-5 ras(config-interface)# qos priority 4 40.8.14 name Syntax: name <port-name-string> where Sets a name for your port interface(s). <port-name-string> An example is shown next. • Enable ports one, three, four and five for configuration.
GS-4012F User’s Guide H A P T E R IEEE 802.1Q Tagged VLAN Commands This chapter describes the IEEE 802.1Q Tagged VLAN and associated commands. 41.1 IEEE 802.1Q Tagged VLAN Overview See the VLAN chapter for more information on VLANs. There are two kinds of tagging: 1 Explicit Tagging A VLAN identifier is added to the frame header that identifies the source VLAN.
GS-4012F User’s Guide 41.2.2 Dynamic Entries (DVLAN Table) Dynamic entries are learned by the switch and cannot be created or updated by administrators. The switch learns this information by observing what port, source address and VLAN ID (or VID) is associated with a frame. Entries are added and deleted using GARP VLAN Registration Protocol (GVRP), where GARP is the Generic Attribute Registration Protocol.
GS-4012F User’s Guide Figure 180 CPU VLAN Configuration and Activation Example ras (config)# vlan 3 ras (config-vlan)# inactive 41.4 Global VLAN1Q Tagged VLAN Configuration Commands This section shows you how to configure and monitor the IEEE 802.1Q Tagged VLAN. 41.4.1 GARP Status...
GS-4012F User’s Guide This sets the duration of the Leave Period timer for GVRP in leave <msec> milliseconds. Each port has a single Leave Period timer. Leave Time must be two times larger than Join Timer; the default is 600 milliseconds.
GS-4012F User’s Guide This command turns on GVRP in order to propagate VLAN information beyond the switch. 41.4.5 Disable GVRP Syntax: no vlan1q gvrp This command turns off GVRP so that the switch does not propagate VLAN information to other switches.
GS-4012F User’s Guide This command sets the specified port to accept all Ethernet frames or only those with an IEEE 802.1Q VLAN tag. The following example sets ports 1 to 5 to accept only tagged frames. Figure 185 frame type Command Example...
GS-4012F User’s Guide • Enter to block a from joining the static VLAN table with forbidden <port-list> <vlan-id> • Enter to change to normal status. no fixed no forbidden <port-list> • Enter to send outgoing frames without a tag. untagged •...
GS-4012F User’s Guide where The VLAN ID [1 – 4094]. <vlan-id> This command deletes the specified VLAN ID entry from the static VLAN table. The following example deletes entry 2 in the static VLAN table. Figure 188 no vlan Command Example ras (config)# no vlan 2 41.6 Enable VLAN...
GS-4012F User’s Guide H A P T E R Troubleshooting This chapter covers potential problems and possible remedies. 42.1 Problems Starting Up the Switch Table 94 Troubleshooting the Start-Up of Your Switch PROBLEM CORRECTIVE ACTION None of the LEDs Check the power connection and make sure the power source is turned on.
GS-4012F User’s Guide 42.2.1 Pop-up Windows, JavaScripts and Java Permissions In order to use the web configurator you need to allow: • Web browser pop-up windows from your device. • JavaScripts (enabled by default). • Java permissions (enabled by default).
GS-4012F User’s Guide Figure 191 Internet Options 3 Click Apply to save this setting. 42.2.1.1.2 Enable pop-up Blockers with Exceptions Alternatively, if you only want to allow pop-up windows from your device, see the following steps. 1 In Internet Explorer, select Tools, Internet Options and then the Privacy tab.
GS-4012F User’s Guide Figure 192 Internet Options 3 Type the IP address of your device (the web page that you do not want to have blocked) with the prefix “http://”. For example, http://192.168.1.1. 4 Click Add to move the IP address to the list of Allowed sites.
GS-4012F User’s Guide Figure 193 Pop-up Blocker Settings 5 Click Close to return to the Privacy screen. 6 Click Apply to save this setting. 42.2.1.2 JavaScripts If pages of the web configurator do not display properly in Internet Explorer, check that JavaScripts are allowed.
GS-4012F User’s Guide Figure 194 Internet Options 2 Click the Custom Level... button. 3 Scroll down to Scripting. 4 Under Active scripting make sure that Enable is selected (the default). 5 Under Scripting of Java applets make sure that Enable is selected (the default).
GS-4012F User’s Guide Figure 195 Security Settings - Java Scripting 42.2.1.3 Java Permissions 1 From Internet Explorer, click Tools, Internet Options and then the Security tab. 2 Click the Custom Level... button. 3 Scroll down to Microsoft VM. 4 Under Java permissions make sure that a safety level is selected.
GS-4012F User’s Guide Figure 196 Security Settings - Java 42.2.1.3.1 JAVA (Sun) 1 From Internet Explorer, click Tools, Internet Options and then the Advanced tab. 2 make sure that Use Java 2 for <applet> under Java (Sun) is selected. 3 Click OK to close the window.
GS-4012F User’s Guide Figure 197 Java (Sun) 42.3 Problems with the Password Table 96 Troubleshooting the Password PROBLEM CORRECTIVE ACTION Cannot access the The password field is case sensitive. Make sure that you enter the correct switch. password using the proper casing.
GS-4012F User’s Guide P P E N D I X Product Specifications These are the GS-4012F product specifications. Table 97 General Product Specifications Interface 12 mini-GBIC (SFP) Slots 4 Gigabit/mini-GBIC ports Auto-negotiation Auto-MDIX Compliant with IEEE 802.3ad/u/x Back pressure flow control for half duplex Flow control for full duplex (IEEE 802.3x)
GS-4012F User’s Guide Table 97 General Product Specifications (continued) Layer 3 IP forwarding Wire-speed Features 8K IP address table Filtering based on the source/destination IP address Routing Unicast: RIP-V1/V2, OSPF V2 protocols Multicast: DVMRP VRRP IP services DHCP server/relay Layer 4...
GS-4012F User’s Guide Table 99 Physical and Environmental Specifications LEDs Per switch: BPS, PWR, SYS, ALM Per Gigabit Ethernet/mini-GBIC port: 100, 1000, LNK, ACT Per mini-GBIC port: LNK, ACT Per Management port: 10, 100 Dimension 438 mm (W) x 225mm (D) x 44.45 mm (H) Standard 19”...
GS-4012F User’s Guide P P E N D I X IP Subnetting IP Addressing Routers “route” based on the network number. The router that delivers the data packet to the correct destination host uses the host ID. IP Classes An IP address is made up of four octets (eight bits), written in dotted decimal notation, for example, 192.168.1.1.
GS-4012F User’s Guide Since the first octet of a class “A” IP address must contain a “0”, the first octet of a class “A” address can have a value of 0 to 127. Similarly the first octet of a class “B” must begin with “10”, therefore the first octet of a class “B”...
GS-4012F User’s Guide Since the mask is always a continuous number of ones beginning from the left, followed by a continuous number of zeros for the remainder of the 32 bit mask, you can simply specify the number of ones instead of writing the value of each octet. This is usually specified by writing a “/”...
GS-4012F User’s Guide Note: In the following charts, shaded/bolded last octet bit values indicate host ID bits “borrowed” to form network ID bits. The number of “borrowed” host ID bits determines the number of subnets you can have. The remaining number of host ID bits (after “borrowing”) determines the number of hosts you can have...
GS-4012F User’s Guide Example: Four Subnets The above example illustrated using a 25-bit subnet mask to divide a class “C” address space into two subnets. Similarly to divide a class “C” address into four subnets, you need to “borrow” two host ID bits to give four possible combinations of 00, 01, 10 and 11. The subnet mask is 26 bits (11111111.11111111.11111111.11000000) or 255.255.255.192.
GS-4012F User’s Guide Subnetting With Class A and Class B Networks. For class “A” and class “B” addresses the subnet mask also determines which bits are part of the network number and which are part of the host ID. A class “B” address has two host ID octets available for subnetting and a class “A” address has...
GS-4012F User’s Guide Command Line Interface Double-tagged Frames 32, 135 Accessing DS (Differentiated Services) Introduction DS field Configuration file DS See Differentiated Services Backup DSCP Restore 55, 184 Default value Configure QoS DSCP-to-IEEE802.1p mapping Connecting Cables Service level Console port...
Page 302
GS-4012F User’s Guide Feature HTTP Hardware HTTPS File Transfer using FTP HTTPS Example command example Filename convention Filtering Filtering database Finland, Contact Information Firmware IEEE 802.1p Upgrade 183, 207 IEEE 802.1Q Tagged VLAN Flow control IEEE 802.1x Back pressure Activate IEEE802.3x...
Page 303
GS-4012F User’s Guide Limit MAC address learning Link Aggregate Control Protocol (LACP) Link aggregation 33, 107 Network management system (NMS) Dynamic North America ID information North America Contact Information Setup Status Norway, Contact Information Link state database 146, 147 NTP (RFC-1305)
Page 304
GS-4012F User’s Guide Policy Rules Pool POP3 RADIUS Port authentication RADIUS (Remote Authentication Dial In User Service) IEEE802.1x RADIUS server RADIUS server Port Based VLAN Type Advantages Port details Network example Port isolation 87, 90 Settings Port Mirroring 243, 261...