◆ Up to six LACP or static 4-port trunks ◆ Layer 2/3/4 CoS support through four priority queues ◆ Full support for VLANs with GVRP ◆ IGMP multicast filtering and snooping ◆ Manageable via console, Web, SNMP/RMON Management Guide SMC6750L2...
Page 3
TigerSwitch 10/100 Management Guide From SMC’s Tiger line of feature-rich workgroup LAN solutions 38 Tesla Irvine, CA 92618 Phone: (949) 679-8000 June 2002 Pub. # 150200016800A...
Page 4
Information furnished by SMC Networks, Inc. (SMC) is believed to be accurate and reliable. However, no responsibility is assumed by SMC for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or oth- erwise under any patent or patent rights of SMC.
Page 5
IMITED ARRANTY Limited Warranty Statement: SMC Networks, Inc. (“SMC”) warrants its products to be free from defects in workmanship and materials, under normal use and service, for the applicable warranty term. All SMC products carry a standard 90-day limited warranty from the date of purchase from SMC or its Authorized Reseller.
Page 6
* SMC will provide warranty service for one year following discontinuance from the active SMC price list. Under the limited lifetime warranty, internal and external power supplies, fans, and cables are covered by a standard one-year warranty from date of purchase. SMC Networks, Inc. 38 Tesla Irvine, CA 92618...
Connecting to the Switch Configuration Options The TigerSwitch 10/100 SMC6750L2 includes a built-in network management agent. The agent offers a variety of management options, including SNMP, RMON and a Web-based interface. A PC may also be connected directly to the switch for configuration and monitoring via a command line interface (CLI).
Set broadcast storm control on any port • Display system information and statistics Required Connections The switch provides an RS-232 serial port that enables a connection to a PC or terminal for monitoring and configuring the switch. A null-modem console cable is provided with the switch.
Page 17
Attach a VT100-compatible terminal, or a PC running a terminal emulation program to the switch. You can use the console cable provided with this package, or use a null-modem cable that complies with the wiring assignments shown in Appendix B.
IP address, subnet mask, and default gateway using a console connection, DHCP or BOOTP protocol. The IP address for this switch is assigned via DHCP by default. To manually configure this address or enable dynamic address assignment via DHCP or BOOTP, see “Setting an IP Address”...
Access to both CLI levels are controlled by user names and passwords. The switch has a default user name and password for each level. To log into the CLI at the Privileged Exec level using the default user name and password, perform these steps: 1.
Manual — You have to input the information, including IP address and subnet mask. If your management station is not in the same IP subnet as the switch, you will also need to specify the default gateway router. Dynamic — The switch sends IP configuration requests to BOOTP or...
VLAN. Manual Configuration You can manually assign an IP address to the switch. You may also need to specify a default gateway that resides between this device and management stations that exist on another network segment. Valid IP addresses consist of four decimal numbers, 0 to 255, separated by periods.
If the “bootp” or “dhcp” option is saved to the startup-config file, then the switch will start broadcasting service requests as soon as it is powered To automatically configure the switch by communicating with BOOTP or...
The switch can be configured to accept management commands from Simple Network Management Protocol (SNMP) applications such as EliteView. You can configure the switch to (1) respond to SNMP requests or (2) generate SNMP traps. When SNMP management stations send requests to the switch (either to return information or to set a parameter), the switch provides the requested data or sets the specified parameter.
Community strings are used to control management access to SNMP stations, as well as to authorize SNMP stations to receive trap messages from the switch. You therefore need to assign community strings to specified users or user groups, and set the access level.
“community-string” is the string associated with that host. Press <Enter>. 2. In order to configure the switch to send SNMP notifications, you must enter at least one snmp-server enable traps command. Type “snmp-server enable traps type,” where “type” is either authentication or link-up-down.
See “Upgrading Firmware via the Serial Port” on page A-2. Due to the size limit of the flash memory, the switch supports only two operation code files. However, you can have as many diagnostic code files and configuration files as available flash memory space allows.
System Defaults The switch’s system defaults are provided in the configuration file “Factory_Default_Config.cfg.” To reset the switch defaults, this file should be set as the startup configuration file. See “Setting the Startup Configuration File” on page 2-19. The following table lists some of the basic system defaults.
Page 28
WITCH ANAGEMENT Function Console Port Connection Port Status Link Aggregation Spanning Tree Protocol Address Table 1-14 Parameter Baud Rate Data bits Stop bits Parity Local Console Timeout Admin Status Auto-negotiation Flow Control 10/100 Mbps Port Capability 10/100/1000 Mbps Port Capability Static Trunks LACP (all ports) Status...
Page 29
Function Parameter Virtual LANs Default VLAN PVID Acceptable Frame Type Ingress Filtering GVRP (global) GVRP (port interface) Class of Service Ingress Port Priority Weighted Round Robin IP Precedence Priority IP DSCP Priority IP Port Priority Multicast Filtering IGMP Snooping Act as Querier Broadcast Storm Status Protection...
Telnet. For more information on using the CLI, refer to Chapter 3 “Command Line Interface.” Prior to accessing the switch from a Web browser, be sure you have first performed the following tasks: 1. Configure the switch with a valid IP address, subnet mask, and default gateway using an out-of-band serial connection, BOOTP or DHCP protocol (see “Setting the IP Address”...
“admin.” Home Page When your Web browser connects with the switch’s Web agent, the home page is displayed as shown below. The home page displays the Main Menu on the left side of the screen and System Information on the right side.
Configuration Options Configurable parameters have a dialog box or a drop-down list. Once a configuration change has been made on a page, be sure to click on the “Apply” or “Apply Changes” button to confirm the new setting. The following table summarizes the Web page configuration buttons. Button Revert Refresh...
Panel Display The Web agent displays an image of the switch’s ports, indicating whether each link is up or down. Clicking on the image of a port opens the Port Configuration page as described on page 2-26.
Main Menu Using the onboard Web agent, you can define system parameters, manage and control the switch, and all its ports, or monitor network conditions. The following table briefly describes the selections available from this program. Menu System System Information...
Page 36
Configures individual trunk settings for STA Configures individual port settings for STA Configures individual trunk settings for STA Displays basic information on the VLAN type supported by this switch and whether or not the port supports VLAN tagging Used to create or remove VLAN groups...
Page 37
Specifies ports to group into static trunks Configures community strings and related trap functions. parameters for multicast query Displays the ports that are attached to a neighboring multicast router/switch for each VLAN ID Assigns ports that are attached to a neighboring multicast router/switch Page...
Command Attributes • System Name – Name assigned to the switch system. • Object ID – MIB II object ID for switch’s network management subsystem. • Location – Specifies the system location. • Contact – Administrator responsible for the system.
Page 39
Console(config)#hostname SMC6750L2 Test Switch Console(config)#snmp-server location TPS - 3rd Floor Console(config)#snmp-server contact Chris Console#show system System description: SMC TigerSwitch - SMC6750L2 System OID string: 1.3.6.1.4.1.202.20.24 System information System Up time: 0 days, 2 hours, 4 minutes, and 7.13 seconds System Name...
WITCH Setting the IP Address An IP address may be used for management access to the switch over your network. By default, the switch uses DHCP to assign IP settings to VLAN 1 on the switch. If you wish to manually configure IP settings, you need to change the switch’s user-specified defaults (IP address 0.0.0.0 and...
Page 41
Gateway IP Address – IP address of the gateway router between this device and management stations that exist on other network segments. • MAC Address – The MAC address of this switch. Manual Configuration Web – Click System/IP. Specify the management interface, IP address and default gateway, then click Apply.
Page 42
Console# Renewing DCHP – DHCP may lease addresses to clients indefinitely or for a specific period of time. If the address expires or the switch is moved to another network segment, you will lose management access to the switch. In this case, you can reboot the switch or submit a client request to restart DHCP service.
Security Configuring the Logon Password The guest only has read access for most configuration parameters. However, the administrator has write access for parameters governing the onboard agent. You should therefore assign a new administrator password as soon as possible, and store it in a safe place. Notes: 1.
Telnet or the Web. When setting up privilege levels on the RADIUS server, level 0 allows guest (CLI - Normal Exec) access to the switch. Only level 15 allows administrator (CLI - Privileged Exec) access.
• Timeout for a reply – The number of seconds the switch waits for a reply from the RADIUS server before it resends the request. Note: The local switch user database has to be set up by manually entering user names and passwords using the CLI.
You can upload/download firmware to or from a TFTP server. By saving runtime code to a file on a TFTP server, that file can later be downloaded to the switch to restore operation. You can also set the switch to use new firmware without overwriting the previous version.
Page 47
CLI – Enter the IP address of the TFTP server, select “config” or “opcode” file type, then enter the source and destination file names, set the new file to start up the system, and then restart the switch. Console#copy tftp file TFTP server ip address: 10.1.0.99...
Web – Click System/Configuration. Enter the IP address of the TFTP server, enter the name of the file to download, select a file on the switch to overwrite or specify a new file name, and then click “Transfer from Server.”...
CLI – Enter the IP address of the TFTP server, specify the source file on the server, set the startup file name on the switch, and then restart the switch. Console#copy tftp startup-config TFTP server ip address: 192.168.1.19 Source configuration file name: startup2.0 Startup configuration file name [startup] : startup2.0...
Copying the Running Configuration to a File CLI – If you copy the running configuration to a file, you can set this file as the startup file at a later time, and then restart the switch. Console#copy running-config file destination file name : 051902.cfg...
Page 51
Port VLAN ID (PVID used in frame tags) and egress status (VLAN-Tagged or Untagged) on each port. (Refer to “VLAN Configuration” on page 2-41.) • Local VLAN Capable – This switch does not support multiple local bridges (i.e., multiple Spanning Trees). • GMRP – GARP Multicast Registration Protocol (GMRP) allows network devices to register endstations with multicast groups.
Loader Version – Version number of loader code. • Boot-ROM Version – Version number of boot code. • Operation Code Version – Version number of runtime code. • Role – Shows that this switch is Master (i.e., operating stand-alone). 2-22 3-108...
Page 53
Web – Click System/Switch Information. CLI – Use the following command to display version information. Console#show version Unit1 Serial number Service tag Hardware version Number of ports Main power status Redundant power status :not present Agent(master) Unit id Loader version Boot rom version Operation code version :1.0.1.3...
ONFIGURING THE WITCH Port Configuration Displaying Connection Status You can use the Port Information or Trunk Information pages to display the current connection status, including link state, speed/duplex mode, flow control, and auto-negotiation. Command Attributes • Name – Interface label. •...
Page 55
Web – Click Port/Port Information or Trunk Information. Modify the required interface settings, and click “Apply.” CLI – This example shows the connection status for Port 13. Console#show interfaces status ethernet 1/13 Information of Eth 1/13 Basic information: Port type: 100tx Mac address: 00-30-f1-47-58-46 Configuration: Name:...
- Flow control can eliminate frame loss by “blocking” traffic from end stations or segments connected directly to the switch when its buffers fill. When enabled, back pressure is used for half-duplex operation and IEEE 802.3x for full-duplex operation.
- Sym - Transmits and receives pause frames for flow control (Gigabit Ethernet ports only) - FC - Supports flow control • Trunk – Indicates if a port is a member of a trunk. To create trunks and select port members, see “Port Trunk Configuration” on page 2-66.
ONFIGURING THE WITCH Setting Broadcast Storm Thresholds Broadcast storms may occur when a device on your network is malfunctioning, or if application programs are not well designed or properly configured. If there is too much broadcast traffic on your network, performance can be severely degraded or everything can come to complete halt.
Configuring Port Mirroring You can mirror traffic from any source port to a target port for real-time analysis. You can then attach a logic analyzer or RMON probe to the target port and study the traffic crossing the source port in a completely unobtrusive manner.
Setting Static Addresses A static address can be assigned to a specific interface on this switch. Static addresses are bound to the assigned interface and will not be moved. When a static address is seen on another interface, the address will be ignored and will not be written to the address table.
Displaying the Address Table The Dynamic Address Table contains the MAC addresses learned by monitoring the source address for traffic entering the switch. When the destination address for inbound traffic is found in the database, the packets intended for that address is forwarded directly to the associated port.
ONFIGURING THE WITCH For example, the following screen shows the dynamic addresses for port 7. CLI – This example also displays the address table entries for port 11. Console#show bridge 1 ethernet 1/11 Interface Mac Address --------- ----------------- ---- ----------------- Eth 1/11 00-10-b5-62-03-74 Console# Changing the Aging Time...
Spanning Tree that this switch has accepted as the root device. • Root Port – The number of the port on this switch that is closest to the root. This switch communicates with the root device through this port. If there is no root port, then this switch has been accepted as the root device of the Spanning Tree network.
Page 64
ONFIGURING THE WITCH The following global attributes can be configured: • Spanning Tree State – Enable/disabled this switch to participate in a STA-compliant network. • Priority – Bridge priority is used in selecting the root device, root port, and designated port. The device with the highest priority becomes the STA root device.
• Forward Delay – The maximum time (in seconds) the root device will wait before changing states (i.e., listening to learning to forwarding). This delay is required because every device must receive information about topology changes before it starts to forward frames. In addition, each port needs time to listen for conflicting information that would make it return to a blocking state;...
Page 66
ONFIGURING THE WITCH CLI – This command displays global STA settings, followed by the settings for each port. Console#show bridge group 1 Bridge-group information -------------------------------------------------------------- Spanning tree protocol Spanning tree enable/disable Priority Hello Time (sec.) Max Age (sec.) Forward Delay (sec.) Designated Root Current root port Current root cost...
Configuring the global settings for STA Web – Click STA/STA Configuration. Modify the required attributes, click “Apply.” CLI – This example enables Spanning Tree Protocol, and then sets the indicated attributes. Console(config)#bridge 1 spanning-tree Console(config)#bridge 1 priority 40000 Console(config)#bridge 1 hello-time 5 Console(config)#bridge 1 max-age 40 Console(config)#bridge 1 forward-time 20 Managing STA Interface Settings...
Page 68
Spanning Tree. • Designated Port – The priority and number of the port on the designated bridging device through which this switch must communicate with the root of the Spanning Tree. • Trunk Member – Indicates if a port is a member of a trunk.
Page 69
Priority – Defines the priority used for this port in the Spanning Tree Protocol. If the path cost for all ports on a switch are the same, the port with the highest priority (i.e., lowest value) will be configured as an active link in the Spanning Tree.
Page 70
ONFIGURING THE WITCH Web – Click STA/STA Port Information or STA Trunk Information. CLI – This example shows the STA attributes for port 5. Console#show bridge group 1 ethernet 1/5 Bridge-group information -------------------------------------------------------------- Spanning tree protocol Spanning tree enable/disable Priority Hello Time (sec.) Max Age (sec.) Forward Delay (sec.)
Web – Click STA/STA Port Configuration or STA Trunk Configuration. Modify the required attributes, then click “Apply.” CLI – This example sets STA attributes for port 5. Console(config)#interface ethernet 1/5 Console(config-if)#bridge-group 1 priority 0 Console(config-if)#bridge-group 1 path-cost 50 Console(config-if)#bridge-group 1 portfast VLAN Configuration In conventional networks with routers, broadcast traffic is split up into separate domains.
Priority tagging Assigning Ports to VLANs Before enabling VLANs for the switch, you must first assign each port to the VLAN group(s) in which it will participate. By default all ports are assigned to VLAN 1 as untagged ports. Add a port as a tagged port (that...
Page 73
VLAN-unaware device). VLAN Classification – When the switch receives a frame, it classifies the frame in one of two ways. If the frame is untagged, the switch assigns the frame to an associated VLAN (based on the PVID of the receiving port.
Forwarding Tagged/Untagged Frames If you want to create a small port-based VLAN for devices attached directly to a single switch, you can assign ports to the same untagged VLAN. However, to participate in a VLAN group that crosses several switches, you need to create a VLAN for that group and enable tagging on all ports.
Up Time at Creation – Time this VLAN was created; i.e., System Up Time. • Status – Shows how this VLAN was added to the switch. - Dynamic GVRP: Automatically learned via GVRP. - Permanent: Added as a static entry.
Page 76
Command Attributes for CLI Interface • VLAN – ID of configured VLAN (1-4094, no leading zeroes). • Type – Shows how this VLAN was added to the switch. - Dynamic: Automatically learned via GVRP. - Static: Added as a static entry. •...
CLI – Current VLAN information can be displayed with the following command. Console#show vlan id 1 VLAN Type Name ---- ------- ---------------- --------- --------------------------------------- Static Console# Creating VLANs Command Attributes • VLAN ID – ID of configured VLAN (1-4094, no leading zeroes). •...
ONFIGURING THE WITCH CLI – This example creates a new VLAN. Console(config)#vlan database Console(config-vlan)#vlan 5 name R&D media ethernet state active Console(config-vlan)# Adding Interfaces Based on Membership Type Command Attributes • Port – Port identifier. • Trunk – Trunk identifier. •...
• Trunk Member – Indicates if a port is a member of a trunk. To add a trunk to the selected VLAN, use the last table on the VLAN Static Table page. Web – Click VLAN/VLAN Static Table. Select a VLAN ID from the scroll-down list.
ONFIGURING THE WITCH Adding Interfaces Based on Static Membership Command Attributes • Interface – Port or trunk identifier. • Member – VLANs for which the selected interface is a tagged member. • Non-Member – VLANs for which the selected interface is not a tagged member.
Acceptable Frame Type – Sets the interface to accept all frame types, including tagged or untagged frames, or only tagged frames. If only tagged frames are accepted, the switch will only accept frames if the frame tag matches a VLAN to which this interface has been assigned.
Page 82
• GVRP Status – Enables/disables GVRP for the interface. GVRP must be globally enabled for the switch before this setting can take effect. (See “Displaying Bridge Extension Capabilities” on page 2-20.) When disabled, any GVRP packets received on this port will be discarded and no GVRP registrations will be propagated from other ports.
Data packets in a port’s high-priority queue will be transmitted before those in the lower-priority queues. You can set the default priority for each interface, and configure the mapping of frame priority tags to the switch’s priority queues. LASS OF...
WITCH Setting the Default Priority for Interfaces You can specify the default port priority for each interface on the switch. All untagged packets entering the switch are tagged with the specified default port priority, and then sorted into the appropriate priority queue at the output port.
Console(config-if)#switchport priority default 5 Mapping CoS Values to Egress Queues This switch processes Class of Service (CoS) priority tagged traffic by using four priority queues for each port, with service schedules based on Weighted Round Robin (WRR). Up to eight separate traffic priorities are defined in IEEE 802.1p.
Page 86
The priority levels recommended in the IEEE 802.1p standard for various network applications are shown in the following table. However, you can map the priority levels to the switch’s output queues in any way that benefits application traffic for your own network.
Page 87
Web – Click Priority/Traffic Classes. Assign priorities to the output queues, then click “Apply.” CLI – The following example shows how to map CoS values 0, 1 and 2 to CoS priority queue 0, value 3 to CoS priority queue 1, values 4 and 5 to CoS priority queue 2, and values 6 and 7 to CoS priority queue 3.
WITCH Setting the Service Weight for Traffic Classes This switch uses the Weighted Round Robin (WRR) algorithm to determine the frequency at which it services each priority queue. As described in “Mapping CoS Values to Egress Queues” on page 2-55, the traffic classes are mapped to one of the four egress queues provided for each port.
Because different priority information may be contained in the traffic, this switch maps priority values to the output queues in the following manner: • The precedence for priority mapping is IP Port Priority, IP Precedence or DSCP Priority, and then Default Port Priority.
ONFIGURING THE WITCH CLI – The following example globally enables IP Precedence service on the switch. Console(config)#map ip precedence Console# Mapping IP Precedence The Type of Service (ToS) octet in the IPv4 header includes three precedence bits defining eight different priority levels ranging from highest priority for network control packets to lowest priority for routine traffic.
Page 91
Precedence/DSCP Priority Status menu. CLI – The following example globally enables IP Precedence service on the switch, maps IP Precedence value 1 to CoS value 0 on port 5, and then displays all the IP Precedence settings for that port.
ONFIGURING THE WITCH Mapping DSCP Priority The DSCP is six bits wide, allowing coding for up to 64 different forwarding behaviors. The DSCP replaces the ToS bits, and it retains backward compatibility with the three precedence bits so that non-DSCP compliant, ToS-enabled devices, will not conflict with the DSCP mapping.
Page 93
CLI – The following example globally enables DSCP Priority service on the switch, maps DSCP value 1 to CoS value 0 on port 5, and then displays all the DSCP Priority settings for that port. Console(config)#map ip dscp Console(config)#interface ethernet 1/5...
ONFIGURING THE WITCH Mapping IP Port Priority You can also map network applications to Class of Service values based on the IP port number (i.e., TCP/UDP port number) in the frame header. Some of the more common TCP service ports include: HTTP: 80, FTP: 21, Telnet: 23 and POP3: 110.
Page 95
CLI – The following example globally enables IP Port Priority service on the switch, maps HTTP traffic on port 5 to CoS value 0, and then displays all the IP Port Priority settings for that port. Console(config)#map ip port Console(config)#interface ethernet 1/5...
You can enable LACP on any port that is not already a member of a static trunk. If LACP is also enabled for the connected ports on another device, the switch and the other device will automatically create a trunked link. Besides balancing the load across each port in the trunk, the other ports provide redundancy by taking over the load if a port in the trunk fails.
Dynamically Configuring a Trunk with LACP Web – Click Trunk/LACP Configuration. Select any of the switch ports from the scroll-down port list and click “Add.” After you have completed adding ports to the member list, click “Apply.” CLI – The following example enables LACP for ports 17 and 18. Just connect these ports to two LACP-enabled trunk ports on another switch to form a trunk.
“Add.” After you have completed adding ports to the member list, click “Apply.” CLI – This example creates trunk 1 with ports 11 and 12. Just connect these ports to two static trunk ports on another switch to form a trunk. Console(config)#interface port-channel 1 Console(config-if)#exit...
Configuring SNMP The switch includes an onboard agent that continuously monitors the status of its hardware, as well as the traffic passing through its ports, based on the Simple Network Management Protocol (SNMP). A network management station can access this information using software such as EliteView.
Console(config)#snmp-server community spiderman rw Console(config)# Specifying Trap Managers You can specify up to five management stations that will receive authentication failure messages and other trap messages from the switch. Command Usage • You can enable or disable authentication messages via the Web interface.
Although this approach reduces the network overhead required by a multicast server, the broadcast traffic must be carefully pruned at every multicast switch/router it passes through to ensure that traffic is only passed on the hosts which subscribed to this service.
Configuring IGMP Parameters You can configure the switch to forward multicast traffic intelligently. Based on the IGMP query and report messages, the switch forwards traffic only to the ports that request multicast traffic. This prevents the switch from broadcasting the traffic to all ports and possibly disrupting network performance.
Page 103
This is also referred to as IGMP Snooping. (Default: Disabled) • Act as IGMP Querier — When enabled, the switch can serve as the Querier, which is responsible for asking hosts if they want to receive multicast traffic. (Default: Disabled) •...
Multicast routers use the information obtained from IGMP Query, along with a multicast routing protocol such as DVMRP, to support IP multicasting across the Internet. These routers may be dynamically discovered by the switch or statically assigned to an interface on the switch. 2-74 : Enabled...
VLAN ID – ID of configured VLAN (1-4094). • Multicast Router List – Multicast routers dynamically discovered by this switch or those that are statically assigned to an interface on this switch. Web – Click IGMP/Multicast Router Port Information. Select the required VLAN ID from the scroll-down list to display the associated multicast routers.
Page 106
ONFIGURING THE WITCH (port or trunk) on your switch, you can manually configure that interface to join all the current multicast groups. This can ensure that multicast traffic is passed to all the appropriate interfaces within the switch. Command Attributes •...
Multicast Group Port List – Ports propagating a multicast service; i.e., ports that belong to the indicated VLAN group. Web – Click IGMP/IP Multicast Registration Table. Select the VLAN ID and multicast IP address. The switch will display all the ports that are propagating this multicast service. ULTICAST...
Parameters” on page 2-72. For certain application that require tighter control, you may need to statically configure a multicast service on the switch. First add all the ports attached to participating hosts to a common VLAN, and then assign the multicast service to that VLAN group.
RMOM MIB. Interfaces and Ethernet-like statistics display errors on the traffic passing through each port. This information can be used to identify potential problems with the switch (such as a faulty port or unusually heavy loading). RMON statistics provide access to a broad range...
Page 110
ONFIGURING THE WITCH passing through each port. All values displayed have been accumulated since the last system reboot, and are shown as counts per second. Statistics are refreshed every 60 seconds by default. Note: RMON groups 2, 3 and 9 can only be accessed using SNMP management software such as EliteView.
Using the Command Line Interface Accessing the CLI When accessing the management interface for the switch over a direct connection to the server’s console port, or via a Telnet connection, the switch can be managed by entering command keywords and parameters at the prompt.
10.1.0.1, consists of a network portion (10.1.0) and a host portion (1). To access the switch through a Telnet session, you must first set the IP address for the switch, and set the default gateway if you are managing the switch from a different IP subnet.
After you configure the switch with an IP address, you can open a Telnet session by performing these steps: 1. From the remote host, enter the Telnet command and the IP address of the device you want to access. 2. At the prompt, enter the user name and system password. The CLI will display the “Vty-0#”...
OMMAND NTERFACE You can enter commands as follows: • To enter a simple command, enter the command keyword. • To enter multiple commands, enter each command in the required order. For example, to enable Privileged Exec command mode, and display the startup configuration, enter: Console>enable Console#show startup-config •...
The system configuration of running SNMP statistics The system configuration of starting up Information of system Display information about terminal lines System hardware and software status Switch VLAN Virtual Interface Information of interfaces counters Information of interfaces status Information of interfaces switchport NTERING OMMANDS...
OMMAND NTERFACE between the command and question mark.) For example “s?” shows all the keywords starting with “s.” Console#show s? snmp Negating the Effect of Commands For many configuration commands you can enter the prefix keyword “no” to cancel the effect of a command or reset the configuration to the default value.
* You must be in Privileged Exec mode to access any of the configuration modes. Exec Commands When you open a new console session on switch with the user name “guest,” the system enters Normal Exec command mode (or guest mode).
OMMAND NTERFACE Username: guest Password: [system login password] CLI session with the SMC6750L2 is opened. To end the CLI session, enter [Exit]. Console#enable Password: [privileged level password if so configured] Console# Configuration Commands Configuration commands are privileged level commands used to modify switch settings.
Global Configuration mode. The system prompt will change to “Console(config-if)#,” “Console(config-line)#” or Console(config-vlan)” indicating that you have access privileges to the associated commands. You can use the end command to return to the Privileged Exec mode. Console(config)#interface ethernet 1/5 Console(config-if)#exit Console(config)#line console Console(config-line)# Command Line Processing...
3-10 Description Basic commands for entering privileged access mode, restarting the system, or quitting the CLI Manages code image or switch configuration files Controls system logs, system passwords, user name, browser management options, and a variety of other system information...
Page 123
Command Description Group Priority Sets port priority for untagged frames, relative weight for each priority queue, also sets priority for TCP/ UDP traffic types, IP precedence, and DSCP Mirror Port Mirrors data to another port for analysis without affecting the data passing through or the performance of the monitored port Port Trunking Statically groups multiple ports into a single logical...
OMMAND NTERFACE General Commands Command enable disable configure reload exit quit help enable Use this command to activate Privileged Exec mode. In privileged mode, additional commands are available, and certain commands display additional information. See “Understanding Command Modes” on page 3-6.
Use this command to return to Normal Exec mode from privileged mode. In normal access mode, you can only display basic information on the switch's configuration or Ethernet statistics. To gain access to all commands, you must use the privileged mode. See “Understanding Command Modes”...
Use this command to activate Global Configuration mode. You must enter this mode to modify any settings on the switch. You must also enter Global Configuration mode prior to enabling some of the other configuration modes, including Interface Configuration, Line Configuration, and VLAN Database Configuration.
show history Use this command to show the contents of the command history buffer. Default Setting None Command Mode Normal Exec, Privileged Exec Command Usage The history buffer size is fixed at 20 commands. Example In this example, the show history command lists the contents of the command history buffer: Console#show history Execution command history:...
Command Mode Privileged Exec Command Usage This command resets the entire system. Example This example shows how to reset the switch: Console#reload System will be restarted, continue <y/n>? y Use this command to return to Privileged Exec mode. Default Setting...
Example This example shows how to return to the Privileged Exec mode from the Interface Configuration mode: Console(config-if)#end Console# exit Use this command to return to the previous configuration mode or exit the configuration program. Default Setting None Command Mode Example This example shows how to return to the Privileged Exec mode from the Global Configuration mode, and then quit the CLI session:...
Flash memory and a TFTP server. When you save the system code or configuration settings to a file on a TFTP server, that file can later be downloaded to the switch to restore system operation. The success of the file transfer depends on the accessibility of the TFTP server and the quality of the network connection.
OMMAND NTERFACE Example The following example shows how to upload the configuration settings to a file on the TFTP server: Console#copy file tftp Choose file type: 1. config: 2. opcode: <1-2>: 1 Source file name: startup TFTP server ip address: 10.1.0.99 Destination file name: startup.01 Console# The following example shows how to copy the running configuration to a...
The type of file or image to display includes: • boot-rom - Boot ROM (or diagnostic) image file • config - Switch configuration file • opcode - Run-time operation code image file. • filename - Name of the file or image. If this file exists but contains errors, information on this file cannot be shown.
OMMAND NTERFACE Command Mode Privileged Exec Command Usage • If you enter the command dir without any parameters, the system displays all files. • File information is shown below: Column Heading file name file type startup size Example The following example shows how to display all file information: Console#dir -------------------------------- -------------- ------- ----------- Factory_Default_Config.cfg...
Example This example shows the information displayed by the whichboot command. See the table on the previous page for a description of the file information displayed by this command. Console#whichboot file name ----------------- -------------- ------- ----------- diag_0060 Boot-Rom image run_0200 Operation Code startup Console# boot system...
Sets a password to control access to various privilege levels Specifies the port to be used by the Web browser interface Allows the switch to be monitored or configured from a browser Controls logging of error messages Limits syslog messages sent to the SNMP...
- The name of this host. (Maximum length: 255 characters) Default Setting None Command Mode Global Configuration Example Console(config)#hostname SMC6750L2 Console(config)# YSTEM Function Displays the contents of the configuration file (stored in Flash memory) that is used to start...
OMMAND NTERFACE username Use this command to require user name authentication at login. Use the no form to remove a user name. Syntax username name {access-level level | nopassword | password {0 | 7} password} no username name • name - The name of the user. Up to 8 characters, case sensitive.
Command Usage The encrypted password is required for compatiblity with legacy password settings (i.e., plain text or encrypted) when reading the configuration file during system bootup or when downloading the configuration file from a TFTP server. There is no need for you to manually configure encrypted passwords.
OMMAND NTERFACE Command Usage The encrypted password is required for compatiblity with legacy password settings (i.e., plain text or encrypted) when reading the configuration file during system bootup or when downloading the configuration file from a TFTP server. There is no need for you to manually configure encrypted passwords.
Related Commands ip http server ip http server Use this command to allow this device to be monitored or configured from a browser. Use the no form to disable this function. Syntax ip http server no ip http server Default Setting Enabled Command Mode Global Configuration...
OMMAND NTERFACE Command Mode Global Configuration Command Usage The logging process controls error messages to be sent to SNMP trap receivers. You can use the logging history command to control the type of error messages that are stored in memory and sent to a specified SNMP trap receiver.
OMMAND NTERFACE clear logging Use this command to clear messages from the log buffer. Syntax clear logging [flash | ram] • flash - Event history stored in Flash memory (i.e., permanent memory). • ram - Event history stored in temporary RAM (i.e., memory flushed on power reset).
Default Setting None Command Mode Privileged Exec Example Console#show logging flash Syslog logging: Disable History logging in FLASH: level errors Console# show startup-config Use this command to display the configuration file stored in non-volatile memory that is used to start up the system. Default Setting None Command Mode...
show running-config Use this command to display the configuration information currently in use. Default Setting None Command Mode Privileged Exec Command Usage Use this command in conjunction with the show startup-config command to compare the information in running memory to the information stored in non-volatile memory.
Default Setting None Command Mode Normal Exec, Privileged Exec Example Console#show system System description: SMC TigerSwitch - SMC6750L2 System OID string: 1.3.6.1.4.1.202.20.24 System information System Up time: 0 days, 1 hours, 23 minutes, and 44.61 seconds System Name System Location...
Example Console#show users Username accounts: Username Privilege -------- --------- guest admin Online users: Line ----------- -------- ----------------- --------------- console vty 0 Console# show version Use this command to display hardware and software version information for the system. Default Setting None Command Mode Normal Exec, Privileged Exec Example...
RADIUS-aware devices on the network. A RADIUS server contains a database of multiple user name/password pairs with associated privilege levels for each user or group that require management access to a switch using the console port, Telnet or Web. Command...
Default Setting None Command Mode Global Configuration Example Console(config)#authentication login radius Console(config)# Related Commands username - for setting the local user names and passwords radius-server host Use this command to specify the RADIUS server. Use the no form to restore the default. Syntax radius-server host host_ip_address no radius-server host...
OMMAND NTERFACE radius-server port Use this command to set the RADIUS server network port. Use the no form to restore the default. Syntax radius-server port port_number no radius-server port port_number - RADIUS server UDP port used for authentication messages. (Range: 1-65535) Default Setting None Command Mode...
Use this command to set the number of retries. Use the no form to restore the default. Syntax radius-server retransmit number_of_retries no radius-server retransmit number_of_retries - Number of times the switch will try to authenticate logon access via the RADIUS server. (Range: 1 - 30) Default Setting None Command Mode...
RADIUS server. Use the no form to restore the default. Syntax radius-server timeout number_of_seconds no radius-server timeout number_of_seconds - Number of seconds the switch waits for a reply before resending a request. (Range: 1-65535) Default Setting None...
SNMP Commands Controls access to this switch from SNMP management stations, as well as the error types sent to trap managers. Command snmp-server community snmp-server contact Sets the system contact string snmp-server location Sets the system location string snmp-server host...
OMMAND NTERFACE Default Setting • public - Read-only access. Authorized management stations are only able to retrieve MIB objects. • private - Read-write access. Authorized management stations are able to both retrieve and modify MIB objects. Command Mode Global Configuration Command Usage The first snmp-server community command you enter enables SNMP (SNMPv1).
Example Console(config)#snmp-server contact Paul Console(config)# Related Commands snmp-server location snmp-server location Use this command to set the system location string. Use the no form to remove the location string. Syntax snmp-server location text no snmp-server location text - String that describes the system location. (Maximum length: 255 characters) Default Setting None...
Page 158
Command Usage If you do not enter an snmp-server host command, no notifications are sent. In order to configure the switch to send SNMP notifications, you must enter at least one snmp-server host command. In order to enable multiple hosts, you must issue a separate snmp-server host command for each host.
Example Console(config)#snmp-server host 10.1.19.23 batman Console(config)# Related Commands snmp-server enable traps snmp-server enable traps Use this command to enable this device to send Simple Network Management Protocol traps or informs (SNMP notifications). Use the no form to disable SNMP notifications. Syntax snmp-server enable traps [authentication | link-up-down] no snmp-server enable traps [authentication |...
OMMAND NTERFACE command with no keywords, all notification types are enabled. If you enter the command with a keyword, only the notification type related to that keyword is enabled. The snmp-server enable traps command is used in conjunction with the snmp-server host command. Use the snmp-server host command to specify which host or hosts receive SNMP notifications.
Console# IP Commands An IP address may be used for management access to the switch over your network. By default, the switch uses DHCP to assign IP settings to VLAN 1 on the switch. If you wish to manually configure IP settings, you need to change the switch’s user-specified defaults (IP address 0.0.0.0 and...
Page 162
OMMAND NTERFACE Command default-gateway show ip interface Displays the IP settings for this device show ip redirects Displays the default gateway configured for ping ip address Use this command to set the IP address for this device. Use the no form to restore the default IP address.
VLAN 1). This defines the management VLAN, the only VLAN through which you can gain management access to the switch. If you assign an IP address to any other VLAN, the new IP address overrides the original IP address and this becomes the new management VLAN.
OMMAND NTERFACE Command Usage • DHCP requires the server to reassign the client’s last address if available. • If the BOOTP or DHCP server has been moved to a different domain, the network portion of the address provided to the client will be based on this new domain.
Default Setting All interfaces Command Mode Privileged Exec Command Usage This switch can only be assigned one IP address. This address is used for managing the switch. Example Console#show ip interface IP address and netmask: 10.1.0.54 255.255.255.0 on VLAN 1, and address mode: User specified.
• size - Number of bytes in a packet. (Range: 32-512, default: 32) The actual packet size will be eight bytes larger than the size specified because the switch adds header information. Default Setting This command has no default for the host.
Page 167
Command Usage • Use the ping command to see if another site on the network can be reached. • Following are some results of the ping command: • Normal response -The normal response occurs in one to ten seconds, depending on network traffic. •...
OMMAND NTERFACE Line Commands You can access the onboard configuration program by attaching a VT100 compatible device to the server’s serial port. These commands are used to set communication parameters for the serial port or a virtual terminal. Note that Telnet is considered a virtual terminal connection, and the only commands that apply to Telnet include exec-timeout and password-thresh.
line Use this command to identify a specific line for configuration, and to process subsequent line configuration commands. Syntax line {console | vty} • console - Console terminal line. • vty - Virtual terminal for remote console access. Default Setting There is no default line.
OMMAND NTERFACE login Use this command to enable password checking at login. Use the no form to disable password checking and allow connections without a password. Syntax login [local] no login local - Selects local password checking. Authentication is based on the user name specified with the username command.
password Use this command to specify the password for a line. Use the no form to remove the password. Syntax password {0 | 7} password no password - {0 | 7} - 0 means plain password, 7 means encrypted password - password - Character string that specifies the line password.
OMMAND NTERFACE Related Commands login password-thresh exec-timeout Use this command to set the interval that the system waits until user input is detected. Use the no form to remove the timeout definition. Syntax exec-timeout seconds no exec-timeout seconds - Integer that specifies the number of seconds. (Range: 0 - 65535 seconds;...
password-thresh Use this command to set the password intrusion threshold which limits the number of failed logon attempts. Use the no form to remove the threshold value. Syntax password-thresh threshold no password-thresh threshold - The number of allowed password attempts. (Range: 1-120;...
OMMAND NTERFACE silent-time Use this command to set the amount of time the management console is inaccessible after the number of unsuccessful logon attempts exceeds the threshold set by the password-thresh command. Use the no form to remove the silent time value. Syntax silent-time seconds no silent-time...
databits Use this command to set the number of data bits per character that are interpreted and generated by the console port. Use the no form to restore the default value. Syntax databits {7 | 8} no databits • 7 - Seven data bits per character. •...
OMMAND NTERFACE parity Use this command to define generation of a parity bit. Use the no form to restore the default setting. Syntax parity {none | even | odd} no parity • none - No parity • even - Even parity •...
bps - Baud rate in bits per second. (Options: 9600, 19200, 38400, 57600, 115200 bps) Default Setting 9600 bps Command Mode Line Configuration Command Usage Set the speed to match the baud rate of the device connected to the serial port. Some baud rates available on devices connected to the port might not be supported.
OMMAND NTERFACE Example To specify 2 stop bits, enter this command: Console(config-line)#stopbits 2 Console(config-line)# show line Use this command to display the terminal line’s parameters. Syntax show line [console | vty] • console - Console terminal line. • vty - Virtual terminal for remote console access. Default Setting Shows all lines Command Mode...
Interface Commands These commands are used to display or set communication parameters for an Ethernet port, aggregated link, or VLAN. Command interface description speed-duplex negotiation capabilities flowcontrol shutdown switchport broadcast show interfaces status show interfaces counters show interfaces switchport Function Configures an interface type and enters interface configuration mode Adds a description to an interface configuration IC...
OMMAND NTERFACE interface Use this command to configure an interface type and enter interface configuration mode. Syntax interface interface interface • ethernet unit/port - unit - This is device 1. - port - Port number. • port-channel channel-id (Range: 1-6) •...
Default Setting None Command Mode Interface Configuration (Ethernet, Port Channel) Example The following example adds a description to Ethernet port 25. Console(config)#interface ethernet 1/25 Console(config-if)#description RD-SW#3 Console(config-if)# speed-duplex Use this command to configure the speed and duplex mode of a given interface when autonegotiation is disabled.
OMMAND NTERFACE Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage To force operation to the speed and duplex mode specified in a speed-duplex command, use the no negotiation command to disable auto-negotiation on the selected interface. Example The following example configures port 5 to 100 Mbps, half-duplex operation.
Example The following example configures port 11 to use autonegotiation. Console(config)#interface ethernet 1/11 Console(config-if)#negotiation Console(config-if)# capabilities Use this command to advertise the port capabilities of a given interface during autonegotiation. Use the no form with parameters to remove an advertised capability, or the no form without parameters to restore the default values.
Command Usage • Flow control can eliminate frame loss by “blocking” traffic from end stations or segments connected directly to the switch when its buffers fill. When enabled, back pressure is used for half-duplex operation and IEEE 802.3x for full-duplex operation.
• Due to a hardware limitation, flow control only works on those ports located in the same chip (ports 1-24, 49 and ports 25-48, 50). Cross-chip flow control does not work. Example The following example enables flow control on port 5. Console(config)#interface ethernet 1/5 Console(config-if)#flowcontrol Console(config-if)#no negotiation...
• When broadcast traffic exceeds the specified threshold, packets above that threshold are dropped. • This command can enable or disable broadcast storm control for the selected interface. However, the specified threshold value applies to all ports on the switch. 3-74...
Example The following shows how to configure broadcast storm control at 600 packets per second on port 5: Console(config)#interface ethernet 1/5 Console(config-if)#switchport broadcast packet-rate 600 Console(config-if)# show interfaces status Use this command to display the status for an interface. Syntax show interfaces status interface interface •...
OMMAND NTERFACE Example Console#show interfaces status ethernet 1/7 Information of Eth 1/7 Basic information: Port type: 100tx Mac address: 00-30-f1-47-58-40 Configuration: Name: Port admin: Up Speed-duplex: Auto Capabilities: 10half, 10full, 100half, 100full, Broadcast storm: Enabled Broadcast storm limit: 500 packets/second Flow control: Disabled Lacp: Disabled Current status:...
- port - Port number. • port-channel channel-id (Range: 1-6) • action - • delete-on-reset - Assignment lasts until switch is reset. • permanent - Assignment is permanent. Default Setting No static addresses are defined. The default mode is permanent.
OMMAND NTERFACE • Static addresses are bound to the assigned interface and will not be moved. When a static address is seen on another interface, the address will be ignored and will not be written to the address table. Example Console(config)#bridge 1 address 00-e0-29-94-34-de vlan 1 forward ethernet 1/1 delete-on-reset Console(config)#...
Command Usage • The MAC Address Table contains the MAC addresses associated with each interface. Note that the Type field may include the following types: • Learned - dynamic address entries • Permanent - static entry • Delete-on-reset - static entry to be deleted when system is reset •...
OMMAND NTERFACE bridge-group aging-time Use this command to set the aging time for entries in the address table. Use the no form to restore the default aging time. Syntax bridge-group bridge-group aging-time seconds no bridge-group bridge-group aging-time • bridge-group - Bridge group index (bridge 1). •...
Console#show bridge group 1 aging-time Aging time: 300 sec. Console# Spanning Tree Commands This section includes commands that configure the Spanning Tree Algorithm (STA) globally for the switch, and commands that configure STA for the selected interface. Command bridge spanning-tree bridge forward-time...
OMMAND NTERFACE bridge spanning-tree Use this command to enable STA globally for the switch. Use the no form to disable it. Syntax bridge bridge-group spanning-tree no bridge bridge-group spanning-tree bridge-group - Bridge group index (bridge 1). Default Setting Spanning tree is enabled.
Use this command to configure the spanning tree bridge forward time globally for this switch. Use the no form to restore the default. Syntax bridge bridge-group forward-time seconds no bridge bridge-group forward-time • bridge-group - Bridge group index (bridge 1).
OMMAND NTERFACE bridge hello-time Use this command to configure the spanning tree bridge hello time globally for this switch. Use the no form to restore the default. Syntax bridge bridge-group hello-time time no bridge bridge-group hello-time bridge-group - Bridge group index (bridge 1).
Console(config)#bridge 1 max-age 40 Console(config)# bridge priority Use this command to configure the spanning tree priority globally for this switch. Use the no form to restore the default. Syntax bridge bridge-group priority priority no bridge bridge-group priority • bridge-group - Bridge group index (bridge 1).
OMMAND NTERFACE Command Mode Global Configuration Command Usage Bridge priority is used in selecting the root device, root port, and designated port. The device with the highest priority becomes the STA root device. However, if all devices have the same priority, the device with the lowest MAC address will then become the root device.
• This command defines the priority for the use of a port in the spanning-tree algorithm. If the path cost for all ports on a switch are the same, the port with the highest priority (that is, lowest value) will be configured as an active link in the spanning tree.
OMMAND NTERFACE Example Console(config)#interface ethernet 1/5 Console(config-if)#bridge-group 1 priority 0 Console(config-if)# bridge-group portfast Use this command to set a port to fast forwarding. Use the no form to disable fast forwarding. Syntax bridge-group bridge-group portfast no bridge-group bridge-group portfast bridge-group - Bridge group index (bridge 1). Default Setting Disabled Command Mode...
show bridge group Use this command to show the spanning tree configuration. Syntax show bridge group bridge-group [interface] • bridge-group - Bridge group index (bridge 1). • interface • ethernet unit/port - unit - This is device 1. - port - Port number. •...
Page 204
OMMAND NTERFACE Example Console#show bridge group 1 ethernet 1/11 Bridge-group information -------------------------------------------------------- Spanning tree protocol Spanning tree enable/disable Priority Hello Time (sec.) Max Age (sec.) Forward Delay (sec.) Designated Root Curent root Curent root cost Number of topology changes Last topology changes time (sec.):2167 Hold times (sec.) -------------------------------------------------------- Eth 1/11 information...
VLAN Commands A VLAN is a group of ports that can be located anywhere in the network, but communicate as though they belong to the same physical segment. This section describes commands used to create VLAN groups, add port members, specify how VLAN tagging is used, and enable automatic VLAN registration for the selected interface.
OMMAND NTERFACE Command Display VLAN Information show vlan show interfaces status vlan show interfaces switchport vlan database Use this command to enter VLAN database mode. All commands in this mode will take effect immediately. Default Setting None Command Mode Global Configuration Command Usage •...
• When no vlan vlan-id name is used, the VLAN name is removed. • When no vlan vlan-id state is used, the VLAN returns to the default state (i.e., active). • You can configure up to 255 VLANs on the switch. VLAN C OMMANDS...
OMMAND NTERFACE Example The following example adds a VLAN, using vlan-id 105 and name RD5. The VLAN is activated by default. Console(config)#vlan database Console(config-vlan)#vlan 105 name RD5 media ethernet Console(config-vlan)# Related Commands show vlan interface vlan Use this command to enter interface configuration mode for VLANs, and configure a physical interface.
switchport mode Use this command to configure the VLAN membership mode for a port. Use the no form to restore the default. Syntax switchport mode {trunk | hybrid} no switchport mode • trunk - Specifies a port as an end-point for a VLAN trunk. A trunk is a direct link between two switches, so the port transmits and receives tagged frames that identify the source VLAN.
OMMAND NTERFACE switchport acceptable-frame-types Use this command to configure the acceptable frame types for a port. Use the no form to restore the default. Syntax switchport acceptable-frame-types {all | tagged} no switchport acceptable-frame-types • all - The port passes all frames, tagged or untagged. •...
switchport ingress-filtering Use this command to enable ingress filtering for an interface. Use the no form to restore the default. Syntax switchport ingress-filtering no switchport ingress-filtering Default Setting Disabled Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage • If ingress filtering is enabled, incoming frames for VLANs which do not include this ingress port in their member set will be discarded at the ingress port.
OMMAND NTERFACE switchport native vlan Use this command to configure the PVID (i.e., default VLAN ID) for a port. Use the no form to restore the default. Syntax switchport native vlan vlan-id no switchport native vlan vlan-id - Default VLAN ID for a port. (Range: 1-4094, no leading zeroes) Default Setting VLAN 1...
switchport allowed vlan Use this command to configure VLAN groups on the selected interface. Use the no form to restore the default. Syntax switchport allowed vlan {add vlan-list [tagged | untagged] | remove vlan-list} no switchport allowed vlan • add vlan-list - List of VLAN identifiers to add. •...
OMMAND NTERFACE switchport forbidden vlan Use this command to configure forbidden VLANs. Use the no form to remove the list of forbidden VLANs. Syntax switchport forbidden vlan {add vlan-list | remove vlan-list} no switchport forbidden vlan • add vlan-list - List of VLAN IDs to add. •...
show vlan Use this command to show VLAN information. Syntax show vlan [id vlan-id | name vlan-name] • id - Keyword to be followed by the VLAN ID. - vlan-id - ID of the configured VLAN. (Range: 1-4094, no leading zeroes) •...
VLAN information in order to automatically register VLAN members on interfaces across the network. This section describes how to enable GVRP for individual interfaces and globally for the switch, as well as how to display default configuration settings for the Bridge Extension MIB.
Command Mode Interface Configuration (Ethernet, Port Channel) Example Console(config)#interface ethernet 1/1 Console(config-if)#switchport gvrp Console(config-if)# show gvrp configuration Use this command to show if GVRP is enabled. Syntax show gvrp configuration [interface] interface • ethernet unit/port - unit - This is device 1. - port - Port number.
OMMAND NTERFACE garp timer Use this command to set the values for the join, leave and leaveall timers. Use the no form to restore the timers’ default values. Syntax garp timer {join | leave | leaveall} timer_value no garp timer {join | leave | leaveall} •...
Note: Set GVRP timers on all Layer 2 devices connected in the same network to the same values. Otherwise, GVRP will not operate successfully. Example Console(config)#interface ethernet 1/1 Console(config-if)#garp timer join 100 Console(config-if)# Related Commands show garp timer show garp timer Use this command to show the GARP timers for the selected interface.
GVRP defines a way for switches to exchange VLAN information in order to register VLAN members on ports across the network. This function should be enabled to permit automatic VLAN registration, and to support VLANs which extend beyond the local switch. Example Console(config)#bridge-ext gvrp...
GMRP: Disabled Console# IGMP Snooping Commands This switch uses IGMP (Internet Group Management Protocol) to query for any attached hosts that want to receive a specific multicast service. It identifies the ports containing hosts requesting a service and sends data out to those ports only.
ip igmp snooping vlan static Use this command to add a port to a multicast group. Use the no form to remove the port. Syntax ip igmp snooping vlan vlan-id static ip-address interface no ip igmp snooping vlan vlan-id static ip-address interface •...
• All systems on the subnet must support the same version. If there are legacy devices in your network that only support Version 1, you will also have to configure this switch to use Version 1. • Some commands are only enabled for IGMPv2, including ip igmp query-max-response-time and ip igmp query-timeout.
Command Mode Privileged Exec Example The following shows the current IGMP snooping configuration: Console#show ip igmp snooping Service status: Enabled Querier status: Enabled Query count: 2 Query interval: 125 sec Query max response time: 10 sec Query time-out: 300 sec IGMP snooping version: Version 2 Console# show bridge multicast...
VLAN M'cast IP addr. Member ports Type ---- --------------- ------------ ------- 224.1.2.3 Console# ip igmp snooping querier Use this command to enable the switch as an IGMP snooping querier. Use the no form to disable it. Syntax ip igmp snooping querier no ip igmp snooping querier...
Syntax ip igmp snooping query-count count no ip igmp snooping query-count count - The maximum number of queries issued for which there has been no response before the switch takes action to solicit reports. (Range: 2-10) Default Setting 2 times...
Global Configuration Command Usage • The switch must be using IGMPv2 for this command to take effect. • The command sets the time the switch waits after receiving an IGMP report (for an IP multicast address) on a port before it sends an IGMP Query out that port and then removes the entry from its list.
Syntax ip igmp snooping query-time-out seconds no ip igmp snooping query-time-out seconds - The time the switch waits after the previous querier has stopped querying before it takes over as the querier. (Range: 300-500) Default Setting...
IGMP querier. Therefore, if the IGMP querier is a known multicast router/switch connected over the network to an interface (port or trunk) on your switch, you can manually configure that interface to join all the current multicast groups.
show ip igmp snooping mrouter Use this command to display information on statically configured and dynamically learned multicast router ports. Syntax show ip igmp snooping mrouter [vlan vlan-id] vlan-id - VLAN ID (Range: 1-4094) Default Setting Displays multicast router ports for all configured VLANs. Command Mode Privileged Exec Example...
Priority Commands The commands described in this section allow you to specify which data packets have greater precedence when traffic is buffered in the switch due to congestion. This switch supports CoS with four priority queues for each port. Data packets in a port’s high-priority queue will be transmitted before those in the lower-priority queues.
The priority is a number from 0 to 7. Seven is the highest priority. Default Setting The priority is not set, and the default value for untagged frames received on the interface is zero. The switch is not instructed what to do with the priority. Command Mode...
OMMAND NTERFACE • This switch provides four priority queues for each port. It is configured to use Weighted Round Robin, which can viewed with the queue bandwidth command. Inbound frames that do not have VLAN tags are tagged with the input port’s default ingress user priority, and then placed in the appropriate priority queue at the output port.
Command Usage WRR allows bandwidth sharing at the egress port by defining scheduling weights. Example The following example shows how to assign WRR weights of 1, 3, 5 and 7 to the CoS priority queues 0, 1, 2 and 3: Console(config)#queue bandwidth 1 3 5 7 Console(config)# Related Commands...
Page 236
OMMAND NTERFACE Default Setting This switch supports Class of Service by using four priority queues, with Weighted Round Robin Queuing for each port. Eight separate traffic classes are defined in IEEE 802.1p. The default priority levels are assigned according to recommendations in the IEEE 802.1p standard as shown in the following table.
Related Commands show queue cos-map show queue bandwidth Use this command to display the weighted round-robin (WRR) bandwidth allocation for the four class of service (CoS) priority queues. Default Setting None Command Mode Privileged Exec Example Console#show queue bandwidth Queue ID Weight -------- ------ Console# show queue cos-map...
OMMAND NTERFACE Command Mode Privileged Exec Example Console#show queue cos-map ethernet 1/11 Information of Eth 1/11 Queue ID Traffic class -------- ------------- Console# map ip port (Global Configuration) Use this command to enable IP port mapping (i.e., class of service mapping for TCP/UDP sockets).
map ip port (Interface Configuration) Use this command to set IP port priority (i.e., TCP/UDP port priority). Use the no form to remove a specific setting. Syntax map ip port port-number cos cos-value no map ip port port-number • port-number - 16-bit TCP/UDP port number. (Range: 0-65535) •...
OMMAND NTERFACE map ip precedence (Global Configuration) Use this command to enable IP precedence mapping (i.e., IP Type of Service). Use the no form to disable IP precedence mapping. Syntax map ip precedence no map ip precedence Default Setting Disabled Command Mode Global Configuration Command Usage...
Page 241
• cos-value - Class-of-Service value (Range: 0-7) Default Setting The list below shows the default priority mapping. IP Precedence Value Command Mode Interface Configuration (Ethernet, Port Channel) Command Usage • The precedence for priority mapping is IP Port, IP Precedence or IP DSCP, and default switchport priority.
OMMAND NTERFACE map ip dscp (Global Configuration) Use this command to enable IP DSCP mapping (i.e., Differentiated Services Code Point mapping). Use the no form to disable IP DSCP mapping. Syntax map ip dscp no map ip dscp Default Setting Enabled Command Mode Global Configuration...
Page 243
• cos-value - Class-of-Service value (Range: 0-7) Default Setting The list below shows the default priority mapping. Note that all the DSCP values that are not specified are mapped to CoS value 0. IP DSCP Value 10, 12, 14, 16 18, 20, 22, 24 26, 28, 30, 32, 34, 36 38, 40, 42...
OMMAND NTERFACE show map ip port Use this command to show the IP port priority map. Syntax show map ip port [interface] interface • ethernet unit/port - unit - This is device 1. - port - Port number. • port-channel channel-id (Range: 1-6) Default Setting None Command Mode...
show map ip precedence Use this command to show the IP precedence priority map. Syntax show map ip precedence [interface] interface • ethernet unit/port - unit - This is device 1. - port - Port number. • port-channel channel-id (Range: 1-6) Default Setting None Command Mode...
OMMAND NTERFACE show map ip dscp Use this command to show the IP DSCP priority map. Syntax show map ip dscp [interface] interface • ethernet unit/port - unit - This is device 1. - port - Port number. • port-channel channel-id (Range: 1-6) Default Setting None Command Mode...
• The source and destination ports have to be either both in the port range 1-24 or 49 or both in the port range 25-48 or 50. Example The following example configures the switch to mirror all packets from port 6 to port 11: Console(config)#interface ethernet 1/11...
Link Aggregation Control Protocol (LACP) to automatically negotiate a trunk link between this switch and another network device. You can configure trunks between switches of the same type. This switch supports up to six trunks. For example, a trunk consisting of two 1000 Mbps ports can support an aggregate bandwidth of 4 Gbps when operating at full duplex.
OMMAND NTERFACE Command Trunk Status Display Command show interfaces status port-channel channel-group Use this command to add a port to a trunk. Use the no form to remove a port from a trunk. Syntax channel-group channel-id no channel-group channel-id - Trunk index (Range: 1-6) Default Setting A new trunk contains no ports.
• The ports on both ends of trunk must also be configured for full duplex, either by forced mode or auto-negotiation. • If the target switch has also enabled LACP on the connected ports, the trunk will be activated. • If more than four ports attached to the same target switch have LACP enabled, the additional ports will be placed in standby mode, and will only be enabled if one of the active links fails.
Page 252
OMMAND NTERFACE Example The following shows LACP enabled on ports 11-13. Because LACP has also been enabled on the ports at the other end of the links, the show interfaces status port-channel 1 command shows that Trunk1 has been established. Console(config)#interface ethernet 1/11 Console(config-if)#lacp Console(config-if)#exit...
VLAN access to the switch (default is VLAN 1). • Check that you have a valid network connection to the switch and that the port you are using has not been disabled. • Check network cabling between the management station and the switch.
TFTP. Downloading large runtime code files via TFTP is normally much faster than downloading via the switch’s serial port. You can upgrade switch firmware by connecting a PC directly to the serial Console port on the switch’s front panel and using VT100 terminal emulation software that supports the XModem protocol.
Page 255
[R]eturn to Factory Default Select> 5. Press <c> to change the baud rate of the switch’s serial connection. 6. Press <b> to select the option for 115200 baud. There are two baud rate settings available, 9600 and 115200. Using the higher baud rate minimizes the time required to download firmware code files.
Page 256
PC system. The “Xmodem file send” window displays the progress of the download procedure. Note: The download file must be a SMC6750L2 binary software file from SMC. 10. After the file has been downloaded, you are prompted with “Update Image File:”...
Page 257
PGRADING IRMWARE VIA THE ERIAL 15. Press <q> to quit the firmware-download mode and boot the switch.
Console Port Pin Assignments The DB-9 serial port on the switch’s front panel is used to connect to the switch for out-of-band console configuration. The onboard menu-driven configuration program can be accessed from a terminal, or a PC running a terminal emulation program. The pin assignments used to connect to the serial port are provided in the following tables.
SSIGNMENTS Console Port to 9-Pin DTE Port on PC Switch’s 9-Pin Serial Port 2 RXD <---------TXD ------------ 3 TXD -----------RXD ----------> 5 SGND -----------SGND ---------- No other pins are used. Console Port to 25-Pin DTE Port on PC Switch’s 9-Pin...
10BASE-T IEEE 802.3 specification for 10 Mbps Ethernet over two pairs of Category 3, 4, or 5 UTP cable. 100BASE-TX IEEE 802.3u specification for 100 Mbps Fast Ethernet over two pairs of Category 5 UTP cable. 1000BASE-T IEEE 802.3ab specification for Gigabit Ethernet over two pairs of Category 5, 5e 100-ohm UTP cable.
A 100 Mbps network communication system based on Ethernet and the CSMA/ CD access method. Full Duplex Transmission method that allows switch and network card to transmit and receive concurrently, effectively doubling the bandwidth of that link. GARP VLAN Registration Protocol (GVRP)
VLANs defined in each switch can work automatically over a Spanning Tree network. Generic Attribute Registration Protocol (GARP) GARP is a protocol that can be used by endstations and switches to register and propagate multicast group membership information in a switched environment so that multicast data frames are propagated only to those parts of a switched LAN containing registered endstations.
Management of the network from a station attached directly to the network. IP Multicast Filtering A process whereby this switch can pass multicast traffic along to participating hosts. Layer 2 Data Link layer in the ISO 7-Layer Data Communications Protocol. This is related directly to the hardware interface for network devices and passes on traffic based on MAC addresses.
LOSSARY Multicast Switching A process whereby the switch filters incoming multicast frames for services for which no attached host has registered, or forwards them to all ports contained within the designated multicast VLAN group. Out-of-Band Management Management of the network from a station not attached to the network.
Page 267
Transmission Control Protocol/Internet Protocol (TCP/IP) Protocol suite that includes TCP as the primary transport protocol, and IP as the network layer protocol. Trivial File Transfer Protocol (TFTP) A TCP/IP protocol commonly used for software downloads. Virtual LAN (VLAN) A Virtual LAN is a collection of network nodes that share the same collision domain regardless of their physical location or connection point in the network.