3Com 10014917 User Manual

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 24-Port (3CR17661-91)
Switch 4200G 48-Port FX (3CR17662-91)
Switch 4200G 1-Port 10Gigabit Module (XFP) (3C17666)
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 prompted. The User View menu for the unit
displays. This is indicated by the chevron brackets around the name of the unit at the prompt, for example, <sw4200G>.
â–  When in the System View menu, square brackets appear around the name of the unit at the prompt, for example,
[sw4200G].
â–  You must be in the System View menu to access the configurable CLI commands.
â–  Some commands can be entered directly at any prompt from anywhere in the interface.
â–  If you enter part of a command followed by a ? (with no space between), the CLI will show you all the commands
that begin in that way.
■ The term ‘view’ may be used interchangeably with the term ‘menu’.
â–  The undo command is placed before the command you wish to undo, for example, undo setauthentication password.
â–  <CTRL-A> places the cursor back to the start of the command line.
â–  Enter the first few characters of a command and press TAB to enter the full command without having to input the
entire command (where there is only one command that starts with the entered characters).
â–  Use the Up Arrow key at the prompt to repeat the previous command string.
â–  Use the Delete key to delete the character after the cursor; the Backspace key deletes the character before the cursor.
â–  When entering physical port numbers, Enter the port number as x/0/z, where x is the unit number and z is the
physical port number.
Copyright © 2006, 3Com Corporation. All rights reserved. www.3Com.com Part Number: 10014917 Rev. AA Published: July 2006
2 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:
<sw4200G>boot ?
The following parameters are displayed:
attribute-switch
boot-loader
bootrom
web-package
Exchange the file main-attribute and backup-attribute.
Select a file to boot at the next time
Update Bootrom
Set web resource package
To specify boot loader, enter the command as follows:
<sw4200G>boot boot-loader ?
You only need to enter ? if parameters exist for the command.
Displaying Parent Menus
At the prompt, enter quit.
Displaying the User View Menu
Press <CTRL-Z>.
Obtaining Help
At the prompt, enter ?.
Further Information
For further information about how to use the command line interface, refer to the Command Reference Guide and the Configuration Guide, which are both available as PDF documents on the CD that accompanied the unit.
Commands

access-limit

Use the access-limit command to set the maximum number of access users that can be contained in current ISP domain.
ISP Domain view

accounting

Use the accounting command to configure an accounting scheme for the current ISP domain.
ISP Domain view

accounting domain

Use the accounting domain command to enable the DHCP accounting function.
DHCP Address Pool view

accounting-on enable

Use the accounting-on enable command to enable user re-authentication upon device restart function.

accounting optional

Use the accounting optional command to open the accounting-optional switch.
acl
Use the acl command to reference ACL and implement the ACL control to the TELNET users.
Web command: Security -> Authorized IP
RADIUS Scheme view
ISP Domain view
RADIUS Scheme view
User Interface view
3Com Switch 4200G Family 3 Command Reference
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.
Cluster view

address-check

Use the address-check command to enable or disable DHCP relay security on a VLAN interface, so as to start or stop the validity check on user addresses under the VLAN interface.
VLAN Interface view

administrator-address

Use the administrator-address command to store the MAC address of the management device on a member device.
Cluster view
Web command: Port -> Statistics

am user-bind

Use the am user-bind command to bind the MAC and IP addresses of a legal user to a specified port.
System view
Ethernet Port view

apply qos-profile

Use the apply qos-profile command to manually apply the QoS profile to the current port.
Ethernet Port view
Web command: Device -> ACL/QoS -> Profile

apply qos-profile interface

Use the apply qos-profile interface command to manually apply a QoS profile to one or more consecutive ports.
System view

arp check enable

Use the arp check enable command to enable the ARP entry checking function, that is, to disable a switch from creating multicast MAC address ARP entries for MAC addresses learned.
System view

arp static

Use the arp static command to configure the static ARP mapping entries in the ARP mapping table.
System view

arp timer aging

Use the arp timer aging command to configure the aging time for dynamic ARP mapping entries.
System view

ascii

Use the ascii command to configure data transmission mode as ASCII mode.
FTP Client view

