SMC Networks 10/100 manual General Commands, Syntax Enable level

Page 155

GENERAL COMMANDS

General Commands

Command

Function

Mode

Page

 

 

 

 

enable

Activates privileged mode

NE

3-13

 

 

 

 

disable

Returns to normal mode from privileged

PE

3-14

 

mode

 

 

 

 

 

 

configure

Activates global configuration mode

PE

3-15

 

 

 

 

show

Shows the command history buffer

NE, PE

3-16

history

 

 

 

 

 

 

 

reload

Restarts the system

PE

3-17

 

 

 

 

end

Returns to Privileged Exec mode

GC,

3-17

 

 

IC, LC,

 

 

 

VC

 

 

 

 

 

exit

Returns to the previous configuration mode,

any

3-18

 

or exits the CLI

 

 

 

 

 

 

quit

Exits a CLI session

NE, PE

3-19

 

 

 

 

help

Shows how to use help

any

NA

 

 

 

 

?

Shows options for command completion

any

NA

 

(context sensitive)

 

 

 

 

 

 

enable

Use this command to activate Privileged Exec mode. In privileged mode, additional commands are available, and certain commands display additional information. See “Understanding Command Modes” on page 3-7.

Syntax

enable [level]

level - Privilege level to log into the device.

The device has two predefined privilege levels:

0:Normal Exec, 15: Privileged Exec. Enter level 15 to access Privileged Exec mode.

3-13

