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