attribute

Use the attribute command to configure attributes of a user whose service type is lan-access.
Local User view
Web command: Administration -> System

authentication

Use the authentication command to configure an authentication scheme for the current ISP domain.
ISP Domain view

authentication-mode

Use the command authentication-mode to specify the authentication mode.
User Interface view

authorization

Use the authorization none command to allow users in the current ISP domain to use network services without being authorized.
ISP Domain view
4 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.
FTP Client view

black-list add-mac

Use the black-list add-mac command to add a device into the blacklist.
Cluster view

black-list delete-mac

Use the black-list delete-mac command to delete a device from the blacklist.
Cluster view

boot attribute-switch

Use the boot attribute-switch command to switch between the main and backup attribute for all the files or a specified type of files. This changes a file with the main attribute to one with the backup attribute, or vice versa.
User view

boot boot-loader

Use the boot boot-loader command to configure an app file to be of the main attribute. The app file specified by this command becomes the main startup file when the device starts the next time.
User view

boot boot-loader

Use the boot boot-loader command to specify the host software that will be adopted when the current switch or a specified switch in the fabric reboots next time.
User view

boot boot-loader backup-attribute

Use the boot boot-loader backup-attribute command to configure an app file to be of the backup attribute.
User view

boot bootrom

Use the boot bootrom command to update the BootROM.
User view

boot web-package

Use the boot web-package command to configure a Web file to be of the main or backup attribute.
User view

broadcast-suppression

Use the broadcast-suppression command to define the broadcast traffic ratio allowed on one port or each of the ports.
System view
Web command: Port -> Administration

build

Use the build command to configure a cluster with the current switch as the management device. Argument name specifies the name of the cluster.
Cluster view
bye
Use the bye command to terminate the connection to the remote SFTP server and return to system view.
SFTP Client view
bye
Use the bye command to terminate the control connection and data connection with the remote FTP server and quit to user view.
FTP Client view
cd
Use the cd command to change the current path on the remote SFTP server.
SFTP Client view
3Com Switch 4200G Family 5 Command Reference
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.
FTP Client view

check region-configuration

Use the check region-configuration command to display the configurations of the MST regions that are not activated.
MST Region view

clock datetime

Use the clock datetime command to set the current system time and date.
User view

clock summer-time

Use the clock summer-time command to set the name, time range, and offset of the daylight saving time.
User view

clock timezone

Use the clock timezone command to set local time zone information.
User view

close

Use the close command to terminate an FTP connection without quitting FTP client view.
FTP Client view

cluster

Use the cluster command to enter cluster view.
System view

cluster enable

Use the cluster enable command to enable the cluster function on a switch.
System view

cluster-local-user

Use the cluster-local-user command to configure a Web username and password for all cluster members.
Cluster view

cluster-mac

Use the cluster-mac command to configure a multicast MAC address for cluster management. Run this command only on the management device only.
Cluster view

cluster-mac syn-interval

Use the cluster-mac syn-interval command to set the interval for the management device to send multicast packets. This command can be executed on the management device only.
Cluster view

cluster-snmp-agent community

Use the cluster-snmp-agent community command to configure a SNMP community for a cluster to enable SNMP access.
Cluster view

cluster-snmp-agent group v3

Use the cluster-snmp-agent group command to configure a SNMP group for a cluster to map SNMP users to the SNMP view.
Cluster view

cluster-snmp-agent mib-view included

Use the cluster-snmp-agent mib-view command to create or update the information about the MIB view configured for a cluster.
Cluster view
6 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.
User view

command-privilege level

Use the command-privilege level command to set the level of the specified command in a specified view.
System view

copy

Use the copy command to copy a file.
User view

copy configuration

Use the copy configuration command to copy the configuration of a specific port to other ports, to ensure consistent configuration.
System view

cut connection

Use the cut connection command to cut the connection a user or a category of users by force.
System view

data-flow-format

Use the data-flow-format command to set the units of measure for the data flow sent to the RADIUS Server.
RADIUS Scheme view

databits

Use the databits command to set the databits for the user interface.
User Interface view

debugging

Use the debugging command to enable the system debugging.
User view

debugging