Image 155
Contents TigerSwitch 10/100 Page TigerSwitch 10/100 Management Guide Trademarks Limited Warranty Limited Warranty Contents Contents Iii Command Line InterfaceContents Contents Contents Vii Viii Upgrading Firmware via the Serial Port . . . . . . .B-1Glossary Index Configuration Options Connecting to the SwitchSwitch Management Required Connections Remote Connections Console Connection Basic ConfigurationSetting Passwords Manual Configuration Setting an IP AddressDynamic Configuration Basic Configuration Community Strings Enabling Snmp Management AccessBasic Configuration Trap Receivers Saving Configuration SettingsEnter the name of the start-up file. Press Enter Managing System FilesFunction Parameter Default System DefaultsSnmp Function Parameter Default Pvid Switch Management Using the Web Interface Configuring the SwitchNavigating the Web Browser Interface Home Button Action Panel DisplayMenu Description Main MenuMenu Description Private Vlan Igmp Displaying System Information Configuring the Switch CLI Specify the hostname, location and contact information Setting the IP AddressCommand Attributes Manual Configuration Configuring the Switch Configuring the Logon Password Configuring User AuthenticationCommand Attributes Command Usage Configuring Radius Logon AuthenticationCommand Attributes Configuring User Authentication Downloading System Software from a Server Managing FirmwareManaging Firmware Downloading Configuration Settings from a Server Saving or Restoring Configuration SettingsManaging Firmware Displaying Bridge Extension Capabilities Resetting the SystemDisplaying Bridge Extension Capabilities 145 Enabling or Disabling Gvrp Global SettingDisplaying Switch Hardware/Software Versions Displaying Switch HARDWARE/SOFTWARE Versions Displaying Connection Status Port ConfigurationWeb Click Port, Port Information or Trunk Information CLI This example shows the connection status for Port Configuring Interface ConnectionsPort Configuration Setting Broadcast Storm Thresholds Command Usage 102 Configuring Port Mirroring Address Table Settings Setting Static Addresses Displaying the Address Table 109 Changing the Aging Time Spanning Tree Algorithm ConfigurationManaging Global Settings Configuring the Switch Displaying the Global Settings for STA 119 Managing STA Interface Settings Configuring the Global Settings for STACommand Attributes Spanning Tree Algorithm Configuration Configuring the Switch Displaying the Interface Settings for STA Configuring the Interface Settings for STA Vlan ConfigurationAssigning Ports to VLANs Configuring the Switch Vlan Configuration Forwarding Tagged/Untagged Frames Displaying Basic Vlan InformationDisplaying Current VLANs Command Attributes WebCommand Attributes CLI 131 Creating VLANs122 Adding Static Members to VLANs Vlan Index Configuring the Switch 130 Adding Static Members to VLANs Port Index CLI This example adds Port 3 to Vlan 1 as a tagged port Configuring Vlan Behavior for InterfacesConfiguring the Switch Vlan Configuration Configuring Private VLANs Displaying Current Private VLANs Command Attributes Configuring Private VLANs Associating Community VLANs Displaying Private Vlan Interface Information Command Attributes Configuring Private Vlan Interfaces Configuring the Switch 137 Class of Service ConfigurationSetting the Queue Mode Port Trunk Configuration Command Usage Group Number Ports 152 Configuring SnmpAccess Mode Setting Community Access StringsSpecifying Trap Managers and Trap Types Command Usage Multicast Configuration Configuring Igmp Parameters Command Attributes Interfaces Attached to a Multicast Router Displaying Interfaces Attached to a Multicast Router Command AttributesSpecifying Interfaces Attached to a Multicast Router Command Attribute Displaying Port Members of Multicast Services158 Adding Multicast Addresses to VLANs 156 Showing Port Statistics Showing Port Statistics CLI This example shows statistics for port Rate Limit ConfigurationOption 100 Configuring 802.1x Port Authentication101 102 Displaying 802.1x Global Settings103 Configuring 802.1x Global Settings104 105 Configuring a Port for AuthorizationAuthorized 106107 Displaying 802.1x Statistics108 CLI This example displays the dot1x statistics for port 109110 Accessing the CLI Using the Command Line InterfaceTelnet Connection Using the Command Line Interface Minimum Abbreviation Entering CommandsKeywords and Arguments Getting Help on Commands Command CompletionPartial Keyword Lookup Negating the Effect of CommandsUsing Command History Exec Commands Understanding Command ModesConfiguration Commands Mode Command Prompt Command Line Processing Command GroupsIgmp Command Description Group Syntax Enable level General CommandsEnable Disable Configure Show history End ReloadExit Quit Flash/File CommandsCopy Command Usage Syntax DeleteDir Syntax Dir boot-rom config opcode filenameColumn Heading Description WhichbootSyntax Boot system boot-romconfig opcode filename Boot systemSystem Management Commands Syntax Hostname name no hostname HostnameUsername Username Access-level Password Guest Admin Enable password Syntax Ip http port port-numberno ip http port Default Setting Command ModeIp http port Ip http server Show startup-config Show running-config Show running-config Show startup-config Show system Show version Show usersAuthentication Commands Command Function Mode Authentication loginRadius-server host Syntax Radius-server port portnumber no radius-server port Radius-server portSyntax Radius-server key keystring no radius-server key Radius-server keyRadius-server retransmit Show radius-server Radius-server timeoutPort Authentication Commands Authentication dot1x Dot1x max-req Dot1x defaultSyntax Dot1x default Command Mode Default Command ModeDot1x port-control DefaultCommand Mode Interface Configuration Example Ethernet unit/port Dot1x re-authenticateDot1x re-authentication Syntax Dot1x re-authenticate interfaceDot1x timeout re-authperiod Dot1x timeout quiet-periodDot1x timeout tx-period Syntax Show dot1x statistics interface interface Show dot1xReauthentication State Machine Console#show dot1x Snmp-server community Snmp CommandsSyntax Snmp-server contact string no snmp-server contact Snmp-server contactSyntax Snmp-server location text no snmp-server location Snmp-server locationNo snmp-server host host-addr Snmp-server hostSnmp-server enable traps Show snmp Normal Exec, Privileged Exec Syntax Ip igmp snooping no ip igmp snooping Igmp Snooping CommandsIp igmp snooping Ip igmp snooping query-count Ip igmp snooping query-max-response-time Ip igmp snooping router-port-expire-time Ip igmp snooping version Show ip igmp snooping Following shows the current Igmp snooping configurationShow mac-address-table multicast Line Commands Syntax Line console vty LineSyntax Login local no login LoginSyntax Password 0 7 password no password PasswordSyntax Exec-timeout seconds no exec-timeout Exec-timeoutSyntax Password-thresh threshold no password-thresh Password-threshSyntax Silent-time seconds no silent-time Silent-timeSyntax Databits 7 8 no databits DatabitsSyntax Parity none even odd no parity ParitySyntax Speed bps no speed SpeedSyntax Show line console vty StopbitsShow line Syntax Stopbits 1To show all lines, enter this command IP CommandsIp address Ip dhcp restart Syntax Ip default-gateway gateway no ip default-gateway Ip default-gatewayShow ip interface Syntax Ping host count countsize size Show ip redirectsPing Press Esc to stop pinging Queue hol-prevention HOL Blocking Prevention CommandsShow queue hol-prevention Interface Commands Port-channel channel-idRange InterfaceSyntax Description string no description DescriptionSpeed-duplex Negotiation 3-92 capabilities Negotiation Syntax Negotiation no negotiation Default SettingCapabilities Default SettingFlowcontrol Syntax Flowcontrol no flowcontrol Default SettingNegotiation Capabilities flowcontrol, symmetric Shutdown Switchport broadcast percent Syntax Clear counters interface Port-channel channel-idRange Default SettingClear counters Syntax Show interfaces status interface Show interfaces statusSyntax Show interfaces counters interface Show interfaces counters101 Syntax Show interfaces switchport interface Show interfaces switchport103 Rate Limit Commands Rate-limit Address Table Commands Mac-address-table static Clear mac-address-table dynamic Show mac-address-table Mac-address-table aging-time 111 Spanning Tree CommandsShow mac-address-table aging-time 112 Syntax Spanning-tree no spanning-tree Default SettingSpanning-tree 113 Spanning-tree forward-time114 Spanning-tree hello-time115 Spanning-tree max-ageSyntax Spanning-tree cost cost no spanning-tree cost Spanning-tree prioritySpanning-tree cost 116117 Spanning-tree port-priority118 Spanning-tree portfastSyntax Show spanning-tree interface Show spanning-tree119 120 121 Vlan Commands122 Vlan database123 VlanSyntax Interface vlan vlan-id Interface vlan124 125 Switchport modeSyntax Switchport mode trunk access no switchport mode 126 Switchport acceptable-frame-types127 Switchport ingress-filtering128 Switchport native vlan129 Switchport allowed vlan130 Switchport forbidden vlanSyntax Show vlan id vlan-idname vlan-name Show vlan131 132 Private Vlan Commands133 Syntax Private-vlan vlan-idcommunity primary Private-vlan134 No private-vlan primary-vlan-idassociation Private vlan association135 136 Switchport mode private-vlan137 Switchport private-vlan host-association138 Switchport private-vlan mappingSyntax Show vlan private-vlan community primary Show vlan private-vlan139 140 Gvrp and Bridge Extension CommandsSwitchport gvrp Syntax Switchport gvrp no switchport gvrp141 Show gvrp configurationSyntax Show gvrp configuration interface 142 Garp timer143 Show garp timerSyntax Show garp timer interface 144 Syntax Bridge-ext gvrp no bridge-ext gvrp Default SettingBridge-ext gvrp 145 Show bridge-ext146 Priority Commands147 Queue modeShow queue mode Syntax Queue mode strict wrr no queue mode148 Mirror Port CommandsPort monitor Syntax Show port monitor interface Show port monitor149 150 Port Trunking CommandsGuidelines for Creating Trunks 151152 Port-group153 154 Troubleshooting Chart Appendix a TroubleshootingTroubleshooting Appendix B Upgrading Firmware VIA Serial Port Upgrading Firmware VIA the Serial Port Page Restoring Switch Defaults Enter q and then x to return to the main menu Enter G to boot the system Glossary-1 Glossary-2 Glossary-3 Glossary-4 Glossary-5 Glossary-6 Glossary-7 XModem Glossary-8Virtual LAN Vlan Figure C-1. DB-9 Console Port Pin Numbers Console Port Pin AssignmentsConsole Port to 25-Pin DTE Port on PC DB-9 Port Pin AssignmentsConsole Port to 9-Pin DTE Port on PC Index-1 IndexIndex-2 Page For Technical SUPPORT, Call
Related manuals
Manual 26 pages 52.66 Kb