3COM SWITCH 4200G FAMILY QUICK REFERENCE GUIDE Overview This Command Reference applies to the following Switch 4200G models: Switch 4200G 12-Port (3CR17660-91) Switch 4200G 48-Port FX (3CR17662-91) Switch 4200G 24-Port (3CR17661-91) Switch 4200G 1-Port 10Gigabit Module (XFP) (3C17666) About the Command Line Interface To use and navigate the command line interface of your unit, please refer to the following points for assistance: ■ When initially accessing the command line interface, press Enter when pr
3Com Switch 4200G Family Command Reference Displaying Command Parameters At the prompt, enter the name of the command followed by a space and ?. For example: boot ? The following parameters are displayed: attribute-switch Exchange the file main-attribute and backup-attribute.
Com Switch 4200G Family Command Reference 3 acl Use the acl command to define an ACL identified by a number, and enter the corresponding ACL View. System view Web command: Device -> ACL Security -> IP active region-configuration Use the active region-configuration command to activate the settings of an MST (multiple spanning tree) region. MST Region view add-member Use the add-member command to add a candidate device to a cluster.
3Com Switch 4200G Family Command Reference auto-build Use the auto-build command to create a cluster automatically. Cluster view auto-execute command Use the auto-execute command command to set the command that is executed automatically after a user logs in. User Interface view binary Use the binary command to specify that files be transferred in binary mode. That is, data is transferred in binary streams.
3Com Switch 4200G Family Command Reference 5 cd Use the cd command to enter a specified directory on the Ethernet switch. User view cd Use the cd command to change the work path on the remote FTP server. FTP Client view cdup Use the cdup command to return to the upper directory. SFTP Client view cdup Use the cdup command to enter the parent directory.
3Com Switch 4200G Family Command Reference cluster-snmp-agent usm-user v3 Use the cluster-snmp-agent usm-user v3 command to add an account to the SNMPV3 group configured for a cluster. Cluster view cluster switch-to Use the cluster switch-to command to switch between the management device and member devices for configuration and management. User view cluster switch-to sysname Use the cluster switch-to sysname command to switch between the master device and a member device.
3Com Switch 4200G Family Command Reference 7 debugging udp-helper Use the debugging udp-helper command to enable UDP Helper debugging. User view delete Use the delete command to delete a specified file stored on a switch. User view delete Use the delete command to delete the specified file from the server. SFTP Client view delete Use the delete command to delete the specified remote file. FTP Client view delete-member Use the delete-member command to remove a member device from the cluster.
3Com Switch 4200G Family Command Reference dir Use the dir command to query specified files. FTP Client view dir Use the dir command to display the files in the specified directory. SFTP Client view disconnect Use the disconnect command to terminate a FTP connection without quitting FTP client view.
3Com Switch 4200G Family Command Reference 9 display cluster black-list Use the display cluster black-list command to display the current blacklist of the cluster. Any view display cluster candidates Use the display cluster candidates command to display candidate devices of a cluster. Any view display cluster current-topology Use the display cluster current topology command to display the current topology view or the topology path between two points.
3Com Switch 4200G Family Command Reference display dhcp-snooping trust Use the display dhcp-snooping trust command to display the DHCP-Snooping state and information on trusted ports. Any view display diagnostic-information Use the display diagnostic-information command to display the system diagnostic information, or save the system diagnostic information to a file (with a suffix of "diag") in the flash memory.
3Com Switch 4200G Family Command Reference 11 display igmp-snooping group Use the display igmp-snooping group command to display information about the IP and MAC multicast groups under one VLAN (with vlan vlan-id) or all VLANs (without vlan vlan-id). Any view display igmp-snooping statistics Use the display igmp-snooping statistics command to display the message statistics about IGMP Snooping.
3Com Switch 4200G Family Command Reference display ip socket Use the display ip socket command to display the information about the sockets in the current system. Any view display ip statistics Use the display ip statistics command to view the statistics information about IP packets. Any view display isolate port Use the display isolate port command to display the information about the Ethernet ports added to an isolation group.
3Com Switch 4200G Family Command Reference 13 display mac-address security Use the display mac-address security command to display the information about Security MAC address. Any view display mac-authentication Use the display mac-authentication command to display global information about centralized MAC address authentication Any view display memory Use the display memory command to display the memory usage of a specified switch.
3Com Switch 4200G Family Command Reference display protocol-priority Use the display protocol-priority command to display the priority of protocol packets. Any view display protocol-vlan interface Use the display protocol-vlan interface command to display the protocol information and protocol indexes configured for specified ports. Any view‘ display protocol-vlan vlan Use the display protocol-vlan vlan command to display the protocol information and protocol indexes configured for specified VLANs.
3Com Switch 4200G Family Command Reference 15 display qos-interface traffic-statistic Use the display qos-interface traffic-statistic command to view the traffic statistics. Any view display qos-profile Use the display qos-profile command to view the configurations of the QoS profile. Any view display queue-scheduler Use the display queue-scheduler command to view queue scheduling mode and corresponding parameters.
3Com Switch 4200G Family Command Reference display snmp-agent community Use the display snmp-agent community command to view the information about the currently configured community names for SNMPv1 or SNMPv2c. Any view display snmp-agent group Use the display snmp-agent group command to view group name, security model, state of various views and storage models.
3Com Switch 4200G Family Command Reference 17 display this Use the display this command to display the current configuration performed in the current view of the system. Any view display time-range Use the display time-range command to view the configuration and status of the current time range. You will see the active or inactive state outputs respectively. Any view display trapbuffer Use the display trapbuffer command to display the status of the trap buffer and the records in the trap buffer.
3Com Switch 4200G Family Command Reference dot1x dhcp-launch Use the dot1x dhcp-launch command to specify an 802.1x-enabled switch to launch the process to authenticate a supplicant system when the supplicant system applies for a dynamic IP address through DHCP. System view dot1x guest-vlan Use the dot1x guest-vlan command to enable the Guest VLAN function for specified ports.
3Com Switch 4200G Family Command Reference 19 file prompt Use the file prompt command to modify the prompt mode of file operations on the Switch. System view flow-control Use the flow-control command to enable port flow control, to avoid packet loss in the event of network congestion. Ethernet Port view Web command: Port -> Administration format Use the format command to format a storage device.
3Com Switch 4200G Family Command Reference gvrp registration Use the gvrp registration command to configure the GVRP registration type on a port. Ethernet Port view habp enable Use the habp enable command to enable HABP for a switch. System view habp server vlan Use the habp server vlan command to configure a switch to operate as an HABP server and HABP packets to be broadcast in specified VLAN.
3Com Switch 4200G Family Command Reference 21 igmp-snooping router-aging-time Use the igmp-snooping router-aging-time command to configure the aging time of the router port. System view info-center channel name Use the info-center channel name command to name the channel of the specified number. System view info-center console channel Use the info-center console channel command to enable information output to the console through a specified channel.
3Com Switch 4200G Family Command Reference interface Use the command interface command to enter Ethernet port view. To configure parameters for a port, you must enter the port view first. System view interface VLAN-interface Use the interface vlan-interface command to create a management VLAN interface and enter management VLAN interface view.
3Com Switch 4200G Family Command Reference 23 language-mode Use the language-mode command to toggle between the language modes (that is, language environments) of the command line interface (CLI) to meet your requirement. User view lcd Use the lcd command to display the local work directory on the FTP client. FTP Client view level Use the level command to set the priority level of the user.
3Com Switch 4200G Family Command Reference mac-address Use the mac-address command to add/modify the MAC address table entry. System view Port view Web command: Port -> Administration mac-address max-mac-count Use the mac-address max-mac-count command to configure the maximum number of MAC addresses an Ethernet port can learn. Ethernet Port view mac-address max-mac-count 0 Use the mac-address max-mac-count0 command to disable a switch from learning MAC address in a VLAN.
3Com Switch 4200G Family Command Reference 25 messenger Use the messenger time command to enable or disable the messenger alert and configure the related parameters. ISP Domain view mirroring group Use the mirroring-group command to configure the port mirroring group. System view mirroring-group mirroring-port Use the mirroring-group mirroring-port command to configure the monitored port.
3Com Switch 4200G Family Command Reference ndp timer hello Use the ndp timer hello command to define how often to transmit the NDP packets. System view nm-interface vlan-interface Use the nm-interface vlan-interface command to configure an NMS interface of the management device. Cluster view ntdp enable Use the ntdp enable command in system view to enable NTDP globally. When being executed in Ethernet port view, this command enables NTDP for an Ethernet port.
3Com Switch 4200G Family Command Reference 27 ntp-service multicast-server Use the ntp-service multicast-server command to configure an Ethernet switch to operate in NTP multicast server mode. VLAN Interface view ntp-service reliable authentication-keyid Use the ntp-service reliable authentication-keyid command to specify an authentication key to be a trusted key. System view ntp-service source-interface Use the ntp-service source-interface command to designate an interface to transmit NTP message.
3Com Switch 4200G Family Command Reference port hybrid pvid vlan Use the port hybrid pvid vlan command to configure the default VLAN ID of the hybrid port. Ethernet Port view port hybrid vlan Use the port hybrid vlan command to add the port to the specified VLAN(s). The port needs to have been made a hybrid port before you can do this. See the related command below. Ethernet Port view port isolate Use the port isolate command to add an Ethernet port to the isolation group.
3Com Switch 4200G Family Command Reference 29 primary authentication Use the primary authentication command to configure the IP address and port number for the primary RADIUS authentication/authorization server. RADIUS Server Group view priority Use the priority command to set the priority of Ethernet port. Ethernet Port view priority trust Use the priority trust command to configure the precedence mapping mode on the port of the switch.
3Com Switch 4200G Family Command Reference qos cos-local-precedence-map Use the qos cos-local-precedence-map command to configure the "COS->Local-precedence" mapping relationship. System view qos dscp-cos-map Use the qos dscp-cos-map command to configure the "COS->802.1p priority" mapping relationship. System view qos dscp-drop-precedence-map Use the qos dscp-drop-precedence-map command to configure the "DSCP->Drop-precedence" mapping relationship.
3Com Switch 4200G Family Command Reference 31 reboot member Use the reboot member command to reboot a specified member device on the management device. Cluster view region-name Use the region-name command to set an MST region name to a switch. MST Region view remote-probe vlan Use the remote-probe vlan enable command to enable the remote-probe port mirror port feature on the VLAN of the switch. VLAN view remotehelp Use the remotehelp command to display help information about the FTP protocol command.
3Com Switch 4200G Family Command Reference reset saved-configuration Use the reset saved-configuration command to delete the configuration file that is of the specified attribute from the Flash, including the main and backup configuration files to be used when the switch starts the next startup. User view Web command: Administration -> Initialize reset stop-accounting-buffer Use the reset stop-accounting-buffer command to delete the buffered no-response stop-accounting request packets.
3Com Switch 4200G Family Command Reference 33 rmon event Use the rmon event command to add an entry to the event table. System view rmon history Use the rmon history command to add an entry to the history control table. Ethernet Port view rmon prialarm Use the rmon prialarm command to add an entry to the extended RMON alarm table. System view rmon statistics Use the rmon statistics command to add an entry to the statistic table.
3Com Switch 4200G Family Command Reference secondary accounting Use the secondary accounting command to set the IP address and port number of the secondary RADIUS accounting server. RADIUS Scheme view secondary authentication Use the secondary authentication command to set the IP address and port number of the secondary RADIUS authentication/authorization server.
3Com Switch 4200G Family Command Reference 35 smarton password Use the smarton password command to set the password to be used by the SmartOn function. System view smarton switchid Use the smarton switchid command to set the switch ID. System view smarton timer Use the smarton timer command to set the supplicant timeout timer for SmartOn-enabled supplicant systems. System view snmp-agent Use the snmp-agent command to enable SNMP Agent.
3Com Switch 4200G Family Command Reference snmp-agent trap queue-size Use the snmp-agent trap queue-size command to configure the information queue length of a Trap packet sent to the destination host. System view snmp-agent trap source Use the snmp-agent trap source command to configure the source address for sending Trap messages. System view snmp-agent usm-user Use the snmp-agent usm-user command to add a new community name or, if you use the V3 parameter, a new user to an SNMP group.
3Com Switch 4200G Family Command Reference 37 ssh2 Use the ssh2 command to enable the connection between SSH client and server, define key exchange algorithm preference, encryption algorithm preference and HMAC algorithm preference on the server and client. System view startup bootrom-access enable Use the startup bootrom-access enable command to specify a switch to prompt for the customized password before entering the BOOT menu.
3Com Switch 4200G Family Command Reference stp interface cost Use the stp interface cost command to set the path cost of specified ports in a specified spanning tree instance. System view stp interface edged-port Use the stp interface edged-port command to configure the specified Ethernet ports to be either edge ports or non-edge ports. System view stp interface loop protection Use the stp interface loop-protection command to enable the loop prevention function.
3Com Switch 4200G Family Command Reference 39 stp port priority Use the stp port priority command to set the priority of the current port in a specified spanning tree instance. Ethernet Port view stp priority Use the stp priority command to set the priority of a switch in a spanning tree instance. System view stp region-configuration Use the stp region-configuration command to enter MST region view.
3Com Switch 4200G Family Command Reference tcp timer fin-timeout Use the tcp timer fin-timeout command to configure the TCP finwait timer. System view tcp timer syn-timeout Use the tcp timer syn-timeout command to configure the TCP synwait timer. System view tcp window Use the tcp window command to configure the size of the transmission and receiving buffers of the connection-oriented socket.
3Com Switch 4200G Family Command Reference 41 timer Use the timer command to set the interval to send handshake packets. Cluster view timer Use the timer command to set the response timeout time of RADIUS server (that is, the timeout time of the response timeout timer of RADIUS server). RADIUS Scheme view timer quiet Use the timer quiet command to set the wait time for the primary server to restore the active state.
3Com Switch 4200G Family Command Reference traffic-statistic Use the traffic-statistic command to use ACL rules in traffic identifying and perform traffic statistics on the packets matching with the ACL rules. System view udp-helper enable Use the udp-helper enable command to enable the UDP Helper function. System view udp-helper port Use the udp-helper port command to configure the UDP port with relay function.
3Com Switch 4200G Family Command Reference 43 vlan-vpn uplink enable Use the vlan-vpn uplink enable command to configure a port to be a VLAN-VPN uplink port. Ethernet Port view voice vlan Use the voice vlan command to enable the voice VLAN function globally. System view Web command: Device -> Voice voice vlan aging Use the voice vlan aging command to set the aging time for a voice VLAN. System view voice vlan enable Use the voice vlan enable command to enable the voice VLAN function for a port.