Use the debugging command to enable the system debugging.
User view

debugging arp packet

Use the debugging arp packet command to enable ARP debugging.
User view

debugging dhcp client

Use the debugging dhcp client command to enable debugging for the DHCP client/BOOTP client.
User view

debugging dhcp-relay

Use the debugging dhcp-relay command to enable DHCP relay debugging.
User view

debugging DLDP

Use the debugging dldp command to enable specific debugging for DLDP on all ports with DLDP enabled.
User view

debugging ntp-service

Use the debugging ntp-service command to debug different NTP (network time protocol) services.
User view

debugging radius

Use the debugging radius command to enable the debugging for RADIUS protocol.
User view

debugging snmp-agent

Use the debugging snmp-agent command to enable SNMP Agent debugging.
User view
3Com Switch 4200G Family 7 Command Reference

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.

delete

Use the delete command to delete the specified remote file.

delete-member

Use the delete-member command to remove a member device from the cluster.

delete static-routes all

Use the delete static-routes all command to delete all the static routes.

description

Use the description command to enter a description of an Ethernet port.

description

Use the description command to assign a description string for the VLAN.
undo description command to restore the default description string.
Use the

description

Use the description command to assign a description string to a VLAN or a VLAN interface.

description

Use the description command to define the description information of an ACL to describe the specific purpose of the ACL.

dhcp relay information enable

Use the dhcp relay information enable command to enable option 82 supporting on a DHCP relay, through which you can enable the DHCP relay to insert option 82 into DHCP request packets sent to a DHCP server.

dhcp relay information strategy

Use the dhcp relay information strategy command to instruct a DHCP relay to perform specified operations to DHCP request packets that carry option 82.

dhcp-security static

Use the dhcp-security static command to configure a static user address entry.

dhcp-server

Use the dhcp-server command to map the current VLAN interface to a DHCP server group.

dhcp-server ip

Use the dhcp-server ip command to configure the DHCP server IP address(es) in a specified DHCP server group.
dir
Use the dir command to display the information about the specified files or directories on a switch.
Web command: Device -> IP Route
Web command: Security -> RADIUS Client
Web command: Device -> VLAN
SFTP Client view
FTP Client view
Cluster view
System view
Ethernet Port view
VLAN view
VLAN view
VLAN Interface view
Basic ACL view
Advanced ACL view
Layer 2 ACL view
System view
System view
System view
VLAN Interface view
System view
User view
8 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.
FTP Client view

display acl

Use the display acl command to view the detailed configuration information of an ACL, including each rule and its number as well as the number and size in bytes of the data packets that match the statement.
Any view

display am user-bind

Use the display am command to view whether address management is enabled and to display IP address pool configuration.
Any view

display arp

Use the display arp command to display the ARP mapping table entries by entry type, or by a specified IP address.
Any view

display arp count

Use the display arp count command to display the number of the specified type of ARP mapping entries.
Any view

display arp timer aging

Use the display arp timer aging command to view the current setting of the dynamic ARP aging timer.
Any view

display boot-loader

Use the display boot-loader command to display the information about the app startup files of a switch, including the current app startup file name, the main and backup app startup files to be used when the switch starts the next time.
Any view

display boot-loader

Use the display boot-loader command to display the host software (.bin file) that will be adopted when the switch reboots.
Any view

display bootp client

Use the display bootp client command to display BOOTP client-related information, including the MAC address of the BOOTP client and the IP address obtained.
Any view

display brief interface

Use the display brief interface command to display the configuration information about one specific or all ports in brief, including the port type, connection state, connection rate, duplex attribute, link type and default VLAN ID.
Any view

display channel

Use the display channel command to display the details about the information channel.
Any view

display clock

Use the display clock command to display the current date and time of the system, so that you can adjust them if they are wrong.
Any view

display cluster

Use the display cluster command to display the state and basic configuration information of the cluster that contains the current switch.
Any view

display cluster base-topology

Use the display cluster topology command to display the standard topology view of the cluster.
Any view
3Com Switch 4200G Family 9 Command Reference

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.
Any view

display cluster members

Use the display cluster members command to display the information about cluster members.
Any view

