Interlogix NS4750-24S-4T-4X-V2 Command Manual

NS4750-24S-4T-4X-V2 Managed Switch Command Guide
P/N 1073621-EN • REV A • ISS 18MAR19
Copyright
©
2019 United Technologies Corporation.
Interlogix is part of UTC rights reserved.
Disclaimer
Information in t his document is subjec t to change without notice. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechani cal, for any purpose, without the express written permission of UTC Fire & Security Americas Corporation, Inc.
Trademarks and
patents
Trade names used in t his document may be manufacturers or vendors of the respective products.
Manufacturer
Interlogix 2955 Red Hill Avenue, C osta Mesa, CA 92626
Authorized EU manufacturing representative: UTC Fire & Security B.V. Kelvinstraat
Version
This document applies to
FCC compliance
This device compl ies with part 15 of the FCC R ules. Operation is subject to the fol lowing two conditions: interference r eceived, including interference that may cause undesired operation.
FCC compliance
Class A:
device, pursuant to part 15 of the FCC Rules . These limits are designed to provide reasonable protection agains t harmful interference when the equipment is operated in a comm ercial environment. This equipment gen erates, uses, a used in accordanc e with the instruction manual, may cause harmful interf erence to radio communications. Operation of thi s equipment in a residential area is lik ely to cause harmful interferenc
Canada
This Class A digital apparatus complies with CAN ICES Cet appareil numérique de la class e A est conforme à la norme CAN IC ES
ACMA
compliance
Notice!
interference i n w hich case the user may be required to take adequate measures.
Certification
EU directives
This product and therefore with t he applicable harmoni zed European standards listed under the EMC Directive 2014/30/EU, the RoHS Directive 2011/65/EU.
2012/19
municipal waste in the European Union. For proper recycling, return this product to your local supplier upon the purchase of equivalent new equi pm ent, or dispose of it at designated coll ection point more information see: www.recyclethis.info.
Product warnings
and disclaimers
THESE PRODUCTS ARE INTENDED FOR SALE TO AND INSTALLATION BY QUALIFI ED PROFESSIONALS. UTC FIRE & SECURITY CANNOT PROVIDE ANY ASSURANCE THAT ANY PERSON OR ENTITY BUYING ITS “AUTHORIZED RESELLER”, I S PROPER LY TRAINED OR EXPERIENCED TO CORRECTLY INSTALL FIRE AND SECURITY RELATED PRODUCTS
For more informat ion on warranty dis claimers and product safety information, please check www
Contact
information and
manuals/ tools/
firmware
For contact information and to download the latest manuals, tools, and firmware, go to the web site of your region.
Americas: EMEA: www.firesecurityproducts.com Manuals are available in several languages
Australia/New Zealand: www.utcfs.com.au
Climate, Controls & Security, a unit of United Technologies Corporation. All
7, 6003 DH Weert, The Netherlands
NS4750-24S-4T-4X-V2.
trademarks or registered tradem arks of the
-5923, USA
(1) This device may not cause harmful int erference, and (2) thi s device must accept any
This equipment has been tested and found to comply with the limits for a Cl ass A digital
nd can radiate radio f requency energy and, if not installed and
e in which case the user will be required to correct the interference at his own expense.
-003 (A)/NMB-3 (A).
-003 (A)/NMB-3 (A).
This is a Class A product. In a domestic environment this product may cause radio
- if applicabl e - t he supplied accessories too are marked with "CE" and comply
/EU (WEEE directive): Products marked with this symbol cannot be disposed of as unsorted
s. For
PRODUCTS, INCLUDING ANY “AUTHORIZED DEALER” O R
.
.firesecurityproducts.com/policy/product-warning/ or scan the QR code:
www.interlogix.com
Content
Chapter 1 Command line interface 2
Accessing the CLI 2 Command line modes 2 Requirements 4
Chapter 2 Console CLI management 5
Terminal setup 5 Log on to the console 6 Configuring the IP address 7
Chapter 3 Remote CLI management 10
SSH login 10
Chapter 4 Commands for CLI configuration 11
clear 11 configure terminal 25 copy 208 debug 209 delete 209 dir 210 disable 210 do 211 dot1x 211 enable 212 erps 212 exit 213 firmware 213 ip 214 logout 214 more 215 no 216 ping 216 reload 217 send 218 show 219 terminal 285
NS4750-24S-4T-4X-V2 Managed Switch Command Guide 1
Command Mode
User mode Priveleged mode
Global config mode
Chapter 1
Command line interface

