3Com Switch 4500 Family
3Com Corporation Campus Drive Marlborough, MA USA
Contents
Rstp Configuration Commands
Igmp Snooping Configuration Commands
184 QoS Configuration Commands List 190
Stack Commands 207
Accessing the Bootrom Interface 455 Boot Menu
Page
Alphabetical Listing of Commands
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
About this Guide
Text conventions
This guide uses the following conventions
Icons
Related
About this Guide
Using System Access Commands
Description
Authentication-mode Syntax
View
Parameter
System View
Auto-execute command Syntax
Text Specifies the command to be run automatically
Command-privilege level Syntax
Databits 7 Undo databits
4500command-privilege level 0 view system interface
Databits Syntax
Sets the data bits to
Display user-interface Syntax
Syntax
Display the summary information of user interface
Output description of the display user-interfacecommand
Summary Display the summary of a user interface
Information is displayed in the following format
Information displays in the following format
Output description of the display users command
Display users Syntax
All Enter to display information on all user interfaces
User view
Flow-control Syntax
Free user-interface Syntax
4500free user-interface aux
Header Syntax
Press the Enter key
Initial character % is not the header contents
Mode 2 Input in several lines
Idle-timeout minutes seconds Undo idle-timeout
Initial character % is the header contents
Idle-timeout Syntax
4500user-interface aux Ui-aux0history-command max-size
Ui-aux0language-mode chinese
Language-mode Syntax
Lock Syntax
Language-mode chinese english
Parity even mark none odd space Undo parity
To lock the current user interface, enter the following
Parity Syntax
Protocol inbound Syntax
4500user-interface vty Ui-vty0protocol inbound ssh
Configure SSH protocol supported by VTY0 user interface
VTY user interface view
Quit Syntax
Screen-length Syntax
Return Syntax
System view or higher
Send all number type
Service-type Syntax
Send Syntax
View Local-user View
4500local-user zbr Luser-zbrservice-type telnet level
Shell Undo shell
Shell Syntax
Speed speed-value Undo speed
Speed Syntax
Stopbits Syntax
4500user-interface vty 0
Super level
Sets the stop bits to
Super Syntax
To change to user level 3 from the current user level
Sysname Syntax
Super password Syntax
To set the password for level 3 to zbr, type the following
4500super password level 3 simple zbr
4500sysname 3Com
System-view Syntax
To enter system view from user view, enter the following
Telnet Syntax
User-interface Syntax
User privilege level level Undo user privilege level
User privilege level Syntax
SW4500system-view
SW4500user-interface 0
Ethernet Port Link Aggregation Commands
Using Port Commands
Using Port Commands
Port to other ports, to ensure consistent configuration
Ports on your Switch
Copy configuration Syntax
Interface command
Ethernet1/0/1broadcast-suppression pps
Ethernet Port View
Description Syntax
Undo broadcast-suppression
4500display interface Ethernet 1/0/1
Display interface Syntax
Vlan
Output Description of the Display Interface Command
4500display loopback-detection
Display loopback-detection
Any view
Details display in the following format
Display port Syntax
Display unit Syntax
Parameters
Related command speed
Display the port information for all ports on Unit
Duplex Syntax
Flow-control Undo flow-control
Interface Syntax
Loopback external internal
Loopback Syntax
External External loop test Internal Internal loop test
4500interface ethernet1/0/1
Loopback-detection Syntax
Enable port loopback detection control
Ethernet1/0/1loopback-detection control enable
4500loopback-detection interval-time
To enable port loopback detection, enter the following
Related commands display loopback-detection
Mdi across auto normal Undo mdi
Ethernet1/0/1loopback-detection per-vlan enable
Mdi Syntax
Multicast-suppression Syntax
Port hybrid pvid vlan Syntax
Port access vlan Syntax
To assign Ethernet port 1/0/1 to VLAN3, enter the following
Port hybrid vlan Syntax
4500interface e1/0/1
Port link-type Syntax
Ethernet1/0/1port trunk permit vlan 2 4 50 to
Port trunk permit vlan Syntax
All Enter to add the trunk port to all VLANs
Port trunk pvid vlan Syntax
Ethernet1/0/1port trunk pvid vlan
Reset counters interface Syntax
Shutdown Syntax
Undo form of this command is
Unicast-suppression ratio pps pps Undo unicast-suppression
Related command duplex
Unicast-suppression Syntax
Ethernet1/0/1unicast-suppression
4500debugging link-aggregation event
4500debugging link-aggregation error
Debugging lacp packet Syntax
4500debugging lacp packet interface ethernet1/0/1
Debugging lacp state Syntax
4500display link-aggregation summary
To enable all Lacp state machines debugging
4500debugging lacp state all
Display link-aggregation summary
4500display link-aggregation verbose
Display link-aggregation verbose aggid
4500display link-aggregation interface ethernet4/0/1
To display the local system ID
Lacp enable Syntax
Display lacp system-id Syntax
Lacp system-priority Syntax
To enable Lacp at Ethernet1/0/1, enter the following
Lacp port-priority Syntax
To set port priority as 64, enter the following
4500lacp system-priority
To set system priority as 64, enter the following
Aggid Aggregation group ID, in the range of 1 to
To create manual aggregation group 22, enter the following
Related command display link-aggregation summary
4500link-aggregation group 22 mode manual
4500reset lacp statistics
Reset lacp statistics Syntax
Related command display link-aggregation interface
Using Port Commands
Voice Vlan Commands
Using Vlan Commands
To give VLAN1 the description RESEARCH, enter the following
VLANs and Vlan interfaces on your system
Vlan view
Display vlan vlanid all static dynamic
Related command interface Vlan-interface
Display vlan Syntax
4500display interface vlan-interface
Interface VLAN-interface Syntax
Examples
To display information about Vlan
Port Syntax
For the related command, see display vlan
Related command display interface vlan-interface
To enter the interface view of VLAN1, enter the following
Vlan2port ethernet1/0/2 to ethernet1/0/4
Add Ethernet1/0/2 through Ethernet1/0/4 to Vlan
Vlan Interface View
Restart interface after shutting down the interface
4094 All Delete all VLANs
Is default Vlan and cannot be deleted
Related commands display vlan
Vlan Syntax
Display voice vlan status
Display voice vlan status Syntax
Voice vlan aging Syntax
Voice vlan enable Syntax
Voice vlan macaddress Syntax
Voice vlan vlanid enable Undo voice vlan enable
4500voice vlan 2 enable
Voice vlan Syntax
To set the Voice Vlan in manual mode, enter the following
For the related command, see display voice vlan oui
Voice vlan mode Syntax
Voice vlan mode auto Undo voice vlan mode auto
Voice vlan security enable Undo voice vlan security enable
By default, the Voice Vlan security mode is enabled
4500undo voice vlan mode auto
4500undo voice vlan enable 4500undo voice vlan mode auto
Commands
Any view
PoE on your Switch 4500 PWR
Port or all ports on the Switch
Display poe interface Syntax
4500display poe interface power ethernet1/0/10
Display poe power Syntax
Display the power information of port Ethernet1/0/10
Display poe powersupply View
Display the power information of all ports
Display poe Syntax Powersupply
4500display poe power
Display the PSE parameters
Poe enable Syntax
Enable the PoE feature on the current port
Poe legacy enable Syntax
Poe max-power Syntax
Enable the nonstandard-PD detect function
Disable the nonstandard-PD detect function
Set the PoE mode on current port to signal
Set the maximum power supplied by current port
Restore the default maximum power on the current port
Poe mode Syntax
Poe priority Syntax
Configure the PoE management mode on port to auto
Restore the default management mode
Ethernet1/0/3poe priority critical
Poe update Syntax
Poe update refresh full filename
Set the port priority to critical
4500poe update refresh 0290021.s19
Update the PSE processing software online
Access Management Configuration Commands
ARP Configuration Commands
Dhcp Client Configuration Commands
Dhcp Relay Configuration Commands
IP Performance Configuration Commands
UDP Helper Configuration Commands
Corresponding IP addresses
Addressing on your Switch
Display ip host Syntax
Vlan Interface view
Configure the IP address of interface Vlan interface 1 as
Ip address Syntax
Ip host Syntax
Related command display ip host
Address Resolution Protocol ARP operations on your Switch
Arp check enable Syntax
Undo arp static ipaddress
4500undo arp check enable
Arp static Syntax
4500arp static 202.38.0.10 00e0-fc01-0000 1 Ethernet1/0/1
Related commands reset arp, display arp, debugging arp
4500arp timer aging
4500arp static 202.38.0.10 00e0-fc01-0000 1 arp timer aging
Arp timer aging agingtime Undo arp timer aging
Related commands display arp timer aging
Display arp Syntax
To enable ARP packet debugging, enter the following
For the related commands, see
Output Description of the debugging arp packet Command
4500display arp
Display arp timer aging Syntax
Output Description of the display arp Command
Display arp timer aging
4500reset arp static
Reset arp Syntax
Reset arp dynamic static interface interfacetype
Related command arp static, display arp
Debugging dhcp xrn xha Syntax
Display dhcp client verbose
Display dhcp client Syntax
Ip address dhcp-alloc Syntax
4500debugging dhcp xrn xha
Debugging dhcp-relay
Address using Dhcp
Debugging. By default, Dhcp relay debugging is disabled
To enable Dhcp relay debugging, enter the following
Dhcp-server groupNo Undo dhcp-server
Dhcp-server Syntax
GroupNo Enter a Dhcp Server group number, in the range 0 to
Dhcp-server ip Syntax
Display dhcp-server Syntax
Display dhcp-server interface vlan-interface vlanid
Views
Vlanid Enter the Vlan interface number
4500display dhcp-server
Am ip-pool Syntax
Am enable Syntax
Am enable Undo am enable
4500am enable
Am trap enable Undo am trap enable
Am trap enable Syntax
Display am Syntax
By default, the access management trap is disabled
To enable the access management trap, enter the following
4500am trap enable
Port isolate Syntax
Output Description of the display am Command
Display isolate port Syntax
To display port isolation information, enter the following
Not available
UDP Helper Configuration operations on your Switch
By default, UDP Helper debugging is disabled
To enable UDP Helper packet debugging, enter the following
Udp-helper port Syntax
To enable the UDP Helper function
Syntax Server
Interface 1, enter the following
4500udp-helper port dns
Udp-helper server Syntax
Ip-addressEnter the IP address of the destination server
Hop, current flag, timestamp and outbound interface
Performance Configuration operations on your Switch
Display fib Syntax
Number Enter the ACL in number form, in the range 2000 to
Display fib ipaddress Syntax
Longer All FIB entries matched in the natural mask range
Display fib acl Syntax
4500display fib begin
Display fib ip-prefix Syntax
4500display fib acl
Display fib begin include exclude text
Display icmp statistics Syntax
Display fib statistics Syntax
Sock-typeEnter the type of a socket tcp1, udp 2, raw ip
Output Description of the display icmp statistics Command
To view statistics about Icmp packets, enter the following
Display ip socket Syntax
Display ip statistics
Display ip statistics Syntax
4500display ip socket socktype
4500display ip statistics
Output Description of the display ip statistics Command
Related commands display ip interface, reset ip statistics
To view statistics about IP packets, enter the following
Display tcp statistics
Related commands display tcp status, reset tcp statistics
Display tcp statistics Syntax
To view statistics about TCP packets, enter the following
Display udp statistics Syntax
Output Description of the display tcp status Command
Display tcp status Syntax
To clear the IP statistics information, enter the following
Reset ip statistics Syntax
Reset tcp statistics Syntax
Tcp timer syn-timeout Syntax
Reset udp statistics Syntax
Tcp timer fin-timeout Syntax
Tcp window Syntax
Undo tcp timer syn-timeout
Related commands tcp timer fin-timeout,tcp window
4500tcp timer syn-timeout
4500tcp window
Using Network Protocol Commands
RIP Configuration Commands
Static Route Configuration Command
Display ip routing-table
IP Routing Policy Commands
Display ip routing-table Syntax
Display ip routing-table acl aclnumber verbose
Output Description of the display ip routing-tableCommand
4500display ip routing-table
4500display ip routing-table acl 2000 verbose
4500acl number Acl-basic-2000rule permit source 10.1.1.1
Acl-basic-2000display ip routing-table acl
Verbose
Ipaddress
Display ip routing-table ipaddress mask longer-match
View
Display ip routing-table ip-prefix ipprefixname verbose
Ip-prefix
4500display ip routing- .1.1.0 24 2.2.2.0
4500display ip routing-table ip-prefix abc2 verbose
4500display ip routing-table protocol static
Display ip routing-table protocol protocol inactive verbose
4500display ip routing-table protocol direct
Display ip routing-table statistics
To display the route information, enter the following
Display ip routing-table radix
4500display ip routing-table radix
Display ip routing-table verbose
Command
4500display ip routing-table statistics
Descriptor Meaning
4500display ip routing-table verbose
Ip route-static Syntax
Delete static-routes all Syntax
Delete all the static routes in the router
Description
Checkzero Syntax
Default cost Syntax
Display rip
Undo default cost
Ripdefault cost
Display rip Syntax
Filter-policy export Syntax
Output Description of the display rip Command
Ripfilter-policy 2000 export
Related commands acl, filter-policy import, ip ip-prefix
Filter-policy import Syntax
Import-route Syntax
Host-route Syntax
Ripimport-route static cost
Related commands default cost
Network Syntax
Networkaddress Enter the IP network address of an interface
Undo peer ipaddress
Peer Syntax
Ipaddress Enter the interface IP address of the peer router
Ripnetwork
To specify a RIP preference of 20, enter the following
Reset Syntax
Reset the RIP system
Preference Syntax
Interface View
To enable RIP, and enter RIP view, enter the following
Rip authentication-mode Syntax
Rip Syntax
Vlan-interface1rip authentication-mode simple aaa
MD5 cipher text authentication key for RIP-2
Related command rip version
Rip input Undo rip input
Vlan-interface1rip authentication-mode md5 usual aaa
Rip input Syntax
Rip metricin Syntax
Rip output Undo rip output
Rip metricout Syntax
Rip output Syntax
Rip metricout value Undo rip metricout
Rip split-horizon Undo rip split-horizon
Rip split-horizon Syntax
Rip version Syntax
Summary Syntax
Rip work Syntax
Ripundo summary
Timers Syntax
Undo timers update timeout
Riptimers update 10 timeout
Route Policy View
These commands operate across all routing protocols
Related command ip ip-prefix
Apply cost Syntax
Routepolicyname Specify displayed Route-policy name
Output Description of the display ip-ip prefix Command
Output Description of the display route-policyCommand
Display route-policy Syntax
If-match cost value Undo if-match cost
If-match acl ip-prefix Syntax
Route policy view
If-match cost Syntax
Route-policyif-match interface Vlan-interface
By default, no match sub-statement is defined
If-match interface Syntax
Undo if-match interface
Route-policyif-match ip next-hop ip-prefix p1
If-match ip next-hop Syntax
Ip ip-prefix Syntax
Description
4500route-policy policy permit node
Route-policy Syntax
Route-policy
Using Routing Protocol Commands
Using Multicast Protocol
Member port timeout
Igmp configuration commands on your Switch
Display igmp-snooping Syntax Configuration
Snooping configuration information
Display igmp-snooping statistics
Display the multicast group information about VLAN2
Display statistics information about Igmp Snooping
4500display igmp-snooping group vlan
Igmp-snooping Syntax
Enable Igmp Snooping on Vlan
Igmp-snooping enable disable
4500igmp-snooping host-aging-time
Configure to respond to the Igmp Snooping packet within 20s
Set the aging time to 300 seconds
4500igmp-snooping router-aging-time
Reset igmp-snooping statistics
Clear Igmp Snooping statistics information
4500igmp-snooping max-response-time
4500reset igmp-snooping statistics
Using Multicast Protocol Commands
Logon user’s ACL Control Command
QoS Configuration Commands List
Acl Syntax
Number chosen from 2000 to
Display the content of all the ACLs
Display acl Syntax
All Displays all ACLs
4500display packet-filter unitid
Packet-filter Syntax
Define or delete the subrules of an advanced ACL
Reset acl counter Syntax
Define or cancel the subrules of user-defined ACL
Rule Syntax Define or delete the subrules of a basic ACL
Parameters specific to advanced ACLs
Corresponding ACL View
Parameters specific to basic ACLs
Parameter for user-defined ACL
Parameters specific to Layer 2 ACL
Display mirror Syntax
Display qos-interface all Syntax
Unit-id Unit ID of the Switch
Display COS and Local-precedence map
Display qos-interface line-rate
Display all the configurations of QoS parameters for unit
Unit-idUnit ID of the Switch
Display qos-interface 1 all
Undo line-rate
Related command mirrored-to
Display the traffic limit settings
Line-rate Syntax
4500interface Ethernet 1/0/1 4500line-rate outbound
Mirrored-to Syntax
Mirroring-port inbound outbound both Undo mirroring-port
Related command display qos-interface mirrored-to
Mirroring-port Syntax
4500interface Ethernet 1/0/4
Monitor-port Syntax
Priority Syntax
Monitor-port Undo monitor-port
Priority trust Undo priority
Set the priority of Ethernet1/0/1 port to
Priority trust Syntax
Undo qos cos-local-precedence-map
Following is the default CoS and Local Precedence table
Default CoS and Local-precedence table
4500qos cos-local-precedence-map 0 1 2 3 4 5 6
Configure CoS and Local Precedence table
Queue-indexindex of output queue, in the range of 0~7
Wred Syntax
Local Switch using Telnet
Use the undo wred command to restore the default settings
By default, the wred function is disabled
Switch
4500ip http acl
Ip http acl Syntax
Snmp-agent community Syntax
Ip http acl acl-number Undo ip http acl
4500snmp-agent community read MyCompany acl
Snmp-agent group Syntax
4500snmp-agent group v1 MyCompany acl
Snmp-agent usm-user Syntax
Parameter
Using QOS/ACL Commands
4500system-view 4500change self-unit to
Using Stack Commands
4500display ftm topology-database
Change unit-id Syntax
To change the unit ID from6 to 4, enter the following
Change unit-id to 1-8 1-8 auto-numbering
Port display the stacking port information
Display ftm Syntax
Display xrn-fabric Syntax
4500fabric save-unit-id
Fabric save-unit-id Syntax
4500display xrn-fabric
Fabric save-unit-id Undo fabric save-unit-id
Ftm stacking-vlan vlan-id Undo ftm stacking-vlan
Fabric-port enable Syntax
4500fabric-port gigabitEthernet1/0/51 enable
Ftm stacking-vlan Syntax
4500ftm stacking-vlan
4500xrn-fabric authentication-mode simple hello
Set Vlan 2 as stacking Vlan
Set unit name Syntax
Sysname sysname Undo sysname
You can use this command to set a name for a device
Unit Name Unit ID First Second
Using Rstp Commands
Related command reset stp
Configuration commands on your Switch
To the port command in this guide
State of the Switch
Display information
Reset stp Syntax
Reset stp interface interfacelist
Stp Syntax
4500reset stp interface Ethernet1/0/1 to Ethernet1/0/3
Stp enable disable Undo stp
Stp bpdu-protection Syntax
Related command stp mode
To enable Rstp on a Switch, enter the following
To disable Rstp on Ethernet1/0/1, enter the following
Path cost for ports at different link speeds
Stp cost Syntax
Cost Specifies the path cost, ranging from 1 to
Stp edged-port Syntax
Stp loop-protection Undo stp loop-protection
Stp loop-protection Syntax
Stp mcheck
Stp mode Syntax
Stp mode stp rstp Undo stp mode
Stp mcheck Syntax
Stp pathcost-standard Syntax
4500stp mode stp
4500stp pathcost-standard dot1t
Stp point-to-point Syntax
Stp port priority Syntax
4500stp pathcost-standard dot1d-1998
4500stp priority
Stp priority Syntax
Undo stp priority
4500stp root primary
Stp root primary Syntax
Stp root secondary Syntax
Stp root primary Undo stp root
Stp root-protection Undo stp root-protection
Stp root-protection Syntax
4500stp root secondary
4500stp timeout-factor
Stp timeout-factor Syntax
Stp timer forward-delay Syntax
Stp timeout-factor number Undo stp timeout-factor
4500stp timer forward-delay
Stp timer hello Syntax
Undo stp timer forward-delay
Related commands stp timer hello, stp timer max-age
Stp transmit-limit Syntax
Stp timer max-age Syntax
Ethernet1/0/1stptransmit-limit
Using Rstp Commands
AAA Configuration Commands
Using AAA and Radius
Radius Protocol Configuration Commands
235
Sessions Displays the session connection information
Switch
Display the configuration information
Display dot1x Syntax
Dot1x Syntax
4500dot1x interface ethernet 1/0/1
To enable 802.1x on Ethernet 1/0/1, enter the following
To enable 802.1x globally, enter the following
Dot1x max-user Syntax
Related command display dot1x
Configure 802.1x user to use PAP authentication
Dot1x dhcp-launch Syntax
4500dot1x max-user 32 interface ethernet 1/0/2
Dot1x port-control Syntax
Dot1x port-method Syntax
Dot1x quiet-period Undo dot1x quiet-period
Dot1x quiet-period Command
4500dot1x port-method portbased interface ethernet 1/0/3
4500dot1x quiet-period
To enable quiet-period timer, enter the following
Related command display dot1x, dot1x timer
Dot1x retry Syntax
4500dot1x retry
Dot1x supp-proxy-check Syntax
Dot1x timer Syntax
Reset dot1x statistics interface interface-list
Reset dot1x statistics Syntax
4500dot1x timer server-timeout
Debugging Syntax
4500reset dot1x statistics interface ethernet 1/0/2
Clear the 802.1x statistics on Ethernet 1/0/2
4500display mac-authentication
Display mac-authentication
Offline detect period
Mac-authentication Syntax
Undo mac-authentication authmode
4500mac-authentication interface Ethernet 1/0/1
4500mac-authentication
4500mac-authentication authmode usernamefixed
4500undo mac-authentication authusername
4500mac-authentication authpassword mac
4500mac-authentication authusername vipuser
4500mac-authentication timer server-timeout
4500mac-authentication domain Cams
Current ISP domain, ranging from 1 to
On your Switch
Access-limit Syntax
ISP Domain View
4500local-user JohnQ
Cut connection Syntax
4500cut connection domain marlboro.net
All Configures to disconnect all connection
Display connection Syntax
4500display connection
4500display domain
Display domain Syntax
Display local-user Syntax
Display domain isp-name
4500display local-user
Domain Syntax
Output description of the display local-usercommand
ISP Domain View
Idle-cut disable enable minute flow
Idle-cut Syntax
Local-user Syntax
Related command domain
Level Syntax
Local User View
To add a local user named 3Com1, enter the following
By default, no local user
Related commands display local-user,server-type
Messenger Syntax
Related commands display local-user,password
4500local-user password-display-mode cipher-force
4500local-user 3Com1 Luser-3Com1password simple
Password Syntax
4500domain system Isp-systemmessenger time enable 30
Password simple cipher password Undo password
Scheme Syntax
Related commands radius scheme, display radius
Self-service-url enable url-stringself-service-url disable
Self-service-url Syntax
Change user password on this
Related command radius scheme, display radius
Service-type Syntax
State active block
State Syntax
ISP Domain View Local User View
Accounting that uses this Radius scheme
Accounting optional Syntax
Selection of Radius accounting option
Otherwise, the user will be disconnected
Display local-server statistics
Radius Scheme View
Undo data-flow format
4500radius scheme 3Com
4500display radius
Display radius Syntax
4500display local-server statistics
Display radius statistics
Troubleshooting Related command radius scheme
Display radius statistics Syntax
Displayed packet information can help with Radius diagnosis
Display stop-accounting-buffer
Key Syntax
4500radius scheme 3Com Radius-3Comkey authentication hello
4500local-server nas-ip 10.110.1.2 key 3Com
Local-server Syntax
Nas-ip Syntax
Radiuskey accounting ok
Primary accounting Syntax
Ip-addressIP address in dotted decimal format
Radius Server Group View
Related commands key, radius scheme, state
Primary authentication Syntax
4500radius nas-ip
Radius nas-ip Syntax
Radius nas-ip ip-address Undo radius nas-ip
Undo radius scheme radius-scheme-name
Reset radius statistics Syntax
Reset radius statistics
Radius scheme Syntax
To clear the Radius protocol statistics, enter the following
4500reset radius statistics
Undo retry
Retry Syntax
4500radius scheme 3Com Radius-3Comretry realtime-accounting
Retry stop-accounting Syntax
4500radius scheme 3Com Radius-3Comretry stop-accounting
Secondary accounting Syntax
Server-type 3com standard
Server-type Syntax
Undo server-type
Stop-accounting-buffer enable
Timer seconds Undo timer
Timer Syntax
Time quiet minutes Undo timer quiet
Related commands radius scheme, retry
Timer quiet Syntax
Timer response-timeout seconds Undo timer response-timeout
Timer response-timeout Syntax
Related commands retry realtime-accounting,radius scheme
4500radius scheme 3Com Radius-3Comtimer realtime-accounting
User-name-format with-domain without-domain
4500radius scheme 3Com Radius-3Comtimer response-timeout
User-name-format Syntax
Related command radius scheme
FTP Server Configuration Commands
Configuration File Management Commands
MAC Address Table Management Commands
FTP Client Commands
Tftp Configuration Commands
System Debug Commands
Device Management Commands
Basic System Configuration and Management Commands
System Status and System Information Display Commands
Snmp Configuration Commands
SSH Terminal Service Configuration Commands
Rmon Configuration Commands
NTP Configuration Commands
Sftp Client Configuration Commands
SSH Client Configuration Commands
Sftp Server Configuration Commands
Copy Syntax
Delete the file flash/test/test.txt
Display current directory information
Copy the file test.txt and save it as test.bak
Delete Syntax
Display information for directory flash/test
Dir Syntax
Display the information for file flash/test/test.txt
File prompt Syntax
Configure the prompt mode of file operation as quiet
Execute Syntax
Directory Directory name
Format Syntax
Format flash
Mkdir Syntax
Display the current directory information
Display contents of file test.txt
Move Syntax
Rename Syntax
Pwd Syntax
Rmdir Syntax
Reset recycle-bin Syntax
File-pathName of the file to be deleted
Delete the file from the recycle bin
Undelete Syntax
File-pathName of the file to be recovered
Recover the deleted file sample.bak
Delete the directory test
4500dir /all
Files on your Switch
Display Syntax Current-configuration
Display current-configuration controller interface
Configuration File Management Commands
Display saved-configuration unit unit-id
Unit unit-idSpecify the Unit ID of switch
4500display current-configuration include user
4500display this
Display this Syntax
Display this
4500display startup
Reset saved-configuration
Display startup Syntax
Display startup
Save filename safely
4500reset saved-configuration
Save Syntax
4500startup bootrom-access enable
Get the current configuration files stored in flash memory
To enable Bootrom access function, enter the following
Startup saved Syntax Configuration
Display ftp-user Syntax
Display ftp-server Syntax
Ftp server Syntax
Show the configuration of FTP user parameters
Enable Start FTP Server
Ftp timeout Syntax
4500ftp timeout
Set the connection timeout to 36 minutes
Related commands display local-user,service-type
New local user added
Binary Syntax
Configure to transmit data in the Ascii mode
Ascii Syntax
FTP Client view
Bye
Configure to transmit data in the binary mode
Bye Syntax
Cd Syntax
Cdup
Change the working path to flash/temp
Cdup Syntax
Change working path to the upper level directory
Delete remotefile
Close Syntax
Delete the file temp.c
Close
Disconnect
Disconnect Syntax
Connect to FTP Server at the IP address
Ftp Syntax
Show local working path
Get Syntax
Download the file temp1.c and saves it as temp.c
Lcd Syntax
Query file temp.c
Ls Syntax
Passive Syntax
Set the data transmission to passive mode
Ftpmkdir flash/lanswitch
Pathname Directory name
Ftppassive
Put Syntax
Remotehelp Syntax
Protocol-commandFTP protocol command
Show the current directory on the remote FTP Server
User Syntax
Show the syntax of the protocol command user
Pathname Directory name of remote FTP Server
Delete the directory flash/temp1 from FTP Server
Enable verbose
Username Logon username Password Logon password
Use the user command to register an FTP user
Log in the FTP Server with username tom and password hello
Tftp get Syntax
Tftp server and save it with a different name on the switch
Related command tftp put
VxWorks.app on the local switch
SW5500tftp 1.1.3.214 put sw5500cfg.txt temp.txt
Display mac-address Syntax
Interface-nameSpecify the interface name
SW4500display mac-address aging-time
Mac-address Syntax
SW4500display mac-address 00e0-fc01-0101
Display mac-address aging-time
Max-mac-countmac-address max-mac-count count
Undo mac-address static dynamic blackhole mac-address
Undo mac-address max-mac-count
Mac-address timer Syntax
Boot bootrom Syntax
Boot boot-loader Syntax
Display cpu Syntax
Display boot-loader Syntax
Display fan Syntax
Display device Syntax
Show device information
Display memory Syntax
Display power Syntax
Reboot Syntax
Show power state
Display schedule reboot Syntax
Schedule reboot at hhmm yyyy/mm/dd Undo schedule reboot
Reboots the Switch
Schedule reboot at Syntax
SW4500schedule reboot delay
Schedule reboot delay Syntax
SW4500schedule reboot at
Schedule reboot delay hhhmm mmm Undo schedule reboot
Device Management Commands
Clock datetime Syntax
Commands available on your Switch
Default is 235552, 2000/4/1
Related command display clock
Clock timezone zonename add minus Hhmmss Undo clock timezone
Clock timezone Syntax
Display clock Syntax
Set the hostname of the Switch to be LANSwitch
View the current system date and clock
Display config-agent Syntax
Unit-idUnit ID of current switch, in the range of 1 to
Display the information about the system version
Show all the enabled debugging
Display debugging Syntax
Display version Syntax
Information that can be displayed on your Switch
End-station polling Syntax Ip-address
For the related commands, see display debugging
Enable IP Packet debugging
Requiring periodic testing
Ping -a ip-address -c count -d -h tll
Configure 202.38.160.244 requiring periodical testing
Ping Syntax
SW4500end-station polling ip-address
Description
Remote-ping Purpose
Displays the test history
Related Commands
Display remote-ping Purpose
Displays the latest test results
Number Test Connection fail number
Remote-ping-agent Purpose enable
This command can be used in the following views Any view
Tracert -a source-ip -f first-TTL -m max-TTL -p port
Enable remote-ping client
Remote-ping-agent enable Undo remote-ping-agent enable
Tracert Syntax
SW4500tracert
Port is
Display info-center
Show details about the information channel
Display info-center Syntax
SW4500display channel
Undo info-center channel channel-number
Show the system log information
Undo info-center console channel
Rename channel 0 as execconsole
Channel
Info-center console channel channel-number channel-name
Info-center logbuffer Syntax
Enable the system log function
SW4500info-center enable
SW4500info-center logbuffer
Info-center loghost Syntax
Info-center monitor channel channel-number channel-name
Related commands info-center enable, display info-center
SW4500info-center loghost
SW4500info-center loghost source vlan-interface
SW4500info-center monitor channel
Configure channel 6 as the Snmp information channel
Level Level
Info-center source Syntax
Channel-numberChannel number to be set
SW4500info-center snmp channel
Module names in logging information
FTP server module
IP module
Information Channel in Each Output Direction by Default
Info-center switch-on Syntax
Info-center timestamp Syntax
SW4500info-center switch-on 2 trapping
Info-center trapbuffer Syntax
Reset logbuffer Syntax
SW4500info-center timestamp debugging boot
Reset logbuffer
Terminal debugging Syntax
Reset trapbuffer Syntax
Clear information in log buffer
Clear information in trap buffer
Terminal monitor Syntax terminal monitor
Enable the terminal display debugging
Disable the terminal log display
Terminal logging Syntax terminal logging
Terminal trapping Syntax
Disable the terminal monitor
Enable trap information display
Commands available on your Switch
Group
Display the currently configured community names
Display the engine ID of current device
Following table describes the output fields
Display Snmp group name and safe mode
Output description of the display snmp-agent group command
Groupname Group name, ranging from 1 to 32 bytes
SW4500display snmp-agent statistics
Display the current state of Snmp communication
Display snmp-agent statistics
Total number of the input Snmp packets
Display the information of all the current users
Display the character string sysContact system contact
Display the system location
Display the version information of running Snmp
View statistics information of Snmp proxy on unit
Enable snmp trap Syntax
Enable snmp trap updown Undo enable snmp trap updown
Display snmp-proxy unit Syntax
SW4500snmp-agent community read comaccess
SW4500snmp-agent community write mgr
Delete the community name comaccess
SW4500undo snmp-agent community comaccess
SW4500snmp-agent group v3 3Com
Configure the ID of a local or remote device as
To create an Snmp group named 3Com, enter the following
Snmp-agent mib-view Syntax
SW4500snmp-agent mib-view included mib2
Create a view that consists of all the objects of MIB-II
Set system location as Building 3/Room
Location command to restore the default value
Set the size of Snmp packet to 1042 bytes
Snmp-agent sys-info Syntax
SW4500snmp-agent trap enable
Standard authentication coldstart linkdown linkup warmstart
Snmp-agent trap enable Syntax
SW4500snmp-agent trap life
Configure the timeout interval of Trap packet as 60 seconds
Snmp-agent trap life Syntax
Snmp-agent trap life seconds Undo snmp-agent trap life
SW4500snmp-agent trap queue-size
Configure the queue length to
Snmp-agent trap source Syntax
Vlan-idSpecify the Vlan interface ID, ranging from 1 to
Snmp-agent usm-user Syntax
SW4500undo snmp-agent
Disable the running Snmp agents of all Snmp versions
Undo snmp-agent Syntax
Undo snmp-agent
Display rmon event Syntax
Display rmon alarm Syntax
Display rmon eventlog Syntax
Port-numEthernet port name
For the related commands, see rmon history
Output description of the display rmon eventlog command
Display rmon history Syntax
Output description of the display rmon history command
Display rmon prialarm Syntax
Prialarm-table-entryentry of extended alarm table
Display alarm information about extended Rmon
Show Rmon statistics
Output description of the display rmon prialarm command
Display rmon statistics Syntax
Port-numEthernet port number
Undo rmon alarm entry-number
Rmon alarm Syntax
Rmon event Syntax
Delete the information of entry 15 from the alarm table
SW4500undo rmon alarm
Undo rmon history entry-number
Rmon history Syntax
Delete the entry 15 from the history control table
SW4500rmon event 10 log
SW4500interface Ethernet1/0/1
Rmon prialarm Syntax
Undo rmon prialarm entry-number
Entry-numberSpecifies the entry number, ranging from 1 to
UDP port 123 is closed as the NTP feature is disabled
Delete line 10 from the extended Rmon alarm table
Switch 4500 Family provides the following functions
UDP port 123 is opened only when the NTP feature is enabled
Verbose Displays detailed NTP session information
View the status of all sessions maintained by NTP services
Display ntp-service sessions verbose
SW4500 display ntp-service sessions
Display ntp-service status
Ntp-service access Syntax
Display ntp-service trace Syntax
SW4500 system-view
SW4500 ntp-service access peer
SW4500 ntp-service access server
Undo ntp-service authentication-keyid key-id
Enable the NTP authentication
SW4500 ntp-service authentication enable
By default, no switch operates in the broadcast client mode
Max-dynamic-sessionsntp-service max-dynamic-sessions number
Disable Vlan-interface1 from receiving NTP messages
Ntp-service Syntax
Undo ntp-service max-dynamic-sessions
SW4500-Vlan-interface1ntp-service multicast-client
By default, no trusted authentication key is configured
Key-id Authentication key ID, in the range of 1 to
Ntp-service unicast-peer Syntax
Ntp-service unicast-server
SW4500 ntp-service unicast-server 128.108.22.44 version
SW4500debug ssh server all SW4500term debug
Debugging ssh server Syntax
SW4500display rsa local-key-pair public
Related command rsa local-key-pair create
Display rsa local-key-pair public
Display rsa peer-public-key brief name keyname
Display rsa peer-public-key
Display ssh server status session
Display ssh server Syntax
SW4500display rsa peer-public-key
SW4500display rsa peer-public-key name candy2
Public key view
To display SSH sessions
Peer-public-key end Syntax
SW4500user-interface vty 0
Related command user-interface vty
Related commands rsa peer-public-key,public-key-code begin
To quit public key view, enter the following
Public-key-code end Syntax
Public-key-code begin Syntax
Public key edit view
To generate the local RSA key pair, enter the following
Rsa local-key-pair create Syntax
Ssh server Syntax
Rsa peer-public-key Syntax
Characters
Program supporting SSH1.5
Ssh user assign rsa-key Syntax
By default, it is Related command display ssh server
Ssh server timeout Syntax
SW4500ssh user jsmith assign rsa-key key1
Related command display ssh user-information
To associate the key 1 with jsmith, enter the following
Keys, enter the following
At the next logon
Display ssh server-info Syntax
SW4500rsa peer-public-key SW4500003
Related commands rsa peer-public-key, public-key-code begin
Related commands rsa peer-public-key, public-key-code end
To exit the public key view, enter the following
Public-key-code end Syntax
SW4500rsa peer-public-key SW4500002
Ssh client assign rsa-key Syntax
Enable
Ssh2 Syntax
SW4500ssh client first-time enable
Md596 Hmac algorithm hmac-md5-96
Ssh user service-type Syntax
Sftp server enable Syntax
Use the sftp server enable command to start the Sftp server
By default, the Sftp server is shutdown
Sftp Client View
By default, the service type is stelnet
Particular user
Type
Remote-fileThe name of a file on the server
Remote-pathThe name of a path on the server
To change the current path to d/temp, enter the following
Sftp-clientdelete temp.c
Remote-pathThe name of the directory to view
To view the directory, flash/, enter the following
Exit Syntax exit View
Sftp-clientget temp1.c temp.c
Command The name of a command
Help command
Help Syntax
Flash
To view the directory flash/, enter the following
Sftp-clientput temp.c temp1.c
Sftp-clientremove temp.c
Remove Syntax
Oldname Original file name
Sftp-clientrmdir D/temp1
Newname New file name
Sftp Syntax
Sftp-clientrename temp1 temp2
SW4500sftp
Display password-control
Configuring Password Control
Display Syntax
Fields in Display Password- Control Command
Password
# Configure the system login password for user test to
Password-control Syntax
System view
System View return to User View with Ctrl+Z
Password-control enable Syntax
Password-control super Syntax
Reset password-control history-record username username
# Delete the history password records of all users
Username username Specifies a user name
# Delete the history password records of user test
Reset password-control blacklist username username
Blacklist
# Delete user test from the blacklist
Configuring Password Control
Five second countdown timer allowing access to the bootrom
Bootrom Interface
Boot Menu
Boot
Enter Option 1 at the prompt to display the following
Current mode is enable bootrom password recovery
Download Commands Selecting a Tftp download
Selecting an XModem download
Selecting a FTP download