display connection

Use the display connection command to view the information for a specified connection type.
Any view

display cpu

Use the display cpu command to display CPU usage of a specified switch.
Any view

display current-configuration

Use the display current-configuration command to display the current configuration of a switch.
Any view

display debugging

Use the display debugging command to display the enabled debugging on a specified device.
Any view

display debugging habp

Use the display debugging habp command to display the state of HABP debugging.
Any view

display device

Use the display device command to display the information, such as the module type and operating status, about each board (main board and sub-board) of a specified switch.
Any view

display dhcp client

Use the display dhcp client command to display the DHCP client-related information.
Any view

display dhcp-security

Use the display dhcp-security command to display one or all user address entries, or a specified type of user address entries in the valid user address table of a DHCP server group.
Any view

display dhcp-server

Use the display dhcp-server command to display information about a specified DHCP server group.
Any view

display dhcp-server interface vlan-interface

Use the display dhcp-server interface vlan-interface command to display information about the DHCP server group to which a VLAN interface is mapped.
Any view

display dhcp-snooping

Use the display dhcp-snooping command to display the user IP-MAC address mapping entries recorded by the DHCP snooping function.
Any view

display dhcp-snooping

Use the display dhcp-snooping command to display the correspondence between user IP addresses and MAC addresses recorded by the DHCP snooping function.
Any view

display dhcp-snooping trust

Use the display dhcp-snooping trust command to display the (enabled/disabled) state of the DHCP snooping function and the trusted ports.
Any view
10 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.
Any view

display domain

Use the display domain command to view the configuration information of a specified ISP domain or display the summary information of all ISP domains.
Any view

display dot1x

Use the display dot1x command to view the relevant information of 802.1x.
Any view

display fib

Use the display fib command to view the summary of the forwarding information base.
Any view

display ftp-server

Use the display ftp-server command to display the FTP server-related settings of a switch when it operates as an FTP server.
You can use this command to verify FTP server-related configurations.
Any view

display ftp-user

Use the display ftp-user command to display the settings of the current FTP user, including the user name, host IP address, port number, connection idle time, and authorized directory.
Any view

display garp statistics

Use the display garp statistics command to display the GARP statistics on specified (or all) ports.
Any view

display garp timer

Use the display garp timer command to display the values of the GARP timers on specified or all ports.
Any view

display gvrp statistics

Use the display gvrp statistics command to display the GVRP statistics about specified (or all) Trunk ports.
Any view

display gvrp status

Use the display gvrp status command to display the enable/disable status of global GVRP.
Any view

display habp

Use the display habp command to display HABP configuration and status information.
Any view

display habp table

Use the display habp table command to display the MAC address table maintained by HABP.
Any view

display habp traffic

Use the display habp traffic command to display statistics on HABP packets.
Any view

display history-command

Use the display history-command command to display history commands.
Any view

display icmp statistics

Use the display icmp statistics command to view the statistics information about ICMP packets.
Any view

display igmp-snooping configuration

Use the display igmp-snooping configuration command to display the configuration information about IGMP Snooping.
Any view
3Com Switch 4200G Family 11 Command Reference

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.
Any view

display info-center

Use the display info-center command to display system log settings and memory buffer record statistics.
Any view

display interface

Use the display interface command to view the configuration information on the selected interface.
Any view

display interface VLAN-interface

Use the display interface vlan-interface command to display the information about the management VLAN interface, including the physical and link status, the format of the sent frames, the MAC address, IP address (and subnet mask), description string and MTU (maximum transmit unit) of the management VLAN.
Any view

display ip host

Use the display ip host command to display all host names and their corresponding IP addresses.
Any view

display ip interface vlan-interface

Use the display ip interface vlan-interface command to view information on the specified interface.
Any view

display ip routing-table

Use the display ip routing-table command to display the summary information about the routing table.
Any view

display ip routing-table acl

Use the display ip routing-table acl command to display the routes permitted by the specified basic ACL.
Any view.

display ip routing-table ip-address

Use the display ip routing-table ip-address command to display the information about the routes leading to the destination.
Any view

display ip routing-table ip-address1 ip-address2