Accessing the CLI

When accessing the management interface for the switch over a direct connection to the server’s console port or via a Telnet connection, the switch can be managed by entering command keywords and parameters at the prompt. Using the switch's command-line interface (CLI) is very similar to entering commands on a UNIX system.
This chapter describes how to use the Command Line Interface (CLI).

Command line modes

The CLI groups all the commands in appropriate modes according to the nature of the command. A sample of the CLI command modes are described below. Each of the command modes supports specific software commands.
Mode-based command hierarchy
The Command Line Interface (CLI) groups all the commands in appropriate modes by the nature of the commands. Examples of the CLI command modes are described below. Each of the command modes supports specific switch commands.
The CLI Command Modes table captures the command modes, the prompts visible in that mode and the exit method fro m that mode.
A ccess Method Prompt Exit or Access Previous
Mode
2 NS4750-24S-4T-4X-V2 Managed Switch Command Guide
This is the first level of
access. Perform basic tasks and list system information.
From the User Mode, enter
the enable command.
From the Privileged Mode,
enter the configuration command.
COMMAND> Enter Logout command
Switch# To exit to the User Mode,
enter exit or Logout.
Switch (Config)# To exit to the Privileged
Mode, enter the exit command.
Chapter 1: Command line interface
Command Mode
Interface config mode
A ccess Method Prompt Exit or Access Previous
Mode
From the Global Config
mode, enter the interface <port#> command.
Switch (interface <port#>)#
To exit to the Global Config mode, enter exit.
The CLI is divided into various modes. The commands in one mode are not available until the operator switches to that particular mode. The commands available to the operator at any point in time depend upon the mode. Entering a question mark (?) at the CLI prompt displays a list of the available commands and descriptions of the commands.
The CLI provides the following modes:
User Mode
When the operator logs into the CLI, the User Mode is the initial mode. The User Mode contains a limited set of commands. The command prompt shown at this level is:
Command Prompt: switch>
Privileged Mode
To have access to the full suite of commands, the operator must enter the Privileged Mode. The Privileged Mode requires password authentication. From Privileged Mode, the operator can issue any Exec command to enter the Global Configuration mode. The command prompt shown at this level is:
Command Prompt: switch#
Global Config Mode
This mode permits the operator to make modifications to the running configuration. General setup commands are grouped in this mode. From the Global Configuration mode, the operator can enter the Interface Configuration mode. The command prompt at this level is:
Command Prompt: switch(Config)#
From the Global Config mode, the operator may enter the following configuration modes:
Interface Config Mode
Many features are enabled for a particular interface. The Interface commands enable or modify the operation of an interface. In this mode, a physical port is set up for a specific logical connection operation. The command prompt at this level is:
Command Prompt: Switch(Interface <port#>)#
NS4750-24S-4T-4X-V2 Managed Switch Command Guide 3
Chapter 1: Command line interface
Requirements
Workstations running Windows XP/Vista/7/8/10, Windows 2003/2008, MAC OS X or later, Linux, UNIX, or other platforms are compatible with TCP/IP protocols.
Workstations are installed with Ethernet NIC (Network Interface Card).
Serial Port Connection (Terminal)
The above Workstations come with COM Port (DB9) or USB-to-RS-232
converter.
The above Workstations have been installed with terminal emulator, such as
Hyper Terminal included in Windows XP/2003.
Serial cable -- one end is attached to the RS-232 serial port, while the other end
to the console port of the Managed Switch.
Ethernet Port Connection
Network cables -- Use standard network (UTP) cables with RJ-45 connectors.
The above PC is installed with Web Browser and JAVA runtime environment
plug-in.
4 NS4750-24S-4T-4X-V2 Managed Switch Command Guide
Chapter 2
Console CLI management

Terminal setup

To configure the system, connect a serial cable to a COM port on a PC or notebook computer and to the RJ-45 type of serial (console) port of the managed switch.
The console port of the managed switch is a RJ-45 type, RS-232 serial port connector. It is an interface for connecting a terminal directly. Through the console port, it provides rich diagnostic information including IP Address setting, factory reset, port management, link status, and system settings. Users can use the RS-232 cable in the package and connect to the console port on the device. After the connection, users can run any terminal emulation program (Hyper Terminal, ProComm Plus, Telix, Winterm, and so on) to enter the startup screen of the device.
A terminal program is required to make the software connection to the managed switch. Windows' Hyper Terminal program may be a good choice. The Hyper Terminal can be accessed from the Start menu.
1. Click Start > Programs > Accessories, and then click Hyper Terminal.
2. When the following screen appears, make sure that the COM port is configured as shown:
NS4750-24S-4T-4X-V2 Managed Switch Command Guide 5
Chapter 2: Console CLI management
If required, you can change these settings after you log on. This management method is often preferred because you can remain connected and monitor the system during system reboots. Also, certain error messages are sent to the serial port, regardless of the interface through which the associated action was initiated. A Macintosh or PC attachment can use any terminal -emulation program for connecting to the terminal serial port. A workstation attachment under UNIX can use an emulator such as TIP.

Log on to the console

After the terminal is connected to the device, power on the managed switch. “Running testing procedures” ap pear s in the terminal display. Then, a user name and password prompt appears. The factory default user name and password are shown as follows and the login screen appears.
Username: admin Password: admin
6 NS4750-24S-4T-4X-V2 Managed Switch Command Guide
Chapter 2: Console CLI management
After logging in with the default user name and password, a new user name and password must be configured.
newusername
Command:
newusername <username> password <password>
username Establish a new User Name Authentication
<username> New User name allows letters, numbers and underscores except
admin password Specify the password for the user <password > The new password is required at least 8 characters and must be
included
one lowercase letter [a~z], one uppercase letter [A~Z], one number [0~9], and one special character [~,!,@,#,...,w/o"?"].
Default:
N/A
Usage Guide:
To change user name and password when logging with default account(admin).
Example:
To change user name and pa ssword.
Switch# newusername abc password 123aAb~!
The user can now enter commands to manage the managed switch. For a detailed description of the commands, refer to the following chapters.
Note: For security purposes, store the new account information ain a safe location.

Configuring the IP address

The managed switch is shipped with default IP address shown below.
NS4750-24S-4T-4X-V2 Managed Switch Command Guide 7
Chapter 2: Console CLI management
IP Address: 192.168.0.100 Subnet Mask: 255.255.255.0
To check the current IP address or modify a new IP address for the switch, please use the procedures as follows:
Show the current IP address
At the “#” prompt, type “show ip interface brief”. The screen displays the current IP address and Subnet Mask as shown:
Configure the IP address
At the “#” prompt, ent er the following command and pres s Enter.
# configure terminal (config)# interface vlan 1
(config-if-vlan)# ip address 192.168.1.100 255.255.255.0 The previous command would apply the following settings for the managed switch. IP Address: 192.168.1.100 Subnet Mask: 255.255.255.0
At the “#” prompt, type “show ip interface brief” to check if the IP address has changed.
Store the current switch configuration
At the “#” prompt, ent er the following command and pres s Enter.
# copy running-config startup-config
If the IP is successfully configured, the managed switch applies the new IP address setting immediately. You can access the web interface of the managed switch through the new IP address.
8 NS4750-24S-4T-4X-V2 Managed Switch Command Guide
Chapter 2: Console CLI management
Note: If unfamiliar with the console command or the related parameter, type “?” at any
time in the console to obtain the help description.
.
NS4750-24S-4T-4X-V2 Managed Switch Command Guide 9
Chapter 3
Remote CLI management

SSH login

The managed switch also supports SSH for remote management. The switch asks for a user name and password for remote login when using telnet. Use the new username and password.
Default IP address: 192.168.0.100 New username and password:
10 NS4750-24S-4T-4X-V2 Managed Switch Command Guide
Chapter 4
Commands for CLI configuration

clear

clear access management statistics
Command:
clear access management statistics
Default:
N/A
Usage Guide:
To clear the access ma nag em ent s tati s ti cs .
Example:
To clear the switch’s access management statistics.
Switch# clear access management statistics
clear access-list ace statistics
Command:
clear access-list ace st at ist ics
Default:
N/A
Usage Guide:
To clear the Access list entry statistics.
Example:
To clear the switch’s Access list entry statistics.
Switch# clear access-list ace statistics
NS4750-24S-4T-4X-V2 Managed Switch Command Guide 11
Chapter 4: Commands for CLI configuration
clear dot1x statistics interface GigabitEthernet | 10GigabitEthernet
clear dot1x statistics interface
Command:
Default:
N/A
Usage Guide:
To clear the dot1x statistics.
Example:
To clear the switch’s GigabitEthernet 1/25 dot1x statistics.
Switch# clear dot1x statistics interface GigabitEthernet 1/25
clear eps
Command:
clear eps <Inst : uint>
<Inst : uint> The EPS instance number.
Default:
N/A
Usage Guide:
To clear the EPS instance number.
clear erps
Command:
clear erps < ERPS group numbers > statistics
Default:
N/A
Usage Guide:
To clear the ERPS group numbers statistics.
Example:
To clear the switch’s ERPS group 1 statistics.
Switch# # clear erps 1 statistics
clear erps statistics
Command:
clear erps statistics
12 NS4750-24S-4T-4X-V2 Managed Switch Command Guide
Chapter 4: Commands for CLI configuration
Default:
N/A
Usage Guide:
To clear the ERPS statistics.
Example:
To clear the switch’s ERPS statistics.
Switch# clear erps statistics
clear ip arp
Command:
clear ip arp
Default:
N/A
Usage Guide:
To clear the ARP cache.
Example:
To clear the switch’s ARP cache.
Switch# clear ip arp
clear ip dhcp detailed statistics all
Command:
clear ip dhcp detailed statistics all
Default:
N/A
Usage Guide:
To clear the DHCP detailed statistics for all.
Example:
To clear the switch’s DHCP detailed statistics for all.
Switch# clear ip dhcp detailed statistics all
clear ip dhcp detailed statistics client
Command:
clear ip dhcp detailed statistics client
Default:
N/A
Usage Guide:
NS4750-24S-4T-4X-V2 Managed Switch Command Guide 13
Chapter 4: Commands for CLI configuration
To clear the DHCP client statistics.
Example:
To clear the switch’s DHCP client statistics.
Switch# clear ip dhcp detailed statistics client
clear ip dhcp detailed statistics helper
Command:
clear ip dhcp detailed statistics helper
Default:
N/A
Usage Guide:
To clear the DHCP normal L2 or L3 forward statistics.
Example:
To clear the switch’s DHCP normal L2 or L3 forward statistics.
Switch# clear ip dhcp detailed statistics helper
clear ip dhcp detailed statistics server
Command:
clear ip dhcp detailed statistics server
Default:
N/A
Usage Guide:
To clear the DHCP server statistics.
Example:
To clear the switch’s DHCP server statistics.
Switch# clear ip dhcp detailed statistics server
clear ip dhcp detailed statistics snooping
Command:
clear ip dhcp detailed statistics snooping
Default:
N/A
Usage Guide:
To clear the DHCP snooping statistics.
Example:
To clear the switch’s DHCP normal L2 or L3 forward statistics.
14 NS4750-24S-4T-4X-V2 Managed Switch Command Guide
Chapter 4: Commands for CLI configuration
Switch# clear ip dhcp detailed statistics snooping
clear ip dhcp relay statistics
Command:
clear ip dhcp relay statistics
Default:
N/A
Usage Guide:
To clear the DHCP relay statistics.
Example:
To clear the switch’s DHCP relay statistics.
Switch# clear ip dhcp relay statistics
clear ip dhcp server binding
Command:
clear ip dhcp server binding <IP>
<IP> A.B.C.D
Default:
N/A
Usage Guide:
To clear the DHCP server binding cache.
Example:
To clear the switch’s DHCP server(192.168.0.100) binding cache.
Switch# clear ip dhcp server binding 192.168.0.100
clear ip dhcp server binding automatic
Command:
clear ip dhcp server binding automatic
Default:
N/A
Usage Guide:
To clear the DHCP automatic bindings cache.
Example:
To clear the switch’s DHCP automatic bindings cache.
NS4750-24S-4T-4X-V2 Managed Switch Command Guide 15
Chapter 4: Commands for CLI configuration
Switch# clear ip dhcp server binding automatic
clear ip dhcp server binding expired
Command:
clear ip dhcp server binding expired
Default:
N/A
Usage Guide:
To clear the DHCP expired bindings for free.
Example:
To clear the switch’s DHCP expired bindings for free.
Switch# clear ip dhcp server binding expired
clear ip dhcp server binding manual
Command:
clear ip dhcp server binding manual
Default:
N/A
Usage Guide:
To clear the DHCP server manual binding cache.
Example:
To clear the switch’s DHCP server manual binding cache.
Switch# clear ip dhcp server binding manual
clear ip igmp snooping statistics
Command:
clear ip igmp snooping statistics
Default:
N/A
Usage Guide:
To clear the IGMP snooping statistics.
Example:
To clear the switch’s IGMP snooping statistics.
Switch# clear ip igmp snooping statistics
16 NS4750-24S-4T-4X-V2 Managed Switch Command Guide
Chapter 4: Commands for CLI configuration
clear ip igmp snooping vlan
Command:
clear ip igmp snooping vlan < vlan_list> statistics
<vlan_list> VLAN identifier(s): VID
Default:
N/A
Usage Guide:
To clear the IGMP snooping vlan < vlan_list> statistics.
Example:
To clear the switch’s IGMP snooping vlan 1 statistics.
Switch# clear ip igmp snooping vlan 1 statistics
clear ipv6 mld snooping statistics
Command:
clear ipv6 mld snooping statistics
Default:
N/A
Usage Guide:
To clear the ipv6 mld snooping statistics.
Example:
To clear the switch’s ipv6 mld snooping statistics.
Switch# clear ipv6 mld snooping statistics
clear ipv6 mld snooping vlan
Command:
clear ipv6 mld snooping vlan <vlan_list> statistics
<vlan_list> VLAN identifier(s): VID
Default:
N/A
Usage Guide:
To clear the ipv6 mld snooping statistics for specific VLAN.
Example:
To clear the switch’s ipv6 mld snooping statistics for specific VLAN 1.
Switch# clear ipv6 mld snooping vlan 1 statistics
NS4750-24S-4T-4X-V2 Managed Switch Command Guide 17
Chapter 4: Commands for CLI configuration
clear ipv6 neighbors
Command:
clear ipv6 neighbors
Default:
N/A
Usage Guide:
To clear the ipv6 neighbors.
Example:
To clear the switch’s ipv6 neighbors.
Switch# clear ipv6 neighbors
clear lacp statistics
Command:
clear lacp statistics
Default:
N/A
Usage Guide:
To clear the lacp statistics.
Example:
To clear the switch’s lacp statistics.
Switch# clear lacp statistics
clear lldp statistics
Command:
clear lldp statistics
Default:
N/A
Usage Guide:
To clear the lldp statistics.
Example:
To clear the switch’s lldp statistics.
Switch# clear lldp statistics
18 NS4750-24S-4T-4X-V2 Managed Switch Command Guide
Chapter 4: Commands for CLI configuration
clear logging error info
Command:
clear logging error info
Default:
N/A
Usage Guide:
To clear the logging error info.
Example:
To clear the switch’s logging error info.
Switch# clear logging error info
clear logging error warning
Command:
clear logging error warning
Default:
N/A
Usage Guide:
To clear the logging error warning.
Example:
To clear the switch’s logging error warning.
Switch# clear logging error warning
clear logging info error
Command:
clear logging info error
Default:
N/A
Usage Guide:
To clear the logging info error.
Example:
To clear the switch’s logging info error.
Switch# clear logging info error
NS4750-24S-4T-4X-V2 Managed Switch Command Guide 19
Chapter 4: Commands for CLI configuration
clear logging info warning
Command:
clear logging info warning
Default:
N/A
Usage Guide:
To clear the logging info warning.
Example:
To clear the switch’s logging info warning.
Switch# clear logging info warning
clear logging warning error
Command:
clear logging warning error
Default:
N/A
Usage Guide:
To clear the logging warning error.
Example:
To clear the switch’s logging warning error.
Switch# clear logging warning error
clear logging warning info
Command:
clear logging warning info
Default:
N/A
Usage Guide:
To clear the logging warning info.
Example:
To clear the switch’s logging warning info.
Switch# clear logging warning info
20 NS4750-24S-4T-4X-V2 Managed Switch Command Guide
Chapter 4: Commands for CLI configuration
clear mac address-table
Command:
clear mac address-table
Default:
N/A
Usage Guide:
To clear the mac address-table.
Example:
To clear the switch’s mac address-table.
Switch# clear mac address-table
clear mep
Command:
clear mep <Inst : uint>
<Inst : uint> The MEP instance.
Default:
N/A
Usage Guide:
To clear the MEP instance profiles.
clear mvr name
Command:
clear mvr name <MvrName : word16>
<MvrName : word16> MVR multicast VLAN name
Default:
N/A
Usage Guide:
To clear the mvr name profiles.
clear mvr statistics
Command:
clear mvr statistics
Default:
N/A
Usage Guide:
To clear the mvr statistics.
Example:
To clear the switch’s mvr statistics.
NS4750-24S-4T-4X-V2 Managed Switch Command Guide 21
Chapter 4: Commands for CLI configuration
Switch# clear mvr statistics
clear mvr vlan
Command:
clear mvr vla n <vlan_list> statistics
<vlan_list> MVR multicast VLAN list
Default:
N/A
Usage Guide:
To clear the mvr vlan statistics for specific VLAN.
Example:
To clear the switch’s mvr vlan statistics for specific VLAN 1.
Switch# clear mvr vlan 1 statistics
clear spanning-tree detected-protocols interface *
Command:
clear spanning-tree detected-protocols interface *
Default:
N/A
Usage Guide:
To clear the spanning-tree detected-protocols for all.
Example:
To clear the switch’s spanning-tree detected-protocols for all.
Switch# clear spanning-tree detected-protocols interface *
clear spanning-tree detected-protocols interface *
Command:
clear spanning-tree detected-protocols interface *
Default:
N/A
Usage Guide:
To clear the spanning-tree detected-protocols for all.
Example:
To clear the switch’s spanning-tree detected-protocols for all.
22 NS4750-24S-4T-4X-V2 Managed Switch Command Guide
Chapter 4: Commands for CLI configuration
clear spanning-tree detected-protocols interface GigabitEthernet <PORT_LIST>
Switch# clear spanning-tree detected-protocols interface GigabitEthernet 1/1
clear spanning-tree detected-protocols interface 10GigabitEthernet <PORT_LIST>
Switch# clear spanning-tree detected-protocols interface 10GigabitEthernet 1/1
Switch# clear spanning-tree detected-protocols interface *
clear spanning-tree detected-protocols interface GigabitEthernet
Command:
<PORT_LIST> Port list in X/X-XX
Default:
N/A
Usage Guide:
To clear the spanning-tree detected-protocols for specific GigabitEthernet port.
Example:
To clear the switch’s spanning-tree detected-protocols for specific GigabitEthernet 1/1.
clear spanning-tree detected-protocols interface 10GigabitEthernet
Command:
<PORT_LIST> Port list in X/X-XX
Default:
N/A
Usage Guide:
To clear the spanning-tree detected-protocols for specific 10GigabitEthernet port.
Example:
To clear the switch’s spanning-tree detected-protocols for specific 10GigabitEthernet 1/1.
clear spanning-tree statistics interface *
Command:
clear spanning-tree statistics interface *
Default:
N/A
NS4750-24S-4T-4X-V2 Managed Switch Command Guide 23
Chapter 4: Commands for CLI configuration
clear spanning-tree statistics interface GigabitEthernet <PORT_LIST>
Switch# clear spanning-tree statistics interface GigabitEthernet 1/1
clear spanning-tree statistics interface 10GigabitEthernet <PORT_LIST>
Switch# clear spanning-tree statistics interface 10GigabitEthernet 1/1
Usage Guide:
To clear the spanning-tree statistics for all.
Example:
To clear the switch’s spanning-tree statistics for all.
Switch# clear spanning-tree statistics interface *
clear spanning-tree statistics interface GigabitE thernet
Command:
<PORT_LIST> Port list in X/X-XX
Default:
N/A
Usage Guide:
To clear the spanning-tree statistics for specific GigabitEthernet port.
Example:
To clear the switch’s spanning-tree statistics for specific GigabitEthernet 1/1.
clear spanning-tree statistics interface 10GigabitEthernet
Command:
<PORT_LIST> Port list in X/X-XX
Default:
N/A
Usage Guide:
To clear the spanning-tree statistics for specific 10GigabitEthernet port.
Example:
To clear the switch’s spanning-tree statistics for specific 10GigabitEthernet 1/1.
clear statistics *
Command:
clear statistics *
Default:
24 NS4750-24S-4T-4X-V2 Managed Switch Command Guide
Chapter 4: Commands for CLI configuration
N/A
Usage Guide:
To clear the statistics for all.
Example:
To clear the switch’s statistics for all.
Switch# clear statistics *
clear statistics GigabitEthernet
Command:
clear statistics GigabitEthernet <PORT_LIST>
<PORT_LIST> Port list in X/X-XX
Default:
N/A
Usage Guide:
To clear the statistics for specific GigabitEthernet port.
Example:
To clear the switch’s statistics for specific GigabitEthernet 1/1.
Switch# clear statistics GigabitEthernet 1/1
clear statistics 10GigabitEthernet
Command:
clear statistics 10GigabitEthernet <PORT_LIST>
<PORT_LIST> Port list in X/X-XX
Default:
N/A
Usage Guide:
To clear the statistics for specific 10GigabitEthernet port.
Example:
To clear the switch’s statistics for specific 10GigabitEthernet 1/1.
Switch# clear statistics 10GigabitEthern et 1/1

configure terminal

aaa authentication login console local
Command:
NS4750-24S-4T-4X-V2 Managed Switch Command Guide 25
Chapter 4: Commands for CLI configuration
Switch (config)# aaa authentication login console local
Switch (config)# aaa authentication login console local radius
tacacs
aaa authentication login console local
Default:
console : local
Usage Guide:
To authenticate the local account via console only.
Example:
To authenticate the local account via console.
Switch# configure terminal
aaa authentication login console radius
Command:
aaa authentication login console radius
Default:
console : local
Usage Guide:
To authenticate the radius account via console only.
Example:
To authenticate the local and radius account via console.
Switch# configure terminal
aaa authentication login console tacacs
Command:
aaa authentication login console tacacs
Default:
console : local
Usage Guide:
To authenticate the tacacs account via console only.
Example:
To authenticate the local and radius and tacacs account via console.
Switch# configure terminal Switch (config)# aaa authentication login console local radius
aaa authentication login http local
Command:
26 NS4750-24S-4T-4X-V2 Managed Switch Command Guide
Chapter 4: Commands for CLI configuration
Switch (config)# aaa authentication login http local
Switch (config)# aaa authentication login http local radius
Switch (config)# aaa authentication login http local radius tacacs
aaa authentication login http local
Default:
http : local
Usage Guide:
To authenticate the local account via http only.
Example:
To authenticate the local account via http.
Switch# configure terminal
aaa authentication login http radius
Command:
aaa authentication login http radius
Default:
http : local
Usage Guide:
To authenticate the radius account via http only.
Example:
To authenticate the local and radius account via http.
Switch# configure terminal
aaa authentication login http tacacs
Command:
aaa authentication login http tacacs
Default:
http : local
Usage Guide:
To authenticate the tacacs account via http only.
Example:
To authenticate the local and radius and tacacs account via http.
Switch# configure terminal
aaa authentication login ssh local
Command:
NS4750-24S-4T-4X-V2 Managed Switch Command Guide 27
Chapter 4: Commands for CLI configuration
Switch (config)# aaa authentication login ssh local
Switch (config)# aaa authentication login ssh local radius
Switch (config)# aaa authentication login ssh local radius tacacs
aaa authentication login ssh local
Default:
ssh : local
Usage Guide:
To authenticate the local account via ssh only.
Example:
To authenticate the local account via ssh.
Switch# configure terminal
aaa authentication login ssh radius
Command:
aaa authentication login ssh radius
Default:
ssh : local
Usage Guide:
To authenticate the radius account via ssh only.
Example:
To authenticate the local and radius account via ssh.
Switch# configure terminal
aaa authentication login ssh tacacs
Command:
aaa authentication login ssh tacacs
Default:
ssh : local
Usage Guide:
To authenticate the tacacs account via ssh only.
Example:
To authenticate the local and radius and tacacs account via console.
Switch# configure terminal
aaa authentication login telnet local
Command:
28 NS4750-24S-4T-4X-V2 Managed Switch Command Guide
Loading...
+ 259 hidden pages