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