Use the display ip routing-table ip-address1 ip-address2 command to display the information about the routes with their destinations within the specified destination IP address range.
Any view

display ip routing-table ip-prefix

Use the display ip routing-table ip-prefix command to display the information about the routes matching a specified IP prefix list.
Any view

display ip routing-table protocol

Use the display ip routing-table protocol command to display the information about specific routes.
Any view

display ip routing-table radix

Use the display ip routing-table radix command to view the route information in a hierarchical (tree) structure.
Any view

display ip routing-table statistics

Use the display ip routing-table statistics command to display the statistics of a routing table.
Any view

display ip routing-table verbose

Use the display ip routing-table verbose command to display the detailed information about a routing table.
Any view
12 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.
Any view

display lacp system-id

Use the display lacp system-id command to view actor system ID, including system priority and system MAC address.
Any view

display link-aggregation interface

Use the display link-aggregation interface command to display the link aggregation details about a specified port or port range.
Any view
Use the
display link-aggregation interface command to display the link aggregation details about a
specified port or port range, including:

display link-aggregation summary

Use the display link-aggregation summary command to display summary information of all aggregation groups, including device ID of the local end, aggregation group ID, aggregation group type, device ID of the remote end, number of the selected ports, number of the unselected ports, load sharing type and master port number.
Any view

display link-aggregation verbose

Use the display link-aggregation verbose command to display the details about a specified aggregation group.
Any view

display local-server statistics

Use the display local-server statistics command to view the statistics of all local RADIUS authentication server.
Any view

display local-user

Use the display local-user command to view information about all the local users or the specified one(s).
Any view

display logbuffer

Use the display logbuffer command to display the status of the log buffer and the records in the log buffer.
Any view

display logbuffer summary

Use the display logbuffer summary command to display the summary of the log buffer.
Any view

display-loopback-detection

Use the display loopback-detection command to display the loopback detection status on the port.
Any view

display mac-address

Use the display mac-address command to display MAC address table information.

display mac-address aging-time

Use the display mac-address aging-time command to display the aging time of the dynamic entry in the MAC address table.

display mac-address multicast static

Use the display mac-address multicast static command to display the multicast MAC address entries manually configured on the switch, with each entry containing the following information: multicast MAC address, VLAN ID, MAC address state, port number(s), and aging time of each port.
Any view
Any view
Any view
3Com Switch 4200G Family 13 Command Reference

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.
Any view

display mirroring-group

Use the display mirroring-group command to display the parameter settings of a port mirroring group.

display ndp

Use the display ndp command to display global NDP configuration information, including the interval to send NDP packets, the holdtime of NDP information, and the information about the neighbors of all the ports.

display ntdp

Use the display ntdp command to display the global NTDP information. The information includes the range (in hop count) within which topology information is collected, the interval to collect topology information (the NTDP timer), the delay time for a device to forward topology-collection requests, the delay time for a topology-collection request to be forwarded through a port, and the time cost during the last topology collection.

display ntdp device-list

Use the display ntdp device-list command to display the device information collected through NTDP.

display ntdp single-device mac-address

Use the display ntdp single-device mac-address h-h-h command to display the information about a specific device in detail.

display ntp-service sessions

Use the display ntp-service sessions command to display the status of all the sessions maintained by NTP (Network Time Protocol) service provided by the local equipment.

display ntp-service status

Use the command display ntp-service status to display the NTP service status.

display ntp-service trace

Use the display ntp-service trace command to display the brief information of each NTP time server along the time synchronization chain from the local device to the reference clock source.

display packet-filter

Use the display packet-filter command to view the application information of packet filtering, including the ACL name, rule names, and application status.

display port

Use the display port command to display all current ports with their type indicated.

display port-security

Use the display port-security command to display the information about port security configuration (including global configuration and all or specific port configuration).

display port vlan-vpn

Use the display port vlan-vpn command to display the information about the VLAN VPN configuration of the current system, including current TPID value, VLAN-VPN ports, and VLAN-VPN uplink ports.
Any view
Any view
Any view
Any view
Cluster view
Any view
Any view.
Any view
Any view
Any view
Any view
Any view
Loading...
+ 30 hidden pages