Mes3500-10 - 1 2
Mes3500-10 - 1 2
Mes3500-10 - 1 2
com
Quick Start Guide
Ethernet Switch Series
Intelligent Ethernet Switches
Versions: 3.79, 3.80, 3.90, 4.00, 4.10
Edition 4, 04/2014
Copyright 2011
ZyXEL Communications Corporation
CLI Reference Guide
Default Login Details
Out-Of-Band Mgt Port http://192.168.0.1
In-Band Ports http://192.168.1.1
User Name admin
Password 1234
Copyright 2014 ZyXEL Communications Corporation
IMPORTANT!
READ CAREFULLY BEFORE USE.
KEEP THIS GUIDE FOR FUTURE REFERENCE.
This is a Reference Guide for a series of products. Not all products support all firmware features.
Screenshots, graphics and commands in this book may differ slightly from your product due to
differences in your product firmware or your computer operating system. Every effort has been made
to ensure that the information in this manual is accurate.
Related Documentation
Users Guide
The Users Guide explains how to use the Web Configurator to configure the Switch.
It is recommended you use the Web Configurator to configure the Switch.
About This CLI Reference Guide
Ethernet Switch CLI Reference Guide 3
About This CLI Reference Guide
Intended Audience
This manual is intended for people who want to configure ZyXEL Switches via Command
Line Interface (CLI).
The version number on the cover page refers to the latest firmware version supported by the
ZyXEL Switches. This guide applies to version 3.79, 3.80, 3.90, 4.00 and 4.10 at the time of
writing.
This guide is intended as a command reference for a series of products.
Therefore many commands in this guide may not be available in your product.
See your Users Guide for a list of supported features and details about feature
implementation.
Please refer to www.zyxel.com for product specific User Guides and product certifications.
How To Use This Guide
Read the How to Access the CLI chapter for an overview of various ways you can get to
the command interface on your Switch.
Use the Reference section in this guide for command syntax, description and examples.
Each chapter describes commands related to a feature.
To find specific information in this guide, use the Contents Overview, the Index of
Commands, or search the PDF file. E-mail [email protected] if you cannot find
the information you require.
Document Conventions
Ethernet Switch CLI Reference Guide 4
Document Conventions
Warnings and Notes
These are how warnings and notes are shown in this CLI Reference Guide.
Warnings tell you about things that could harm you or your device. See your
Users Guide for product specific warnings.
Notes tell you other important information (for example, other things you may
need to configure or helpful tips) or recommendations.
Syntax Conventions
This manual follows these general conventions:
ZyXELs switches may be referred to as the Switch, the device, the system or the
product in this Reference Guide.
Units of measurement may denote the metric value or the scientific value. For
example, k for kilo may denote 1000 or 1024, M for mega may denote 1000000
or 1048576 and so on.
Command descriptions follow these conventions:
Commands are in cour i er new f ont .
Required input values are in angle brackets <>; for example, pi ng <ip> means that you
must specify an IP address for this command.
Optional fields are in square brackets []; for instance show l ogi ns [ name] , the name
field is optional.
The following is an example of a required field within an optional field: snmp- ser ver
[ cont act <system contact>] , the cont act field is optional. However, if you
use cont act , then you must provide the system contact information.
Lists (such as <port-list>) consist of one or more elements separated by commas.
Each element might be a single value (1, 2, 3, ...) or a range of values (1-2, 3-5, ...)
separated by a dash.
The | (bar) symbol means or.
italic terms represent user-defined input values; for example, in snmp- ser ver
[ cont act <system contact>] , system contact can be replaced by the
administrators name.
A key stroke is denoted by square brackets and uppercase text, for example, [ENTER]
means the Enter or Return key on your keyboard.
Document Conventions
Ethernet Switch CLI Reference Guide 5
<cr >means press the [ENTER] key.
An arrow (- - >) indicates that this line is a continuation of the previous line.
Command summary tables are organized as follows:
The Table title identifies commands or the specific feature that the commands configure.
The COMMAND column shows the syntax of the command.
If a command is not indented, you run it in the enable or config mode. See Chapter 2 on
page 14 for more information on command modes.
If a command is indented, you run it in a sub-command mode.
The DESCRIPTION column explains what the command does. It also identifies legal input
values, if necessary.
The M column identifies the mode in which you run the command.
E: The command is available in enable mode. It is also available in user mode if the
privilege level (P) is less than 13.
C: The command is available in config (not indented) or one of the sub-command modes
(indented).
The P column identifies the privilege level of the command. If you dont have a high enough
privilege level you may not be able to view or execute some of the commands. See Chapter 2
on page 14 for more information on privilege levels.
Table 1 Example: Command Summary Table
COMMAND DESCRIPTION M P
show vl an Displays the status of all VLANs. E 3
vl an <1- 4094> Enters config-vlan mode for the specified VLAN. Creates the
VLAN, if necessary.
C 13
i nact i ve Disables the specified VLAN. C 13
no i nact i ve Enables the specified VLAN. C 13
no vl an <1- 4094> Deletes a VLAN. C 13
Contents Overview
Ethernet Switch CLI Reference Guide 6
Contents Overview
Introduction .............................................................................................................................. 9
How to Access and Use the CLI .................................................................................................11
Privilege Level and Command Mode ......................................................................................... 14
Initial Setup ................................................................................................................................ 19
Reference A-G ........................................................................................................................ 22
AAA Commands ........................................................................................................................ 24
ARP Commands ........................................................................................................................ 27
ARP Inspection Commands ...................................................................................................... 29
ARP Learning Commands ......................................................................................................... 34
Bandwidth Commands .............................................................................................................. 35
Broadcast Storm Commands ..................................................................................................... 38
CFM Commands ....................................................................................................................... 41
Classifier Commands ................................................................................................................ 50
Cluster Commands .................................................................................................................... 53
Date and Time Commands ........................................................................................................ 56
Data Center Bridging Commands .............................................................................................. 59
DHCP Commands ..................................................................................................................... 67
DHCP Snooping & DHCP VLAN Commands ............................................................................ 72
DiffServ Commands ................................................................................................................... 76
Display Commands ................................................................................................................... 77
DVMRP Commands .................................................................................................................. 78
Error Disable and Recovery Commands ................................................................................... 80
Ethernet OAM Commands ........................................................................................................ 84
External Alarm Commands ........................................................................................................ 90
GARP Commands ..................................................................................................................... 92
Green Ethernet Commands ....................................................................................................... 94
GVRP Commands ..................................................................................................................... 98
Reference H-M ........................................................................................................................ 99
HTTPS Server Commands ...................................................................................................... 101
IEEE 802.1x Authentication Commands ................................................................................. 105
IGMP and Multicasting Commands ......................................................................................... 108
IGMP Snooping Commands .....................................................................................................111
IGMP Filtering Commands .......................................................................................................118
Interface Commands ............................................................................................................... 120
Interface Route-domain Mode ................................................................................................. 125
Contents Overview
Ethernet Switch CLI Reference Guide 7
IP Commands .......................................................................................................................... 126
IP Source Binding Commands ................................................................................................ 130
IPv6 Commands ...................................................................................................................... 132
Layer 2 Protocol Tunnel (L2PT) Commands ........................................................................... 155
Link Layer Discovery Protocol (LLDP) Commands ................................................................. 158
Load Sharing Commands ........................................................................................................ 170
Logging Commands ................................................................................................................ 172
Login Account Commands ...................................................................................................... 173
Loopguard Commands ............................................................................................................ 175
MAC Address Commands ....................................................................................................... 177
MAC Authentication Commands ............................................................................................. 179
MAC Filter Commands ............................................................................................................ 181
MAC Forward Commands ....................................................................................................... 183
MAC Pinning Commands ........................................................................................................ 184
Mirror Commands .................................................................................................................... 186
MRSTP Commands ................................................................................................................. 190
MSTP Commands ................................................................................................................... 192
Multiple Login Commands ....................................................................................................... 197
MVR Commands ..................................................................................................................... 198
Reference N-S ...................................................................................................................... 200
OSPF Commands ................................................................................................................... 202
Password Commands ............................................................................................................. 208
PoE Commands ...................................................................................................................... 210
Policy Commands .................................................................................................................... 214
Policy Route Commands ......................................................................................................... 218
Port Security Commands ......................................................................................................... 220
Port-based VLAN Commands ................................................................................................. 222
PPPoE IA Commands ............................................................................................................. 223
Private VLAN Commands ........................................................................................................ 229
Protocol-based VLAN Commands ........................................................................................... 234
Queuing Commands ................................................................................................................ 236
RADIUS Commands ................................................................................................................ 240
Remote Management Commands ........................................................................................... 242
RIP Commands ....................................................................................................................... 245
RMON ...................................................................................................................................... 247
Running Configuration Commands ......................................................................................... 253
sFlow ....................................................................................................................................... 255
Smart Isolation Commands ..................................................................................................... 257
SNMP Server Commands ....................................................................................................... 261
STP and RSTP Commands ..................................................................................................... 266
SSH Commands ...................................................................................................................... 270
Static Multicast Commands ..................................................................................................... 272
Contents Overview
Ethernet Switch CLI Reference Guide 8
Static Route Commands .......................................................................................................... 274
Subnet-based VLAN Commands ............................................................................................ 277
Syslog Commands .................................................................................................................. 279
Reference T-Z ....................................................................................................................... 281
TACACS+Commands ............................................................................................................. 283
Tech Support Commands ........................................................................................................ 284
TFTP Commands .................................................................................................................... 287
Trunk Commands .................................................................................................................... 288
trTCM Commands ................................................................................................................... 291
VLAN Commands .................................................................................................................... 294
VLAN IP Commands ............................................................................................................... 300
VLAN Mapping Commands ..................................................................................................... 302
VLAN Port Isolation Commands .............................................................................................. 304
VLAN Stacking Commands ..................................................................................................... 305
VLAN Trunking Commands ..................................................................................................... 308
VRRP Commands ................................................................................................................... 309
Additional Commands ............................................................................................................. 313
Appendices and Index of Commands ................................................................................ 325
9
PART I
Introduction
How to Access and Use the CLI (11)
Privilege Level and Command Mode (14)
Initial Setup (19)
10
Ethernet Switch CLI Reference Guide 11
CHAPTER 1
How to Access and Use the CLI
This chapter introduces the command line interface (CLI).
1.1 Accessing the CLI
Use any of the following methods to access the CLI.
1.1.1 Console Port
1 Connect your computer to the console port on the Switch using the appropriate cable.
2 Use terminal emulation software with the following settings:
3 Press [ENTER] to open the login screen.
1.1.2 Telnet
1 Connect your computer to one of the Ethernet ports.
2 Open a Telnet session to the Switchs IP address. If this is your first login, use the default
values.
Make sure your computer IP address is in the same subnet, unless you are accessing the
Switch through one or more routers.
Table 2 Default Settings for the Console Port
SETTING DEFAULT VALUE
Terminal Emulation VT100
Baud Rate 9600 bps
Parity None
Number of Data Bits 8
Number of Stop Bits 1
Flow Control None
Table 3 Default Management IP Address
SETTING DEFAULT VALUE
IP Address 192.168.1.1
Subnet Mask 255.255.255.0
Chapter 1 How to Access and Use the CLI
Ethernet Switch CLI Reference Guide 12
1.1.3 SSH
1 Connect your computer to one of the Ethernet ports.
2 Use a SSH client program to access the Switch. If this is your first login, use the default
values in Table 3 on page 11 and Table 4 on page 12. Make sure your computer IP
address is in the same subnet, unless you are accessing the Switch through one or more
routers.
1.2 Logging in
Use the administrator username and password. If this is your first login, use the default values.
The Switch automatically logs you out of the management interface after five
minutes of inactivity. If this happens to you, simply log back in again.
1.3 Using Shortcuts and Getting Help
This table identifies some shortcuts in the CLI, as well as how to get help.
Table 4 Default User Name and Password
SETTING DEFAULT VALUE
User Name admin
Password 1234
Table 5 CLI Shortcuts and Help
COMMAND / KEY(S) DESCRIPTION
hi st or y Displays a list of recently-used commands.
( up/ down ar r ow keys) Scrolls through the list of recently-used commands. You can edit
any command or press [ ENTER] to run it again.
[ CTRL] +U Clears the current command.
[ TAB] Auto-completes the keyword you are typing if possible. For
example, type conf i g, and press [ TAB] . The Switch finishes the
word conf i gur e.
? Displays the keywords and/or input values that are allowed in
place of the ?.
hel p Displays the (full) commands that are allowed in place of hel p.
Chapter 1 How to Access and Use the CLI
Ethernet Switch CLI Reference Guide 13
1.4 Saving Your Configuration
When you run a command, the Switch saves any changes to its run-time memory. The Switch
loses these changes if it is turned off or loses power. Use the wr i t e memor y command in
enable mode to save the current configuration permanently to non-volatile memory.
You should save your changes after each CLI session. All unsaved
configuration changes are lost once you restart the Switch.
1.5 Logging Out
Enter l ogout to log out of the CLI. You have to be in user, enable, or config mode. See
Chapter 2 on page 14 for more information about modes.
sysname# wr i t e memor y
Ethernet Switch CLI Reference Guide 14
CHAPTER 2
Privilege Level and Command
Mode
This chapter introduces the CLI privilege levels and command modes.
The privilege level determines whether or not a user can run a particular command.
If a user can run a particular command, the user has to run it in the correct mode.
2.1 Privilege Levels
Every command has a privilege level (0-14). Users can run a command if the sessions
privilege level is greater than or equal to the commands privilege level. The sessions
privilege level initially comes from the login accounts privilege level, though it is possible to
change the sessions privilege level after logging in.
2.1.1 Privilege Levels for Commands
The privilege level of each command is listed in the Reference A-G chapters on page 22.
At the time of writing, commands have a privilege level of 0, 3, 13, or 14. The following table
summarizes the types of commands at each of these privilege levels.
2.1.2 Privilege Levels for Login Accounts
You can manage the privilege levels for login accounts in the following ways:
Using commands. Login accounts can be configured by the admin account or any login
account with a privilege level of 14. See Chapter 40 on page 173.
Table 6 Types of Commands at Different Privilege Levels
PRIVILEGE LEVEL TYPES OF COMMANDS AT THIS PRIVILEGE LEVEL
0 Display basic system information.
3 Display configuration or status.
13 Configure features except for login accounts, SNMP user accounts, the
authentication method sequence and authorization settings, multiple logins,
administrator and enable passwords, and configuration information display.
14 Configure login accounts, SNMP user accounts, the authentication method
sequence and authorization settings, multiple logins, and administrator and
enable passwords, and display configuration information.
Chapter 2 Privilege Level and Command Mode
Ethernet Switch CLI Reference Guide 15
Using vendor-specific attributes in an external authentication server. See the Users Guide
for more information.
The admin account has a privilege level of 14, so the administrator can run every command.
You cannot change the privilege level of the admin account.
2.1.3 Privilege Levels for Sessions
The sessions privilege level initially comes from the privilege level of the login account the
user used to log in to the Switch. After logging in, the user can use the following commands to
change the sessions privilege level.
2.1.3.1 enable Command
This command raises the sessions privilege level to 14. It also changes the session to enable
mode (if not already in enable mode). This command is available in user mode or enable
mode, and users have to know the enable password.
In the following example, the login account user0 has a privilege level of 0 but knows that the
enable password is 123456. Afterwards, the sessions privilege level is 14, instead of 0, and
the session changes to enable mode.
The default enable password is 1234. Use this command to set the enable password.
passwor d <password>
<password>consists of 1-32 alphanumeric characters. For example, the following
command sets the enable password to 123456. See Chapter 89 on page 313 for more
information about this command.
The password is sent in plain text and stored in the Switchs buffers. Use this command to set
the cipher password for password encryption.
passwor d ci pher <password>
<password>consists of 32 alphanumeric characters. For example, the following command
encrypts the enable password with a 32-character cipher password. See Chapter 53 on page
208 for more information about this command.
2.1.3.2 enable <0-14> Command
This command raises the sessions privilege level to the specified level. It also changes the
session to enable mode, if the specified level is 13 or 14. This command is available in user
mode or enable mode, and users have to know the password for the specified privilege level.
sysname> enabl e
Passwor d: 123456
sysname#
sysname( conf i g) # passwor d 123456
sysname( conf i g) # passwor d ci pher qwer t yui opasdf ghj kl zxcvbnm123456
Chapter 2 Privilege Level and Command Mode
Ethernet Switch CLI Reference Guide 16
In the following example, the login account user0 has a privilege level of 0 but knows that the
password for privilege level 13 is pswd13. Afterwards, the sessions privilege level is 13,
instead of 0, and the session changes to enable mode.
Users cannot use this command until you create passwords for specific privilege levels. Use
the following command to create passwords for specific privilege levels.
passwor d <password> pr i vi l ege <0- 14>
<password>consists of 1-32 alphanumeric characters. For example, the following
command sets the password for privilege level 13 to pswd13. See Chapter 89 on page 313 for
more information about this command.
2.1.3.3 disable Command
This command reduces the sessions privilege level to 0. It also changes the session to user
mode. This command is available in enable mode.
2.1.3.4 show privilege command
This command displays the sessions current privilege level. This command is available in
user mode or enable mode.
2.2 Command Modes
The CLI is divided into several modes. If a user has enough privilege to run a particular
command, the user has to run the command in the correct mode. The modes that are available
depend on the sessions privilege level.
2.2.1 Command Modes for Privilege Levels 0-12
If the sessions privilege level is 0-12, the user and all of the allowed commands are in user
mode. Users do not have to change modes to run any allowed commands.
sysname> enabl e 13
Passwor d: pswd13
sysname#
sysname( conf i g) # passwor d pswd13 pr i vi l ege 13
sysname# show pr i vi l ege
Cur r ent pr i vi l ege l evel : 14
Chapter 2 Privilege Level and Command Mode
Ethernet Switch CLI Reference Guide 17
2.2.2 Command Modes for Privilege Levels 13-14
If the sessions privilege level is 13-14, the allowed commands are in one of several modes.
Each command is usually in one and only one mode. If a user wants to run a particular
command, the user has to change to the appropriate mode. The command modes are organized
like a tree, and users start in enable mode. The following table explains how to change from
one mode to another.
Table 7 Command Modes for Privilege Levels 13-14 and the Types of Commands in Each One
MODE PROMPT COMMAND FUNCTIONS IN THIS MODE
enable sysname# Display current configuration, diagnostics, maintenance.
config sysname( conf i g) # Configure features other than those below.
config-interface sysname( conf i g- i nt er f ace) # Configure ports.
config-mvr sysname( conf i g- mvr ) # Configure multicast VLAN.
config-route-
domain
sysname( conf i g- i f ) # Enable and enter configuration mode for an IPv4 or IPv6
routing domain.
config-dvmrp sysname( conf i g- dvmr p) # Configure Distance Vector Multicast Routing Protocol
(DVRMP).
config-igmp sysname( conf i g- i gmp) # Configure Internet Group Management Protocol (IGMP).
config-ma sysname( conf i g- ma) # Configure an Maintenance Association (MA) in
Connectivity Fault Management (CFM).
config-ospf sysname( conf i g- ospf ) # Configure Open Shortest Path First (OSPF) protocol.
config-rip sysname( conf i g- r i p) # Configure Routing Information Protocol (RIP).
config-vrrp sysname( conf i g- vr r p) # Configure Virtual Router Redundancy Protocol (VRRP).
Table 8 Changing Between Command Modes for Privilege Levels 13-14
MODE ENTER MODE LEAVE MODE
enable - - --
config conf i gur e exit
config-interface i nt er f ace por t - channel <port-list> exit
config-mvr mvr <1- 4094> exit
config-vlan vl an <1- 4094> exit
config-route-domain i nt er f ace r out e domai n <ip-address>/ <mask-bits> exit
config-dvmrp r out er dvmr p exit
config-igmp r out er i gmp exit
config-ospf r out er ospf <router-id> exit
config-rip r out er r i p exit
config-vrrp r out er vr r p net wor k <ip-address>/ <mask-bits>
vr - i d <1~7> upl i nk- gat eway <ip-address>
exit
Chapter 2 Privilege Level and Command Mode
Ethernet Switch CLI Reference Guide 18
2.3 Listing Available Commands
Use the hel p command to view the executable commands on the Switch. You must have the
highest privilege level in order to view all the commands. Follow these steps to create a list of
supported commands:
1 Log into the CLI. This takes you to the enable mode.
2 Type hel p and press [ENTER]. A list comes up which shows all the commands
available in enable mode. The example shown next has been edited for brevitys sake.
3 Copy and paste the results into a text editor of your choice. This creates a list of all the
executable commands in the user and enable modes.
4 Type conf i gur e and press [ENTER]. This takes you to the config mode.
5 Type hel p and press [ENTER]. A list is displayed which shows all the commands
available in config mode and all the sub-commands. The sub-commands are preceded by
the command necessary to enter that sub-command mode. For example, the command
name <name-str>as shown next, is preceded by the command used to enter the
config-vlan sub-mode: vl an <1- 4094>.
6 Copy and paste the results into a text editor of your choice. This creates a list of all the
executable commands in config and the other submodes, for example, the config-vlan
mode.
sysname# hel p
Commands avai l abl e:
hel p
l ogout
exi t
hi st or y
enabl e <0- 14>
enabl e <cr >
.
.
t r acer out e <i p| host - name> [ vl an <vl an- i d>] [ . . ]
t r acer out e hel p
ssh <1| 2> <[ user @] dest - i p> <cr >
ssh <1| 2> <[ user @] dest - i p> [ command </ >]
sysname#
sysname# hel p
.
.
no ar p i nspect i on l og- buf f er l ogs
no ar p i nspect i on f i l t er - agi ng- t i me
no ar p i nspect i on <cr >
vl an <1- 4094>
vlan <1-4094> name <name-str>
vl an <1- 4094> nor mal <por t - l i st >
vl an <1- 4094> f i xed <por t - l i st >
Ethernet Switch CLI Reference Guide 19
CHAPTER 3
Initial Setup
This chapter identifies tasks you might want to do when you first configure the Switch.
3.1 Changing the Administrator Password
It is recommended you change the default administrator password. You can
encrypt the password using the passwor d encr ypt i on command. See
Chapter 53 on page 208 for more information.
Use this command to change the administrator password.
admi n- passwor d <pw-string> <Confirm-string>
where <pw-string>may be 1-32 alphanumeric characters long.
3.2 Changing the Enable Password
It is recommended you change the default enable password. You can encrypt
the password using the passwor d encr ypt i on command. See Chapter 53
on page 208 for more information.
Use this command to change the enable password.
passwor d <password>
where <password>may be 1-32 alphanumeric characters long.
sysname# conf i gur e
sysname( conf i g) # admi n- passwor d t 1g2y7i 9 t 1g2y7i 9
sysname# conf i gur e
sysname( conf i g) # passwor d k8s8s3dl 0
Chapter 3 Initial Setup
Ethernet Switch CLI Reference Guide 20
3.3 Prohibiting Concurrent Logins
By default, multiple CLI sessions are allowed via the console port or Telnet. See the Users
Guide for the maximum number of concurrent sessions for your Switch. Use this command to
prohibit concurrent logins.
no mul t i - l ogi n
Console port has higher priority than Telnet. See Chapter 50 on page 197 for more mul t i -
l ogi n commands.
3.4 Changing the Management IP Address
The Switch has a different IP address in each VLAN. By default, the Switch has VLAN 1 with
IP address 192.168.1.1 and subnet mask 255.255.255.0. Use this command in config-vlan
mode to change the management IP address in a specific VLAN.
i p addr ess <ip> <mask>
This example shows you how to change the management IP address in VLAN 1 to 172.16.0.1
with subnet mask 255.255.255.0.
Afterwards, you have to use the new IP address to access the Switch.
3.5 Changing the Out-of-band Management IP Address
If your Switch has a MGMT port (also referred to as the out-of-band management port), then
the Switch can also be managed via this interface. By default, the MGMT port IP address is
192.168.0.1 and the subnet mask is 255.255.255.0. Use this command in config mode to
change the out-of-band management IP address.
i p addr ess <ip> <mask>
This example shows you how to change the out-of-band management IP address to 10.10.10.1
with subnet mask 255.255.255.0 and the default gateway 10.10.10.254
sysname# conf i gur e
sysname( conf i g) # no mul t i - l ogi n
sysname# conf i gur e
sysname( conf i g) # vl an 1
sysname( conf i g- vl an) # i p addr ess def aul t - management 172. 16. 0. 1 255. 255. 255. 0
sysname# conf i gur e
sysname( conf i g) # i p addr ess 10. 10. 10. 1 255. 255. 255. 0
sysname( conf i g) # i p addr ess def aul t - gat eway 10. 10. 10. 254
Chapter 3 Initial Setup
Ethernet Switch CLI Reference Guide 21
3.6 Looking at Basic System Information
Use this command to look at general system information about the Switch.
show syst em- i nf or mat i on
This is illustrated in the following example.
See Chapter 89 on page 313 for more information about these attributes.
3.7 Looking at the Operating Configuration
Use this command to look at the current operating configuration.
show r unni ng- conf i g
This is illustrated in the following example.
sysname# show syst em- i nf or mat i on
Syst emName : sysname
Syst emCont act :
Syst emLocat i on :
Et her net Addr ess : 00: 13: 49: ae: f b: 7a
ZyNOS F/ WVer si on : V3. 80( AI I . 0) b0 | 04/ 18/ 2007
RomRasSi ze : 1746416
Syst emup Ti me : 280: 32: 52 ( 605186d t i cks)
Boot base Ver si on : V1. 00 | 05/ 17/ 2006
ZyNOS CODE : RAS Apr 18 2007 19: 59: 49
Pr oduct Model : ES- 2024PWR
sysname# show r unni ng- conf i g
Bui l di ng conf i gur at i on. . .
Cur r ent conf i gur at i on:
vl an 1
name 1
nor mal " "
f i xed 1- 9
f or bi dden " "
unt agged 1- 9
i p addr ess def aul t - management 172. 16. 37. 206 255. 255. 255. 0
i p addr ess def aul t - gat eway 172. 16. 37. 254
exi t
22
PART II
Reference A-G
AAA Commands (24)
ARP Commands (27)
ARP Inspection Commands (29)
ARP Learning Commands (34)
Bandwidth Commands (35)
Broadcast Storm Commands (38)
CFM Commands (41)
Classifier Commands (50)
Cluster Commands (53)
Date and Time Commands (56)
Data Center Bridging Commands (59)
DHCP Commands (67)
DHCP Snooping & DHCP VLAN Commands (72)
DiffServ Commands (76)
Display Commands (77)
DVMRP Commands (78)
Error Disable and Recovery Commands (80)
Ethernet OAM Commands (84)
External Alarm Commands (90)
GARP Commands (92)
Green Ethernet Commands (94)
GVRP Commands (98)
23
Ethernet Switch CLI Reference Guide 24
CHAPTER 4
AAA Commands
Use these commands to configure authentication, authorization and accounting on the Switch.
4.1 Command Summary
The following section lists the commands for this feature.
Table 9 aaa authentication Command Summary
COMMAND DESCRIPTION M P
show aaa aut hent i cat i on Displays what methods are used for authentication. E 3
show aaa aut hent i cat i on enabl e Displays the authentication method(s) for checking privilege
level of administrators.
E 3
aaa aut hent i cat i on enabl e
<method1> [ <method2> . . . ]
Specifies which method should be used first, second, and
third for checking privileges.
method: enabl e, r adi us, or t acacs+.
C 14
no aaa aut hent i cat i on enabl e Resets the method list for checking privileges to its default
value.
C 14
show aaa aut hent i cat i on l ogi n Displays the authentication methods for administrator login
accounts.
E 3
aaa aut hent i cat i on l ogi n
<method1> [ <method2> . . . ]
Specifies which method should be used first, second, and
third for the authentication of login accounts.
method: l ocal , r adi us, or t acacs+.
C 14
no aaa aut hent i cat i on l ogi n Resets the method list for the authentication of login accounts
to its default value.
C 14
Table 10 Command Summary: aaa accounting
COMMAND DESCRIPTION M P
show aaa account i ng Displays accounting settings configured on the Switch. E 3
show aaa account i ng updat e Display the update period setting on the Switch for
accounting sessions.
E 3
aaa account i ng updat e per i odi c
<1- 2147483647>
Sets the update period (in minutes) for accounting sessions.
This is the time the Switch waits to send an update to an
accounting server after a session starts.
C 13
no aaa account i ng updat e Resets the accounting update interval to the default value. C 13
show aaa account i ng commands Displays accounting settings for recording command events. E 3
aaa account i ng commands
<privilege> st op- onl y t acacs+
[ br oadcast ]
Enables accounting of command sessions and specifies the
minimum privilege level (0-14) for the command sessions that
should be recorded. Optionally, sends accounting information
for command sessions to all configured accounting servers at
the same time.
C 13
Chapter 4 AAA Commands
Ethernet Switch CLI Reference Guide 25
no aaa account i ng commands Disables accounting of command sessions on the Switch. C 13
show aaa account i ng dot 1x Displays accounting settings for recording IEEE 802.1x
session events.
E 3
aaa account i ng dot 1x <st ar t -
st op| st op- onl y>
<r adi us| t acacs+> [ br oadcast ]
Enables accounting of IEEE 802.1x authentication sessions
and specifies the mode and protocol method. Optionally,
sends accounting information for IEEE 802.1x authentication
sessions to all configured accounting servers at the same
time.
C 13
no aaa account i ng dot 1x Disables accounting of IEEE 802.1x authentication sessions
on the Switch.
C 13
show aaa account i ng exec Displays accounting settings for recording administrative
sessions via SSH, Telnet or the console port.
E 3
aaa account i ng exec <st ar t -
st op| st op- onl y>
<r adi us| t acacs+> [ br oadcast ]
Enables accounting of administrative sessions via SSH,
Telnet and console port and specifies the mode and protocol
method. Optionally, sends accounting information for
administrative sessions via SSH, Telnet and console port to
all configured accounting servers at the same time.
C 13
no aaa account i ng exec Disables accounting of administrative sessions via SSH,
Telnet or console on the Switch.
C 13
show aaa account i ng syst em Displays accounting settings for recording system events, for
example system shut down, start up, accounting enabled or
accounting disabled.
E 3
aaa account i ng syst em
<r adi us| t acacs+> [ br oadcast ]
Enables accounting of system events and specifies the
protocol method. Optionally, sends accounting information for
system events to all configured accounting servers at the
same time.
C 13
no aaa account i ng syst em Disables accounting of system events on the Switch. C 13
Table 10 Command Summary: aaa accounting (continued)
COMMAND DESCRIPTION M P
Table 11 aaa authorization Command Summary
COMMAND DESCRIPTION M P
show aaa aut hor i zat i on Displays authorization settings configured on the Switch. E 3
show aaa aut hor i zat i on dot 1x Displays the authorization method used to allow an IEEE
802.1x client to have different bandwidth limit or VLAN ID
assigned via the external server.
E 3
show aaa aut hor i zat i on exec Displays the authorization method used to allow an
administrator which logs in the Switch through Telnet or SSH
to have different access privilege level assigned via the
external server.
E 3
aaa aut hor i zat i on consol e Enables authorization of allowing an administrator which logs
in the Switch through the console port to have different
access privilege level assigned via the external server.
C 14
aaa aut hor i zat i on dot 1x r adi us Enables authorization for IEEE 802.1x clients using RADIUS. C 14
aaa aut hor i zat i on exec
<r adi us| t acacs+>
Specifies which method (r adi us or t acacs+) should be
used for administrator authorization.
C 14
no aaa aut hor i zat i on consol e Disables authorization of allowing an administrator which logs
in the Switch through the console port to have different
access privilege level assigned via the external server.
C 14
Chapter 4 AAA Commands
Ethernet Switch CLI Reference Guide 26
no aaa aut hor i zat i on dot 1x Disables authorization of allowing an IEEE 802.1x client to
have different bandwidth limit or VLAN ID assigned via the
external server.
C 14
no aaa aut hor i zat i on exec Disables authorization of allowing an administrator which logs
in the Switch through Telnet or SSH to have different access
privilege level assigned via the external server.
C 14
Table 11 aaa authorization Command Summary (continued)
COMMAND DESCRIPTION M P
Ethernet Switch CLI Reference Guide 27
CHAPTER 5
ARP Commands
Use these commands to look at IP-to-MAC address mapping(s).
5.1 Command Summary
The following section lists the commands for this feature.
Table 12 arp Command Summary
COMMAND DESCRIPTION M P
ar p agi ng- t i me <60- 1000000> Sets how long dynamically learned ARP entries remain in the
ARP table before they age out (and must be relearned).
C 13
ar p name <name> i p <ip-address>
mac <mac-addr> vl an <vlan-id>
i nt er f ace por t - channel <port-
list>
Creates a static ARP entry which will not age out. C 13
ar p name <name> i p <ip-address>
mac <mac-addr> vl an <vlan-id>
i nt er f ace por t - channel <port-
list> i nact i ve
Creates a static ARP entry but disables it. C 13
no ar p i p <ip-address> mac <mac-
addr> vl an <vlan-id>
Deletes a static ARP entry from the ARP table. C 13
no ar p i p <ip-address> mac <mac-
addr> vl an <vlan-id> i nact i ve
Enables the specified static ARP entry. C 13
show i p ar p Displays the ARP table. E 3
cl ear i p ar p Removes all of the dynamic entries from the ARP table. E 13
cl ear i p ar p i nt er f ace por t -
channel <port-list>
Removes the dynamic entries learned on the specified port. E 13
cl ear i p ar p i p <ip-address> Removes the dynamic entries learned with the specified IP
address.
E 13
no ar p Flushes the ARP table entries. E 13
Chapter 5 ARP Commands
Ethernet Switch CLI Reference Guide 28
5.2 Command Examples
This example creates a static ARP entry and shows the ARP tahle on the Switch.
The following table describes the labels in this screen.
sysname# conf i g
sysname( conf i g) #ar p name t est i p 192. 168. 1. 99 mac 00: c5: d8: 01: 23: 45 vl an
1 i nt er f ace por t - channel 3
sysname( conf i g) # exi t
sysname# show i p ar p
I ndex I P MAC VLAN Por t Age( s) Type
1 192. 168. 1. 1 00: 19: cb: 37: 00: 49 1 CPU 0 st at i c
2 192. 168. 1. 99 00: c5: d8: 01: 23: 45 1 3 0 st at i c
3 192. 168. 2. 1 00: 19: cb: 37: 00: 49 465 CPU 0 st at i c
sysname#
Table 13 show ip arp
LABEL DESCRIPTION
Index This field displays the index number.
IP This field displays the learned IP address of the device.
MAC This field displays the MAC address of the device.
VLAN This field displays the VLAN to which the device belongs.
Port This field displays the number of the port from which the IP address was learned.
CPU indicates this IP address is the Switchs management IP address.
Age(s) This field displays how long the entry remains valid.
Type This field displays how the entry was learned.
dynamic: The Switch learned this entry from ARP packets.
Ethernet Switch CLI Reference Guide 29
CHAPTER 6
ARP Inspection Commands
Use these commands to filter unauthorized ARP packets in your network.
6.1 Command Summary
The following section lists the commands for this feature.
Table 14 arp inspection Command Summary
COMMAND DESCRIPTION M P
ar p i nspect i on Enables ARP inspection on the Switch. You still have to
enable ARP inspection on specific VLAN and specify trusted
ports.
C 13
no ar p i nspect i on Disables ARP inspection on the Switch. C 13
show ar p i nspect i on Displays ARP inspection configuration details. E 3
cl ear ar p i nspect i on st at i st i cs Removes all ARP inspection statistics on the Switch. E 3
cl ear ar p i nspect i on st at i st i cs
vl an <vlan-list>
Removes ARP inspection statistics for the specified VLAN(s). E 3
show ar p i nspect i on st at i st i cs Displays all ARP inspection statistics on the Switch. E 3
show ar p i nspect i on st at i st i cs
vl an <vl an- l i st >
Displays ARP inspection statistics for the specified VLAN(s). E 3
Table 15 Command Summary: arp inspection filter
COMMAND DESCRIPTION M P
show ar p i nspect i on f i l t er
[ <mac-addr>] [ vl an <vlan-id>]
Displays the current list of MAC address filters that were
created because the Switch identified an unauthorized ARP
packet. Optionally, lists MAC address filters based on the
MAC address or VLAN ID in the filter.
E 3
no ar p i nspect i on f i l t er <mac-
addr> vl an <vlan-id>
Specifies the ARP inspection record you want to delete from
the Switch. The ARP inspection record is identified by the
MAC address and VLAN ID pair.
E 13
cl ear ar p i nspect i on f i l t er Delete all ARP inspection filters from the Switch. E 13
ar p i nspect i on f i l t er - agi ng- t i me
<1- 2147483647>
Specifies how long (1-2147483647 seconds) MAC address
filters remain in the Switch after the Switch identifies an
unauthorized ARP packet. The Switch automatically deletes
the MAC address filter afterwards.
C 13
ar p i nspect i on f i l t er - agi ng- t i me
none
Specifies the MAC address filter to be permanent. C 13
no ar p i nspect i on f i l t er - agi ng-
t i me
Resets how long (1-2147483647 seconds) the MAC address
filter remains in the Switch after the Switch identifies an
unauthorized ARP packet to the default value.
C 13
Chapter 6 ARP Inspection Commands
Ethernet Switch CLI Reference Guide 30
Table 16 Command Summary: arp inspection log
COMMAND DESCRIPTION M P
show ar p i nspect i on l og Displays the log settings configured on the Switch. It also
displays the log entries recorded on the Switch.
E 3
cl ear ar p i nspect i on l og Delete all ARP inspection log entries from the Switch. E 13
ar p i nspect i on l og- buf f er
ent r i es <0- 1024>
Specifies the maximum number (1-1024) of log messages
that can be generated by ARP packets and not sent to the
syslog server.
If the number of log messages in the Switch exceeds this
number, the Switch stops recording log messages and simply
starts counting the number of entries that were dropped due
to unavailable buffer.
C 13
ar p i nspect i on l og- buf f er l ogs
<0- 1024> i nt er val <0- 86400>
Specifies the number of syslog messages that can be sent to
the syslog server in one batch and how often (1-86400
seconds) the Switch sends a batch of syslog messages to the
syslog server.
C 13
no ar p i nspect i on l og- buf f er
ent r i es
Resets the maximum number (1-1024) of log messages that
can be generated by ARP packets and not sent to the syslog
server to the default value.
C 13
no ar p i nspect i on l og- buf f er
l ogs
Resets the maximum number of syslog messages the Switch
can send to the syslog server in one batch to the default
value.
C 13
Table 17 Command Summary: interface arp inspection
COMMAND DESCRIPTION M P
show ar p i nspect i on i nt er f ace
por t - channel <port-list>
Displays the ARP inspection settings for the specified port(s). E 3
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
ar p i nspect i on t r ust Sets the port to be a trusted port for arp inspection. The
Switch does not discard ARP packets on trusted ports for any
reason.
C 13
no ar p i nspect i on t r ust Disables this port from being a trusted port for ARP
inspection.
C 13
Table 18 Command Summary: arp inspection vlan
COMMAND DESCRIPTION M P
show ar p i nspect i on vl an <vlan-
list>
Displays ARP inspection settings for the specified VLAN(s). E 3
ar p i nspect i on vl an <vlan-list> Enables ARP inspection on the specified VLAN(s). C 13
no ar p i nspect i on vl an <vlan-
list>
Disables ARP inspection on the specified VLAN(s). C 13
ar p i nspect i on vl an <vlan-list>
l oggi ng [ al l | none| per mi t | deny]
Enables logging of ARP inspection events on the specified
VLAN(s). Optionally specifies which types of events to log.
C 13
no ar p i nspect i on vl an <vlan-
list> l oggi ng
Disables logging of messages generated by ARP inspection
for the specified VLAN(s).
C 13
Chapter 6 ARP Inspection Commands
Ethernet Switch CLI Reference Guide 31
6.2 Command Examples
This example looks at the current list of MAC address filters that were created because the
Switch identified an unauthorized ARP packet. When the Switch identifies an unauthorized
ARP packet, it automatically creates a MAC address filter to block traffic from the source
MAC address and source VLAN ID of the unauthorized ARP packet.
The following table describes the labels in this screen.
This example looks at log messages that were generated by ARP packets and that have not
been sent to the syslog server yet.
sysname# show ar p i nspect i on f i l t er
Fi l t er i ng agi ng t i meout : 300
MacAddr ess VLAN Por t Expi r y ( sec) Reason
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Tot al number of bi ndi ngs: 0
Table 19 show arp inspection filter
LABEL DESCRIPTION
Filtering aging timeout This field displays how long the MAC address filters remain in the Switch
after the Switch identifies an unauthorized ARP packet. The Switch
automatically deletes the MAC address filter afterwards.
MacAddress This field displays the source MAC address in the MAC address filter.
VLAN This field displays the source VLAN ID in the MAC address filter.
Port This field displays the source port of the discarded ARP packet.
Expiry (sec) This field displays how long (in seconds) the MAC address filter remains in
the Switch. You can also delete the record manually (Delete).
Reason This field displays the reason the ARP packet was discarded.
MAC+VLAN: The MAC address and VLAN ID were not in the binding table.
IP: The MAC address and VLAN ID were in the binding table, but the IP
address was not valid.
Port: The MAC address, VLAN ID, and IP address were in the binding
table, but the port number was not valid.
sysname# show ar p i nspect i on l og
Tot al Log Buf f er Si ze : 32
Sysl og r at e : 5 ent r i es per 1 seconds
Por t Vl an Sender MAC Sender I P Pkt s Reason
Ti me
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - -
Tot al number of l ogs: 0
Chapter 6 ARP Inspection Commands
Ethernet Switch CLI Reference Guide 32
The following table describes the labels in this screen.
This example displays whether ports are trusted or untrusted ports for ARP inspection.
Table 20 show arp inspection log
LABEL DESCRIPTION
Total Log Buffer Size This field displays the maximum number (1-1024) of log messages that
were generated by ARP packets and have not been sent to the syslog
server yet.
If the number of log messages in the Switch exceeds this number, the
Switch stops recording log messages and simply starts counting the
number of entries that were dropped due to unavailable buffer.
Syslog rate This field displays the maximum number of syslog messages the Switch
can send to the syslog server in one batch. This number is expressed as a
rate because the batch frequency is determined by the Log Interval.
Port This field displays the source port of the ARP packet.
Vlan This field displays the source VLAN ID of the ARP packet.
Sender MAC This field displays the source MAC address of the ARP packet.
Sender IP This field displays the source IP address of the ARP packet.
Pkts This field displays the number of ARP packets that were consolidated into
this log message. The Switch consolidates identical log messages
generated by ARP packets in the log consolidation interval into one log
message.
Reason This field displays the reason the log message was generated.
dhcp deny: An ARP packet was discarded because it violated a dynamic
binding with the same MAC address and VLAN ID.
static deny: An ARP packet was discarded because it violated a static
binding with the same MAC address and VLAN ID.
deny: An ARP packet was discarded because there were no bindings with
the same MAC address and VLAN ID.
static permit: An ARP packet was forwarded because it matched a static
binding.
dhcp permit: An ARP packet was forwarded because it matched a
dynamic binding.
Time This field displays when the log message was generated.
Total number of logs This field displays the number of log messages that were generated by
ARP packets and that have not been sent to the syslog server yet. If one or
more log messages are dropped due to unavailable buffer, there is an entry
called overflow with the current number of dropped log messages.
sysname# show ar p i nspect i on i nt er f ace por t - channel 1
I nt er f ace Tr ust ed St at e Rat e ( pps) Bur st I nt er val
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 Unt r ust ed 15 1
Chapter 6 ARP Inspection Commands
Ethernet Switch CLI Reference Guide 33
The following table describes the labels in this screen.
Table 21 show arp inspection interface port-channel
LABEL DESCRIPTION
Interface This field displays the port number. If you configure the * port, the settings
are applied to all of the ports.
Trusted State This field displays whether this port is a trusted port (Trusted) or an
untrusted port (Untrusted).
Trusted ports are connected to DHCP servers or other switches, and the
Switch discards DHCP packets from trusted ports only if the rate at which
DHCP packets arrive is too high.
Rate (pps) This field displays the maximum number for DHCP packets that the Switch
receives from each port each second. The Switch discards any additional
DHCP packets.
Burst Interval This field displays the length of time over which the rate of ARP packets is
monitored for each port. For example, if the Rate is 15 pps and the burst
interval is 1 second, then the Switch accepts a maximum of 15 ARP
packets in every one-second interval. If the burst interval is 5 seconds, then
the Switch accepts a maximum of 75 ARP packets in every five-second
interval.
Ethernet Switch CLI Reference Guide 34
CHAPTER 7
ARP Learning Commands
Use these commands to configure how the Switch updates the ARP table.
7.1 Command Summary
The following section lists the commands for this feature.
7.2 Command Examples
This example changes the ARP learning mode on port 8 from ar p- r epl y to ar p- r equest .
Table 22 arp-learning Command Summary
COMMAND DESCRIPTION M P
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
ar p- l ear ni ng <ar p-
r epl y| gr at ui t ous- ar p| ar p-
r equest >
Sets the ARP learning mode the Switch uses on the port.
ar p- r epl y: the Switch updates the ARP table only with the
ARP replies to the ARP requests sent by the Switch.
gr at ui t ous- ar p: the Switch updates its ARP table with
either an ARP reply or a gratuitous ARP request. A gratuitous
ARP is an ARP request in which both the source and
destination IP address fields are set to the IP address of the
device that sends this request and the destination MAC
address field is set to the broadcast address.
ar p- r equest : the Switch updates the ARP table with both
ARP replies, gratuitous ARP requests and ARP requests.
C 13
no ar p- l ear ni ng Resets the ARP learning mode to its default setting (ar p-
r epl y).
C 13
sysname# conf i gur e
sysname( conf i g) # i nt er f ace por t - channel 8
sysname( conf i g- i nt er f ace) # ar p- l ear ni ng ar p- r equest
Ethernet Switch CLI Reference Guide 35
CHAPTER 8
Bandwidth Commands
Use these commands to configure the maximum allowable bandwidth for incoming or
outgoing traffic flows on a port.
Bandwidth management implementation differs across Switch models.
Some models use a single command (bandwi dt h- l i mi t i ngr ess) to control the
incoming rate of traffic on a port.
Other models use two separate commands (bandwi dt h- l i mi t ci r and
bandwi dt h- l i mi t pi r ) to control the Committed Information Rate (CIR) and the
Peak Information Rate (PIR) allowed on a port.
The CIR and PIR should be set for all ports that use the same uplink bandwidth. If the CIR
is reached, packets are sent at the rate up to the PIR. When network congestion occurs,
packets through the ingress port exceeding the CIR will be marked for drop.
The CIR should be less than the PIR.
See Section 8.2 on page 36 and Section 8.3 on page 37 for examples.
See also Chapter 81 on page 291 for information on how to use trTCM (Two Rate Three Color
Marker) to control traffic flow.
8.1 Command Summary
The following table describes user-input values available in multiple commands for this
feature.
Table 23 User-input Values: running-config
COMMAND DESCRIPTION
port-list The port number or a range of port numbers that you want to configure.
rate The rate represents a bandwidth limit. Different models support different rate
limiting incremental steps. See your Users Guide for more information.
Chapter 8 Bandwidth Commands
Ethernet Switch CLI Reference Guide 36
The following section lists the commands for this feature.
8.2 Command Examples: ingress
This example sets the outgoing traffic bandwidth limit to 5000 Kbps and the incoming traffic
bandwidth limit to 4000 Kbps for port 1.
Table 24 Command Summary: bandwidth-control & bandwidth-limit
COMMAND DESCRIPTION M P
show i nt er f aces conf i g <port-
list> bandwi dt h- cont r ol
Displays the current settings for interface bandwidth control. E 3
bandwi dt h- cont r ol Enables bandwidth control on the Switch. C 13
no bandwi dt h- cont r ol Disables bandwidth control on the Switch. C 13
i nt er f ace por t - channel <port-
list>
Enters subcommand mode for configuring the specified ports. C 13
bandwi dt h- l i mi t i ngr ess Enables bandwidth limits for incoming traffic on the port(s). C 13
bandwi dt h- l i mi t i ngr ess
<rate>
Sets the maximum bandwidth allowed for incoming traffic on
the port(s).
C 13
bandwi dt h- l i mi t egr ess Enables bandwidth limits for outgoing traffic on the port(s). C 13
bandwi dt h- l i mi t egr ess
<rate>
Sets the maximum bandwidth allowed for outgoing traffic on
the port(s).
C 13
no bandwi dt h- l i mi t i ngr ess Disables ingress bandwidth limits on the specified port(s). C 13
no bandwi dt h- l i mi t egr ess Disables egress bandwidth limits on the specified port(s). C 13
bandwi dt h- l i mi t ci r Enables commit rate limits on the specified port(s). C 13
bandwi dt h- l i mi t ci r <rate> Sets the guaranteed bandwidth allowed for the incoming
traffic flow on a port. The commit rate should be less than the
peak rate. The sum of commit rates cannot be greater than or
equal to the uplink bandwidth.
Note: The sum of CIRs cannot be greater than or
equal to the uplink bandwidth.
C 13
bandwi dt h- l i mi t pi r Enables peak rate limits on the specified port(s). C 13
bandwi dt h- l i mi t pi r <rate> Sets the maximum bandwidth allowed for the incoming traffic
flow on the specified port(s).
C 13
no bandwi dt h- l i mi t ci r Disables commit rate limits on the specified port(s). C 13
no bandwi dt h- l i mi t pi r Disables peak rate limits on the specified port(s). C 13
sysname# conf i gur e
sysname( conf i g) # bandwi dt h- cont r ol
sysname( conf i g) # i nt er f ace por t - channel 1
sysname( conf i g- i nt er f ace) # bandwi dt h- l i mi t egr ess 5000
sysname( conf i g- i nt er f ace) # bandwi dt h- l i mi t i ngr ess 4000
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
Chapter 8 Bandwidth Commands
Ethernet Switch CLI Reference Guide 37
This example deactivates the outgoing bandwidth limit on port 1.
8.3 Command Examples: cir & pir
This example sets the guaranteed traffic bandwidth limit on port 1 to 4000 Kbps and the
maximum traffic bandwidth limit to 5000 Kbps for port 1.
This example displays the bandwidth limits configured on port 1.
sysname# conf i gur e
sysname( conf i g) # i nt er f ace por t - channel 1
sysname( conf i g- i nt er f ace) # no bandwi dt h- l i mi t egr ess
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
sysname# conf i gur e
sysname( conf i g) # bandwi dt h- cont r ol
sysname( conf i g) # i nt er f ace por t - channel 1
sysname( conf i g- i nt er f ace) # bandwi dt h- l i mi t ci r
sysname( conf i g- i nt er f ace) # bandwi dt h- l i mi t ci r 4000
sysname( conf i g- i nt er f ace) # bandwi dt h- l i mi t pi r
sysname( conf i g- i nt er f ace) # bandwi dt h- l i mi t pi r 5000
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
sysname# show r unni ng- conf i g i nt er f ace por t - channel 1 bandwi dt h- l i mi t
Bui l di ng conf i gur at i on. . .
Cur r ent conf i gur at i on:
i nt er f ace por t - channel 1
bandwi dt h- l i mi t ci r 4000
bandwi dt h- l i mi t ci r
bandwi dt h- l i mi t pi r 5000
bandwi dt h- l i mi t pi r
Ethernet Switch CLI Reference Guide 38
CHAPTER 9
Broadcast Storm Commands
Use these commands to limit the number of broadcast, multicast and destination lookup failure
(DLF) packets the Switch receives per second on the ports.
Broadcast storm control implementation differs across Switch models.
Some models use a single command (bmst or m- l i mi t ) to control the combined rate of
broadcast, multicast and DLF packets accepted on Switch ports.
Other models use three separate commands (br oadcast - l i mi t , mul t i cast -
l i mi t , dl f - l i mi t ) to control the number of individual types of packets accepted on
Switch ports.
See Section 9.2 on page 39 and Section 9.3 on page 39 for examples.
9.1 Command Summary
The following table describes user-input values available in multiple commands for this
feature.
The following section lists the commands for this feature.
Table 25 User-input Values: broadcast-limit, multicast-limit & dlf-limit
COMMAND DESCRIPTION
pkt/s Specifies the maximum number of packets per second accepted by a Switch
port.
Table 26 Command Summary: storm-control, bmstorm-limit, and bstorm-control
COMMAND DESCRIPTION M P
show i nt er f aces conf i g <port-
list> bst or m- cont r ol
Displays the current settings for broadcast storm control. E 3
st or m- cont r ol Enables broadcast storm control on the Switch. C 13
no st or m- cont r ol Disables broadcast storm control on the Switch. C 13
i nt er f ace por t - channel <port-
list>
Enters subcommand mode for configuring the specified ports. C 13
bmst or m- l i mi t Enables broadcast storm control on the specified port(s). C 13
Chapter 9 Broadcast Storm Commands
Ethernet Switch CLI Reference Guide 39
9.2 Command Example: bmstorm-limit
This example enables broadcast storm control on port 1 and limits the combined maximum
rate of broadcast, multicast and DLF packets to 128 Kbps.
9.3 Command Example: broadcast-limit, multicast-limit & dlf-
limit
This example enables broadcast storm control on the Switch, and configures port 1 to accept
up to:
128 broadcast packets per second,
256 multicast packets per second,
bmst or m- l i mi t <rate> Specifies the maximum rate at which the Switch receives
broadcast, multicast, and destination lookup failure (DLF)
packets on the specified port(s).
Different models support different rate limiting incremental
steps. See your Users Guide for more information.
C 13
no bmst or m- l i mi t Disables broadcast storm control on the specified port(s). C 13
br oadcast - l i mi t Enables the broadcast packet limit on the specified port(s). C 13
br oadcast - l i mi t <pkt/s> Specifies the maximum number of broadcast packets the
Switch accepts per second on the specified port(s).
C 13
no br oadcast - l i mi t Disables broadcast packet limit no the specified port(s). C 13
mul t i cast - l i mi t Enables the multicast packet limit on the specified port(s). C 13
mul t i cast - l i mi t <pkt/s> Specifies the maximum number of multicast packets the
Switch accepts per second on the specified port(s).
C 13
no mul t i cast - l i mi t Disables multicast packet limit on the specified port(s). C 13
dl f - l i mi t Enables the DLF packet limit on the specified port(s). C 13
dl f - l i mi t <pkt/s> Specifies the maximum number of DLF packets the Switch
accepts per second on the specified port(s).
C 13
no dl f - l i mi t Disables DLF packet limits no the specified port(s). C 13
Table 26 Command Summary: storm-control, bmstorm-limit, and bstorm-control (continued)
COMMAND DESCRIPTION M P
sysname# conf i gur e
sysname( conf i g) # st or m- cont r ol
sysname( conf i g) # i nt er f ace por t - channel 1
sysname( conf i g- i nt er f ace) # bmst or m- l i mi t
sysname( conf i g- i nt er f ace) # bmst or m- l i mi t 128
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
Chapter 9 Broadcast Storm Commands
Ethernet Switch CLI Reference Guide 40
64 DLF packets per second.
sysname# conf i gur e
sysname( conf i g) # st or m- cont r ol
sysname( conf i g) # i nt er f ace por t - channel 1
sysname( conf i g- i nt er f ace) # br oadcast - l i mi t
sysname( conf i g- i nt er f ace) # br oadcast - l i mi t 128
sysname( conf i g- i nt er f ace) # mul t i cast - l i mi t
sysname( conf i g- i nt er f ace) # mul t i cast - l i mi t 256
sysname( conf i g- i nt er f ace) # dl f - l i mi t
sysname( conf i g- i nt er f ace) # dl f - l i mi t 64
sysname( conf i g) # exi t
sysname# show i nt er f aces conf i g 1 bst or m- cont r ol
Br oadcast St or mCont r ol Enabl ed: Yes
Por t Br oadcast | Enabl ed Mul t i cast | Enabl ed DLF- Li mi t | Enabl ed
1 128 pkt / s| Yes 256 pkt / s| Yes 64 pkt / s| Yes
Ethernet Switch CLI Reference Guide 41
CHAPTER 10
CFM Commands
Use these commands to configure the Connectivity Fault Management (CFM) on the Switch.
10.1 CFM Overview
The route between two users may go through aggregated switches, routers and/or DSLAMs
owned by independent organizations. A connectivity fault point generally takes time to
discover and impacts subscribers network access. IEEE 802.1ag is a Connectivity Fault
Management (CFM) specification which allows network administrators to identify and
manage connection faults in order to ease management and maintenance. Through discovery
and verification of the path, CFM can detect and analyze connectivity faults in bridged LANs.
The figure shown below is an example of a connection fault between switches in the service
providers network. CFM can be used to identify and management this kind of connection
problem.
Figure 1 Connectivity Fault Example
10.1.1 How CFM Works
CFM sends pro-active Connectivity Check (CC) packets between two CFM-aware devices in
the same MD (Maintenance Domain) network. An MA (Maintenance Association) defines a
VLAN and associated ports on the device under an MD level. In this MA, a port can be an
MEP (Maintenance End Point) port or an MIP (Maintenance Intermediate Point) port.
CPE
Service Provider Network
CPE
Chapter 10 CFM Commands
Ethernet Switch CLI Reference Guide 42
MEP port - has the ability to send pro-active connectivity check (CC) packets and get
other MEP port information from neighbor switches CC packets within an MA.
MIP port - only forwards the CC packets.
CFM provides two tests to discover connectivity faults.
Loopback test - similar to using ping in Microsoft DOS mode to check connectivity
from your computer to a host. In a loopback test, a MEP port sends a LBM (Loop Back
Message) to a MIP port and checks for an LBR (Loop Back Response). If no response is
received, there might be a connectivity fault between them.
Link trace test - similar to using tracert in the Microsoft DOS mode to check
connectivity from your computer to a host. A link trace test provides additional
connectivity fault analysis to get more information on where the fault is. In a link trace
test, a MEP port sends a LTM (Link Trace Message) to a MIP port and checks for an LTR
(Link Trace Response). If an MIP or MEP port does not respond to the source MEP, this
may indicate a fault. Administrators can take further action to check the fault and resume
services according to the line connectivity status report.
An example is shown next. A user cannot access the Internet. To check the problem, the
administrator starts the link trace test from A which is an MEP port to B which is also an MEP
port. Each aggregation MIP port between aggregated devices responds to the LTM packets and
also forwards them to the next port. A fault occurs at port C. A discovers the fault since it only
gets the LTR packets from the ports before port C.
Figure 2 MIP and MEP Example
10.2 CFM Term Definition
This section lists the common term definition which appears in this chapter. Refer to Users
Guide for more detailed information about CFM.
C
(port 17, MIP) (port 2, MEP)
(port 18, MIP)
B
(port 8, MEP)
A
Table 27 CFM Term Definitions
TERM DESCRIPTION
CFM CFM (Connectivity Fault Management) is used to detect and analyze connectivity
faults in bridged LANs.
MD An MD (Maintenance Domain) is part of a network, where CFM can be done. The
MD is identified by a level number and contains both MEPs and MIPs. The Switch
supports up to eight MD levels (0 ~7) in a network. You can create multiple MDs
on one MD level and multiple MA groups in one MD.
MA An MA (Maintenance Association) is a group of MEPs and identified by a VLAN
ID. One MA should belong to one and only one MD group.
Chapter 10 CFM Commands
Ethernet Switch CLI Reference Guide 43
10.3 User Input Values
This section lists the common term definition appears in this chapter. Refer to Users Guide for
more detailed information about CFM.
MEP An MEP (Maintenance End Point) port has the ability to send and reply to the
CCMs, LBMs and LTMs. It also gets other MEP port information from neighbor
switches CCMs in an MA.
MIP An MIP (Maintenance Intermediate Point) port forwards the CCMs, LBMs, and
LTMs and replies the LBMs and LTMs by sending Loop Back Responses (LBRs)
and Link Trace Responses (LTRs).
Connectivity
Check
Connectivity Check (CC) enables an MEP port sending Connectivity Check
Messages (CCMs) periodically to other MEP ports. An MEP port collects CCMs to
get other MEP information within an MA.
Loop Back Test Loop Back Test (LBT) checks if an MEP port receives its LBR (Loop Back
Response) from its target after it sends the LBM (Loop Back Message). If no
response is received, there might be a connectivity fault between them.
Link Trace Test Link Trace Test (LTT) provides additional connectivity fault analysis to get more
information on where the fault is. In the link trace test, MIP ports also send LTR
(Link Trace Response) to response the source MEP ports LTM (Link Trace
Message). If an MIP or MEP port does not respond to the source MEP, this may
indicate a fault. Administrators can take further action to check and resume
services from the fault according to the line connectivity status report.
Table 27 CFM Term Definitions
TERM DESCRIPTION
Table 28 CFM command user input values
USER INPUT DESCRIPTION
mep-id This is the maintenance endpoint identifier (1~8191).
ma-index This is the maintenance association (MA) index number
(1~4294967295).
md-index This is the maintenance domain (MD) index number
(1~4294967295).
mac-address This is the remote maintenance endpoints MAC address or a
virtual MAC address assigned to a port.
A Switch has one or two MAC addresses only. If you do not use
virtual MAC addresses with CFM, all CFM ports will use the
Switchs MAC address and appear as one port. If you want
unique CFM ports, you need to assign virtual MAC addresses. If
you use virtual MAC addresses, make sure that all virtual MAC
addresses are unique in both the Switch and the network to which
it belongs.
Chapter 10 CFM Commands
Ethernet Switch CLI Reference Guide 44
10.4 Command Summary
The following section lists the commands for this feature.
Table 29 CFM Command Summary
COMMAND DESCRIPTION M P
cl ear et her net cf ml i nkt r ace Clears the link trace database. E 13
cl ear et her net cf mmep- ccmdb Clears the MEP CCM database. E 13
cl ear et her net cf mmi p- ccmdb Clears the MIP CCM database. E 13
cl ear et her net cf mmep- def ect s Clears the MEP-defects database. E 13
et her net cf m Enables CFM on the Switch. C 13
et her net cf ml oopback r emot e- mep
<mep-id> mep <mep-id> ma <ma-index>
md <md-index>[ si ze <0- 1500>] [ count
<1- 1024>]
Specifies the remote MEP ID, local MEP ID, MA index
and MD index to perform a loopback test.
This enables the MEP port (with the specified MEP ID) in
a specified CFM domain to send the LBMs (Loop Back
Messages) to a specified remote end point.
You can also define the packet size (from 0 to 1500
bytes) and how many times the Switch sends the LBMs.
E 13
et her net cf ml oopback mac <mac-
address> mep <mep-id> ma <ma-index>
md <md-index>[ si ze <0- 1500>] [ count
<1- 1024>]
Specifies the destination MAC address, local MEP ID,
MA index and MD index to perform a loopback test.
This enables the MEP port (with the specified MEP ID) in
a specified CFM domain to send the LBMs (Loop Back
Messages) to a specified remote end point.
You can also define the packet size (from 0 to 1500
bytes) and how many times the Switch sends the LBMs.
E 13
et her net cf ml i nkt r ace r emot e- mep
<mep-id> mep <mep-id> ma <ma-index>
md <md-index> [ mip-ccmdb] [ [ t t l
<ttl>]
Specifies the remote MEP ID, local MEP ID, MA index
and MD index to perform a link trace test.
This enables the MEP port (with the specified MEP ID) in
a specified CFM domain to send the LTMs (Link Trace
Messages) to a specified remote end point.
mip-ccmdb: Specifies the MIP CCM DB, a database that
stores information (tuples of {Port, VID, MAC address})
about MEPs in the MD when receiving CCMs. The MIP
CCM DB is used for fault isolation, such as link trace and
loop back. An entry can remains in the MIP CCM DB for
at least 24 hours.
ttl: This is the time-to-live value (the number of
transmissions, 64 hops by default). Sets this to stop a
test once it exceeds the time duration without receiving
any response.
E 13
et her net cf ml i nkt r ace mac <mac-
address> mep <mep-id> ma <ma-index>
md <md-index> [ mip-ccmdb] [ [ t t l
<ttl>]
Specifies the destination MAC address, local MEP ID,
MA index and MD index to perform a link trace test.
This enables the MEP port (with the specified MEP ID) in
a specified CFM domain to send the LTMs (Link Trace
Messages) to a specified remote end point.
mip-ccmdb: Specifies the MIP CCM DB, a database that
stores information (tuples of {Port, VID, MAC address})
about MEPs in the MD when receiving CCMs. The MIP
CCM DB is used for fault isolation, such as link trace and
loop back. An entry can remains in the MIP CCM DB for
at least 24 hours.
ttl: This is the time-to-live value (the number of
transmissions, 64 hops by default). Sets this to stop a
test once it exceeds the time duration without receiving
any response.
E 13
Chapter 10 CFM Commands
Ethernet Switch CLI Reference Guide 45
et her net cf mma <ma-index> f or mat
<vi d| st r i ng| i nt eger >name <ma-name>
md <md-index> pr i mar y- vl an <1- 4094>
Creates an MA (Maintenance Association) and defines
its VLAN ID under the MD. You can also define the
format which the Switch uses to send this MA information
in the domain (MD).
ma-name: Enters a VLAN ID, a descriptive name or a 2-
octet integer for the MA.
Note: If you set the f or mat to vi d, the VLAN
ID should be the same as the VLAN ID
you use to identify the MA.
C 13
cc- i nt er val
<100ms| 1s| 10s| 1mi n| 10mi n>
Sets how often an MEP sends a connectivity check
message (CCM).
C 13
mhf - cr eat i on < none | def aul t |
expl i ci t >
Sets MHF (MIP Half Function).
Select none and no MIP can be created automatically for
this MA.
Select def aul t to automatically create MIPs for this MA
and on the ports belonging to this MAs VLAN when there
are no lower configured MD levels or there is an MEP at
the next lower configured MD level on the port.
Select expl i ci t to automatically create MIPs for this
MA and on the ports belonging to this MAs VLAN only
when there is an MEP at the next lower configured MD
level on the port.
C 13
i d- per mi ssi on < none | chassi s
| management | chassi s-
management >
Sets whats to be included in the sender ID TLV (Type-
Length-Value) transmitted by CFM packets.
Select none to not include the sender ID TLV.
Select chassi s to include the chassis information.
Select management to include the management
information.
Select chassi s- management to include both chassis
and management information.
C 13
exi t Exits from the config-ma mode. C 13
r emot e- mep <mep-id> Sets a remote MEP in an MA. C 13
mep <mep-id> i nt er f ace por t -
channel <port> di r ect i on
<up| down> pr i or i t y <0- 7>
Sets an MEP in an MA.
up| down: The traffic direction.
0- 7: The priority value of the CCMs or LTMs transmitted
by the MEP. 1 is the lowest, then 2, 0 and 3 ~7.
C 13
mep <mep-id> i nt er f ace por t -
channel <port> di r ect i on
<up| down> pr i or i t y <0- 7>
i nact i ve
Disables a specified MEP. C 13
mep <mep-id> i nt er f ace por t -
channel <port> di r ect i on
<up| down> pr i or i t y <0- 7> cc-
enabl e
Enables Connectivity Check (CC) to allow an MEP
sending Connectivity Check Messages (CCMs)
periodically to other MEPs.
C 13
no r emot e- mep <mep-id> Deletes a specified destination MEP. C 13
no mep <mep-id> Deletes a specified MEP. C 13
no mep <mep-id> i nact i ve Enables an MEP. C 13
no mep <mep-id> cc- enabl e Disallows an MEP sending Connectivity Check
Messages (CCMs) periodically to other MEPs.
C 13
Table 29 CFM Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 10 CFM Commands
Ethernet Switch CLI Reference Guide 46
et her net cf mmd <md-index> f or mat
<dns| mac| st r i ng> name <md-name>
l evel <0- 7>
Creates an MD (Maintenance Domain) with the specified
name and level number.
md-name: Enters a domain name, MAC address or a
descriptive name for the MD.
C 13
et her net cf mmanagement - addr ess-
domai n i p [ <ip-addr>]
Sets the Switch to carry the host name and management
IP address for the VLAN to which an MEP belongs or the
specified IP address in CFM packets.
This helps you to easily identify a remote MEP by its host
name and management IP address showed in the link
trace database and MEP-CCM database.
C 13
i nt er f ace por t - channel <por t - l i st > Enters config-interface mode for configuring the specified
port(s).
C 13
et her net cf mvi r t ual - mac <mac-
addr>
Assigns a virtual MAC address(es) to the specified
port(s) so that each specified port can have its own MAC
address for CFM.
You cannot use the copy r unni ng- conf i g
i nt er f ace por t - channel command to copy the
virtual MAC address from the specified port to other
ports.
C 13
no et her net cf mvi r t ual - mac Removes the virtual MAC address(es) and sets the
port(s) to use the default system MAC address.
C 13
no et her net cf m Disables CFM on the Switch. C 13
no et her net cf mmd <md-index> Deletes the specified MD. C 13
no et her net cf mma <ma-index> md
<md- i ndex>
Deletes an MA from the specified MD. C 13
no et her net cf mmanagement - addr ess-
domai n
Sets the Switch to not carry the host name and
management IP address in CFM packets.
C 13
show et her net cf ml i nkt r ace Displays the CFM link trace database information. E 13
show et her net cf ml ocal Displays the detailed settings of the configured MD(s)
and MA(s).
E 13
show et her net cf ml ocal st ack Displays a list of all maintenance points, such as MIP
and MEP.
E 13
show et her net cf ml ocal st ack mep Displays a list of the MEP(s). E 13
show et her net cf ml ocal st ack mep
<mep-id> ma <ma-index> md <md-
index>
Displays the specified MEPs general, fault notification
generator, continuity-check, loopback and link trace
information.
E 13
show et her net cf ml ocal st ack mep
<mep-id> ma <ma-index> md <md-
index> mep- ccmdb [ r emot e- mep <mep-
id>]
Displays the specified MEPs MEP-CCM database
information. Each MEP maintains an MEP CCM
database which stores information about remote MEPs in
the MA when receiving CCMs.
E 13
show et her net cf ml ocal st ack mi p Displays a list of the MIP(s). E 13
show et her net cf ml ocal st ack mi p
mi p- ccmdb
Displays the MIP-CCM database. E 13
show et her net cf mr emot e Displays a list of MA(s), MEP(s) and the remote MEP(s)
under the configured MD(s).
E 13
show et her net cf mvi r t ual - mac Displays all virtual MAC addresses. E 13
show et her net cf mvi r t ual - mac por t
<por t - l i st >
Displays the MAC address(es) of the specified port(s). E 13
Table 29 CFM Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 10 CFM Commands
Ethernet Switch CLI Reference Guide 47
10.5 Command Examples
This example creates MD1 (with MD index 1 and level 1) and MA2 (with MA index 2 and
VLAN ID 2) under MD1 that defines a CFM domain.
Remember to save new settings using the wr i t e memor y command.
This example deletes MA2 (with MA index 2) from MD1 (with MD index 1).
This example creates MA3 (with MA index 3 and VLAN ID 123) under MD1, and associates
port 1 as an MEP port with MEP ID 301 in the specified CFM domain. This also sets MHF
(MIP half function) to default to have the Switch automatically create MIPs for this MA and
on the ports belonging to this MA's VLAN when there are no lower configured MD levels or
there is a MEP at the next lower configured MD level on the port. This also sets a remote MEP
in MA3.
sysname# conf i g
sysname( conf i g) # et her net cf mmd 1 f or mat st r i ng name MD1 l evel 1
sysname( conf i g) # et her net cf mma 2 f or mat st r i ng name MA2 md 1 pr i mar y-
vl an 2
sysname( conf i g- ma) # exi t
sysname( conf i g) # exi t
sysname# wr i t e memor y
sysname# conf i g
sysname( conf i g) # no et her net cf mma 2 md 1
sysname( conf i g) # exi t
sysname# wr i t e mem
sysname# conf i g
sysname( conf i g) # et her net cf mma 3 f or mat st r i ng name MA3 md 1 pr i mar y- vl an
123
sysname( conf i g- ma) # mep 301 i nt er f ace por t - channel 1 di r ect i on up pr i or i t y 2
sysname( conf i g- ma) # mep 301 i nt er f ace por t - channel 1 di r ect i on up pr i or i t y 2
cc- enabl e
sysname( conf i g- ma) # mhf - cr eat i on def aul t
sysname( conf i g- ma) # r emot e- mep 117
sysname( conf i g- ma) # exi t
sysname( conf i g) # exi t
sysname# wr i t e mem
Chapter 10 CFM Commands
Ethernet Switch CLI Reference Guide 48
This example lists all CFM domains. In this example, only one MD (MD1) is configured. The
MA3 with the associated MEP port 1 is under this MD1.
This example starts a loopback test and displays the test result on the console.
This example displays all neighbors MEP port information in the MIP-CCM databases.
The following table describes the labels in this screen.
sysname# show et her net cf ml ocal
MD I ndex: 1
MD Name: MD1( st r i ng)
MD Level : 1
MA I ndex: 3
MA Name: MA3( st r i ng)
Pr i mar y Vl an: 123
CC I nt er val : 1000 mi l l i second( s)
MHF Cr eat i on: def aul t
I D Per mi ssi on: none
MEP: 301 ( ACTI VE ) Por t : 1 Di r ect i on: DOWN Pr i or i t y: 5 CC- Enabl e: FALSE
sysname#
sysname# et her net cf ml oopback r emot e- mep 2 mep 1 ma 1 md 1
Sendi ng 5 Et her net CFM Loopback messages t o r emot e- mepi d 2, t i meout i s 5
seconds . . . . .
sysname# Loopback: Successf ul
Success r at e i s 100 per cent , r ound- t r i p mi n/ avg/ max = 0/ 0/ 0 ms
sysname#
sysname# show et her net cf ml ocal st ack mi p mi p- ccmdb
MI P CCM DB
Por t VI D Sour ce Addr ess Ret ai ned
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 1 00: 19: cb: 00: 00: 04 0 hr ( s)
7 1 00: 19: cb: 00: 00: 06 0 hr ( s)
sysname#
Table 30 show cfm-action mipccmdb
LABEL DESCRIPTION
Port Displays the number of the port on which this CCM was received.
VID Displays the MA VLAN ID of the last received CCM.
Source Address Displays the MAC address of the remote MEP.
Retained Displays how long an entry has been kept in the database.
Chapter 10 CFM Commands
Ethernet Switch CLI Reference Guide 49
This example assigns a virtual MAC address to port 3 and displays the MAC addresses of the
ports 2 ~4. The assigned virtual MAC address should be unique in both the Switch and the
network to which it belongs.
This example sets the Switch to carry its host name and management IP address 192.168.100.1
in CFM packets.
This example shows remote MEP database information. The remote MEP has been configured
to carry its host name and a specified IP address in CFM packets.
sysname# conf i g
sysname( conf i g) # i nt er f ace por t - channel 3
sysname( conf i g- i nt er f ace) # et her net cf mvi r t ual - mac 00: 19: cb: 12: 34: 56
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
sysname# show et her net cf mvi r t ual - mac por t 2- 4
Vi r t ual MACPor t MAC
- - - - - - - - - - - - - - - - - - - - -
2 00: 19: cb: 00: 00: 02
3 00: 19: cb: 12: 34: 56
4 00: 19: cb: 00: 00: 02
sysname#
sysname# conf i g
sysname( conf i g) # et her net cf mmanagement - addr ess- domai n i p 192. 168. 100. 1
sysnam# show et her net cf mr emot e
MD I ndex: 1
MD Name: cust omer 123( st r i ng)
MD Level : 2
MA I ndex: 1
MA Name: 123( vi d)
Pr i mar y Vl an: 123
MEP: 11
Remot e MEP I D: 1
MAC Addr ess: 00: 19: cb: 6f : 91: 5a
Chassis Id: MGS-3712F
Management Address: 192.168.100.1:161
sysname#
Ethernet Switch CLI Reference Guide 50
CHAPTER 11
Classifier Commands
Use these commands to classify packets into traffic flows. After classifying traffic, pol i cy
commands (Chapter 55 on page 214) can be used to ensure that a traffic flow gets the
requested treatment in the network.
11.1 Command Summary
The following section lists the commands for this feature.
Table 31 Command Summary: classifier
COMMAND DESCRIPTION M P
show cl assi f i er [ <name>] Displays classifier configuration details. E 3
cl assi f i er <name> <[ packet -
f or mat <802. 3unt ag| 802. 3t ag|
Et her I I unt ag| Et her I I t ag>]
[ pr i or i t y <0- 7>] [ vl an <vlan-
id>] [ et her net - t ype <ether-
num| i p| i px| ar p| r ar p| appl et al k| d
ecnet | i pv6>] [ sour ce- mac <src-
mac-addr> [ mask <mask>] ]
[ sour ce- por t <port-num>]
[ dest i nat i on- mac <dest-mac-
addr> [ mask <mask>] ] [ dscp <0-
63>] [ t os <0- 7| any> <0- 31| any>]
[ i pv6- dscp <0- 63>] [ i p- pr ot ocol
<protocol-num| t cp| udp| i cmp| egp|
ospf | r svp| i gmp| i gp| pi m| i psec>
[ est abl i sh- onl y] ] [ i pv6- next -
header <protocol-
num| t cp| udp| i cmpv6> [ est abl i sh-
onl y] ] [ sour ce- i p <src-ip-addr>
[ mask- bi t s <mask-bits>] ] [ i pv6-
sour ce- i p <src-ipv6-addr>
[ pr ef i x- l engt h <prefix-
length>] ] [ sour ce- socket
<socket-num>] [ dest i nat i on- i p
<dest-ip-addr> [ mask- bi t s <mask-
bits>] ] [ i pv6- dest i nat i on- i p
<dest-ipv6-addr> [ pr ef i x- l engt h
<prefix-length>] ] [ dest i nat i on-
socket <socket-num>] [ i nact i ve] >
Configures a classifier. Specify the parameters to identify the
traffic flow:
et her net - t ype - enter one of the Ethernet types or type the
hexadecimal number that identifies an Ethernet type (see
Table 32 on page 51)
i p- pr ot ocol : enter one of the protocols or type the port
number that identifies the protocol (see Table 33 on page 51).
mask : type the mask for the specified MAC address to
determine which bits a packets MAC address should match.
Enter f for each bit of the specified MAC address that the
traffics MAC address should match. Enter 0 for the bit(s) of
the matched traffics MAC address, which can be of any
hexadecimal character(s). For example, if you set the MAC
address to 00:13:49:00:00:00 and the mask to ff:ff:ff:00:00:00,
a packet with a MAC address of 00:13:49:12:34:56 matches
this criteria.
t os : enter any to classify traffic from any ToS, or set an IP
Precedence (the first 3 bits of of the 8-bit ToS field) value and
a Type of Service (the last 5 bits of the 8-bit ToS field) value.
est abl i sh- onl y : enter this to identify only TCP packets
used to establish TCP connections.
sour ce- socket : (for UDP or TCP protocols only) specify
the protocol port number.
dest i nat i on- socket : (for UDP or TCP protocols only)
specify the protocol port number.
i nact i ve : disables this classifier.
i pv6- next - header : enter an 8-bit next header in the IPv6
packet. The Next Header field is similar to the IPv4 Protocol
field. The IPv6 protocol number ranges from 1 to 255 (see
Table 34 on page 51).
See Chapter 35 on page 132 for more information about IPv6.
C 13
Chapter 11 Classifier Commands
Ethernet Switch CLI Reference Guide 51
The following table shows some other common Ethernet types and the corresponding protocol
number.
In an IPv4 packet header, the Protocol field identifies the next level protocol. The following
table shows some common IPv4 protocol types and the corresponding protocol number. Refer
to http://www.iana.org/assignments/protocol-numbers for a complete list.
In an IPv6 packet header, the "Next Header" field identifies the next level protocol. The
following table shows some common IPv6 Next Header values.
no cl assi f i er <name> Deletes the classifier.
If you delete a classifier you cannot use policy rule related
information.
C 13
no cl assi f i er <name> i nact i ve Enables a classifier. C 13
Table 31 Command Summary: classifier (continued)
COMMAND DESCRIPTION M P
Table 32 Common Ethernet Types and Protocol Number
ETHERNET TYPE PROTOCOL NUMBER
IP ETHII 0800
X.75 Internet 0801
NBS Internet 0802
ECMA Internet 0803
Chaosnet 0804
X.25 Level 3 0805
XNS Compat 0807
Banyan Systems 0BAD
BBN Simnet 5208
IBM SNA 80D5
AppleTalk AARP 80F3
Table 33 Common IPv4 Protocol Types and Protocol Numbers
PROTOCOL TYPE PROTOCOL NUMBER
ICMP 1
TCP 6
UDP 17
EGP 8
L2TP 115
Table 34 Common IPv6 Next Header Values
PROTOCOL TYPE VALUE
IPv6 Hop-by-Hop Option 0
IPv4 4
TCP 6
UDP 17
IPv6 41
Chapter 11 Classifier Commands
Ethernet Switch CLI Reference Guide 52
11.2 Command Examples
This example creates a classifier for packets with a VLAN ID of 3. The resulting traffic flow is
identified by the name VLAN3. The pol i cy command can use the name VLAN3 to apply
policy rules to this traffic flow. See the policy example in Chapter 55 on page 214.
This example creates a classifier (Class1) for packets which have a source MAC address of
11:22:33:45:67:89 and are received on port 1. You can then use the pol i cy command and the
name Class1 to apply policy rules to this traffic flow. See the policy example in Chapter 55 on
page 214.
Routing Header for IPv6 43
Fragment Header for IPv6 44
Encapsulation Security Payload 50
Authentication Header 51
ICMP for IPv6 58
No Next Header for IPv6 59
Destination Options for IPv6 60
Table 34 Common IPv6 Next Header Values
PROTOCOL TYPE VALUE
sysname# conf i g
sysname( conf i g) # cl assi f i er VLAN3 vl an 3
sysname( conf i g) # exi t
sysname# show cl assi f i er
I ndex Act i ve Name Rul e
1 Yes VLAN3 VLAN = 3;
sysname# conf i g
sysname( conf i g) # cl assi f i er Cl ass1 sour ce- mac 11: 22: 33: 45: 67: 89 sour ce- por t
1
sysname( conf i g) # exi t
sysname# show cl assi f i er
I ndex Act i ve Name Rul e
1 Yes Cl ass1 Sr cMac = 11: 22: 33: 45: 67: 89; S. . .
Ethernet Switch CLI Reference Guide 53
CHAPTER 12
Cluster Commands
Use these commands to configure cluster management.
12.1 Command Summary
The following section lists the commands for this feature.
Table 35 cluster Command Summary
COMMAND DESCRIPTION M P
show cl ust er Displays cluster management status. E 3
cl ust er <vlan-id> Enables clustering in the specified VLAN group. C 13
no cl ust er Disables cluster management on the Switch. C 13
cl ust er name <cluster name> Sets a descriptive name for the cluster.
<cluster name>: You may use up to 32 printable
characters (spaces are allowed).
C 13
show cl ust er candi dat es Displays the switches that are potential cluster members. The
switches must be directly connected.
E 3
cl ust er member <mac> passwor d
<password>
Adds the specified device to the cluster. You have to specify
the password of the device too.
C 13
show cl ust er member Displays the cluster member(s) and their running status. E 3
show cl ust er member conf i g Displays the current cluster member(s). E 3
show cl ust er member mac <mac> Displays the running status of the cluster member(s). E 3
cl ust er r command <mac> Logs into the CLI of the specified cluster member. C 13
no cl ust er member <mac> Removes the cluster member. C 13
Chapter 12 Cluster Commands
Ethernet Switch CLI Reference Guide 54
12.2 Command Examples
This example creates the cluster CManage in VLAN 1. Then, it looks at the current list of
candidates for membership in this cluster and adds two switches to cluster.
The following table describes the labels in this screen.
sysname# conf i gur e
sysname( conf i g) # cl ust er 1
sysname( conf i g) # cl ust er name CManage
sysname( conf i g) # exi t
sysname# show cl ust er candi dat es
Cl ust er i ng Candi dat es:
I ndex Candi dat es( MAC/ Host Name/ Model )
0 00: 13: 49: 00: 00: 01/ ES- 2108PWR/ ES- 2108PWR
1 00: 13: 49: 00: 00: 02/ GS- 3012/ GS- 3012
2 00: 19: cb: 00: 00: 02/ ES- 3124/ ES- 3124
sysname# conf i gur e
sysname( conf i g) # cl ust er member 00: 13: 49: 00: 00: 01 passwor d 1234
sysname( conf i g) # cl ust er member 00: 13: 49: 00: 00: 02 passwor d 1234
sysname( conf i g) # exi t
sysname# show cl ust er member
Cl ust er i ng member st at us:
I ndex MACAddr Name St at us
1 00: 13: 49: 00: 00: 01 ES- 2108PWR Onl i ne
2 00: 13: 49: 00: 00: 02 GS- 3012 Onl i ne
Table 36 show cluster member
LABEL DESCRIPTION
Index This field displays an entry number for each member.
MACAddr This field displays the members MAC address.
Name This field displays the members system name.
Status This field displays the current status of the member in the cluster.
Online: The member is accessible.
Error: The member is connected but not accessible. For example, the
members password has changed, or the member was set as the manager
and so left the member list. This status also appears while the Switch
finishes adding a new member to the cluster.
Offline: The member is disconnected. It takes approximately 1.5 minutes
after the link goes down for this status to appear.
Chapter 12 Cluster Commands
Ethernet Switch CLI Reference Guide 55
This example logs in to the CLI of member 00:13:49:00:00:01, looks at the current firmware
version on the member Switch, logs out of the members CLI, and returns to the CLI of the
manager.
This example looks at the current status of the Switchs cluster.
The following table describes the labels in this screen.
sysname# conf i gur e
sysname( conf i g) # cl ust er r command 00: 13: 49: 00: 00: 01
Connect ed t o 127. 0. 0. 2
Escape char act er i s ' ^] ' .
User name: admi n
Passwor d: ****
Copyr i ght ( c) 1994 - 2007 ZyXEL Communi cat i ons Cor p.
ES- 2108PWR# show ver si on
Cur r ent ZyNOS ver si on: V3. 80( ABS. 0) b2 | 05/ 28/ 2007
ES- 2108PWR# exi t
Tel net sessi on wi t h r emot e host t er mi nat ed.
Cl osed
sysname( conf i g) #
sysname# show cl ust er
Cl ust er St at us: Manager
VI D: 1
Manager : 00: 13: 49: ae: f b: 7a
Table 37 show cluster
LABEL DESCRIPTION
Cluster Status This field displays the role of this Switch within the cluster.
Manager: This Switch is the device through which you manage the cluster
member switches.
Member: This Switch is managed by the specified manager.
None: This Switch is not in a cluster.
VID This field displays the VLAN ID used by the cluster.
Manager This field displays the cluster managers MAC address.
Ethernet Switch CLI Reference Guide 56
CHAPTER 13
Date and Time Commands
Use these commands to configure the date and time on the Switch.
13.1 Command Summary
The following table describes user-input values available in multiple commands for this
feature.
The following section lists the commands for this feature.
Table 38 time User-input Values
COMMAND DESCRIPTION
week Possible values (dayl i ght - savi ng- t i me commands only): f i r st , second,
t hi r d, f our t h, l ast .
day Possible values (dayl i ght - savi ng- t i me commands only): Sunday,
Monday, Tuesday, ....
month Possible values (dayl i ght - savi ng- t i me commands only): J anuar y,
Febr uar y, Mar ch, ....
oclock Possible values (dayl i ght - savi ng- t i me commands only): 0-23
Table 39 time Command Summary
COMMAND DESCRIPTION M P
show t i me Displays current system time and date. E 3
t i me <hour: min: sec> Sets the current time on the Switch.
hour: 0-23
min: 0-59
sec: 0-59
Note: If you configure Daylight Saving Time
after you configure the time, the Switch
will apply Daylight Saving Time.
C 13
t i me dat e <month/ day/ year> Sets the current date on the Switch.
month: 1-12
day: 1-31
year: 1970-2037
C 13
t i me t i mezone <- 1200| . . . | 1200> Selects the time difference between UTC (formerly
known as GMT) and your time zone.
C 13
t i me dayl i ght - savi ng- t i me Enables daylight saving time. The current time is
updated if daylight saving time has started.
C 13
Chapter 13 Date and Time Commands
Ethernet Switch CLI Reference Guide 57
13.2 Command Examples
This example sets the current date, current time, time zone, and daylight savings time.
t i me dayl i ght - savi ng- t i me st ar t -
dat e <week> <day> <month> <oclock>
Sets the day and time when Daylight Saving Time starts.
In most parts of the United States, Daylight Saving Time
starts on the second Sunday of March at 2 A.M. local
time. In the European Union, Daylight Saving Time starts
on the last Sunday of March at 1 A.M. GMT or UTC, so
the oclock field depends on your time zone.
C 13
t i me dayl i ght - savi ng- t i me end- dat e
<week> <day> <month> <oclock>
Sets the day and time when Daylight Saving Time ends.
In most parts of the United States, Daylight Saving Time
ends on the first Sunday of November at 2 A.M. local
time. In the European Union, Daylight Saving Time ends
on the last Sunday of October at 1 A.M. GMT or UTC, so
the oclock field depends on your time zone.
C 13
no t i me dayl i ght - savi ng- t i me Disables daylight saving on the Switch. C 13
t i me dayl i ght - savi ng- t i me hel p Provides more information about the specified command. C 13
Table 40 timesync Command Summary
COMMAND DESCRIPTION M P
show t i mesync Displays time server information. E 3
t i mesync ser ver <address> Sets the IP address or domain name of up to three
timeservers. The Switch tries to synchronize with the first
server. If the synchronization fails, then the Switch goes
through the rest of the list in order. The Switch attempts
to connect to the timeserver for up to 60 seconds.
The Switch synchronizes with the time server in the
following situations:
When the Switch starts up.
Every 24 hours after the Switch starts up.
When the time server IP address or protocol is
updated.
C 13
t i mesync <dayt i me| t i me| nt p> Sets the time server protocol. You have to configure a
time server before you can specify the protocol.
C 13
no t i mesync Disables timeserver settings. C 13
Table 39 time Command Summary (continued)
COMMAND DESCRIPTION M P
sysname# conf i gur e
sysname( conf i g) # t i me dat e 06/ 04/ 2007
sysname( conf i g) # t i me t i mezone - 600
sysname( conf i g) # t i me dayl i ght - savi ng- t i me
sysname( conf i g) # t i me dayl i ght - savi ng- t i me st ar t - dat e second Sunday
- - > Mar ch 2
sysname( conf i g) # t i me dayl i ght - savi ng- t i me end- dat e f i r st Sunday
- - > November 2
sysname( conf i g) # t i me 13: 24: 00
sysname( conf i g) # exi t
sysname# show t i me
Cur r ent Ti me 13: 24: 03 ( UTC- 05: 00 DST)
Cur r ent Dat e 2007- 06- 04
Chapter 13 Date and Time Commands
Ethernet Switch CLI Reference Guide 58
This example looks at the current time server settings.
The following table describes the labels in this screen.
sysname# show t i mesync
Ti me Conf i gur at i on
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ti me Zone : UTC - 600
Ti me Sync Mode : USE_DAYTI ME
Ti me Ser ver I P Addr ess : 172. 16. 37. 10
Ti me Ser ver Sync St at us: CONNECTI NG
Table 41 show timesync
LABEL DESCRIPTION
Time Zone This field displays the time zone.
Time Sync Mode This field displays the time server protocol the Switch uses. It displays
NO_TIMESERVICE if the time server is disabled.
Time Server IP Address This field displays the IP address of the time server.
Time Server Sync Status This field displays the status of the connection with the time server.
NONE: The time server is disabled.
CONNECTING: The Switch is trying to connect with the specified time
server.
OK: Synchronize with time server done.
FAIL: Synchronize with time server fail.
Ethernet Switch CLI Reference Guide 59
CHAPTER 14
Data Center Bridging
Commands
At the time of writing, data center bridging can only be configured using commands on the
Switch.
14.1 Overview
A traditional Ethernet network is best-effort, that is, frames may be dropped due to network
congestion. FCoE (Fiber Channel over Ethernet) transparently encapsulates fiber channel
traffic into Ethernet, so that you dont need separate fiber channel and Ethernet switches.
Data Center Bridging (DCB) enhances Ethernet technology to adapt to the FCoE. It supports
lossless Ethernet traffic (no frames discarded when there is network congestion) and can
allocate bandwidth for different traffic classes, based on IEEE802.1p priority with a
guaranteed minimum bandwidth. LAN traffic (large number of flows and not latency-
sensitive), SAN traffic (Storage Area Network, large packet sizes and requires lossless
performance), and IPC traffic (Inter-Process Communication, latency-sensitive messages) can
share the same physical connection while still having their own priority and guaranteed
minimum bandwidth.
You should configure DCB on any port that has both Ethernet and fiber channel traffic.
14.1.1 PFC, ETS, and DCBX Standards
DCB may use PFC, ETS, application priority and DCBX to adapt to the FCoE.
PFC (Priority-based Flow Control, IEEE 802.1Qbb -2011) is a flow control mechanism
that uses a PAUSE frame to suspend traffic of a certain priority rather than drop it when
there is network congestion (lossless). If an outgoing (egress) port buffer is almost full, the
Switch transmits a PAUSE frame to the sender who just transmitted traffic requesting it to
stop sending traffic of a certain priority to that port. For example, say outgoing port 8 is
receiving too much traffic of priorities 3-6 from port 1. Then if port 1 is configured with
PFC priorities 3-6, port 1 can request the sender to suspend traffic with priorities 3-6.
Similarly, if the outgoing (egress) port 8 receives a PAUSE frame with PFC priorities 0-1,
then if port 8 is configured with PFC, it can suspend sending traffic with PFC priorities 0-
1.
ETS (Enhanced Transmission Selection, IEEE 802.1Qaz -2011) is used to allocate
bandwidth for different traffic classes, based on IEEE802.1p priority (0 to 7, allowing for
eight types of traffic) with a guaranteed minimum bandwidth.
Chapter 14 Data Center Bridging Commands
Ethernet Switch CLI Reference Guide 60
Application priority is used to globally assign a priority to all FCoE traffic on the Switch.
DCBX (Data Center Bridging capability eXchange, IEEE 802.1Qaz -2011) uses LLDP
(Link Layer Discovery Protocol) to advertize PFC, ETS and application priority
information between switches. PFC information should be consistent between connected
switches, so PFC can be configured automatically using DCBX.
The following table describes user-input values available in multiple commands for this
feature.
14.2 Command Summary
This section shows the commands and examples for PFC, ETS, Application Priority and
DCBX.
14.2.1 PFC
PFC should be configured the same on connected switch ports. If DCBX is used, then one
switch port must be configured to accept network configuration from the peer switch port
(aut o). If both switch ports are configured to accept configuration (aut o on both switch
ports), then the configuration of the switch port with the lowest MAC address hex value sum is
used.
The following table lists the commands for this feature.
Table 42 dcb User-input Values
COMMAND DESCRIPTION
<priority-list> Possible values range from 0 to 7.
<port-list> Possible values range from 1 to the number of ports on your Switch.
<id> Possible values for traffic class ID range from 1 to 100. 0 is a default traffic
class and cannot be modified or deleted.
<tc-idN> The traffic class ID for priority N (0 to 7). The traffic class ID range is from 1 to
100.
<name> Up to 32 printable ASCII characters. Names with spaces must be enclosed in
quotes. For example, My Class.
<weight> Possible values range from 1 to 127 for unicast or multicast weights.
Possible values range from 1 to 100 for WFQ traffic class weight.
Table 43 pr i or i t y- f l ow- cont r ol Command Summary
COMMAND DESCRIPTION M P
i nt er f ace por t - channel <port-list> Enters config-interface mode for the specified port(s). C 13
pr i or i t y- f l ow- cont r ol Enables PFC on the specified port(s). C 13
no pr i or i t y- f l ow- cont r ol Disables PFC on the specified port(s). C 13
pr i or i t y- f l ow- cont r ol aut o Sets the port to accept PFC configuration from the
connected Switch port.
C 13
pr i or i t y- f l ow- cont r ol pr i or i t y
<priority-list>
Sets the priority value(s) on the specified port(s). C 13
no pr i or i t y- f l ow- cont r ol
pr i or i t y
Clears the priority value(s) on the specified port(s). C 13
Chapter 14 Data Center Bridging Commands
Ethernet Switch CLI Reference Guide 61
14.2.2 PFC Command Examples
In the following example, PFC on switch A, port 1, is set to auto, so that it can accept the
priority configuration from the peer switch B. If switch A did not receive PFC PDU from
switch B, then priority 2, will be used by switch A.
Use the show command to see the PFC configuration. Operation-Priority shows whether
switch A is using switch Bs configured priorities or not.
In the following example, Switch A is using Switch Bs configured priorities.
In the following example, Switch A is NOT using Switch Bs configured priorities.
show pr i or i t y- f l ow- cont r ol Displays PFC settings. E 3
show pr i or i t y- f l ow- cont r ol
st at i st i cs i nt er f ace por t - channel
<port-list>
Displays PFC statistics on the specified port(s). E 3
cl ear pr i or i t y- f l ow- cont r ol
st at i st i cs i nt er f ace por t - channel
<port-list>
Clears PFC statistics on the specified port(s). E 13
Table 43 pr i or i t y- f l ow- cont r ol Command Summary (continued)
COMMAND DESCRIPTION M P
swi t chA# conf i gur e
swi t chA( conf i g) # i nt er f ace por t - channel 1
swi t chA( conf i g- i nt er f ace) # pr i or i t y- f l ow- cont r ol aut o
swi t chA( conf i g- i nt er f ace) # pr i or i t y- f l ow- cont r ol pr i or i t y 2
swi t chB# conf i gur e
swi t chB( conf i g) # i nt er f ace por t - channel 1
swi t chB( conf i g- i nt er f ace) # pr i or i t y- f l ow- cont r ol
swi t chB( conf i g- i nt er f ace) # pr i or i t y- f l ow- cont r ol pr i or i t y 3- 5
swi t chA# show pr i or i t y- f l ow- cont r ol
Por t Admi n Oper at i on Admi n- Pr i or i t y Oper at i on- Pr i or i t y
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 Aut o On 2 3- 5
swi t chA# show pr i or i t y- f l ow- cont r ol
Por t Admi n Oper at i on Admi n- Pr i or i t y Oper at i on- Pr i or i t y
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 Aut o On 2 2
Chapter 14 Data Center Bridging Commands
Ethernet Switch CLI Reference Guide 62
This is an example showing how many pause frames of certain priorities were temporarily
stopped (transmitted or received) on port 1.
14.2.3 ETS
An IEEE 802.1p priority is assigned to a traffic class with guaranteed minimum bandwidth. A
traffic class can use SP (Strict Priority) or WFQ (Weighted Fair Queue) queuing method.
Available link bandwidth is reserved first for SP traffic. The guaranteed minimum bandwidth
for non-SP traffic (WFQ) is its weight value by remaining available bandwidth. If a non-strict-
priority-traffic-class does not consume its allocated bandwidth, other non-strict-priority-
traffic-classes can share the unused bandwidth according to the weight ratio.
14.2.3.1 Notes on ETS
Priority 0 does not mean the highest or lowest priority. Priority level of importance is
mapped to a queue level (with queue level 0, the lowest importance).
You dont automatically configure ETS using DCBX negotiation. ETS is configured
manually on each Switch.
All priorities are mapped to traffic class ID 0 by default.
The default traffic class (named Def aul t ) has ID 0, and is an SP traffic-class. It cannot
be modified or deleted.
You can create up to 100 traffic class profiles, with ID from 1 to 100.
The weight range of WFQ traffic-class can be from 1 to 100.
Bandwidth can also be prioritized depending on whether traffic is unicast traffic or non-
unicast (broadcast, multicast, DLF) traffic. For example, 100:50 means twice as much
unicast traffic to non-unicast traffic is allowed when there is network congestion. The
weight ranges of unicast and non-unicast traffic can be from 1 to 127.
sysname# show pr i or i t y- f l ow- cont r ol st at i st i cs i nt er f ace por t - channel 1
Por t Number : 1
PFC Tx
Pr i or i t y 0: 0
Pr i or i t y 1: 0
Pr i or i t y 2: 0
Pr i or i t y 3: 0
Pr i or i t y 4: 0
Pr i or i t y 5: 0
Pr i or i t y 6: 0
Pr i or i t y 7: 0
PFC Rx
Pr i or i t y 0: 0
Pr i or i t y 1: 0
Pr i or i t y 2: 0
Pr i or i t y 3: 0
Pr i or i t y 4: 0
Pr i or i t y 5: 0
Pr i or i t y 6: 0
Pr i or i t y 7: 0
sysname#
Chapter 14 Data Center Bridging Commands
Ethernet Switch CLI Reference Guide 63
The following table lists the commands for this feature.
14.2.4 ETS Command Example 1
This is an example where the non-editable default traffic class, ID 0, uses SP queuing. LAN
and SAN traffic uses WFQ queuing with equal weighting of 50 each.
The guaranteed minimum bandwidth for both SAN and LAN traffic is 2.5Gbps with a link
bandwidth of 10Gbps.
Create and name traffic class IDs, with weights for the non-SP traffic type.
Table 44 ets Command Summary
COMMAND DESCRIPTION M P
t r af f i c- cl ass <id> schedul er <sp |
et s <weight>> [ name <name>]
Creates a WFQ or SP traffic class with ID, weight and
(optional) name.
C 13
no t r af f i c- cl ass <id> Deletes the SP/WFQ traffic class with specified ID. C 13
show t r af f i c- cl ass Shows a summary of traffic class(es) created on the
Switch.
E 3
i nt er f ace por t - channel <port-list> Enters config-interface mode for the specified port(s). C 13
et s Enable Enhanced Transmission Selection (ETS) queuing
method. See Chapter 62 on page 236 for other queuing
methods.
C 13
ets traffic-class binding <tc-
id0> <tc-id1> <tc-id2> <tc-id3>
<tc-id4> <tc-id5> <tc-id6> <tc-
id7>
Binds priorities to a traffic class(es) on the specified
port(s).
C 13
no et s t r af f i c- cl ass bi ndi ng Resets traffic class binding priorities to default settings
on the specified port(s).
C 13
uni cast - nonuni cast - wei ght
<weight> <weight>
Sets the unicast to non-unicast traffic weight ratio on the
specified port(s).
C 13
Table 45 ETS Example Traffic Classes
TRAFFIC CLASS ID GUARANTEED BANDWIDTH NAME
0 SP Default
1 50 SAN
2 50 LAN
Table 46 ETS Example Traffic Bandwidths
NAME
INCOMING TRAFFIC
BANDWIDTH (GBPS)
GUARANTEED
MINIMUM BANDWIDTH
OUTGOING TRAFFIC
BANDWIDTH (GBPS)
Default 5 5 (SP) 5
SAN 3 (10-5) * (50/(50+50)) =
2.5
2.5
LAN 4 (10-5) * (50/(50+50)) =
2.5
2.5
sysname# conf i gur e
sysname( conf i g) # t r af f i c- cl ass 1 schedul er et s 50 name LAN
sysname( conf i g) # t r af f i c- cl ass 2 schedul er et s 50 name SAN
Chapter 14 Data Center Bridging Commands
Ethernet Switch CLI Reference Guide 64
This command shows traffic class.
Next, configure a port for traffic class(es) and bind priorities to traffic classes on a port. In the
next example, we configure port 1 and bind priorities 0, 1 and 2 to traffic class 2 (LAN), 3, 4,
5 and 6 to class 1 (SAN) and 7 to class 0, the default traffic class.
14.2.5 Application Priority
Use the application priority command to assign a priority to all FCoE traffic on a switch.
The following table lists the commands for this feature.
swi t ch# show t r af f i c- cl ass
Tr af f i c Cl ass Pr of i l e Conf i gur at i on:
Tr af f i c Cl ass I D Schedul er Wei ght Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 sp - Def aul t
1 et s 50 LAN
2 et s 50 SAN
Table 47 ETS Example Priority Traffic Class ID Mapping
PRIORITY TRAFFIC CLASS ID NAME
0 2 LAN
1 2 LAN
2 2 LAN
3 1 SAN
4 1 SAN
5 1 SAN
6 1 SAN
7 0 Default
sysname( conf i g) # i nt er f ace por t - channel 1
sysname( conf i g- i nt er f ace) # et s
sysname( conf i g- i nt er f ace) # et s t r af f i c- cl ass bi ndi ng 2 2 2 1 1 1 1 0
sysname( conf i g- i nt er f ace) # uni cast - nonuni cast - wei ght 100 100
sysname( conf i g- i nt er f ace) # exi t
Table 48 application priority Command Summary
COMMAND DESCRIPTION M P
l l dp dcbx appl i cat i on <et her -
t ype><f coe> pr i or i t y <0-7>
Assigns the specified priority value to all FCoE traffic on
the Switch.
C 13
no l l dp dcbx appl i cat i on <et her -
t ype > <f coe>
Clears priority value for all FCoE traffic on the Switch. C 13
Chapter 14 Data Center Bridging Commands
Ethernet Switch CLI Reference Guide 65
14.2.6 Application Priority Command Examples
In the following example, all FCoE traffic on the switch is assigned with priority 3.
Application priority can then be used in conjunction with ETS and PFC as shown in the
following examples.
This is an application priority command example with PFC.
This is an application priority command example with ETS.
Default traffic class 0 with strict priority for priorities 0, 1, 2, 6, 7
Traffic class 3 (for legacy Ethernet traffic): Guarantee bandwidth 40% for priority 4, 5
Traffic class 4 (for FCoE traffic): Guarantee bandwidth 60% for priority 3
Unicast to Non-Unicast weight ratio is 100:100
swi t chA# conf i gur e
swi t chA( conf i g) # l l dp dcbx appl i cat i on et her - t ype f coe pr i or i t y 3
swi t chA( conf i g) # i nt er f ace por t - channel 5
swi t chA( conf i g- i nt er f ace) # pr i or i t y- f l ow- cont r ol
swi t chA( conf i g- i nt er f ace) # pr i or i t y- f l ow- cont r ol pr i or i t y 3
swi t chB( conf i g) # i nt er f ace por t - channel 6
swi t chB( conf i g- i nt er f ace) # pr i or i t y- f l ow- cont r ol
swi t chB( conf i g- i nt er f ace) # pr i or i t y- f l ow- cont r ol pr i or i t y 3
Table 49 ETS Example 2 Traffic Classes
PRIORITY TRAFFIC CLASS ID NAME
0 0 Default
1 0 Default
2 0 Default
3 4 FCoE
4 3 Ethernet
5 3 Ethernet
6 0 Default
7 0 Default
sysname# conf i gur e
sysname( conf i g) # t r af f i c- cl ass 3 schedul er et s 40 name et her net
sysname ( conf i g) # t r af f i c- cl ass 4 schedul er et s 60 name f coe
sysname ( conf i g) # i nt er f ace por t - channel 6
sysname ( conf i g- i nt er f ace) # et s
sysname ( conf i g- i nt er f ace) # et s t r af f i c- cl ass bi ndi ng 0 0 0 4 3 3 0 0
sysname ( conf i g- i nt er f ace) # uni cast - nonuni cast - wei ght 100 100
Chapter 14 Data Center Bridging Commands
Ethernet Switch CLI Reference Guide 66
14.2.7 DCBX
DCBX uses LLDP (Link Layer Discovery Protocol) to exchange PFC, ETS and application
priority information between switches. PFC information should be consistent between
switches, so this can be configured automatically using DCBX.
See Chapter 37 on page 158 for more information on LLDP.
In order for switches to exchange information, they must send their type-length values (TLVs)
in order to be able to read each others information.
The following table lists the commands for this feature.
This is a DCBX command example.
See Chapter 37 on page 158 for LLDP command examples.
Table 50 dcbx Command Summary
COMMAND DESCRIPTION M P
i nt er f ace por t - channel <port-list> Enters config-interface mode for the specified port(s). C 13
l l dp or g- speci f i c- t l v dot 1
dcbx- et s- conf i gur at i on
Enables the sending of ETS TLVs on the specified
port(s).
C 13
l l dp or g- speci f i c- t l v dot 1
dcbx- pf c- conf i gur at i on
Enables the sending of PFC TLVs on the specified
port(s).
C 13
l l dp or g- speci f i c- t l v dot 1
dcbx- appl i cat i on- pr i or i t y
Enables the sending of application priority TLVs on the
specified port(s).
C 13
sysname# conf i gur e
sysname( conf i g) # l l dp
i nt er f ace por t - channel 2
sysname( conf i g- i nt er f ace) # l l dp admi n- st at us t x- r x
sysname( conf i g- i nt er f ace) # l l dp or g- speci f i c- t l v dot 1 dcbx- et s-
conf i gur at i on
sysname( conf i g- i nt er f ace) # l l dp or g- speci f i c- t l v dot 1 dcbx- pf c-
conf i gur at i on
sysname( conf i g- i nt er f ace) # l l dp or g- speci f i c- t l v dot 1 dcbx- appl i cat i on-
pr i or i t y
sysname( conf i g- i nt er f ace) #exi t
sysname( conf i g) # exi t
sysname#
Ethernet Switch CLI Reference Guide 67
CHAPTER 15
DHCP Commands
Use these commands to configure DHCP features on the Switch.
Use the dhcp opt i on commands to configure DHCP Option 82 profiles.
Use the dhcp r el ay commands to configure DHCP relay for specific VLAN.
Use the dhcp smar t - r el ay commands to configure DHCP relay for all broadcast
domains.
Use the dhcp ser ver commands to configure the Switch as a DHCP server. (This
command is available on a layer 3 Switch only.)
15.1 Command Summary
The following section lists the commands for this feature.
Table 51 dhcp option Command Summary
COMMAND DESCRIPTION M P
dhcp opt i on pr of i l e <name>
[ ci r cui t - i d [ sl ot - por t ] [ vl an]
[ host name] [ st r i ng <string>] ] [
r emot e- i d [ mac] [ st r i ng
<string>] ]
Creates a DHCPv4 option 82 profile. C 13
no dhcp opt i on pr of i l e <name> Deletes the specified DHCPv4 option 82 profile. C 13
show dhcp opt i on pr of i l e Displays DHCP option 82 profile settings. E 3
Table 52 dhcp relay Command Summary
COMMAND DESCRIPTION M P
show dhcp r el ay <vlan-id> Displays DHCP relay settings for the specified VLAN. E 3
dhcp r el ay <vlan-id> hel per -
addr ess <remote-dhcp-server1>
[ <remote-dhcp-server2>]
[ <remote-dhcp-server3>]
[ opt i on] [ i nf or mat i on]
Enables DHCP relay on the specified VLAN and sets the IP
address of up to 3 DHCP servers. Optionally, sets the Switch
to add relay agent information and system name.
Note: You have to configure the VLAN before you
configure a DHCP relay for the VLAN. You
have to disable dhcp smar t - r el ay
before you can enable dhcp r el ay.
C 13
Chapter 15 DHCP Commands
Ethernet Switch CLI Reference Guide 68
dhcp r el ay <vlan-id> hel per -
addr ess <remote-dhcp-server1>
[ <remote-dhcp-server2>]
[ <remote-dhcp-server3>] [ opt i on
pr of i l e <name>]
Enables DHCP relay on the specified VLAN and sets the IP
address of up to 3 DHCP servers. Optionally, specify a pre-
defined DHCP option 82 profile that the Switch applies to all
ports in this VLAN.
Note: You have to configure the VLAN before you
configure a DHCP relay for the VLAN. You
have to disable dhcp smar t - r el ay
before you can enable dhcp r el ay.
C 13
dhcp r el ay <vlan-id> i nt er f ace
por t - channel <port-list> opt i on
pr of i l e <name>
Specifies a pre-defined DHCP option 82 profile that the
Switch applies to the specified port(s) in this VLAN. The
Switch adds the Circuit ID sub-option and/or Remote ID sub-
option specified in the profile to DHCP requests that it relays
to a DHCP server.
C 13
no dhcp r el ay <vlan-id> Disables DHCP relay. C 13
no dhcp r el ay <vlan-id>
i nf or mat i on
System name is not appended to option 82 information field. C 13
no dhcp r el ay <vlan-id>
i nt er f ace por t - channel <port-
list> opt i on
Sets the Switch to not apply a DHCP option 82 profile to the
specified port(s) in this VLAN.
C 13
no dhcp r el ay <vlan-id> opt i on Disables the relay agent information option 82. C 13
Table 53 dhcp relay-broadcast Command Summary
COMMAND DESCRIPTION M P
dhcp r el ay- br oadcast The broadcast behavior of DHCP packets (within the VLAN(s)
on which DHCP relay is enabled) will not be terminated by the
Switch.
C 13
no dhcp r el ay- br oadcast The Switch terminates the broadcast behavior of DHCP
packets within the VLAN(s) on which DHCP relay is enabled.
C 13
Table 54 dhcp smart-relay Command Summary
COMMAND DESCRIPTION M P
show dhcp smar t - r el ay Displays global DHCP relay settings. E 3
dhcp smar t - r el ay Enables DHCP relay for all broadcast domains on the Switch.
Note: You have to disable dhcp r el ay before
you can enable dhcp smar t - r el ay.
C 13
no dhcp smar t - r el ay Disables global DHCP relay settings. C 13
dhcp smar t - r el ay hel per - addr ess
<remote-dhcp-server1> [ <remote-
dhcp-server2>] [ <remote-dhcp-
server3>]
Sets the IP addresses of up to 3 DHCP servers. C 13
dhcp smar t - r el ay i nf or mat i on Allows the Switch to add system name to agent information. C 13
no dhcp smar t - r el ay i nf or mat i on System name is not appended to option 82 information field
for global dhcp settings.
C 13
Table 52 dhcp relay Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 15 DHCP Commands
Ethernet Switch CLI Reference Guide 69
15.2 Command Examples
In this example, the Switch relays DHCP requests for the VLAN1 and VLAN2 domains.
There is only one DHCP server for DHCP clients in both domains.
dhcp smar t - r el ay i nt er f ace por t -
channel <port-list> opt i on
pr of i l e <name>
Specifies a pre-defined DHCP option 82 profile that the
Switch applies to the specified port(s).
Note: The profile you specify here has priority over
the one you set using the dhcp smar t -
r el ay opt i on pr of i l e <name>
command.
C 13
dhcp smar t - r el ay opt i on Allows the Switch to add DHCP relay agent information. C 13
dhcp smar t - r el ay opt i on pr of i l e
<name>
Specifies a pre-defined DHCPv4 option 82 profile that the
Switch applies to all ports. The Switch adds the Circuit ID
sub-option and/or Remote ID sub-option specified in the
profile to DHCP requests that it relays to a DHCP server.
C 13
no dhcp smar t - r el ay i nt er f ace
por t - channel <port-list>
Sets the Switch to not apply a DHCP option 82 profile to the
specified port(s).
C 13
no dhcp smar t - r el ay opt i on Disables the relay agent information option 82 for global dhcp
settings.
C 13
Table 55 dhcp server Command Summary
COMMAND DESCRIPTION M P
dhcp ser ver <vlan- id> st ar t i ng-
addr ess <ip-addr> <subnet-mask>
si ze- of - cl i ent - i p- pool <1- 253>
Enables DHCP server for the specified VLAN and specifies
the TCP/IP configuration details to send to DHCP clients.
C 13
dhcp ser ver <vlan-id> st ar t i ng-
addr ess <ip-addr> <subnet-mask>
si ze- of - cl i ent - i p- pool <1- 253>
[ def aul t - gat eway <ip-addr>]
[ pr i mar y- dns <ip-addr>]
[ secondar y- dns <ip-addr>]
Enables DHCP server for the specified VLAN and specifies
the TCP/IP configuration details to send to DHCP clients.
Including default gateway IP address and DNS server
information.
C 13
no dhcp ser ver <vlan-id> Disables DHCP server for the specified VLAN. C 13
no dhcp ser ver <vlan-id>
def aul t - gat eway
Disables DHCP server default gateway settings. C 13
no dhcp ser ver <vlan-id>
pr i mar y- dns
Disables DHCP primary DNS server settings. C 13
no dhcp ser ver <vlan-id>
secondar y- dns
Disables DHCP server secondary DNS settings. C 13
show dhcp ser ver Displays DHCP server settings. E 13
show dhcp ser ver <vlan-id> Displays DHCP server settings in a specified VLAN. E 13
Table 54 dhcp smart-relay Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 15 DHCP Commands
Ethernet Switch CLI Reference Guide 70
Figure 3 Example: Global DHCP Relay
This example shows how to configure the Switch for this configuration. DHCP relay agent
information option 82 is also enabled.
In this example, there are two VLANs (VIDs 1 and 2) in a campus network. Two DHCP
servers are installed to serve each VLAN. The Switch forwards DHCP requests from the
dormitory rooms (VLAN 1) to the DHCP server with IP address 192.168.1.100. DHCP
requests from the academic buildings (VLAN 2) are sent to the other DHCP server with IP
address 172.16.10.100.
Figure 4 Example: DHCP Relay for Two VLANs
sysname# conf i gur e
sysname( conf i g) # dhcp smar t - r el ay
sysname( conf i g) # dhcp smar t - r el ay hel per - addr ess 192. 168. 1. 100
sysname( conf i g) # dhcp smar t - r el ay opt i on
sysname( conf i g) # exi t
sysname# show dhcp smar t - r el ay
DHCP Rel ay Agent Conf i gur at i on
Act i ve: Yes
Remot e DHCP Ser ver 1: 192. 168. 1. 100
Remot e DHCP Ser ver 2: 0. 0. 0. 0
Remot e DHCP Ser ver 3: 0. 0. 0. 0
Opt i on82: Enabl e Opt i on82I nf : Di sabl e
VLAN1
VLAN2
192.168.1.100
DHCP Server:
VLAN 1
VLAN 2
DHCP: 192.168.1.100
DHCP: 172.16.10.100
Chapter 15 DHCP Commands
Ethernet Switch CLI Reference Guide 71
This example shows how to configure these DHCP servers. The VLANs are already
configured.
In this example, the Switch is a DHCP server for clients on VLAN 1 and VLAN 2. The DHCP
clients in VLAN 1 are assigned IP addresses in the range 192.168.1.100 to 192.168.1.200 and
clients on VLAN 2 are assigned IP addresses in the range 172.16.1.30 to 172.16.1.130.
Figure 5 Example: DHCP Relay for Two VLANs
This example shows how to configure the DHCP server for VLAN 1 with the configuration
shown in Figure 5 on page 71. It also provides the DHCP clients with the IP address of the
default gateway and the DNS server.
sysname# conf i gur e
sysname( conf i g) # dhcp r el ay 1 hel per - addr ess 192. 168. 1. 100
sysname( conf i g) # dhcp r el ay 2 hel per - addr ess 172. 16. 10. 100
sysname( conf i g) # exi t
sysname# conf i gur e
sysname( conf i g) # dhcp ser ver 1 st ar t i ng- addr ess 192. 168. 1. 100
255. 255. 255. 0 si ze- of - cl i ent - i p- pool 100 def aul t - gat eway 192. 168. 1. 1
pr i mar y- dns 192. 168. 5. 1
VLAN 1 VLAN 2
DHCP Pool: 192.168.1.100-192.168.1.200 DHCP Pool: 172.16.1.30-172.16.1.130
Ethernet Switch CLI Reference Guide 72
CHAPTER 16
DHCP Snooping & DHCP VLAN
Commands
Use the dhcp snoopi ng commands to configure the DHCP snooping on the Switch and the
dhcp vl an commands to specify a DHCP VLAN on your network. DHCP snooping filters
unauthorized DHCP packets on the network and builds the binding table dynamically.
16.1 Command Summary
The following section lists the commands for this feature.
Table 56 dhcp snooping Command Summary
COMMAND DESCRIPTION M P
show dhcp snoopi ng Displays DHCP snooping configuration on the Switch. E 3
show dhcp snoopi ng bi ndi ng Displays the DHCP binding table. E 3
show dhcp snoopi ng dat abase Displays DHCP snooping database update statistics and
settings.
E 3
show dhcp snoopi ng dat abase
det ai l
Displays DHCP snooping database update statistics in full
detail form.
E 3
show dhcp snoopi ng opt i on [ vl an
<vlan-list>] [ i nt er f ace <port-
list>]
Displays the DHCP option 82 profile that the Switch applies to
ports in the specified VLAN or to the specified port(s).
E 3
dhcp snoopi ng Enables DHCP Snooping on the Switch. C 13
no dhcp snoopi ng Disables DHCP Snooping on the Switch. C 13
dhcp snoopi ng dat abase <tftp://
host/filename>
Specifies the location of the DHCP snooping database. The
location should be expressed like this: tftp://{domain name
or IP address}/directory, if applicable/file name; for
example, tftp://192.168.10.1/database.txt.
C 13
no dhcp snoopi ng dat abase Removes the location of the DHCP snooping database. C 13
dhcp snoopi ng dat abase t i meout
<seconds>
Specifies how long (10-65535 seconds) the Switch tries to
complete a specific update in the DHCP snooping database
before it gives up.
C 13
no dhcp snoopi ng dat abase
t i meout
Resets how long (10-65535 seconds) the Switch tries to
complete a specific update in the DHCP snooping database
before it gives up to the default value (300).
C 13
dhcp snoopi ng dat abase wr i t e-
del ay <seconds>
Specifies how long (10-65535 seconds) the Switch waits to
update the DHCP snooping database the first time the current
bindings change after an update.
C 13
Chapter 16 DHCP Snooping & DHCP VLAN Commands
Ethernet Switch CLI Reference Guide 73
no dhcp snoopi ng dat abase wr i t e-
del ay
Resets how long (10-65535 seconds) the Switch waits to
update the DHCP snooping database the first time the current
bindings change after an update to the default value (300).
C 13
dhcp snoopi ng vl an <vlan-list> Specifies the VLAN IDs for VLANs you want to enable DHCP
snooping on.
C 13
no dhcp snoopi ng vl an <vlan-
list>
Specifies the VLAN IDs for VLANs you want to disable DHCP
snooping on.
C 13
dhcp snoopi ng vl an <vlan-list>
i nf or mat i on
Sets the Switch to add the system name to DHCP requests
that it broadcasts to the DHCP VLAN, if specified, or VLAN.
C 13
no dhcp snoopi ng vl an <vlan-
list> i nf or mat i on
Sets the Switch to not add the system name to DHCP
requests that it broadcasts to the DHCP VLAN, if specified, or
VLAN.
C 13
dhcp snoopi ng vl an <vlan-list>
i nt er f ace por t - channel <port-
list> opt i on pr of i l e <name>
Specifies a pre-defined DHCP option 82 profile that the
Switch applies to the specified port(s) in the specified VLAN.
C 13
no dhcp snoopi ng vl an <vlan-
list> i nt er f ace por t - channel
<port-list> opt i on
Sets the Switch to not apply a DHCP option 82 profile to the
specified port(s).
C 13
dhcp snoopi ng vl an <vlan-list>
opt i on
Sets the Switch to add the slot number, port number and
VLAN ID to DHCP requests that it broadcasts to the DHCP
VLAN, if specified, or VLAN.
C 13
no dhcp snoopi ng vl an <vlan-
list> opt i on
Sets the Switch to not add the slot number, port number and
VLAN ID to DHCP requests that it broadcasts to the DHCP
VLAN, if specified, or VLAN.
C 13
dhcp snoopi ng vl an <vlan-list>
opt i on pr of i l e <name>
Specifies a pre-defined DHCP option 82 profile that the
Switch applies to all ports in the specified VLAN.
C 13
no dhcp snoopi ng vl an <vlan-
list> opt i on
Sets the Switch to not apply a DHCP option 82 profile to all
ports in the specified VLAN.
C 13
cl ear dhcp snoopi ng dat abase
st at i st i cs
Delete all statistics records of DHCP requests going through
the Switch.
E 13
r enew dhcp snoopi ng dat abase Loads dynamic bindings from the default DHCP snooping
database.
E 13
r enew dhcp snoopi ng dat abase
<tftp://host/filename>
Loads dynamic bindings from the specified DHCP snooping
database.
E 13
i nt er f ace por t - channel <port-
list>
Enables a port or a list of ports for configuration. C 13
dhcp snoopi ng t r ust Sets this port as a trusted DHCP snooping port. Trusted ports
are connected to DHCP servers or other switches, and the
Switch discards DHCP packets from trusted ports only if the
rate at which DHCP packets arrive is too high.
C 13
dhcp snoopi ng l i mi t r at e
<pps>
Sets the maximum rate in packets per second (pps) that
DHCP packets are allowed to arrive at a trusted DHCP
snooping port.
C 13
no dhcp snoopi ng t r ust Disables this port from being a trusted port for DHCP
snooping.
C 13
no dhcp snoopi ng l i mi t r at e Resets the DHCP snooping rate to the default (0). C 13
Table 56 dhcp snooping Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 16 DHCP Snooping & DHCP VLAN Commands
Ethernet Switch CLI Reference Guide 74
The following table describes the dhcp- vl an commands.
16.2 Command Examples
This example:
Enables DHCP snooping Switch.
Sets up an external DHCP snooping database on a network server with IP address
172.16.37.17.
Enables DHCP snooping on VLANs 1,2,3,200 and 300.
Sets the Switch to add the slot number, port number and VLAN ID to DHCP requests that
it broadcasts to the DHCP VLAN.
Sets ports 1 - 5 as DHCP snooping trusted ports.
Sets the maximum number of DHCP packets that can be received on ports 1 - 5 to 100
packets per second.
Configures a DHCP VLAN with a VLAN ID 300.
Table 57 dhcp-vlan Command Summary
COMMAND DESCRIPTION M P
dhcp dhcp- vl an <vlan-id> Specifies the VLAN ID of the DHCP VLAN. C 13
no dhcp dhcp- vl an Disables DHCP VLAN on the Switch. C 13
Chapter 16 DHCP Snooping & DHCP VLAN Commands
Ethernet Switch CLI Reference Guide 75
Displays DHCP snooping configuration details.
sysname( conf i g) # dhcp snoopi ng
sysname( conf i g) # dhcp snoopi ng dat abase t f t p: / / 172. 16. 37. 17/
snoopdat a. t xt
sysname( conf i g) # dhcp snoopi ng vl an 1, 2, 3, 200, 300
sysname( conf i g) # dhcp snoopi ng vl an 1, 2, 3, 200, 300 opt i on
sysname( conf i g) # i nt er f ace por t - channel 1- 5
sysname( conf i g- i nt er f ace) # dhcp snoopi ng t r ust
sysname( conf i g- i nt er f ace) # dhcp snoopi ng l i mi t r at e 100
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # dhcp dhcp- vl an 300
sysname( conf i g) # exi t
sysname# show dhcp snoopi ng
Swi t ch DHCP snoopi ng i s enabl ed
DHCP Snoopi ng i s conf i gur ed on t he f ol l owi ng VLANs:
1- 3, 200, 300
Opt i on 82 i s conf i gur ed on t he f ol l owi ng VLANs:
1- 3, 200, 300
Appendi ng syst emname i s conf i gur ed on t he f ol l owi ng VLANs:
DHCP VLAN i s enabl ed on VLAN 300
I nt er f ace Tr ust ed Rat e Li mi t ( pps)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 yes 100
2 yes 100
3 yes 100
4 yes 100
5 yes 100
6 no unl i mi t ed
7 no unl i mi t ed
8 no unl i mi t ed
Ethernet Switch CLI Reference Guide 76
CHAPTER 17
DiffServ Commands
Use these commands to configure Differentiated Services (DiffServ) on the Switch.
17.1 Command Summary
The following section lists the commands for this feature.
Table 58 diffserv Command Summary
COMMAND DESCRIPTION M P
show di f f ser v Displays general DiffServ settings. E 3
di f f ser v Enables DiffServ on the Switch. C 13
no di f f ser v Disables DiffServ on the Switch. C 13
di f f ser v dscp <0- 63> pr i or i t y
<0- 7>
Sets the DSCP-to-IEEE 802.1q mappings. C 13
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
di f f ser v Enables DiffServ on the port(s). C 13
no di f f ser v Disables DiffServ on the port(s). C 13
Ethernet Switch CLI Reference Guide 77
CHAPTER 18
Display Commands
Use these commands to display configuration information.
18.1 Command Summary
The following section lists the commands for this feature.
Table 59 display Command Summary
COMMAND DESCRIPTION M P
di spl ay user <[ syst em] [ snmp] > Displays all or specific user account information in the
configuration file.
syst em: Displays system account information, such as
admin, enable or login username and password.
snmp: Displays SNMP user account information.
C 14
no di spl ay user <[ syst em] [ snmp] > Hide all or specific user account information in the
configuration file.
C 14
di spl ay aaa
<[ aut hent i cat i on] [ aut hor i zat i on] [ s
er ver ] >
Displays all or specific AAA information in the
configuration file.
aut hent i cat i on: Displays authentication information in
the configuration file.
aut hor i zat i on: Displays authorization information in
the configuration file.
ser ver : Displays authentication server information in the
configuration file.
C 14
no di spl ay aaa
<[ aut hent i cat i on] [ aut hor i zat i on] [ s
er ver ] >
Hide all or specific AAA information in the configuration
file.
C 14
Ethernet Switch CLI Reference Guide 78
CHAPTER 19
DVMRP Commands
This chapter explains how to use commands to activate the Distance Vector Multicast Routing
Protocol (DVMRP) on the Switch.
19.1 DVMRP Overview
DVMRP (Distance Vector Multicast Routing Protocol) is a protocol used for routing multicast
data. DVMRP is used when a router receives multicast traffic and it wants to find out if other
multicast routers it is connected to need to receive the data. DVMRP sends the data to all
attached routers and waits for a reply. Routers which do not need to receive the data (do not
have multicast group member connected) return a prune message, which stops further
multicast traffic for that group from reaching the router.
19.2 Command Summary
The following section lists the commands for this feature.
Table 60 Command Summary: DVMRP
COMMAND DESCRIPTION M P
show i p dvmr p gr oup Displays DVMRP group information. E 3
show i p dvmr p i nt er f ace Displays DVMRP interface information. E 3
show i p dvmr p nei ghbor Displays DVMRP neighbor information. E 3
show i p dvmr p pr une Displays the DVMRP prune information. E 3
show i p dvmr p r out e Displays the DVMRP routes. E 3
show r out er dvmr p Displays DVMRP settings. E 3
r out er dvmr p Enables and enters the DVMRP
configuration mode.
C 13
exi t Leaves the DVMRP configuration mode. C 13
t hr eshol d <ttl-value> Sets the DVMRP threshold value. Multicast
packets with TTL (Time-To-Live) value
lower than the threshold are not forwarded
by the Switch.
C 13
no r out er dvmr p Disables DVMRP on the Switch. C 13
i nt er f ace r out e- domai n <ip-address>/ <mask-
bits>
Enters the configuration mode for this
routing domain.
C 13
Chapter 19 DVMRP Commands
Ethernet Switch CLI Reference Guide 79
19.3 Command Examples
In this example, the Switch is configured to exchange DVMRP information with other
DVMRP enabled routers as shown next. The Switch is a DVMRP router (C). DVMRP is
activated on IP routing domains 10.10.10.1/24 and 172.16.1.1/24 so that it can exchange
DVMRP information with routers A and B.
Figure 6 DVMRP Network Example
Enables IGMP and DVMRP on the Switch.
Enables DVMRP on the following routing domains: 10.10.10.1/24, 172.16.1.1/24.
Displays DVMRP settings configured on the Switch.
i p dvmr p Activates this routing domain in
participating in DVMRP.
C 13
no i p dvmr p Disables this routing domain from
participating in DVMRP.
C 13
Table 60 Command Summary: DVMRP (continued)
COMMAND DESCRIPTION M P
sysname( conf i g) # r out er i gmp
sysname( conf i g- i gmp) # exi t
sysname( conf i g) # r out er dvmr p
sysname( conf i g- dvmr p) # exi t
sysname( conf i g) # i nt er f ace r out e- domai n 10. 10. 10. 1/ 24
sysname( conf i g- i f ) # i p dvmr p
sysname( conf i g- i f ) # exi t
sysname( conf i g) # i nt er f ace r out e- domai n 172. 16. 1. 1/ 24
sysname( conf i g- i f ) # i p dvmr p
sysname( conf i g- i f ) # exi t
sysname( conf i g) # exi t
sysname# show r out er dvmr p
TTL t hr eshol d: 50
I P Addr ess Subnet Mask Act i ve
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
10. 10. 10. 1 255. 255. 255. 0 Yes
172. 16. 1. 1 255. 255. 255. 0 Yes
192. 168. 1. 1 255. 255. 255. 0 No
A B
C D E
10.10.10.254
172.16.1.254
Ethernet Switch CLI Reference Guide 80
CHAPTER 20
Error Disable and Recovery
Commands
Use these commands to configure the CPU protection and error disable recovery features on
the Switch.
20.1 CPU Protection Overview
Switches exchange protocol control packets in a network to get the latest networking
information. If a Switch receives large numbers of control packets, such as ARP, BPDU or
IGMP packets, which are to be processed by the CPU, the CPU may become overloaded and
be unable to handle regular tasks properly.
The CPU protection feature allows you to limit the rate of ARP, BPDU and IGMP packets to
be delivered to the CPU on a port. This enhances the CPU efficiency and protects against
potential DoS attacks or errors from other network(s). You then can choose to drop control
packets that exceed the specified rate limit or disable a port on which the packets are received.
20.2 Error-Disable Recovery Overview
Some features, such as loop guard or CPU protection, allow the Switch to shut down a port or
discard specific packets on a port when an error is detected on the port. For example, if the
Switch detects that packets sent out the port(s) loop back to the Switch, the Switch can shut
down the port(s) automatically. After that, you need to enable the port(s) or allow the packets
on a port manually via the web configurator or the commands. With error-disable recovery,
you can set the disabled port(s) to become active or start receiving the packets again after the
time interval you specify.
20.3 User Input Values
This section lists the common term definition appears in this chapter.
Table 61 errdisable recovery command user input values
USER INPUT DESCRIPTION
port-list The port number or a range of port numbers that you want to configure.
Chapter 20 Error Disable and Recovery Commands
Ethernet Switch CLI Reference Guide 81
20.4 Command Summary
The following section lists the commands for this feature.
Table 62 cpu-protection Command Summary
COMMAND DESCRIPTION M P
i nt er f ace por t - channel <port-
list>
Enables a port or a list of ports for configuration. C 13
cpu- pr ot ect i on cause
<ARP| BPDU| I GMP> r at e- l i mi t
<0- 256>
Sets the maximum number of ARP, BPDU or IGMP packets
that the specified port(s) are allowed to receive or transmit
per second. 0 means no rate limit.
C 13
cl ear cpu- pr ot ect i on i nt er f ace
por t - channel <port-list> cause
<ARP| BPDU| I GMP>
Resets the Total Drop counters for the specified port(s) to
zero (0). You can see the counter using the show cpu-
pr ot ect i on command. The Total Drops means the
number of ARP, BPDU or IGMP packets that have been
dropped due to the Error Disable feature in r at e-
l i mi t at i on mode.
E 13
r eset cpu- pr ot ect i on i nt er f ace
por t - channel <port-list> cause
<ARP| BPDU| I GMP>
Sets the specified port(s) to handle all ARP, BPDU or IGMP
packets in stead of ignoring them, if the port(s) are in
i nact i ve- r eason mode (set by using the er r di sabl e
det et cause command).
E 13
show cpu- pr ot ect i on i nt er f ace
por t - channel <port-list>
Shows the CPU Protection settings and the number of ARP,
BPDU and/or IGMP packets that has been dropped by the
Error Disable feature for the specified port(s).
E 13
Table 63 errdisable recovery Command Summary
COMMAND DESCRIPTION M P
er r di sabl e det ect cause
<ARP| BPDU| I GMP>
Sets the Switch to detect if the number of ARP, BPDU or
IGMP packets exceeds the rate limit on port(s) (set by using
the cpu- pr ot ect i on cause command).
C 13
er r di sabl e det ect cause
<ARP| BPDU| I GMP> mode <i nact i ve-
por t | i nact i ve- r eason| r at e-
l i mi t at i on>
Sets the action that the Switch takes when the number of
ARP, BPDU or IGMP packets exceeds the rate limit on
port(s).
i nact i ve- por t : The Switch shuts down the port.
i nact i ve- r eason: The Switch bypasses the processing of
the specified control packets (such as ARP or IGMP packets),
or drops all the specified control packets (such as BPDU) on
the port.
r at e- l i mi t at i on: The Switch drops the additional control
packets the port(s) have to handle in every one second.
C 13
er r di sabl e r ecover y Turns on the disabled port recovery function on the Switch. C 13
er r di sabl e r ecover y cause
<l oopguar d| ARP| BPDU| I GMP>
Enables the recovery timer for the specified feature that
causes the Switch to shut down port(s).
C 13
er r di sabl e r ecover y cause
<l oopguar d| ARP| BPDU| I GMP>
i nt er val <30- 2592000>
Sets how many seconds the Switch waits before enabling the
port(s) which was shut down.
C 13
no er r di sabl e det ect cause
<ARP| BPDU| I GMP>
Disables the rate limit for ARP, BPDU or IGMP packets on
port(s), set by using the cpu- pr ot ect i on cause
command.
C 13
no er r di sabl e r ecover y Turns off the disabled port recovery function on the Switch. C 13
no er r di sabl e r ecover y cause
<l oopguar d| ARP| BPDU| I GMP>
Disables the recovery timer for the specified feature that
causes the Switch to shut down a port.
C 13
Chapter 20 Error Disable and Recovery Commands
Ethernet Switch CLI Reference Guide 82
20.5 Command Examples
This example shows you how to configure the following:
limit the number of ARP packets that port 7 can handle to 100 packets per second.
set to shut down port 7 when the number ARP packets the port should handle exceeds the
rate limit.
display the CPU protection settings that you just set for port 7.
display the Error Disable status and action mode for ARP packet handling.
show er r di sabl e Displays which port(s) are detected (by Error Disable), the
mode of the ports, and which packets (ARP, BPDU or IGMP)
are being detected.
E 13
show er r di sabl e det ect Displays the Error Disable settings including the available
protocol of packets (ARP, BPDU or IGMP), the current status
(enabled or disabled), and the corresponding action the
Switch takes when a detected port is handling packets over
the limit.
E 13
show er r di sabl e r ecover y Displays the disabled port recovery settings and after how
many seconds which port(s) will be activated.
E 13
Table 63 errdisable recovery Command Summary (continued)
COMMAND DESCRIPTION M P
syst emname# conf i g
syst emname( conf i g) # i nt er f ace por t - channel 7
syst emname( conf i g- i nt er f ace) # cpu- pr ot ect i on cause ARP r at e- l i mi t 100
syst emname( conf i g- i nt er f ace) # exi t
syst emname( conf i g) # er r di sabl e det ect cause ARP
syst emname( conf i g) # er r di sabl e det ect cause ARP mode i nact i ve- por t
syst emname( conf i g) # exi t
syst emname# show cpu- pr ot ect i on i nt er f ace por t - channel 7
Por t : 7
Reason Rat e Mode Tot al Dr ops
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ARP 100 i nact i ve- por t -
BPDU 0 i nact i ve- por t -
I GMP 0 i nact i ve- por t -
syst emname# show er r di sabl e det ect
Reason St at us Mode
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
ARP enabl e i nact i ve- por t
BPDU enabl e r at e- l i mi t at i on
I GMP enabl e i nact i ve- por t
syst emname#
Chapter 20 Error Disable and Recovery Commands
Ethernet Switch CLI Reference Guide 83
This example enables the disabled port recovery function and the recovery timer for the
loopguard feature on the Switch. If a port is shut down due to the specified reason, the Switch
activates the port 300 seconds (the default value) later. This example also shows the number of
the disabled port(s) and the time left before the port(s) becomes active.
sysname# conf i gur e
sysname( conf i g) # er r di sabl e r ecover y
sysname( conf i g) # er r di sabl e r ecover y cause l oopguar d
sysname( conf i g) # exi t
sysname# show er r di sabl e r ecover y
Er r di sabl e Recover y St at us: Enabl e
Reason Ti mer St at us Ti me
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
l oopguar d Enabl e 300
ARP Di sabl e 300
BPDU Di sabl e 300
I GMP Di sabl e 300
I nt er f aces t hat wi l l be enabl ed at t he next t i meout :
I nt er f ace Reason Ti me l ef t ( sec) Mode
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
sysname#
Ethernet Switch CLI Reference Guide 84
CHAPTER 21
Ethernet OAM Commands
Use these commands to use the link monitoring protocol IEEE 802.3ah Link Layer Ethernet
OAM (Operations, Administration and Maintenance).
21.1 IEEE 802.3ah Link Layer Ethernet OAM Implementation
Link layer Ethernet OAM (Operations, Administration and Maintenance) as described in IEEE
802.3ah is a link monitoring protocol. It utilizes OAM Protocol Data Units or OAM PDUs to
transmit link status information between directly connected Ethernet devices. Both devices
must support IEEE 802.3ah. Because link layer Ethernet OAM operates at layer two of the
OSI (Open Systems Interconnection Basic Reference) model, neither IP or SNMP are
necessary to monitor or troubleshoot network connection problems.
The Switch supports the following IEEE 802.3ah features:
Discovery - this identifies the devices on each end of the Ethernet link and their OAM
configuration.
Remote Loopback - this can initiate a loopback test between Ethernet devices.
21.2 Command Summary
The following section lists the commands for this feature.
Table 64 ethernet oam Command Summary
COMMAND DESCRIPTION M P
show et her net oamdi scover y
<port-list>
Displays OAM configuration details and operational status of
the specified ports.
E 3
show et her net oamst at i st i cs
<port-list>
Displays the number of OAM packets transferred for the
specified ports.
E 3
show et her net oamsummar y Displays the configuration details of each OAM activated port. E 3
et her net oam Enables Ethernet OAM on the Switch. C 13
no et her net oam Disables Ethernet OAM on the Switch. C 13
et her net oamr emot e- l oopback
st ar t <port>
Initiates a remote-loopback test from the specified port by
sending Enable Loopback Control PDUs to the remote
device.
E 13
et her net oamr emot e- l oopback
st op <port>
Terminates a remote-loopback test from the specified port by
sending Disable Loopback Control PDUs to the remote
device.
E 13
Chapter 21 Ethernet OAM Commands
Ethernet Switch CLI Reference Guide 85
21.3 Command Examples
This example enables Ethernet OAM on port 7 and sets the mode to active.
et her net oamr emot e- l oopback
t est <port>[ <number-of-packets>
[ <packet-size>] ]
Performs a remote-loopback test from the specified port. You
can also define the allowable packet number and packet size
of the loopback test frames.
E 13
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
et her net oam Enables Ethernet OAM on the port(s). C 13
no et her net oam Disables Ethernet OAM on the port(s). C 13
et her net oammode
<act i ve| passi ve>
Specifies the OAM mode on the ports.
act i ve: Allows the port to issue and respond to Ethernet
OAM commands.
passi ve: Allows the port to respond to Ethernet OAM
commands.
C 13
et her net oamr emot e- l oopback
i gnor e- r x
Sets the Switch to ignore loopback commands received on
the ports.
C 13
et her net oamr emot e- l oopback
suppor t ed
Enables the remote loopback feature on the ports. C 13
no et her net oamr emot e-
l oopback i gnor e- r x
Sets the Switch to process loopback commands received on
the ports.
C 13
no et her net oamr emot e-
l oopback suppor t ed
Disables the remote loopback feature on the ports. C 13
no et her net oammode Resets the OAM mode to the default value. C 13
Table 64 ethernet oam Command Summary (continued)
COMMAND DESCRIPTION M P
sysname# conf i gur e
sysname( conf i g) # et her net oam
sysname( conf i g) # i nt er f ace por t - channel 7
sysname( conf i g- i nt er f ace) # et her net oam
sysname( conf i g- i nt er f ace) # et her net oammode act i ve
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
Chapter 21 Ethernet OAM Commands
Ethernet Switch CLI Reference Guide 86
This example performs Ethernet OAM discovery from port 7.
The following table describes the labels in this screen.
sysname# show et her net oamdi scover y 7
Por t 7
Local cl i ent
- - - - - - - - - - - -
OAM conf i gur at i ons:
Mode : Act i ve
Uni di r ect i onal : Not suppor t ed
Remot e l oopback : Not suppor t ed
Li nk event s : Not suppor t ed
Var i abl e r et r i eval : Not suppor t ed
Max. OAMPDU si ze : 1518
Oper at i onal st at us:
Li nk st at us : Down
I nf o. r evi si on : 3
Par ser st at e : For war d
Di scover y st at e : Act i ve Send Local
Table 65 show ethernet oam discovery
LABEL DESCRIPTION
OAM configurations The remote device uses this information to determine what functions are
supported.
Mode This field displays the OAM mode. The device in active mode (typically the
service provider's device) controls the device in passive mode (typically the
subscriber's device).
Active: The Switch initiates OAM discovery; sends information PDUs; and
may send event notification PDUs, variable request/response PDUs, or
loopback control PDUs.
Passive: The Switch waits for the remote device to initiate OAM discovery;
sends information PDUs; may send event notification PDUs; and may
respond to variable request PDUs or loopback control PDUs.
The Switch might not support some types of PDUs, as indicated in the
fields below.
Unidirectional This field indicates whether or not the Switch can send information PDUs to
transmit fault information when the receive path is non-operational.
Remote loopback This field indicates whether or not the Switch can use loopback control
PDUs to put the remote device into loopback mode.
Link events This field indicates whether or not the Switch can interpret link events, such
as link fault and dying gasp. Link events are sent in event notification PDUs
and indicate when the number of errors in a given interval (time, number of
frames, number of symbols, or number of errored frame seconds) exceeds
a specified threshold. Organizations may create organization-specific link
event TLVs as well.
Variable retrieval This field indicates whether or not the Switch can respond to requests for
more information, such as requests for Ethernet counters and statistics,
about link events.
Max. OAMPDU size This field displays the maximum size of PDU for receipt and delivery.
Operational status
Link status This field indicates that the link is up or down.
Chapter 21 Ethernet OAM Commands
Ethernet Switch CLI Reference Guide 87
This example looks at the number of OAM packets transferred on port 1.
Info. revision This field displays the current version of local state and configuration. This
two-octet value starts at zero and increments every time the local state or
configuration changes.
Parser state This field indicates the current state of the parser.
Forward: The packet is forwarding packets normally.
Loopback: The Switch is in loopback mode.
Discard: The Switch is discarding non-OAMPDUs because it is trying to or
has put the remote device into loopback mode.
Discovery state This field indicates the state in the OAM discovery process. OAM-enabled
devices use this process to detect each other and to exchange information
about their OAM configuration and capabilities. OAM discovery is a
handshake protocol.
Fault: One of the devices is transmitting OAM PDUs with link fault
information, or the interface is not operational.
Active Send Local: The Switch is in active mode and is trying to see if the
remote device supports OAM.
Passive Wait: The Switch is in passive mode and is waiting for the remote
device to begin OAM discovery.
Send Local Remote: This state occurs in the following circumstances.
The Switch has discovered the remote device but has not accepted or
rejected the connection yet.
The Switch has discovered the remote device and rejected the
connection.
Send Local Remote OK: The Switch has discovered the remote device
and has accepted the connection. In addition, the remote device has not
accepted or rejected the connection yet, or the remote device has rejected
the connected.
Send Any: The Switch and the remote device have accepted the
connection. This is the operating state for OAM links that are fully
operational.
sysname# show et her net oamst at i st i cs 1
Por t 1
St at i st i cs:
- - - - - - - - - - -
I nf or mat i on OAMPDU Tx : 0
I nf or mat i on OAMPDU Rx : 0
Event Not i f i cat i on OAMPDU Tx : 0
Event Not i f i cat i on OAMPDU Rx : 0
Loopback Cont r ol OAMPDU Tx : 0
Loopback Cont r ol OAMPDU Rx : 0
Var i abl e Request OAMPDU Tx : 0
Var i abl e Request OAMPDU Rx : 0
Var i abl e Response OAMPDU Tx : 0
Var i abl e Response OAMPDU Rx : 0
Unsuppor t ed OAMPDU Tx : 0
Unsuppor t ed OAMPDU Rx : 0
Table 65 show ethernet oam discovery (continued)
LABEL DESCRIPTION
Chapter 21 Ethernet OAM Commands
Ethernet Switch CLI Reference Guide 88
The following table describes the labels in this screen.
This example looks at the configuration of ports on which OAM is enabled.
The following table describes the labels in this screen.
Table 66 show ethernet oam statistics
LABEL DESCRIPTION
Information OAMPDU Tx This field displays the number of OAM PDUs sent on the port.
Information OAMPDU Rx This field displays the number of OAM PDUs received on the port.
Event Notification
OAMPDU Tx
This field displays the number of unique or duplicate OAM event notification
PDUs sent on the port.
Event Notification
OAMPDU Rx
This field displays the number of unique or duplicate OAM event notification
PDUs received on the port.
Loopback Control
OAMPDU Tx
This field displays the number of loopback control OAM PDUs sent on the
port.
Loopback Control
OAMPDU Rx
This field displays the number of loopback control OAM PDUs received on
the port.
Variable Request
OAMPDU Tx
This field displays the number of OAM PDUs sent to request MIB objects
on the remote device.
Variable Request
OAMPDU Rx
This field displays the number of OAM PDUs received requesting MIB
objects on the Switch.
Variable Response
OAMPDU Tx
This field displays the number of OAM PDUs sent by the Switch in
response to requests.
Variable Response
OAMPDU Rx
This field displays the number of OAM PDUs sent by the remote device in
response to requests.
Unsupported OAMPDU
Tx
This field displays the number of unsupported OAM PDUs sent on the port.
Unsupported OAMPDU
Rx
This field displays the number of unsupported OAM PDUs received on the
port.
sysname# show et her net oamsummar y
OAM Conf i g: U : Uni di r ect i on, R : Remot e Loopback
L : Li nk Event s , V : Var i abl e Ret r i eval
Local Remot e
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Por t Mode MAC Addr OUI Mode Conf i g
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 Act i ve
Table 67 show ethernet oam summary
LABEL DESCRIPTION
Local This section displays information about the ports on the Switch.
Port This field displays the port number.
Mode This field displays the operational state of the port.
Remote This section displays information about the remote device.
MAC Addr This field displays the MAC address of the remote device.
Chapter 21 Ethernet OAM Commands
Ethernet Switch CLI Reference Guide 89
OUI This field displays the OUI (first three bytes of the MAC address) of the
remote device.
Mode This field displays the operational state of the remote device.
Config This field displays the capabilities of the Switch and remote device. THe
capabilities are identified in the OAM Config section.
Table 67 show ethernet oam summary (continued)
LABEL DESCRIPTION
Ethernet Switch CLI Reference Guide 90
CHAPTER 22
External Alarm Commands
Use these commands to configure the external alarm features on the Switch.
22.1 Command Summary
The following section lists the commands for this feature.
Table 68 external-alarm Command Summary
COMMAND DESCRIPTION M P
ext er nal - al ar m<index> name
<name_string>
Sets the name of the specified external alarm.
index: 1 ~4
name_string: Enters a name of up to 32 ASCII characters.
C 13
no ext er nal - al ar m<index> Removes the name of the specified external alarm. C 13
no ext er nal - al ar mal l Removes the name of all external alarms. C 13
show ext er nal - al ar m Displays external alarm settings and status. E 13
Chapter 22 External Alarm Commands
Ethernet Switch CLI Reference Guide 91
22.2 Command Examples
This example configures and shows the name and status of the external alarm(s).
sysname# conf i gur e
sysname( conf i g) # ext er nal - al ar m1 name door open
sysname( conf i g) # exi t
sysname# show ext er nal - al ar m
Ext er nal Al ar m1
St at us: Not asser t ed
Name: door open
Ext er nal Al ar m2
St at us: Not asser t ed
Name:
Ext er nal Al ar m3
St at us: Not asser t ed
Name:
Ext er nal Al ar m4
St at us: Not asser t ed
Name:
sysname#
Ethernet Switch CLI Reference Guide 92
CHAPTER 23
GARP Commands
Use these commands to configure GARP.
23.1 GARP Overview
Switches join VLANs by making a declaration. A declaration is made by issuing a J oin
message using GARP. Declarations are withdrawn by issuing a Leave message. A Leave All
message terminates all registrations. GARP timers set declaration timeout values.
23.2 Command Summary
The following section lists the commands for this feature.
Table 69 garp Command Summary
COMMAND DESCRIPTION M P
show gar p Displays GARP information. E 3
gar p j oi n <100- 65535> l eave
<200- 65535> l eaveal l <200- 65535>
Configures GARP time settings (in milliseconds), including
the join, leave and leave all timers for each port. Leave Time
must be at least two times larger than J oin Timer, and Leave
All Timer must be larger than Leave Timer.
C 13
Chapter 23 GARP Commands
Ethernet Switch CLI Reference Guide 93
23.3 Command Examples
In this example, the administrator looks at the Switchs GARP timer settings and decides to
change them. The administrator sets the J oin Timer to 300 milliseconds, the Leave Timer to
800 milliseconds, and the Leave All Timer to 11000 milliseconds.
sysname# show gar p
GARP Ti mer
- - - - - - - - - - - - - - - - - - - - - - - -
J oi n Ti mer : 200
Leave Ti mer : 600
Leave Al l Ti mer : 10000
sysname# conf i gur e
sysname( conf i g) # gar p j oi n 300 l eave 800 l eaveal l 11000
sysname( conf i g) # exi t
sysname# show gar p
GARP Ti mer
- - - - - - - - - - - - - - - - - - - - - - - -
J oi n Ti mer : 300
Leave Ti mer : 800
Leave Al l Ti mer : 11000
Ethernet Switch CLI Reference Guide 94
CHAPTER 24
Green Ethernet Commands
Use these commands to configure green Ethernet.
24.1 Green Ethernet Overview
Green Ethernet reduces Switch port power consumption in the following ways.
IEEE 802.3az Energy Efficient Ethernet (EEE)
If EEE is enabled, both sides of a link support EEE and there is no traffic, the port enters
Low Power Idle (LPI) mode. LPI mode turns off some functions of the physical layer
(becomes quiet) to save power. Periodically the port transmits a REFRESH signal to allow
the link partner keep the link alive. When there is traffic to be sent, a WAKE signal is sent
to the link partner to return the link to active mode.
Auto Power Down
Auto Power Down turns off almost all functions of the ports physical layer functions
when the link is down, so the port only uses power to check for a link up pulse from the
link partner. After the link up pulse is detected, the port wakes up from Auto Power Down
and operates normally.
Short Reach
Traditional Ethernet transmits all data with enough power to reach the maximum cable
length. Shorter cables lose less power, so Short Reach saves power by adjusting the
transmit power of each port according to the length of cable attached to that port.
Not all Switches supports Green Ethernet completely. Some may only support
EEE.
First configure Green Ethernet on the Switch, then configure it on an interface.
Chapter 24 Green Ethernet Commands
Ethernet Switch CLI Reference Guide 95
24.2 Command Summary
The following section lists the commands for this feature.
24.3 Green Ethernet Command Example
In this example, the Switch supports EEE and auto power down per port, and short reach
globally. The following are explanations of the Status parameters:
EEE
Act i ve displays when EEE is enabled and the EEE port is up
I nact i ve displays when EEE is enabled but the EEE port is down or the device
connected to this port does not support EEE
Unsuppor t ed means the Switch cannot display the status.
- means EEE is not enabled
Table 70 green-ethernet Command Summary
COMMAND DESCRIPTION M P
gr een- et her net aut o- power - down Enables automatic power down on the Switch. E 13
no gr een- et her net aut o- power - down Disables automatic power down on the Switch. E 13
gr een- et her net eee Enables IEEE 802.3az Energy Efficient Ethernet on
the Switch.
E 13
no gr een- et her net eee Disables eee on the Switch. E 13
gr een- et her net shor t - r each Enables adjusting the transmission power of each
port according to the length of cable attached to
a port on the Switch.
E 13
no gr een- et her net shor t - r each Disables short-reach on the Switch. E 13
i nt er f ace por t - channel <port-list> Enters config-interface mode for the specified port(s). C 13
gr een- et her net aut o- power - down Enables automatic power down on the specified port(s). C 13
no gr een- et her net aut o- power -
down
Disables automatic power down on the specified port(s). C 13
gr een- et her net eee Enables IEEE 802.3az Energy Efficient Ethernet on
the the specified port(s).
C 13
no gr een- et her net eee Disable IEEE 802.3az Energy Efficient Ethernet on
the the specified port(s).
C 13
gr een- et her net shor t - r each Enables adjusting the transmit power of the
specified port(s) according to the length of cable
attached to the port.
C 13
no gr een- et her net shor t - r each Disables adjusting the transmit power of the
specified port(s) according to the length of cable
attached to the port.
C 13
show gr een- et her net aut o- power - down Shows automatic power down information. E 3
show gr een- et her net eee Shows Energy Efficient Ethernet information. E 3
show gr een- et her net shor t - r each Shows short reach information. E 3
Chapter 24 Green Ethernet Commands
Ethernet Switch CLI Reference Guide 96
Auto power down
Nor mal means auto power down has not reduced the power on this link
Power down means auto power down has reduced the power on this link
Unsuppor t ed means the Switch cannot display the status.
- means auto power down is not enabled
Short reach
Nor mal means short reach has not reduced the power on this link
Low power means short reach has reduced the power on this link
Unsuppor t ed means the Switch cannot display the status.
- means short reach is not enabled
sysname# conf i gur e
sysname( conf i g) # gr een- et her net eee
sysname( conf i g) # gr een- et her net shor t - r each
sysname( conf i g) # gr een- et her net aut o- power - down
sysname( conf i g) # i nt er f ace por t - channel 1- 4
sysname( conf i g- i nt er f ace) # gr een- et her net eee
sysname( conf i g- i nt er f ace) # gr een- et her net aut o- power - down
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
sysname# show gr een- et her net eee
EEE gl obal l y conf i gur at i on : Enabl e
Por t Por t st at us Conf i g St at us
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 100M/ F Enabl e Act i ve
2 Down Enabl e I nact i ve
3 100M/ F Enabl e Unsuppor t ed
4 Down Di sabl e -
sysname# show gr een- et her net aut o- power - down
Aut o Power Down gl obal l y conf i gur at i on : Enabl e
Por t Conf i g St at us
- - - - - - - - - - - - - - - - - - - - -
1 Enabl e Power down
2 Enabl e Nor mal
3 Enabl e Unsuppor t ed
4 Di sabl e -
sysname# show gr een- et her net shor t - r each
Shor t Reach gl obal l y conf i gur at i on : Enabl e
sysname#
Chapter 24 Green Ethernet Commands
Ethernet Switch CLI Reference Guide 97
The following example shows how to configure short reach if the Switch supports short reach
per port
The following example shows the display for short reach if the Switch supports short reach per
port and showing the status
sysname# conf i gur e
sysname( conf i g) # gr een- et her net shor t - r each
sysname# conf i gur e
sysname( conf i g) # i nt er f ace por t - channel 1- 4
sysname( conf i g- i nt er f ace) # gr een- et her net shor t - r each
sysname# show gr een- et her net shor t - r each
Gl obal conf i gur at i on : Enabl e
Por t Conf i g St at us
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 Enabl e Low power
2 Di sabl e -
3 Enabl e Unsuppor t ed
4 Enabl e Nor mal
Ethernet Switch CLI Reference Guide 98
CHAPTER 25
GVRP Commands
Use these commands to configure GVRP.
25.1 Command Summary
The following section lists the commands for this feature.
25.2 Command Examples
This example shows the Switchs GVRP settings.
This example turns off GVRP on ports 1-5.
Table 71 gvrp Command Summary
COMMAND DESCRIPTION M P
show vl an1q gvr p Displays GVRP settings. E 13
vl an1q gvr p Enables GVRP. C 13
no vl an1q gvr p Disables GVRP on the Switch. C 13
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
gvr p Enables this function to permit VLAN groups beyond the local
Switch.
C 13
no gvr p Disable GVRP on the port(s). C 13
sysname# show vl an1q gvr p
GVRP Suppor t
- - - - - - - - - - - - - - - - - - - - - - -
gvr pEnabl e = YES
gvr pPor t Enabl e:
sysname# conf i gur e
sysname( conf i g) # i nt er f ace por t - channel 1- 5
sysname( conf i g- i nt er f ace) # no gvr p
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
99
PART III
Reference H-M
HTTPS Server Commands (101)
IEEE 802.1x Authentication Commands (105)
IGMP and Multicasting Commands (108)
IGMP Snooping Commands (111)
IGMP Filtering Commands (118)
Interface Commands (120)
Interface Route-domain Mode (125)
IP Commands (126)
IP Source Binding Commands (130)
IPv6 Commands (132)
Layer 2 Protocol Tunnel (L2PT) Commands (155)
Link Layer Discovery Protocol (LLDP) Commands (158)
Load Sharing Commands (170)
Logging Commands (172)
Login Account Commands (173)
Loopguard Commands (175)
MAC Address Commands (177)
MAC Authentication Commands (179)
MAC Filter Commands (181)
MAC Forward Commands (183)
MAC Pinning Commands (184)
Mirror Commands (186)
MRSTP Commands (190)
100
MSTP Commands (192)
Multiple Login Commands (197)
MVR Commands (198)
Ethernet Switch CLI Reference Guide 101
CHAPTER 26
HTTPS Server Commands
Use these commands to configure the HTTPS server on the Switch.
26.1 Command Summary
The following section lists the commands for this feature.
Table 72 https Command Summary
COMMAND DESCRIPTION M P
show ht t ps Displays the HTTPS settings, statistics, and sessions. E 3
show ht t ps cer t i f i cat e Displays the HTTPS certificates. E 3
show ht t ps key <r sa| dsa> Displays the HTTPS key. E 3
show ht t ps sessi on Displays current HTTPS session(s). E 3
ht t ps cer t - r egener at i on
<r sa| dsa>
Re-generates a certificate. C 13
Chapter 26 HTTPS Server Commands
Ethernet Switch CLI Reference Guide 102
26.2 Command Examples
This example shows the current HTTPS settings, statistics, and sessions.
The following table describes the labels in this screen.
sysname# show ht t ps
Conf i gur at i on
Ver si on : SSLv3, TLSv1
Maxi mumsessi on number : 64 sessi ons
Maxi mumcache number : 128 caches
Cache t i meout : 300 seconds
Suppor t ci pher s :
DHE- RSA- AES256- SHA DHE- DSS- AES256- SHA AES256- SHA EDH- RSA- DES-
CBC3- SHA
EDH- DSS- DES- CBC3- SHA DES- CBC3- SHA DES- CBC3- MD5 DHE- RSA- AES128- SHA
DHE- DSS- AES128- SHA AES128- SHA DHE- DSS- RC4- SHA I DEA- CBC- SHA RC4-
SHA
RC4- MD5 I DEA- CBC- MD5 RC2- CBC- MD5 RC4- MD5
St at i st i cs:
Tot al connect s : 0
Cur r ent connect s : 0
Connect s t hat f i ni shed: 0
Renegot i at e r equest ed : 0
Sessi on cache i t ems : 0
Sessi on cache hi t s : 0
Sessi on cache mi sses : 0
Sessi on cache t i meout s: 0
Sessi ons:
Remot e I P Por t Local I P Por t SSL byt es Sock byt es
Table 73 show https
LABEL DESCRIPTION
Configuration
Version This field displays the current version of SSL (Secure Sockets Layer) and
TLS (Transport Layer Security).
Maximum session
number
This field displays the maximum number of HTTPS sessions the Switch
supports.
Maximum cache number This field displays the maximum number of entries in the cache table the
Switch supports for HTTPS sessions.
Cache timeout This field displays how long entries remain in the cache table before they
expire.
Support ciphers This field displays the SSL or TLS cipher suites the Switch supports for
HTTPS sessions. The cipher suites are identified by their OpenSSL
equivalent names. If the name does not include the authentication used,
assume RSA authentication. See SSL v2.0, SSL v3.0, TLS v1.0, and RFC
3268 for more information.
Statistics
Total connects This field displays the total number of HTTPS connections since the Switch
started up.
Current connects This field displays the current number of HTTPS connections.
Chapter 26 HTTPS Server Commands
Ethernet Switch CLI Reference Guide 103
This example shows the current HTTPS sessions.
The following table describes the labels in this screen.
Connects that finished This field displays the number of HTTPS connections that have finished.
Renegotiate requested This field displays the number of times the Switch requested clients to
renegotiate the SSL connection parameters.
Session cache items This field displays the current number of items in cache.
Session cache hits This field displays the number of times the Switch used cache to satisfy a
request.
Session cache misses This field displays the number of times the Switch could not use cache to
satisfy a request.
Session cache timeouts This field displays the number of items that have expired in the cache.
Sessions
Remote IP This field displays the clients IP address in this session.
Port This field displays the clients port number in this session.
Local IP This field displays the Switchs IP address in this session.
Port This field displays the Switchs port number in this session.
SSL bytes This field displays the number of bytes encrypted or decrypted by the
Secure Socket Layer (SSL).
Sock bytes This field displays the number of bytes encrypted or decrypted by the
socket.
sysname# show ht t ps sessi on
SSL- Sessi on:
Pr ot ocol : SSLv3
Ci pher : RC4- MD5
Sessi on- I D:
68BFB25BFAFEE3F0F15AB7B038EAB6BACE4AB7A4A6A5280E55943B7191057C96
Sessi on- I D- ct x: 7374756E6E656C20534944
Mast er - Key:
65C110D9BD9BB0EE36CE0C76408C121DAFD1E5E3209614EB0AC5509CDB60D0904937DA4B
A5BA058B57FD7169ACDD4ACF
Key- Ar g : None
St ar t Ti me: 2252
Ti meout : 300 ( sec)
Ver i f y r et ur n code: 0 ( ok)
Table 74 show https session
LABEL DESCRIPTION
Protocol This field displays the SSL version used in the session.
Cipher This field displays the encryption algorithms used in the session.
Session-ID This field displays the session identifier.
Session-ID-ctx This field displays the session ID context, which is used to label the data
and cache in the sessions and to ensure sessions are only reused in the
appropriate context.
Master-Key This field displays the SSL session master key.
Table 73 show https (continued)
LABEL DESCRIPTION
Chapter 26 HTTPS Server Commands
Ethernet Switch CLI Reference Guide 104
Key-Arg This field displays the key argument that is used in SSLv2.
Start Time This field displays the start time (in seconds, represented as an integer in
standard UNIX format) of the session.
Timeout This field displays the timeout for the session. If the session is idle longer
than this, the Switch automatically disconnects.
Verify return code This field displays the return code when an SSL client certificate is verified.
Table 74 show https session (continued)
LABEL DESCRIPTION
Ethernet Switch CLI Reference Guide 105
CHAPTER 27
IEEE 802.1x Authentication
Commands
Use these commands to configure IEEE 802.1x authentication.
Do not forget to configure the authentication server.
27.1 Guest VLAN Overview
When 802.1x port authentication is enabled on the Switch and its ports, clients that do not
have the correct credentials are blocked from using the port(s). You can configure your Switch
to have one VLAN that acts as a guest VLAN. If you enable the guest VLAN on a port, the
user that is not IEEE 802.1x capable or fails to enter the correct username and password can
still access the port, but traffic from the user is forwarded to the guest VLAN. That is,
unauthenticated users can have access to limited network resources in the same guest VLAN,
such as the Internet. The rights granted to the guest VLAN depends on how the network
administrator configures switches or routers with the guest network feature.
27.2 Command Summary
The following section lists the commands for this feature.
Table 75 port-access-authenticator Command Summary
COMMAND DESCRIPTION M P
no por t - access- aut hent i cat or Disables port authentication on the Switch. C 13
no por t - access- aut hent i cat or
<port-list>
Disables authentication on the listed ports. C 13
no por t - access- aut hent i cat or
<port-list> r eaut hent i cat e
Disables the re-authentication mechanism on the listed
port(s).
C 13
no por t - access- aut hent i cat or
<port-list> guest - vl an
Disables the guest VLAN feature on the listed ports. C 13
no por t - access- aut hent i cat or
<port-list> guest - vl an Host - mode
Resets the guest VLAN host-mode to its default settings
(Mul t i - host ).
C 13
por t - access- aut hent i cat or Enables 802.1x authentication on the Switch. C 13
Chapter 27 IEEE 802.1x Authentication Commands
Ethernet Switch CLI Reference Guide 106
27.3 Command Examples
This example configures the Switch in the following ways:
1 Specifies RADIUS server 1 with IP address 10.10.10.1, port 1890 and the string
secretKey as the password.
2 Specifies the timeout period of 30 seconds that the Switch will wait for a response from
the RADIUS server.
3 Enables port authentication on the Switch.
por t - access- aut hent i cat or
<port-list>
Enables 802.1x authentication on the specified port(s). C 13
por t - access- aut hent i cat or
<port-list> guest - vl an
Enables the guest VLAN feature on the listed ports. C 13
por t - access- aut hent i cat or
<port-list> guest - vl an <vlan-id>
Sets the guest VLAN ID number on the listed ports. C 13
por t - access- aut hent i cat or
<port-list>guest - vl an Host - mode
Mul t i - host
Sets the Switch to authenticate only the first client that
connects to the listed ports.
If the first user enters the correct credential, any other users
are allowed to access the port without authentication.
Otherwise, they are all put in the guest VLAN. Once the first
user who did authentication logs out or disconnects from the
port, rest of the users are blocked until a user does the
authentication process again.
C 13
por t - access- aut hent i cat or
<port-list>guest - vl an Host - mode
Mul t i - secur e [ <1- 24>]
Sets the Switch to authenticate each client that connects to
the listed ports. Optionally, sets the maximum number of the
clients that the Switch authenticates on the port(s). The
maximum number supported varies by Switch (24 in this
example).
C 13
por t - access- aut hent i cat or
<port-list> max- r eq <1- 10>
Sets the number of times the Switch tries to authenticate
client(s) before sending unresponsive ports to the guest
VLAN.
C 13
por t - access- aut hent i cat or
<port-list> qui et - per i od <0-
65535>
Sets the number of seconds the port(s) remains in the HELD
state and rejects further authentication requests from the
client after a failed authentication exchange.
C 13
por t - access- aut hent i cat or
<port-list> supp- t i meout <30-
65535>
Sets the number of seconds the Switch waits for client's
response to the challenge request before sending a request
again.
C 13
por t - access- aut hent i cat or
<port-list> t x- per i od <1- 65535>
Sets the number of seconds the Switch waits before re-
sending an identity request to clients on the listed ports.
C 13
por t - access- aut hent i cat or
<port-list> r eaut hent i cat e
Sets a subscriber to periodically re-enter his or her username
and password to stay connected to a specified port.
C 13
por t - access- aut hent i cat or
<port-list> r eaut h- per i od <1-
65535>
Specifies how often (in seconds) a client has to re-enter the
username and password to stay connected to the specified
port(s).
C 13
show por t - access- aut hent i cat or Displays all port authentication settings. E 3
show por t - access- aut hent i cat or
<port-list>
Displays port authentication settings on the specified port(s). E 3
Table 75 port-access-authenticator Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 27 IEEE 802.1x Authentication Commands
Ethernet Switch CLI Reference Guide 107
4 Enables port authentication on ports 4 to 8.
5 Activates reauthentication on ports 4-8.
6 Specifies 1800 seconds as the interval for client reauthentication on ports 4-8.
This example configures the Switch in the following ways:
1 Enables the guest VLAN feature on port 8.
2 Puts port 8 in guest VLAN 200.
3 Sets host mode to multi-secure to have the Switch authenticate each client that connects
to port 8.
This example configures the Switch in the following ways:
1 Disables authentication on the Switch.
2 Disables re-authentication on ports 1, 3, 4, and 5.
3 Disables authentication on ports 1, 6, and 7.
sysname( conf i g) # r adi us- ser ver host 1 10. 10. 10. 1 aut h- por t 1890 key
- - > secr et Key
sysname( conf i g) # r adi us- ser ver t i meout 30
sysname( conf i g) # por t - access- aut hent i cat or
sysname( conf i g) # por t - access- aut hent i cat or 4- 8
sysname( conf i g) # por t - access- aut hent i cat or 4- 8 r eaut hent i cat e
sysname( conf i g) # por t - access- aut hent i cat or 4- 8 r eaut h- per i od 1800
sysname( conf i g) # por t - access- aut hent i cat or 8 guest - vl an
sysname( conf i g) # por t - access- aut hent i cat or 8 guest - vl an 200
sysname( conf i g) # por t - access- aut hent i cat or 8 guest - vl an Host - mode Mul t i -
secur e
sysname( conf i g) # no por t - access- aut hent i cat or
sysname( conf i g) # no por t - access- aut hent i cat or 1, 3- 5 r eaut hent i cat e
sysname( conf i g) # no por t - access- aut hent i cat or 1, 6- 7
Ethernet Switch CLI Reference Guide 108
CHAPTER 28
IGMP and Multicasting
Commands
This chapter explains how to use commands to configure the Internet Group Membership
Protocol (IGMP) on the Switch. It also covers configuring the ports to remove the VLAN tag
from outgoing multicast packets on the Switch.
28.1 IGMP Overview
The Switch supports IGMP version 1 (IGMP-v1), version 2 (IGMP-v2) and IGMP version 3
(IGMP-v3). Refer to RFC 1112, RFC 2236 and RFC 3376 for information on IGMP versions
1, 2 and 3 respectively. At start up, the Switch queries all directly connected networks to
gather group membership. After that, the Switch periodically updates this information.
28.2 Command Summary
The following section lists the commands for this feature.
Table 76 IGMP Command Summary
COMMAND DESCRIPTION M P
r out er i gmp Enables and enters the IGMP configuration
mode.
C 13
exi t Leaves the IGMP configuration mode. C 13
non- quer i er Sets the Switch to Non-Querier mode. (If the
Switch discovers a multicast router with a
lower IP address, it will stop sending Query
messages on that network.)
C 13
no non- quer i er Disables non-querier mode on the Switch, (the
multicast router always sends Query
messages).
C 13
unknown- mul t i cast - f r ame
<dr op| f l oodi ng>
Specifies the action the Switch should perform
when it receives unknown multicast frames.
C 13
no r out er i gmp Disables IGMP on the Switch. C 13
i nt er f ace r out e- domai n <ip-address>/ <mask-
bits>
Enters the configuration mode for the specified
routing domain.
C 13
i p i gmp <v1| v2| v3> Enables IGMP in this routing domain and
specifies the version of the IGMP packets that
the Switch should use.
C 13
Chapter 28 IGMP and Multicasting Commands
Ethernet Switch CLI Reference Guide 109
28.3 Command Examples
This example configures IGMP on the Switch with the following settings:
Sets the Switch to flood unknown multicast frames.
Sets the Switch to non-querier mode.
i p i gmp r obust ness- var i abl e <2- 255> Sets the IGMP robustness variable on the
Switch. This variable specifies how susceptible
the subnet is to lost packets.
C 13
i p i gmp quer y- i nt er val <1- 65535> Sets the IGMP query interval on the Switch.
This variable specifies the amount of time in
seconds between general query messages
sent by the router.
C 13
i p i gmp quer y- max- r esponse- t i me <1- 25> Sets the maximum time that the router waits for
a response to a general query message.
C 13
i p i gmp l ast - member - quer y- i nt er val <1-
25>
Sets the amount of time in seconds that the
router waits for a response to a group specific
query message.
C 13
no i p i gmp Disables IP IGMP in this routing domain. C 13
show i p i gmp gr oup DIsplays the multicast groups learned by
IGMP.
E 3
show i p i gmp i nt er f ace Displays the IGMP status information per
interface.
E 3
show i p i gmp mul t i cast Displays the multicast traffic information. E 3
show i p i gmp t i mer Displays the IGMP timer settings. E 3
show r out er i gmp Displays global IGMP settings. E 3
Table 77 IPMC Command Summary
COMMAND DESCRIPTION M P
i nt er f ace por t - channel <port-list> Enters config-interface mode for the specified
port(s).
C 13
i pmc egr ess- unt ag- vl an <vlan-id> Sets the Switch to remove the VLAN tag from
IP multicast packets belonging to the specified
VLAN before transmission on this port.
Enter a VLAN group ID in this field. Enter 0 to
set the Switch not to remove any VLAN tags
from the packets.
C 13
no i pmc egr ess- unt ag- vl an Disables the ports from removing the VLAN
tags from outgoing IP multicast packets.
C 13
Table 76 IGMP Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 28 IGMP and Multicasting Commands
Ethernet Switch CLI Reference Guide 110
Configures the IP interface 172.16.1.1 with subnet mask 255.255.255.0 to route IGMP
version 3 packets.
sysname( conf i g) # r out er i gmp
sysname( conf i g- i gmp) # non- quer i er
sysname( conf i g- i gmp) # unknown- mul t i cast - f r ame f l oodi ng
sysname( conf i g- i gmp) # exi t
sysname( conf i g) # i nt er f ace r out e- domai n 172. 16. 1. 1/ 24
sysname( conf i g- i f ) # i p i gmp v3
Ethernet Switch CLI Reference Guide 111
CHAPTER 29
IGMP Snooping Commands
Use these commands to configure IGMP snooping on the Switch.
29.1 Command Summary
The following section lists the commands for this feature.
Table 78 igmp-flush Command Summary
COMMAND DESCRIPTION M P
i gmp- f l ush Removes all multicast group information. E 13
Table 79 igmp-snooping Command Summary
COMMAND DESCRIPTION M P
cl ear i gmp- snoopi ng st at i st i cs al l Removes all multicast statistics of the Switch. E 3
cl ear i gmp- snoopi ng st at i st i cs
por t
Removes the multicast statistics of the port(s). E 3
cl ear i gmp- snoopi ng st at i st i cs
syst em
Removes the multicast statistics of the Switch. E 3
cl ear i gmp- snoopi ng st at i st i cs
vl an
Removes the multicast statistics of the multicast VLAN(s) E 3
i gmp- snoopi ng Enables IGMP snooping. C 13
no i gmp- snoopi ng Disables IGMP snooping. C 13
i gmp- snoopi ng 8021p- pr i or i t y <0- 7> Sets the 802.1p priority for outgoing igmp snooping
packets.
C 13
no i gmp- snoopi ng 8021p- pr i or i t y Disables changing the priority of outgoing IGMP control
packets.
C 13
i gmp- snoopi ng aut hent i cat i on-
t i meout <0- 3000>
Sets how long the Switch waits before sending the same
access request again if the AAA server rejects the hosts
request to join a multicast group.
C 13
no i gmp- snoopi ng aut hent i cat i on-
t i meout
Resets the authentication timeout value to its default
setting.
C 13
i gmp- snoopi ng f i l t er i ng Enables IGMP filtering on the Switch. Ports can only join
multicast groups specified in their IGMP filtering profile.
C 13
i gmp- snoopi ng f i l t er i ng pr of i l e
<name> st ar t - addr ess <ip> end-
addr ess <ip>
Sets the range of multicast address(es) in a profile.
name: 1-32 alphanumeric characters
C 13
no i gmp- snoopi ng f i l t er i ng Disables IGMP filtering on the Switch. C 13
Chapter 29 IGMP Snooping Commands
Ethernet Switch CLI Reference Guide 112
no i gmp- snoopi ng f i l t er i ng pr of i l e
<name>
Removes the specified IGMP filtering profile. You cannot
delete an IGMP filtering profile that is assigned to any
ports.
C 13
no i gmp- snoopi ng f i l t er i ng pr of i l e
<name> st ar t - addr ess <ip> end-
addr ess <ip>
Clears the specified rule of the specified IGMP filtering
profile.
C 13
i gmp- snoopi ng host - t i meout <1-
16711450>
Sets the host timeout value. C 13
i gmp- snoopi ng l eave- t i meout <1-
16711450>
Sets the leave timeout value C 13
i gmp- snoopi ng quer i er Enables the IGMP snooping querier on the Switch. C 13
no i gmp- snoopi ng quer i er Disables the IGMP snooping querier on the Switch. C 13
i gmp- snoopi ng l eave- pr oxy Enables IGMP snooping leave-proxy mode.
In this mode, the Switch sends a leave message with its
MAC address to the multicast router/switch only when it
receives the leave message from the last host in a
multicast group.
C 13
no i gmp- snoopi ng l eave- pr oxy Disables IGMP snooping leave-proxy mode.
In this mode, the Switch just snoops on and sends the
multicast router/switch all IGMP leave messages without
changing their source MAC addresses.
C 13
i gmp- snoopi ng r epor t - pr oxy Enables IGMP snooping report-proxy mode.
In this mode, the Switch acts as an IGMP v1/v2 report
proxy. The Switch not only checks IGMP packets between
multicast routers/switches and multicast hosts to learn the
multicast group membership, but also replaces the source
MAC address in an IGMP v1/v2 report with its own MAC
address before forwarding to the multicast router/switch.
When the Switch receives more than one IGMP v1/v2 join
reports that request to join the same multicast group, it
only sends a new join report with its MAC address. This
helps reduce the number of multicast join reports passed
to the multicast router/switch.
C 13
no i gmp- snoopi ng r epor t - pr oxy Disables IGMP snooping report-proxy mode.
In this mode, the Switch just snoops on and sends the
multicast router/switch all IGMP join messages without
changing their source MAC addresses, and forwards
multicast traffic to the hosts.
C 13
i gmp- snoopi ng r eser ved- mul t i cast -
f r ame <dr op| f l oodi ng>
Sets how to treat traffic with a reserved multicast address.
Reserved multicast addresses are in the range 224.0.0.0
to 224.0.0.255.
C 13
i gmp- snoopi ng unknown- mul t i cast -
f r ame <dr op| f l oodi ng>
Sets how to treat traffic from unknown multicast groups. C 13
show i gmp- snoopi ng Displays global IGMP snooping settings. E 3
show i gmp- snoopi ng f i l t er i ng
pr of i l e
Displays IGMP filtering profile settings. E 3
show i gmp- snoopi ng gr oup al l Displays all multicast group information. E 3
Table 79 igmp-snooping Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 29 IGMP Snooping Commands
Ethernet Switch CLI Reference Guide 113
show i gmp- snoopi ng gr oup cl i ent <
[ vl an <vlan-list>] [ i nt er f ace
por t - channel <port-list>]
[ mul t i cast - gr oup <group-address>]
>
Displays client IP information for the specified multicast
VLAN(s), port(s) and/or multicast group(s).
E 3
show i gmp- snoopi ng gr oup cl i ent
al l
Displays client IP information for all multicast groups on
the Switch.
E 3
show i gmp- snoopi ng gr oup count Displays the total number of the multicast groups on the
Switch.
E 3
show i gmp- snoopi ng gr oup i nt er f ace
por t - channel <port-list>
Displays the multicast group(s) to which the specified
port(s) belongs.
E 3
show i gmp- snoopi ng gr oup i nt er f ace
por t - channel <port-list> count
Displays the number of the multicast group(s) to which the
specified port(s) belongs.
E 3
show i gmp- snoopi ng gr oup vl an
<vlan-list>
Displays the multicast group(s) for the specified multicast
VLAN(s).
E 3
show i gmp- snoopi ng gr oup vl an
<vlan-list> count
Displays the number of the multicast group(s) for the
specified multicast VLAN(s).
E 3
show i gmp- snoopi ng quer i er Displays the IGMP query mode for the ports on the Switch. E 3
show i gmp- snoopi ng st at i st i cs
i nt er f ace por t - channel <port-list>
Displays the multicast statistics of the specified port(s). E 3
show i gmp- snoopi ng st at i st i cs
syst em
Displays the multicast statistics of the Switch. E 3
show i gmp- snoopi ng st at i st i cs vl an
<vlan-list>
Displays the multicast statistics of the specified multicast
VLAN(s).
E 3
show mul t i cast [ vl an] Displays multicast status, including the port number, VLAN
ID and multicast group members on the Switch. Optionally,
displays the type of each multicast VLAN.
E 3
Table 80 igmp-snooping vlan Command Summary
COMMAND DESCRIPTION M P
show i gmp- snoopi ng vl an Displays the VLANs on which IGMP snooping is enabled. E 3
i gmp- snoopi ng vl an mode
<aut o| f i xed>
Specifies how the VLANs on which the Switch snoops IGMP
packets are selected.
aut o: The Switch learns multicast group membership on any
VLAN. See the Users Guide for the maximum number of
VLANs the switch supports for IGMP snooping. The Switch
drops any IGMP control messages on other VLANs after it
reaches this maximum number (aut o mode).
f i xed: The Switch only learns multicast group membership
on specified VLAN(s). The Switch drops any IGMP control
messages for any unspecified VLANs (f i xed mode). See the
Users Guide for the maximum number of VLANs the switch
supports for IGMP snooping.
C 13
Table 79 igmp-snooping Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 29 IGMP Snooping Commands
Ethernet Switch CLI Reference Guide 114
i gmp- snoopi ng vl an <vlan-id>
[ name <name>]
Specifies which VLANs to perform IGMP snooping on if the
mode is f i xed. Optionally, sets a name for the multicast
VLAN.
name: 1-32 printable characters; spaces are allowed if you
put the string in double quotation marks ().
C 13
no i gmp- snoopi ng vl an <vlan-id> Removes IGMP snooping configuration on the specified
VLAN if the mode is f i xed.
C 13
Table 81 interface igmp Command Summary
COMMAND DESCRIPTION M P
show i nt er f aces conf i g <port-
list> i gmp- gr oup- l i mi t ed
Displays the group limits for IGMP snooping. E 3
show i nt er f aces conf i g <port-
list> i gmp- i mmedi at e- l eave
Displays the immediate leave settings for IGMP snooping. E 3
show i nt er f aces conf i g <port-
list> i gmp- quer y- mode
Displays the IGMP query mode for the specified port(s). E 3
show i nt er f aces conf i g <port-
list> i gmp- snoopi ng f i l t er i ng
Displays the name(s) of the IGMP filtering profiles used for
the specified port(s).
E 3
show i nt er f aces conf i g <port-
list> i gmp- snoopi ng gr oup-
l i mi t ed
Displays whether the group limit is enabled and the maximum
number of the multicast groups the specified port(s) is
allowed to join.
E 3
show i nt er f aces conf i g <port-
list> i gmp- snoopi ng l eave- mode
Displays the IGMP leave mode of the specified port(s). E 3
show i nt er f aces conf i g <port-
list> i gmp- snoopi ng quer y- mode
Displays the IGMP querier mode of the specified port(s). E 3
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
i gmp- snoopi ng
aut hent i cat i on
Enables IGMP snooping authentication on the port(s).
When a multicast host (connected to the specified ports)
sends a message to join a multicast group, the Switch sends
an access request (that conatins the host identification
information) to an AAA server before forwarding the join
message to the multicast router/switch. The Switch learns the
multicast group membership when the AAA server returns an
access-accept. If the AAA server returns an access-reject,
the Switch will not learn the multicast group membership, nor
process the packet further. If the multicast group and port has
already been learned, the Switch will not do the
authentication again.
C 13
i gmp- snoopi ng f ast - l eave-
t i meout <200- 6348800>
Set the IGMP snooping fast leave timeout (in miliseconds) the
Switch uses to update the forwarding table for the port(s).
This defines how many seconds the Switch waits for an IGMP
report before removing an IGMP snooping membership entry
when an IGMP leave message is received on this port from a
host.
C 13
i gmp- snoopi ng f i l t er i ng
pr of i l e <name>
Assigns the specified IGMP filtering profile to the port(s). If
IGMP filtering is enabled on the Switch, the port(s) can only
join the multicast groups in the specified profile.
C 13
i gmp- snoopi ng gr oup- l i mi t ed Enables the group limiting feature for IGMP snooping. You
must enable IGMP snooping as well.
C 13
Table 80 igmp-snooping vlan Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 29 IGMP Snooping Commands
Ethernet Switch CLI Reference Guide 115
i gmp- snoopi ng gr oup- l i mi t ed
act i on <deny| r epl ace>
Sets how the Switch deals with the IGMP reports when the
maximum number of the IGMP groups a port can join is
reached.
deny: The Switch drops any new IGMP join report received
on this port until an existing multicast forwarding table entry is
aged out.
r epl ace: The Switch replaces an existing entry in the
multicast forwarding table with the new IGMP report(s)
received on this port.
C 13
i gmp- snoopi ng gr oup- l i mi t ed
number <number>
Sets the maximum number of multicast groups allowed.
number: 0-255
C 13
i gmp- snoopi ng l eave- mode
<nor mal | i mmedi at e| f ast >
Sets the Switch to remove an IGMP snooping membership
entry immediately (i mmedi at e) or wait for an IGMP report
before the normal (nor mal ) or fast (f ast ) leave timeout
when an IGMP leave message is received on this port from a
host.
C 13
i gmp- snoopi ng l eave- t i meout
<200- 6348800>
Set the IGMP snooping normal leave timeout (in miliseconds)
the Switch uses to update the forwarding table for the port(s).
This defines how many seconds the Switch waits for an IGMP
report before removing an IGMP snooping membership entry
when an IGMP leave message is received on this port from a
host.
C 13
i gmp- snoopi ng quer i er - mode
<aut o| f i xed| edge>
Specifies whether or not and under what conditions the
port(s) is (are) IGMP query port(s). The Switch forwards
IGMP join or leave packets to an IGMP query port, treating
the port as being connected to an IGMP multicast router (or
server). You must enable IGMP snooping as well.
f i xed: The Switch always treats the port(s) as IGMP query
port(s). Select this when you connect an IGMP multicast
server to the port(s).
aut o: The Switch uses the port as an IGMP query port if the
port receives IGMP query packets.
edge: The Switch does not use the port as an IGMP query
port. The Switch does not keep any record of an IGMP router
being connected to this port. The Switch does not forward
IGMP join or leave packets to this port.
C 13
no i gmp- snoopi ng
aut hent i cat i on
Disables IGMP snooping authentication on the port(s). The
Switch directly forwards the hosts join message to the
multicast router without sending an access request to the
AAA server for authentication.
C 13
no i gmp- snoopi ng f i l t er i ng
pr of i l e
Prohibits the port(s) from joining any multicast groups if IGMP
filtering is enabled on the Switch.
C 13
no i gmp- snoopi ng gr oup-
l i mi t ed
Disables multicast group limits. C 13
i gmp- gr oup- l i mi t ed Enables the group limiting feature for IGMP snooping. You
must enable IGMP snooping as well.
C 13
i gmp- gr oup- l i mi t ed number
<number>
Sets the maximum number of multicast groups allowed.
number: 0-255
C 13
no i gmp- gr oup- l i mi t ed Disables multicast group limits. C 13
i gmp- i mmedi at e- l eave Enables the immediate leave function for IGMP snooping.
You must enable IGMP snooping as well.
C 13
Table 81 interface igmp Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 29 IGMP Snooping Commands
Ethernet Switch CLI Reference Guide 116
29.2 Command Examples
This example enables IGMP snooping on the Switch, sets the host - t i meout value to 30
seconds, and sets the Switch to drop packets from unknown multicast groups.
This example limits the number of multicast groups on port 1 to 5.
This example shows the current multicast groups on the Switch.
no i gmp- i mmedi at e- l eave Disables the immediate leave function for IGMP snooping. C 13
i gmp- quer i er - mode
<aut o| f i xed| edge>
Specifies whether or not and under what conditions the
port(s) is (are) IGMP query port(s). The Switch forwards
IGMP join or leave packets to an IGMP query port, treating
the port as being connected to an IGMP multicast router (or
server). You must enable IGMP snooping as well.
f i xed: The Switch always treats the port(s) as IGMP query
port(s). Select this when you connect an IGMP multicast
server to the port(s).
aut o: The Switch uses the port as an IGMP query port if the
port receives IGMP query packets.
edge: The Switch does not use the port as an IGMP query
port. The Switch does not keep any record of an IGMP router
being connected to this port. The Switch does not forward
IGMP join or leave packets to this port.
C 13
Table 81 interface igmp Command Summary (continued)
COMMAND DESCRIPTION M P
sysname( conf i g) # i gmp- snoopi ng
sysname( conf i g) # i gmp- snoopi ng host - t i meout 30
sysname( conf i g) # i gmp- snoopi ng unknown- mul t i cast - f r ame dr op
sysname# conf i gur e
sysname( conf i g) # i gmp- snoopi ng
sysname( conf i g) # i nt er f ace por t - channel 1
sysname( conf i g- i nt er f ace) # i gmp- snoopi ng gr oup- l i mi t ed
sysname( conf i g- i nt er f ace) # i gmp- snoopi ng gr oup- l i mi t ed number 5
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
sysname# show i nt er f aces conf i g 1 i gmp- snoopi ng gr oup- l i mi t ed
Por t Enabl e Max Mul t i cast Gr oup
1 YES 5
sysname# show mul t i cast
Mul t i cast St at us
I ndex VI D Por t Mul t i cast Gr oup Ti meout
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chapter 29 IGMP Snooping Commands
Ethernet Switch CLI Reference Guide 117
The following table describes the labels in this screen.
This example shows the current multicast VLAN on the Switch.
This example restricts ports 1-4 to multicast IP addresses 224.255.255.0 through
225.255.255.255.
Table 82 show multicast
LABEL DESCRIPTION
Index This field displays an entry number for the VLAN.
VID This field displays the multicast VLAN ID.
Port This field displays the port number that belongs to the multicast group.
Multicast Group This field displays the IP multicast group addresses.
Timeout This field displays how long the port will belong to the multicast group.
sysname# show mul t i cast vl an
Mul t i cast Vl an St at us
I ndex VI D Type
- - - - - - - - - - - - - - - - - - -
1 3 MVR
sysname# conf i gur e
sysname( conf i g) # i gmp- snoopi ng f i l t er i ng
sysname( conf i g) # i gmp- snoopi ng f i l t er i ng pr of i l e exampl e1 st ar t - addr ess
- - > 224. 255. 255. 0 end- addr ess 225. 255. 255. 255
sysname( conf i g) # i nt er f ace por t - channel 1- 4
sysname( conf i g- i nt er f ace) # i gmp- snoopi ng f i l t er i ng pr of i l e exampl e1
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
Ethernet Switch CLI Reference Guide 118
CHAPTER 30
IGMP Filtering Commands
Use these commands to configure IGMP filters and IGMP filtering on the Switch.
30.1 Command Summary
The following section lists the commands for this feature.
Table 83 igmp-filtering Command Summary
COMMAND DESCRIPTION M P
show i gmp- f i l t er i ng pr of i l e Displays IGMP filtering profile settings. E 3
i gmp- f i l t er i ng Enables IGMP filtering on the Switch. Ports can only join
multicast groups specified in their IGMP filtering profile.
C 13
no i gmp- f i l t er i ng Disables IGMP filtering on the Switch. C 13
i gmp- f i l t er i ng pr of i l e <name>
st ar t - addr ess <ip> end- addr ess
<ip>
Sets the range of multicast address(es) in a profile.
name: 1-32 alphanumeric characters
C 13
no i gmp- f i l t er i ng pr of i l e <name> Removes the specified IGMP filtering profile. You cannot
delete an IGMP filtering profile that is assigned to any ports.
C 13
no i gmp- f i l t er i ng pr of i l e <name>
st ar t - addr ess <ip> end- addr ess
<ip>
Clears the specified rule of the specified IGMP filtering profile. C 13
show i nt er f aces conf i g <port-
list> i gmp- f i l t er i ng
Displays IGMP filtering settings. E 3
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
i gmp- f i l t er i ng pr of i l e
<name>
Assigns the specified IGMP filtering profile to the port(s). If
IGMP filtering is enabled on the Switch, the port(s) can only
join the multicast groups in the specified profile.
C 13
no i gmp- f i l t er i ng pr of i l e Prohibits the port(s) from joining any multicast groups if IGMP
filtering is enabled on the Switch.
C 13
Chapter 30 IGMP Filtering Commands
Ethernet Switch CLI Reference Guide 119
30.2 Command Examples
This example restricts ports 1-4 to multicast IP addresses 224.255.255.0 through
225.255.255.255.
sysname# conf i gur e
sysname( conf i g) # i gmp- f i l t er i ng
sysname( conf i g) # i gmp- f i l t er i ng pr of i l e exampl e1 st ar t - addr ess
- - > 224. 255. 255. 0 end- addr ess 225. 255. 255. 255
sysname( conf i g) # i nt er f ace por t - channel 1- 4
sysname( conf i g- i nt er f ace) # i gmp- f i l t er i ng pr of i l e exampl e1
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
Ethernet Switch CLI Reference Guide 120
CHAPTER 31
Interface Commands
Use these commands to configure basic port settings.
31.1 Command Summary
The following section lists the commands for this feature.
Table 84 interface Command Summary
COMMAND DESCRIPTION M P
cl ear i nt er f ace <port-num> Clears all statistics for the specified port. E 13
i nt er f ace por t - channel <port-list> Enters config-interface mode for the specified port(s). C 13
bpdu- cont r ol
<peer | t unnel | di scar d| net wor k>
Sets how Bridge Protocol Data Units (BPDUs) are used
in STP port states.
peer : process any BPDU (Bridge Protocol Data Units)
received on this port.
t unnel : forward BPDUs received on this port.
di scar d: drop any BPDU received on this port.
net wor k: process a BPDU with no VLAN tag and
forward a tagged BPDU.
C 13
cx4- l engt h <0. 5| 1| 3| 5| 10| 15> Sets the number of meters for the length of the
10GBASE-CX4 cable you use to connect between the
Switch and another switch for stacking.
C 13
f l ow- cont r ol Enables interface flow control. Flow control regulates
transmissions to match the bandwidth of the receiving
port.
C 13
f r ame- t ype
<al l | t agged| unt agged>
Choose to accept both tagged and untagged incoming
frames (al l ), just tagged incoming frames (t agged) or
just untagged incoming frames on a port (unt agged).
Note: Not all switch models support accepting
untagged frames on a port.
C 13
i nact i ve Disables the specified port(s) on the Switch. C 13
i nt r usi on- l ock Enables intrusion lock on the port(s) and a port cannot be
connected again after you disconnected the cable.
Note: Intrusion lock is not available on a 10
Gigabit Ethernet port.
C 13
Chapter 31 Interface Commands
Ethernet Switch CLI Reference Guide 121
medi a- t ype 10g <SFP+| DAC10G> Sets the media type of the SFP+module that is attached
to the 10 Gigabit interface.
On the Switch that has a 10 Gigabit interface, such as
the SFP+slot, you can insert either an SFP+transceiver
or an SFP+Direct Attach Copper (DAC). An SFP+Direct
Attach Copper (DAC) is an SFP+housing that has no
optical module but uses a fixed-length passive copper
cable assembly, which reduces cost and power
significantly.
C 13
name <port-name-string> Sets a name for the port(s).
port-name-string: up to 64 English keyboard
characters
C 13
no f l ow- cont r ol Disables flow control on the port(s). C 13
no i nact i ve Enables the port(s) on the Switch. C 13
no i nt r usi on- l ock Disables intrusion-lock on a port so that a port can be
connected again after you disconnected the cable.
C 13
pvi d <1- 4094> The default PVID is VLAN 1 for all ports. Sets a PVID in
the range 1 to 4094 for the specified interface.
C 13
qos pr i or i t y <0- 7> Sets the quality of service priority for an interface. C 13
speed- dupl ex <aut o| 10- hal f | 10-
f ul l | 100- hal f | 100- f ul l | 1000-
f ul l | 1000- aut o| 10000-
f ul l | 40000- f ul l >
Sets the duplex mode (hal f or f ul l ) and speed (10,
100, 1000, 10000 or 40000 Mbps) of the
connection on the interface. Select aut o (auto-
negotiation) to let the specified port(s) negotiate with a
peer to obtain the connection speed and duplex mode.
C 13
no i nt er f ace <port-num> Resets the port counters for the specified port(s). E 13
show i nt er f aces <port-list> Displays the current interface status for the specified
port(s).
E 3
show i nt er f aces conf i g <port-list> Displays current interface configuration for the specified
port(s).
E 3
Table 84 interface Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 31 Interface Commands
Ethernet Switch CLI Reference Guide 122
31.2 Command Examples
This example looks at the current status of port 1.
The following table describes the labels in this screen.
sysname# show i nt er f aces 1
Por t I nf o Por t NO. : 1
Li nk : 100M/ F
St at us : FORWARDI NG
LACP : Di sabl ed
TxPkt s : 7214
RxPkt s : 395454
Er r or s : 0
Tx KBs/ s : 0. 0
Rx KBs/ s : 0. 0
Up Ti me : 127: 26: 26
TX Packet Uni cast : 7214
Mul t i cast : 0
Br oadcast : 163
Pause : 0
Tagged : 0
RX Packet Uni cast : 395454
Mul t i cast : 186495
Br oadcast : 200177
Pause : 0
Cont r ol : 0
TX Col l i son Si ngl e : 0
Mul t i pl e : 0
Excessi ve : 0
Lat e : 0
Er r or Packet RX CRC : 0
Runt : 0
Di st r i but i on 64 : 285034
65 t o 127 : 31914
128 t o 255 : 22277
256 t o 511 : 50546
512 t o 1023 : 1420
1024 t o 1518 : 4268
Gi ant : 0
Table 85 show interfaces
LABEL DESCRIPTION
Port Info
Port NO. This field displays the port number you are viewing.
Link This field displays the speed (either 10M for 10 Mbps, 100M for 100 Mbps,
1000M for 1Gbps, 1000M for 1Gbps, 10000M for 10Gbps or 40000M for
40Gbps) and the duplex (F for full duplex or H for half duplex). It also shows
the cable type (Copper or Fiber). This field displays Down if the port is not
connected to any device.
Status If STP (Spanning Tree Protocol) is enabled, this field displays the STP state
of the port. If STP is disabled, this field displays FORWARDING if the link is
up, otherwise, it displays STOP.
LACP This field shows if LACP is enabled on this port or not.
Chapter 31 Interface Commands
Ethernet Switch CLI Reference Guide 123
TxPkts This field shows the number of transmitted frames on this port
RxPkts This field shows the number of received frames on this port
Errors This field shows the number of received errors on this port.
Tx KBs/s This field shows the number kilobytes per second transmitted on this port.
Rx KBs/s This field shows the number of kilobytes per second received on this port.
Up Time This field shows the total amount of time the connection has been up.
Tx Packet
The following fields display detailed information about packets transmitted.
Unicast This field shows the number of good unicast packets transmitted.
Multicast This field shows the number of good multicast packets transmitted.
Broadcast This field shows the number of good broadcast packets transmitted.
Pause This field shows the number of 802.3x Pause packets transmitted.
Tagged This field shows the number of packets with VLAN tags transmitted.
Rx Packet
The following fields display detailed information about packets received.
Unicast This field shows the number of good unicast packets received.
Multicast This field shows the number of good multicast packets received.
Broadcast This field shows the number of good broadcast packets received.
Pause This field shows the number of 802.3x Pause packets received.
Control This field shows the number of control packets received (including those
with CRC error) but it does not include the 802.3x Pause packets.
TX Collision
The following fields display information on collisions while transmitting.
Single This is a count of successfully transmitted packets for which transmission is
inhibited by exactly one collision.
Multiple This is a count of successfully transmitted packets for which transmission
was inhibited by more than one collision.
Excessive This is a count of packets for which transmission failed due to excessive
collisions. Excessive collision is defined as the number of maximum
collisions before the retransmission count is reset.
Late This is the number of times a late collision is detected, that is, after 512 bits
of the packets have already been transmitted.
Error Packet The following fields display detailed information about packets received that
were in error.
RX CRC This field shows the number of packets received with CRC (Cyclic
Redundant Check) error(s).
Runt This field shows the number of packets received that were too short
(shorter than 64 octets), including the ones with CRC errors.
Distribution
64 This field shows the number of packets (including bad packets) received
that were 64 octets in length.
65-127 This field shows the number of packets (including bad packets) received
that were between 65 and 127 octets in length.
Table 85 show interfaces (continued)
LABEL DESCRIPTION
Chapter 31 Interface Commands
Ethernet Switch CLI Reference Guide 124
This example configures ports 1, 3, 4, and 5 in the following ways:
1 Sets the IEEE 802.1p quality of service priority to four (4).
2 Sets the name Test.
3 Sets the speed to 100 Mbps in half duplex mode.
This example configures ports 1-5 in the following ways:
1 Sets the default port VID to 200.
2 Sets these ports to accept only tagged frames.
128-255 This field shows the number of packets (including bad packets) received
that were between 128 and 255 octets in length.
256-511 This field shows the number of packets (including bad packets) received
that were between 256 and 511 octets in length.
512-1023 This field shows the number of packets (including bad packets) received
that were between 512 and 1023 octets in length.
1024-1518 This field shows the number of packets (including bad packets) received
that were between 1024 and 1518 octets in length.
Giant This field shows the number of packets (including bad packets) received
that were between 1519 octets and the maximum frame size.
The maximum frame size varies depending on your switch model. See
Product Specification chapter in your Users Guide.
sysname( conf i g) # i nt er f ace por t - channel 1, 3- 5
sysname( conf i g- i nt er f ace) # qos pr i or i t y 4
sysname( conf i g- i nt er f ace) # name Test
sysname( conf i g- i nt er f ace) # speed- dupl ex 100- hal f
sysname ( conf i g) # i nt er f ace por t - channel 1- 5
sysname ( conf i g- i nt er f ace) # pvi d 200
sysname ( conf i g- i nt er f ace) # f r ame- t ype t agged
Table 85 show interfaces (continued)
LABEL DESCRIPTION
Ethernet Switch CLI Reference Guide 125
CHAPTER 32
Interface Route-domain Mode
In order to configure layer 3 routing features on the Switch, you must enter the interface
routing domain mode in the CLI.
32.1 Command Summary
The following section lists the commands for this feature.
32.2 Command Examples
Use this command to enable/create the specified routing domain for configuration.
Enter the configuration mode.
Enable default routing domain (the 192.168.1.1 subnet) for configuration.
Begin configuring for this domain.
Table 86 Interface Route Domain Command Summary:
COMMAND DESCRIPTION M P
i nt er f ace r out e- domai n <ip-
address>/ <mask-bits>
Enters the configuration mode for this routing domain.
The mask-bits are defined as the number of bits in the
subnet mask. Enter the subnet mask number preceded
with a /. To find the bit number, convert the subnet mask
to binary and add all of the 1s together. Take
255.255.255.0 for example. 255 converts to eight 1s in
binary. There are three 255s, so add three eights
together and you get the bit number (24).
C 13
exi t Exits from the interface routing-domain configuration
mode.
C 13
sysname# conf i g
sysname( conf i g) # i nt er f ace r out e- domai n 192. 168. 1. 1/ 24
sysname( conf i g- i f ) #
Ethernet Switch CLI Reference Guide 126
CHAPTER 33
IP Commands
Use these commands to configure the management port IP address, default domain name
server and to look at IP domains.
See Chapter 74 on page 274 for static route commands.
See Chapter 34 on page 130 for IP source binding commands.
33.1 Command Summary
The following section lists the commands for this feature.
Table 87 ip Command Summary
COMMAND DESCRIPTION M P
show i p Displays current IP interfaces. E 0
i p name- ser ver <ip> Sets the IP address of the domain name server. C 13
i p addr ess <ip> <mask> Sets the IP address of the MGMT port (for out-of-band
management) on the Switch.
E 0
i p addr ess def aul t - gat eway <ip> Sets the default gateway for the out-of-band
management interface on the Switch.
C 13
show i p i pt abl e al l [ I P| VI D| PORT] Displays the IP address table. You can sort the table
based on the IP address, VLAN ID or the port number.
E 3
show i p i pt abl e count Displays the number of IP interfaces configured on the
Switch.
E 3
show i p i pt abl e st at i c Displays the static IP address table. E 3
Table 88 tcp and udp Command Summary
COMMAND DESCRIPTION M P
show i p t cp Displays IP TCP information. E 3
Chapter 33 IP Commands
Ethernet Switch CLI Reference Guide 127
33.2 Command Examples
This example shows the TCP statistics and listener ports. See RFC 1213 for more information.
The following table describes the labels in this screen.
show i p udp Displays IP UDP information. E 3
ki ck t cp <session id> Disconnects the specified TCP session.
session id: Display the session id by running the show
i p t cp command. See Section 33.2 on page 127 for an
example.
E 13
Table 88 tcp and udp Command Summary (continued)
COMMAND DESCRIPTION M P
sysname# show i p t cp
( 1) t cpRt oAl gor i t hm 4 ( 2) t cpRt oMi n 0
( 3) t cpRt oMax 4294967295 ( 4) t cpMaxConn 4294967295
( 5) t cpAct i veOpens 2 ( 6) t cpPassi veOpens 188
( 7) t cpAt t empt Fai l s 3 ( 8) t cpEst abReset s 25
( 9) t cpCur r Est ab 1 ( 10) t cpI nSegs 4025
( 11) t cpOut Segs 5453 ( 12) t cpRet r ansSegs 64
( 14) t cpI nEr r s 0 ( 15) t cpOut Rst s 0
&TCB Rcv- Q Snd- Q Rcv- Wnd Snd- Wnd Local socket Remot e socket
St at e
80d60868 0 620 128 63907 172. 16. 37. 206: 23 172. 16. 5. 15: 1510
Est ab
80d535a0 0 0 128 1 0. 0. 0. 0: 23 0. 0. 0. 0: 0
Li st en ( S)
80d536bc 0 0 16384 1 0. 0. 0. 0: 80 0. 0. 0. 0: 0
Li st en ( S)
80d5f 6a8 0 0 22400 1 0. 0. 0. 0: 21 0. 0. 0. 0: 0
Li st en
80d5440c 0 0 128 1 0. 0. 0. 0: 22 0. 0. 0. 0: 0
Li st en
80d541d4 0 0 22400 1 0. 0. 0. 0: 443 0. 0. 0. 0: 0
Li st en ( S)
Table 89 show ip tcp
LABEL DESCRIPTION
tcpRtoAlgorithm This field displays the algorithm used to determine the timeout value that is
used for retransmitting unacknowledged octets.
tcpRtoMin This field displays the minimum timeout (in milliseconds) permitted by a
TCP implementation for the retransmission timeout. More refined
semantics for objects of this type depend upon the algorithm used to
determine the retransmission timeout. In particular, when the timeout
algorithm is rsre(3), an object of this type has the semantics of the
LBOUND quantity described in RFC 793.
tcpRtoMax This field displays the maximum timeout (in milliseconds) permitted by a
TCP implementation for the retransmission timeout. More refined
semantics for objects of this type depend upon the algorithm used to
determine the retransmission timeout. In particular, when the timeout
algorithm is rsre(3), an object of this type has the semantics of the
UBOUND quantity described in RFC 793.
Chapter 33 IP Commands
Ethernet Switch CLI Reference Guide 128
tcpMaxConn This field displays the maximum number of TCP connections the Switch
can support. If the maximum number is dynamic, this field displays -1.
tcpActiveOpens This field displays the number of times TCP connections have made a
direct transition to the SYN-SENT state from the CLOSED state.
tcpPassiveOpens This field displays the number of times TCP connections have made a
direct transition to the SYN-RCVD state from the LISTEN state.
tcpAttemptFails This field displays the number of times TCP connections have made a
direct transition to the CLOSED state from either the SYN-SENT state or
the SYN-RCVD state, plus the number of times TCP connections have
made a direct transition to the LISTEN state from the SYN-RCVD state.
tcpEstabResets This field displays the number of times TCP connections have made a
direct transition to the CLOSED state from either the ESTABLISHED state
or the CLOSE-WAIT state.
tcpCurrEstab This field displays the number of TCP connections for which the current
state is either ESTABLISHED or CLOSE-WAIT.
tcpInSegs This field displays the total number of segments received, including those
received in error. This count includes segments received on currently
established connections.
tcpOutSegs This field displays the total number of segments sent, including those on
current connections but excluding those containing only retransmitted
octets.
tcpRetransSegs This field displays the total number of TCP segments transmitted containing
one or more previously transmitted octets.
tcpInErrs This field displays the total number of segments received with error (for
example, bad TCP checksums).
tcpOutRsts This field displays the number of TCP segments sent containing the RST
flag.
This section displays the current TCP listeners.
&TCB This field displays the session ID.
Rcv-Q This field displays the items on the receive queue in this connection.
Snd-Q This field displays the sequence number of the first unacknowledged
segment on the send queue in this connection.
Rcv-Wnd This field displays the receiving window size in this connection. It
determines the amount of received data that can be buffered.
Snd-Wnd This field displays the sending window size in this connection. It is offered
by the remote device.
Local socket This field displays the local IP address and port number in this TCP
connection. In the case of a connection in the LISTEN state that is willing to
accept connections for any IP interface associated with the node, the value
is 0.0.0.0.
Table 89 show ip tcp (continued)
LABEL DESCRIPTION
Chapter 33 IP Commands
Ethernet Switch CLI Reference Guide 129
This example shows the UDP statistics and listener ports. See RFC 1213 for more information.
The following table describes the labels in this screen.
Remote socket This field displays the remote IP address and port number in this TCP
connection.
State This field displays the state of this TCP connection.
The only value which may be set by a management station is
deleteTCB(12). Accordingly, it is appropriate for an agent to return a
`badValue' response if a management station attempts to set this object to
any other value.
If a management station sets this object to the value deleteTCB(12), then
this has the effect of deleting the TCB (as defined in RFC 793) of the
corresponding connection on the managed node, resulting in immediate
termination of the connection.
As an implementation-specific option, a RST segment may be sent from the
managed node to the other TCP endpoint (note however that RST
segments are not sent reliably).
sysname# show i p udp
( 1) udpI nDat agr ams 10198 ( 2) udpNoPor t s 81558
( 3) udpI nEr r or s 0 ( 4) udpOut Dat agr ams 13
&UCB Rcv- Q Local socket
80bf dac0 0 0. 0. 0. 0: 53
80bf d9ac 0 0. 0. 0. 0: 520
80c78888 0 0. 0. 0. 0: 161
80c79184 0 0. 0. 0. 0: 162
80c3188c 0 0. 0. 0. 0: 1027
80c31830 0 0. 0. 0. 0: 1026
80bf db78 0 0. 0. 0. 0: 1025
80bf db1c 0 0. 0. 0. 0: 1024
80bf da64 0 0. 0. 0. 0: 69
80bf da08 0 0. 0. 0. 0: 263
Table 90 show ip udp
LABEL DESCRIPTION
udpInDatagrams This field displays the total number of UDP datagrams delivered to UDP
users.
udpNoPorts This field displays the total number of received UDP datagrams for which
there was no application at the destination port.
udpInErrors This field displays the number of received UDP datagrams that could not be
delivered for reasons other than the lack of an application at the destination
port.
udpOutDatagrams This field displays the total number of UDP datagrams sent by the Switch.
&UCB This field displays the process ID.
Rcv-Q This field displays the queue number of pending datagrams in this
connection.
Local socket This field displays the local IP address and port number for this UDP
listener. In the case of a UDP listener that is willing to accept datagrams for
any IP interface associated with the node, the value is 0.0.0.0.
Table 89 show ip tcp (continued)
LABEL DESCRIPTION
Ethernet Switch CLI Reference Guide 130
CHAPTER 34
IP Source Binding Commands
Use these commands to manage the bindings table for IP source guard.
34.1 Command Summary
The following section lists the commands for this feature.
34.2 Command Examples
This example shows the current binding table.
Table 91 ip source binding Command Summary
COMMAND DESCRIPTION M P
show i p sour ce bi ndi ng [ <mac-
addr>] [ . . . ]
Displays the bindings configured on the Switch, optionally
based on the specified parameters.
E 3
show i p sour ce bi ndi ng hel p Provides more information about the specified command. E 3
i p sour ce bi ndi ng ar p- f r eeze Create static bindings from any previously learned ARP
entries in the Switch's ARP table and add them in the IP
source guard static binding table.
C 13
i p sour ce bi ndi ng ar p- f r eeze
i nt er f ace por t - channel <port-
list>
Create static bindings from previously learned ARP entries
containing the specified port number and add them in the IP
source guard static binding table.
C 13
i p sour ce bi ndi ng ar p- f r eeze
vl an <vlan-list>
Create static bindings from previously learned ARP entries
containing the specified VLAN ID and add them in the IP
source guard static binding table.
C 13
i p sour ce bi ndi ng <mac-addr>
vl an <vlan-id> <ip> [ i nt er f ace
por t - channel <interface-id>]
Creates a static binding for ARP inspection. C 13
no i p sour ce bi ndi ng <mac-addr>
vl an <vlan-id>
Removes the specified static binding. C 13
sysname# show i p sour ce bi ndi ng
MacAddr ess I pAddr ess Lease Type VLAN Por t
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Tot al number of bi ndi ngs: 0
Chapter 34 IP Source Binding Commands
Ethernet Switch CLI Reference Guide 131
The following table describes the labels in this screen.
Table 92 show ip source binding
LABEL DESCRIPTION
MacAddress This field displays the source MAC address in the binding.
IpAddress This field displays the IP address assigned to the MAC address in the
binding.
Lease This field displays how many days, hours, minutes, and seconds the
binding is valid; for example, 2d3h4m5s means the binding is still valid for
2 days, 3 hours, 4 minutes, and 5 seconds. This field displays infinity if the
binding is always valid (for example, a static binding).
Type This field displays how the switch learned the binding.
static: This binding was learned from information provided manually by an
administrator.
VLAN This field displays the source VLAN ID in the binding.
Port This field displays the port number in the binding. If this field is blank, the
binding applies to all ports.
Ethernet Switch CLI Reference Guide 132
CHAPTER 35
IPv6 Commands
35.1 IPv6 Overview
IPv6 (Internet Protocol version 6), is designed to enhance IP address size and features. The
increase in IPv6 address size to 128 bits (from the 32-bit IPv4 address) allows up to 3.4 x 10
38
IP addresses. At the time of writing, the Switch supports the following features.
Static address assignment (see Section 35.1.1 on page 132) and stateless autoconfiguration
(see Stateless Autoconfiguration on page 135)
Neighbor Discovery Protocol (see Neighbor Discovery Protocol (NDP) on page 137)
Remote Management using SNMP, Telnet, HTTP and FTP services (see Chapter 64 on
page 242)
ICMPv6 (see ICMPv6 on page 136)
IPv4/IPv6 dual stack; the Switch can run IPv4 and IPv6 at the same time.
DHCPv6 client and relay (see DHCPv6 on page 135)
Multicast Listener Discovery (MLD) snooping and proxy (see Multicast Listener
Discovery on page 137)
For more information on IPv6 addresses, refer to RFC 2460 and RFC 4291.
35.1.1 IPv6 Addressing
The 128-bit IPv6 address is written as eight 16-bit hexadecimal blocks separated by colons (:).
This is an example IPv6 address 2001: 0db8: 1a2b: 0015: 0000: 0000: 1a2f : 0000.
IPv6 addresses can be abbreviated in two ways:
Leading zeros in a block can be omitted. So
2001: 0db8: 1a2b: 0015: 0000: 0000: 1a2f : 0000 can be written as
2001: db8: 1a2b: 15: 0: 0: 1a2f : 0.
Any number of consecutive blocks of zeros can be replaced by a double colon. A double
colon can only appear once in an IPv6 address. So
2001: 0db8: 0000: 0000: 1a2f : 0000: 0000: 0015 can be written as
2001: 0db8: : 1a2f : 0000: 0000: 0015 or 2001: 0db8: 0000: 0000: 1a2f : : 0015.
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 133
35.1.2 IPv6 Terms
IPv6 Prefix and Prefix Length
Similar to an IPv4 subnet mask, IPv6 uses an address prefix to represent the network address.
An IPv6 prefix length specifies how many most significant bits (start from the left) in the
address compose the network address. The prefix length is written as /x where x is a number.
For example,
2001: db8: 1a2b: 15: : 1a2f : 0/ 32
means that the first 32 bits (2001: db8) is the subnet prefix.
Interface ID
In IPv6, an interface ID is a 64-bit identifier. It identifies a physical interface (for example, an
Ethernet port) or a virtual interface (for example, the management IP address for a VLAN).
One interface should have a unique interface ID.
Link-local Address
A link-local address uniquely identifies a device on the local network (the LAN). It is similar
to a private IP address in IPv4. You can have the same link-local address on multiple
interfaces on a device. A link-local unicast address has a predefined prefix of fe80::/10. The
link-local unicast address format is as follows.
Table 93 Link-local Unicast Address Format
Global Address
A global address uniquely identifies a device on the Internet. It is similar to a public IP
address in IPv4. The global address format as follows.
Table 94 Global Address Format
The global ID is the network identifier or prefix of the address and is used for routing. This
may be assigned by service providers.
The subnet ID is a number that identifies the subnet of a site.
Multicast Addresse
In IPv6, multicast addresses provide the same functionality as IPv4 broadcast addresses.
Broadcasting is not supported in IPv6. A multicast address allows a host to send packets to all
hosts in a multicast group.
1111 1110 10 0 I nt er f ace I D
10 bi t s 54 bi t s 64 bi t s
001 Gl obal I D Subnet I D I nt er f ace I D
3 bi t s 45 bi t s 16 bi t s 64 bi t s
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 134
Multicast scope allows you to determine the size of the multicast group. A multicast address
has a predefined prefix of ff00::/8. The following table describes some of the predefined
multicast addresses.
The following table describes the multicast addresses which are reserved and can not be
assigned to a multicast group.
Loopback
A loopback address (0:0:0:0:0:0:0:1 or ::1) allows a host to send packets to itself. It is similar
to 127.0.0.1 in IPv4.
Table 95 Predefined Multicast Address
MULTICAST ADDRESS DESCRIPTION
FF01: 0: 0: 0: 0: 0: 0: 1 All hosts on a local node.
FF01: 0: 0: 0: 0: 0: 0: 2 All routers on a local node.
FF02: 0: 0: 0: 0: 0: 0: 1 All hosts on a local connected link.
FF02: 0: 0: 0: 0: 0: 0: 2 All routers on a local connected link.
FF05: 0: 0: 0: 0: 0: 0: 2 All routers on a local site.
FF05: 0: 0: 0: 0: 0: 1: 3 All DHCP severs on a local site.
Table 96 Reserved Multicast Address
MULTICAST ADDRESS
FF00: 0: 0: 0: 0: 0: 0: 0
FF01: 0: 0: 0: 0: 0: 0: 0
FF02: 0: 0: 0: 0: 0: 0: 0
FF03: 0: 0: 0: 0: 0: 0: 0
FF04: 0: 0: 0: 0: 0: 0: 0
FF05: 0: 0: 0: 0: 0: 0: 0
FF06: 0: 0: 0: 0: 0: 0: 0
FF07: 0: 0: 0: 0: 0: 0: 0
FF08: 0: 0: 0: 0: 0: 0: 0
FF09: 0: 0: 0: 0: 0: 0: 0
FF0A: 0: 0: 0: 0: 0: 0: 0
FF0B: 0: 0: 0: 0: 0: 0: 0
FF0C: 0: 0: 0: 0: 0: 0: 0
FF0D: 0: 0: 0: 0: 0: 0: 0
FF0E: 0: 0: 0: 0: 0: 0: 0
FF0F: 0: 0: 0: 0: 0: 0: 0
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 135
Unspecified
An unspecified address (0:0:0:0:0:0:0:0 or ::) is used as the source address when a device does
not have its own address. It is similiar to 0.0.0.0 in IPv4.
EUI-64
The EUI-64 (Extended Unique Identifier) defined by the IEEE (Institute of Electrical and
Electronics Engineers) is an interface ID format designed to adapt with IPv6. It is derived from
the 48-bit (6-byte) Ethernet MAC address as shown next. EUI-64 inserts the hex digits fffe
between the third and fourth bytes of the MAC address and complements the seventh bit of the
first byte of the MAC address. See the following example.
Stateless Autoconfiguration
With stateless autoconfiguration in IPv6, addresses can be uniquely and automatically
generated. Unlike DHCPv6 (Dynamic Host Configuration Protocol version six) which is used
in IPv6 stateful autoconfiguration, the owner and status of addresses dont need to be
maintained by a DHCP server. Every IPv6 device is able to generate its own and unique IP
address automatically when IPv6 is initiated on its interface. It combines the prefix and the
interface ID (generated from its own Ethernet MAC address, see Interface ID and EUI-64) to
form a complete IPv6 address.
When IPv6 is enabled on a device, its interface automatically generates a link-local address
(beginning with fe80).
When the interface is connected to a network with a router and the i pv6 addr ess
aut oconf i g command is issued on the Switch, it generates
1
another address which
combines its interface ID and global and subnet information advertised from the router. This is
a routable global IP address.
DHCPv6
The Dynamic Host Configuration Protocol for IPv6 (DHCPv6, RFC 3315) is a server-client
protocol that allows a DHCP server to assign and pass IPv6 network addresses, prefixes and
other configuration information to DHCP clients. DHCPv6 servers and clients exchange
DHCP messages using UDP.
Each DHCP client and server has a unique DHCP Unique IDentifier (DUID), which is used
for identification when they are exchanging DHCPv6 messages. The DUID is generated from
the MAC address, time, vendor assigned ID and/or the vendor's private enterprise number
registered with the IANA. It should not change over time even after you reboot the device.
MAC
00 : 13 : 49 : 12 : 34 : 56
EUI-64
02 : 13 : 49 : FF : FE : 12 : 34 : 56
1. In IPv6, all network interfaces can be associated with several addresses.
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 136
Identity Association
An Identity Association (IA) is a collection of addresses assigned to a DHCP client, through
which the server and client can manage a set of related IP addresses. Each IA must be
associated with exactly one interface. The DHCP client uses the IA assigned to an interface to
obtain configuration from a DHCP server for that interface. Each IA consists of a unique IAID
and associated IP information.
The IA type is the type of address in the IA. Each IA holds one type of address. IA_NA means
an identity association for non-temporary addresses and IA_TA is an identity association for
temporary addresses. An IA_NA option contains the T1 and T2 fields, but an IA_TA option
does not. The DHCPv6 server uses T1 and T2 to control the time at which the client contacts
with the server to extend the lifetimes on any addresses in the IA_NA before the lifetimes
expire. After T1, the client sends the server (S1) (from which the addresses in the IA_NA were
obtained) a Renew message. If the time T2 is reached and the server does not respond, the
client sends a Rebind message to any available server (S2). For an IA_TA, the client may send
a Renew or Rebind message at the client's discretion.
DHCP Relay Agent
A DHCP relay agent is on the same network as the DHCP clients and helps forward messages
between the DHCP server and clients. When a client cannot use its link-local address and a
well-known multicast address to locate a DHCP server on its network, it then needs a DHCP
relay agent to send a message to a DHCP server that is not attached to the same network.
The DHCP relay agent can add the remote identification (remote-ID) option and the interface-
ID option to the Relay-Forward DHCPv6 messages. The remote-ID option carries a user-
defined string, such as the system name. The interface-ID option provides slot number, port
information and the VLAN ID to the DHCPv6 server. The remote-ID option (if any) is
stripped from the Relay-Reply messages before the relay agent sends the packets to the clients.
The DHCP server copys the interface-ID option from the Relay-Forward message into the
Relay-Reply message and sends it to the relay agent. The interface-ID should not change even
after the relay agent restarts.
ICMPv6
Internet Control Message Protocol for IPv6 (ICMPv6 or ICMP for IPv6) is defined in RFC
4443. ICMPv6 has a preceding Next Header value of 58, which is different from the value
used to identify ICMP for IPv4. ICMPv6 is an integral part of IPv6. IPv6 nodes use ICMPv6
to report errors encountered in packet processing and perform other diagnostic functions, such
as "ping".
T1
T2
Renew
Rebind
Rebind
to S1
Renew
to S1
Renew
to S1
Renew
to S1
Renew
to S1
Renew
to S1
to S2
to S2
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 137
Neighbor Discovery Protocol (NDP)
The Neighbor Discovery Protocol (NDP) is a protocol used to discover other IPv6 devices and
track neighbors reachability in a network.
An IPv6 device uses the following ICMPv6 messages types:
Neighbor solicitation: A request from a host to determine a neighbors link-layer address
(MAC address) and detect if the neighbor is still reachable. A neighbor being reachable
means it responds to a neighbor solicitation message (from the host) with a neighbor
advertisement message.
Neighbor advertisement: A response from a node to announce its link-layer address.
Router solicitation: A request from a host to locate a router that can act as the default
router and forward packets.
Router advertisement: A response to a router solicitation or a periodical multicast
advertisement from a router to advertise its presence and other parameters.
IPv6 Cache
An IPv6 host is required to have a neighbor cache, destination cache, prefix list and default
router list. The Switch maintains and updates its IPv6 caches constantly using the information
from response messages. In IPv6, the Switch configures a link-local address automatically,
and then sends a neighbor solicitation message to check if the address is unique. If there is an
address to be resolved or verified, the Switch also sends out a neighbor solicitation message.
When the Switch receives a neighbor advertisement in response, it stores the neighbors link-
layer address in the neighbor cache. When the Switch uses a router solicitation message to
query for a router and receives a router advertisement message, it adds the routers information
to the neighbor cache, prefix list and destination cache. The Switch creates an entry in the
default router list cache if the router can be used as a default router.
When the Switch needs to send a packet, it first consults the destination cache to determine the
next hop. If there is no matching entry in the destination cache, the Switch uses the prefix list
to determine whether the destination address is on-link and can be reached directly without
passing through a router. If the address is onlink, the address is considered as the next hop.
Otherwise, the Switch determines the next-hop from the default router list or routing table.
Once the next hop IP address is known, the Switch looks into the neighbor cache to get the
link-layer address and sends the packet when the neighbor is reachable. If the Switch cannot
find an entry in the neighbor cache or the state for the neighbor is not reachable, it starts the
address resolution process. This helps reduce the number of IPv6 solicitation and
advertisement messages.
Multicast Listener Discovery
The Multicast Listener Discovery (MLD) protocol (defined in RFC 2710) is derived from
IPv4's Internet Group Management Protocol version 2 (IGMPv2). MLD uses ICMPv6
message types, rather than IGMP message types. MLDv1 is equivalent to IGMPv2 and
MLDv2 is equivalent to IGMPv3.
MLD allows an IPv6 switch or router to discover the presence of MLD listeners who wish to
receive multicast packets and the IP addresses of multicast groups the hosts want to join on its
network.
MLD snooping and MLD proxy are analogous to IGMP snooping and IGMP proxy in IPv4.
MLD filtering controls which multicast groups a port can join.
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 138
MLD Messages
A multicast router or switch periodically sends general queries to MLD hosts to update the
multicast forwarding table. When an MLD host wants to join a multicast group, it sends an
MLD Report message for that address.
An MLD Done message is equivalent to an IGMP Leave message. When an MLD host wants
to leave a multicast group, it can send a Done message to the router or switch. If the leave
mode is not set to i mmedi at e, the router or switch sends a group-specific query to the port
on which the Done message is received to determine if other devices connected to this port
should remain in the group.
MLD Port Role
A port on the Switch can be either a downstream port or upstream port in MLD. A downstream
port (DSP in the figure) connects to MLD hosts and acts as a multicast router to send MLD
queries and listen to the MLD hosts Report and Done messages. An upstream port (USP in
the figure) connects to a multicast router and works as a host to send Report or Done messages
when receiving queries from a multicast router.
MLD Snooping-Proxy
MLD snooping-proxy is a ZyXEL-proprietary feature. IPv6 MLD proxy allows only one
upstream interface on a switch, while MLD snooping-proxy supports more than one upstream
port on a switch. The upstream port in MLD snooping-proxy can report group changes to a
connected multicast router and forward MLD messages to other upstream ports. This helps
especially when you want to have a network that uses STP to provide backup links between
switches and also performs MLD snooping and proxy functions. MLD snooping-proxy, like
MLD proxy, can minimize MLD control messages and allow better network performance.
In MLD snooping-proxy, if one upstream port is learned via snooping, all other upstream ports
on the same device will be added to the same group. If one upstream port requests to leave a
group, all other upstream ports on the same device will also be removed from the group.
DSP
USP
Proxy
Snooping
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 139
In the following MLD snooping-proxy example, all connected upstream ports (1 ~7) are
treated as one interface. The connection between ports 8 and 9 is blocked by STP to break the
loop. If there is one query from a router (X) or MLD Done or Report message from any
upstream port, it will be broadcast to all connected upstream ports.
35.2 Command Summary
The following table describes user-input values available in multiple commands for this
feature.
The following section lists the commands for this feature.
1
2
3
4
5
6
7
8
9
X
Done
Query
Report
Table 97 ipv6 User-input Values
COMMAND DESCRIPTION
interface-type VLAN. The Switch supports only the VLAN interface type at the time of writing.
interface-
number
A VLAN ID number.
Table 98 ipv6 address Command Summary
COMMAND DESCRIPTION M P
i nt er f ace vl an <1- 4094> Enters config-route-domain mode for the specified VLAN.
Creates the VLAN, if necessary.
C 13
i pv6 Globally enables IPv6 in this VLAN. The Switch then
creates a link-local address automatically. Use show
i pv6 to see the generated address.
C 13
i pv6 addr ess <ipv6-address>/
<prefix>
Manually configures a static IPv6 global address for the
VLAN.
C 13
i pv6 addr ess <ipv6-address>/
<prefix> eui - 64
Manually configures a static IPv6 global address for the
VLAN and have the interface ID be generated
automatically using the EUI-64 format.
C 13
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 140
i pv6 addr ess <ipv6-address>/
<prefix> l i nk- l ocal
Manually configures a static IPv6 link-local address for the
VLAN.
C 13
i pv6 addr ess aut oconf i g Use the command to have the Switch generate an IPv6
global address automatically in this VLAN after the Switch
obtains the VLAN network information from a router.
Note: Make sure an IPv6 router is available in
the VLAN network before using this
command on the Switch.
C 13
i pv6 addr ess def aul t - gat eway
<gateway-ipv6-address>
Sets the default gateway for the VLAN. When an interface
cannot find a routing information for a frames destination,
it forwards the packet to the default gateway.
C 13
i pv6 addr ess dhcp cl i ent <i a-
na>
Sets the Switch to get a non-temporary IP address from
the DHCP server.
C 13
i pv6 addr ess dhcp cl i ent <i a-
na> [ r api d- commi t ]
Sets the Switch to get a non-temporary IP address from
the DHCP server for this VLAN. Optionally, sets the
Switch to send its DHCPv6 Solicit message with a Rapid
Commit option to obtain information from the DHCP
server by a rapid two-message exchange. The Switch
discards any Reply messages that do not include a Rapid
Commit option. The DHCPv6 server should also support
the Rapid Commit option to have it work well.
C 13
i pv6 addr ess dhcp cl i ent
i nf or mat i on r ef r esh mi ni mum
<600- 4294967295>
Sets the time interval (in seconds) at which the Switch
exchanges other configuration information with a DHCPv6
server again.
C 13
i pv6 addr ess dhcp cl i ent
opt i on <[ dns] [ domai n- l i st ] >
Sets the Switch to obtain DNS server IPv6 addresses or a
list of domain names from the DHCP server.
C 13
no i pv6 Disables IPv6 in this VLAN. C 13
no i pv6 addr ess <ipv6-
address>/ <prefix>
Removes a specified static global address. C 13
no i pv6 addr ess <ipv6-
address>/ <prefix> eui - 64
Removes a specified static global address whose
interface ID was generated using the EUI-64 format.
C 13
no i pv6 addr ess <ipv6-
address>/ <prefix> l i nk- l ocal
Removes a specified static link-local address. C 13
no i pv6 addr ess aut oconf i g Disables IPv6 address autoconfiguration in this VLAN. C 13
no i pv6 addr ess def aul t -
gat eway
Removes the default gateway address for this VLAN. C 13
no i pv6 addr ess dhcp cl i ent Disables the DHCP client feature in this VLAN. C 13
no i pv6 addr ess dhcp cl i ent
[ r api d- commi t ]
sets the Switch to not include a Rapid Commit option in its
DHCPv6 Solicit messag for this VLAN.
C 13
no i pv6 addr ess dhcp cl i ent
opt i on
Sets the Switch to not obtain the DNS server information
from the DHCP server.
C 13
no i pv6 addr ess dhcp cl i ent
opt i on <[ dns] [ domai n- l i st ] >
Sets the Switch to not obtain DNS server IPv6 addresses
or a list of domain names from the DHCP server.
C 13
r est ar t i pv6 dhcp cl i ent vl an <1-
4094>
Sets the Switch to send a Release message for the
assigned IPv6 address to the DHCP server and start
DHCP message exchange again.
E 13
show i pv6 Displays IPv6 settings in all VLANs on the Switch. E 3
Table 98 ipv6 address Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 141
show i pv6 dhcp Displays the Switchs DHCPv6 DUID. E 3
show i pv6 dhcp vl an <1- 4094> Displays the DHCPv6 settings for the specified VLAN,
including DHCPv6 mode, the IA type and the IAID.
E 3
show i pv6 <interface-type>
<interface-number>
Displays IPv6 settings for a specified interface on the
Switch.
E 3
Table 99 ipv6 dhcp relay Command Summary
COMMAND DESCRIPTION M P
i pv6 dhcp r el ay vl an <1- 4094>
hel per - addr ess <remote-dhcp-
server>
Enables DHCPv6 relay agent and configures the remote
DHCP server address for the specified VLAN.
C 13
i pv6 dhcp r el ay vl an <1- 4094>
opt i on i nt er f ace- i d
Sets the Switch to add the interface-ID option in the
DHCPv6 requests from the clients in the specified VLAN
before the Switch forwards them to a DHCP server.
C 13
i pv6 dhcp r el ay vl an <1- 4094>
opt i on r emot e- i d <remote-id>
Sets the Switch to add the remote-ID option in the
DHCPv6 requests from the clients in the specified VLAN
before the Switch forwards them to a DHCP server. This
also specifies a string (up to 64 printable ASCII
characters) to be carried in the remote-ID option.
C 13
no i pv6 dhcp r el ay vl an <1- 4094> Disables DHCPv6 relay agent in the specified VLAN. C 13
no i pv6 dhcp r el ay vl an <1- 4094>
opt i on i nt er f ace- i d
Sets the Switch to not add the interface-ID option in the
DHCPv6 requests from the clients in the specified VLAN
before the Switch forwards them to a DHCP server.
C 13
no i pv6 dhcp r el ay vl an <1- 4094>
opt i on r emot e- i d
Sets the Switch to not add the remote-ID option in the
DHCPv6 requests from the clients in the specified VLAN
before the Switch forwards them to a DHCP server.
C 13
Table 98 ipv6 address Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 142
Table 100 ipv6 icmp and ping6 Command Summary
COMMAND DESCRIPTION M P
i pv6 i cmp er r or - i nt er val <0-
2147483647> [ bucket - si ze <1- 200>]
Sets the average transmission rate of ICMPv6 error
messages the Switch generates, such as Destination
Unreachable message, Packet Too Big message, Time
Exceeded message and Parameter Problem message.
er r or - i nt er val : specifies a time period (in
milliseconds) during which packets of up to the bucket
size (10 by default) can be transmitted. 0 means no limit.
Note: The Switch applies the time interval in
increments of 10. For example, if you set
a time interval from 1280 to 1289
milliseconds, the Switch uses the time
interval of 1280 milliseconds.
bucket - si ze: Defines the maximum number of packets
which are allowed to transmit in a given time interval. If
the bucket is full, subsequent error messages are
suppressed.
C 13
pi ng6 <ipv6-address> <[ - i
<interface-type> <interface-
number>] [ - t ] [ - l <1- 1452>] [ - n <1-
65535>] [ - s <ipv6-address>]
Sends IPv6 ping packets to the specified Ethernet device.
interface-type: the Switch supports only the VLAN
interface type at the time of writing.
interface-number: The VLAN ID to which the Ethernet
device belongs.
- l <1- 1452>: Specifies the size of the ping packet.
- t : Sends ping packets to the Ethernet device indefinitely.
Press [ CTRL] +C to terminate the Ping process.
- n <1- 65535>: Specifies how many times the Switch
sends the ping packets.
- s <ipv6-address>: Specifies the source IPv6
address of the pin packets.
E 0
show i pv6 mt u The Switch uses Path MTU Discovery to discover Path
MTU (PMTU), that is, the minimum link MTU of all the
links in a path to the destination. If the Switch receives an
ICMPv6 Packet Too Big error message after sending a
packet, it adjusts the next packet size according to the
suggested MTU in the error message.
Displays IPv6 path MTU information on the Switch.
E 3
Table 101 ipv6 mld snooping-proxy Command Summary
COMMAND DESCRIPTION M P
cl ear i pv6 ml d snoopi ng- pr oxy
st at i st i cs al l
Removes all MLD snooping-proxy statistics of the Switch. E 13
cl ear i pv6 ml d snoopi ng- pr oxy
st at i st i cs por t
Removes the MLD snooping-proxy statistics of the port(s). E 13
cl ear i pv6 ml d snoopi ng- pr oxy
st at i st i cs syst em
Removes the MLD snooping-proxy statistics of the
Switch.
E 13
cl ear i pv6 ml d snoopi ng- pr oxy
st at i st i cs vl an
Removes the MLD snooping-proxy statistics of the
multicast VLAN(s).
E 13
i nt er f ace por t - channel <port-list> Enters config-interface mode for the specified port(s). C 13
i pv6 ml d snoopi ng- pr oxy
f i l t er i ng gr oup- l i mi t ed
Enables multicast group limits for MLD snooping-proxy. C 13
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 143
i pv6 ml d snoopi ng- pr oxy
f i l t er i ng gr oup- l i mi t ed number
<number>
Sets the maximum number of the multicast groups the
port(s) is allowed to join.
number: 0 - 255
C 13
i pv6 ml d snoopi ng- pr oxy
f i l t er i ng pr of i l e <name>
Assigns the specified MLD filtering profile to the port(s). If
MLD filtering is enabled on the Switch, the port(s) can
only join the multicast groups in the specified profile.
C 13
no i pv6 ml d snoopi ng- pr oxy
f i l t er i ng gr oup- l i mi t ed
Disables multicast group limits for MLD snooping. C 13
no i pv6 ml d snoopi ng- pr oxy
f i l t er i ng pr of i l e
Disables MLD filtering on the port(s) and allows the port(s)
to join any group.
C 13
i pv6 ml d snoopi ng- pr oxy Enables IPv6 MLD snooping-proxy on the Switch. C 13
i pv6 ml d snoopi ng- pr oxy 8021p-
pr i or i t y <0- 7>
Sets the default IEEE 802.1p priority in the MLD
messages.
C 13
i pv6 ml d snoopi ng- pr oxy f i l t er i ng Enables MLD filtering on the Switch. C 13
i pv6 ml d snoopi ng- pr oxy f i l t er i ng
pr of i l e <name> st ar t - addr ess <ip>
end- addr ess <ip>
Adds an MLD filtering profile and sets the range of the
multicast address(es).
C 13
i pv6 ml d snoopi ng- pr oxy vl an
<vlan-id>
Enables MLD snooping-proxy on the specified VLAN. C 13
i pv6 ml d snoopi ng- pr oxy vl an
<vlan-id> downst r eami nt er f ace
por t - channel <port-list>
Specifies the downstream port(s) on the Switch. The
port(s) will work as a multicast router to send MLD queries
and listen to the MLD hosts join and leave messages.
C 13
i pv6 ml d snoopi ng- pr oxy vl an
<vlan-id> downst r eami nt er f ace
por t - channel <port-list> f ast -
l eave- t i meout <2- 16775168>
Sets the fast leave timeout (in miliseconds) for the
specified downstream port(s).
This defines how many seconds the Switch waits for an
MLD report before removing an MLD snooping
membership entry (learned on a downstream port) when
an MLD Done message is received on this port from a
host.
C 13
i pv6 ml d snoopi ng- pr oxy vl an
<vlan-id> downst r eami nt er f ace
por t - channel <port-list> l eave-
t i meout <2- 16775168>
Set the MLD snooping normal leave timeout (in
miliseconds) the Switch uses to update the forwarding
table for the specified downstream port(s).
This defines how many seconds the Switch waits for an
MLD report before removing an MLD snooping
membership entry (learned on a downstream port) when
an MLD Done message is received on this port from a
host.
C 13
i pv6 ml d snoopi ng- pr oxy vl an
<vlan-id> downst r eami nt er f ace
por t - channel <port-list> mode
<i mmedi at e | nor mal | f ast >
Sets the leave mode for the specified downstream port(s)
in a specified VLAN.
This specifies whether Switch removes an MLD snooping
membership entry (learned on a downstream port)
immediately (i mmedi at e) or wait for an MLD report
before the normal (nor mal ) or fast (f ast ) leave timeout
when an MLD leave message is received on this port from
a host.
C 13
i pv6 ml d snoopi ng- pr oxy vl an
<vlan-id> downst r eamquer y-
i nt er val <1000- 31744000>
Sets the amount of time (in miliseconds) between general
query messages sent by the downstream port.
C 13
i pv6 ml d snoopi ng- pr oxy vl an
<vlan-id> downst r eamquer y- max-
r esponse- t i me <1000- 25000>
Sets the maximum time (in miliseconds) that the Switch
waits for a response to a general query message sent by
the downstream port.
C 13
Table 101 ipv6 mld snooping-proxy Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 144
i pv6 ml d snoopi ng- pr oxy vl an
<vlan-id> upst r eami nt er f ace por t -
channel <port-list>
Specifies the upstream (host) port(s) on the Switch. The
port(s) will work as an MLD host to send join or leave
messages when receiving queries from the multicast
router.
C 13
i pv6 ml d snoopi ng- pr oxy vl an
<vlan-id> upst r eaml ast - l i st ener -
quer y- i nt er val <1- 8387584>
Sets the the amount of time (in miliseconds) between the
MLD group-specific queries sent by an upstream port
when an MLD Done message is received. This value
should be exactly the same as whats configured in the
connected multicast router.
This value is used to calculate the amount of time an MLD
snooping membership entry (learned only on the
upstream port) can remain in the forwarding table after a
Done message is received.
When an MLD Done message is received, the Switch sets
the entrys lifetime to be: l ast - l i st ener - quer y-
i nt er val x r obust ness- var i abl e
C 13
i pv6 ml d snoopi ng- pr oxy vl an
<vlan-id> upst r eamquer y- i nt er val
<1000- 31744000>
Sets the amount of time (in miliseconds) between general
query messages sent by the router connected to the
upstream port. This value should be exactly the same as
whats configured in the connected multicast router.
This value is used to calculate the amount of time an MLD
snooping membership entry (learned only on the
upstream port) can remain in the forwarding table.
When an MLD Report message is received, the Switch
sets the timeout period of the entry to be: quer y-
i nt er val x r obust ness- var i abl e + quer y- max-
r esponse- t i me
C 13
i pv6 ml d snoopi ng- pr oxy vl an
<vlan-id> upst r eamquer y- max-
r esponse- t i me <1000- 25000>
Sets the amount of time (in miliseconds) the router
connected to the upstream port waits for a response to an
MLD general query message. This value should be
exactly the same as whats configured in the connected
multicast router.
This value is used to calculate the amount of time an MLD
snooping membership entry (learned only on the
upstream port) can remain in the forwarding table.
When an MLD Report message is received, the Switch
sets the timeout period of the entry to be: quer y-
i nt er val x r obust ness- var i abl e + quer y- max-
r esponse- t i me
When an MLD Done message is received, the Switch sets
the entrys lifetime to be: l ast - l i st ener - quer y-
i nt er val x r obust ness- var i abl e
C 13
i pv6 ml d snoopi ng- pr oxy vl an
<vlan-id> upst r eamr obust ness-
var i abl e <1- 25>
Sets the number of queries. A multicast address entry
(learned only on an upstream port by snooping) is
removed from the forwarding table when there is no
response to the configured number of queries sent by the
router connected to the upstream port. This value should
be exactly the same as whats configured in the
connected multicast router.
This value is used to calculate the amount of time an MLD
snooping membership entry (learned only on the
upstream port) can remain in the forwarding table.
C 13
no i pv6 ml d snoopi ng- pr oxy Disables IPv6 MLD snooping-proxy on the Switch. C 13
no i pv6 ml d snoopi ng- pr oxy
f i l t er i ng
Disables IPv6 MLD filtering on the Switch. C 13
Table 101 ipv6 mld snooping-proxy Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 145
no i pv6 ml d snoopi ng- pr oxy
f i l t er i ng pr of i l e <name>
Removes the specified MLD filtering profile. C 13
no i pv6 ml d snoopi ng- pr oxy
f i l t er i ng pr of i l e <name> st ar t -
addr ess <ip> end- addr ess <ip>
Removes the range of multicast address(es) from the
specified filtering profile.
C 13
no i pv6 ml d snoopi ng- pr oxy vl an
<vlan-id>
Disables MLD snooping-proxy on the specified VLAN. C 13
no i pv6 ml d snoopi ng- pr oxy vl an
<vlan-id> downst r eami nt er f ace
por t - channel <port-list>
Sets the specified port(s) to not be a downstream port(s)
for the specified VLAN.
C 13
no i pv6 ml d snoopi ng- pr oxy vl an
<vlan-id> upst r eami nt er f ace por t -
channel <port-list>
Sets the specified port(s) to not be an upstream port(s) for
the specified VLAN.
C 13
show i nt er f aces conf i g <port-list>
ml d snoopi ng- pr oxy f i l t er i ng
gr oup- l i mi t ed
Displays whether MLD filtering is enabled and the
maximum MLD group number for the specified port(s).
E 3
show i nt er f aces conf i g <port-list>
ml d snoopi ng- pr oxy f i l t er i ng
pr of i l e
Displays the name of the filtering profile for the specified
port(s).
E 3
show i pv6 ml d snoopi ng- pr oxy Displays whether MLD snooping-proxy is enabled on the
Switch and on which VLAN(s).
E 3
show i pv6 ml d snoopi ng- pr oxy
f i l t er i ng pr of i l e
Displays whether MLD filtering is enabled on the Switch
and the filtering profile settings.
E 3
show i pv6 ml d snoopi ng- pr oxy gr oup Displays the multicast group addresses learned on the
Switchs ports.
E 3
show i pv6 ml d snoopi ng- pr oxy
st at i st i cs i nt er f ace por t - channel
<port-list>
Displays the MLD snooping-proxy statistics of the
specified port(s).
E 3
show i pv6 ml d snoopi ng- pr oxy
st at i st i cs syst em
Displays the MLD snooping-proxy statistics of the Switch. E 3
show i pv6 ml d snoopi ng- pr oxy
st at i st i cs vl an <vlan-list>
Displays the MLD snooping-proxy statistics of the
specified multicast VLAN(s).
E 3
show i pv6 ml d snoopi ng- pr oxy vl an
<vlan-id>
Displays MLD proxy settings for the specified VLAN. E 3
show i pv6 mul t i cast Displays the multicast group addresses learned on the
Switchs ports and the timeout values.
E 3
Table 101 ipv6 mld snooping-proxy Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 146
Table 102 ipv6 nd Command Summary
COMMAND DESCRIPTION M P
i nt er f ace vl an <1- 4094> Enters config-route-domain mode for the specified VLAN.
Creates the VLAN, if necessary.
C 13
i pv6 nd dad- at t empt s <0- 600> Sets the number of consecutive neighbor solicitations the
Switch sends for this VLAN.
The Switch uses Duplicate Address Detection (DAD) with
neighbor solicitation and advertisement messages to
check whether an IPv6 address is already in use before
assigning it to an interface, such as the link-local address
it creates through stateless address autoconfiguration for
this VLAN.
To turn off the DAD for this VLAN, set the number of DAD
attempts to 0.
C 13
i pv6 nd managed- conf i g- f l ag Configures the Switch to set the managed address
configuration flag (the M flag) to 1 in IPv6 router
advertisements, which means hosts use DHCPv6 to
obtain IPv6 stateful addresses.
C 13
i pv6 nd ns- i nt er val <1000-
3600000>
Specifies the time interval (in milliseconds) at which
neighbor solicitations are re-sent for this VLAN.
C 13
i pv6 nd ot her - conf i g- f l ag Configures the Switch to set the Other stateful
configuration flag (the O flag) to 1 in IPv6 router
advertisements, which means hosts use DHCPv6 to
obtain additional configuration settings, such as DNS
information.
C 13
i pv6 nd pr ef i x <ipv6-prefix>/
<prefix-length> <[ val i d-
l i f et i me <0- 4294967295>]
[ pr ef er r ed- l i f et i me <0-
4294967295>] [ no- aut oconf i g]
[ no- onl i nk] [ no- adver t i se] >
Sets the Switch to include the specified IPv6 prefix, prefix
length and optional parameters in router advertisements
for this VLAN.
val i d- l i f et i me: sets how long in seconds the prefix is
valid for on-link determination.
pr ef er r ed- l i f et i me: sets how long (in seconds) that
addresses generated from the prefix via stateless address
autoconfiguration remain preferred.
no- aut oconf i g: indicates the hosts can not use this
prefix for stateless address autoconfiguration.
no- onl i nk: indicates this prefix can not be used for on-
link determination.
no- adver t i se: sets the Switch to not include the
specified IPv6 prefix, prefix length and optional
parameters in router advertisements for this VLAN.
C 13
i pv6 nd pr ef i x <ipv6-prefix>/
<prefix-length>
Sets the Switch to include the specified IPv6 prefix and
prefix length in router advertisements for this VLAN.
C 13
i pv6 nd r a i nt er val mi ni mum<3-
1350> maxi mum<4- 1800>
Specifies the minimum and maximum time intervals at
which the Switch sends router advertisements for this
VLAN.
C 13
i pv6 nd r a l i f et i me <0- 9000> Sets how long (in seconds) the router in router
advertisements can be used as a default router for this
VLAN.
C 13
i pv6 nd r a suppr ess Sets the Switch to not send router advertisements and
responses to router solicitations for this VLAN.
C 13
i pv6 nd r eachabl e- t i me <1000-
2147483647>
Specifies how long (in milliseconds) a neighbor is
considered reachable for this VLAN.
C 13
no i pv6 nd dad- at t empt s Resets the number of the DAD attempts to the default
settings (3).
C 13
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 147
no i pv6 nd managed- conf i g- f l ag Configures the Switch to set the managed address
configuration flag (the M flag) to 0 in IPv6 router
advertisements, which means hosts do not use DHCPv6
to obtain IPv6 stateful addresses.
C 13
no i pv6 nd ns- i nt er val Resets the time interval between retransmissions of
neighbor solicitations to the default setting (3000
milliseconds).
C 13
no i pv6 nd ot her - conf i g- f l ag Configures the Switch to set the Other stateful
configuration flag (the O flag) to 0 in IPv6 router
advertisements, which means hosts do not use DHCPv6
to obtain additional configuration settings, such as DNS
information.
C 13
no i pv6 nd pr ef i x <ipv6-
prefix>/ <prefix-length>
Sets the Switch to not include the specified IPv6 prefix
and prefix length in router advertisements for this VLAN.
C 13
no i pv6 nd r a i nt er val Resets the minimum and maximum time intervals
between retransmissions of router advertisements for this
VLAN to the default settings.
C 13
no i pv6 nd r a l i f et i me Resets the lifetime of a router in router advertisements to
the default setting (9000 seconds).
C 13
no i pv6 nd r a suppr ess Enables the sending of router advertisements and
responses to router solicitations on this interface.
C 13
no i pv6 nd r eachabl e- t i me Resets the reachable time of a neighbor to the default
setting (60000 milliseconds).
C 13
i pv6 hop- l i mi t <1- 255> Sets the maximum number of hops on which an IPv6
packet is allowed to transmit before it is discarded by an
IPv6 router, which is similar to the TTL field in IPv4.
C 13
i pv6 r out e <ipv6-prefix>/ <prefix-
length> <next-hop>
Creates a static route to forward packets with the
specified IPv6 prefix and prefix length to a specific
gateway.
C 13
i pv6 r out e <ipv6-prefix>/ <prefix-
length> <next-hop> <interface-
type> <interface-number>
Creates a static route to forward packets with the
specified IPv6 prefix and prefix length to a specific
gateway in a VLAN.
C 13
no i pv6 hop- l i mi t Resets the maximum number of hops in router
advertisements to the default setting.
C 13
no i pv6 r out e <ipv6-prefix>/
<prefix-length>
Removes an IPv6 static route. C 13
show i pv6 r out e Displays IPv6 routing information on the Switch. E 3
show i pv6 r out e st at i c Displays static IPv6 routing information on the Switch. E 3
show i pv6 pr ef i x Displays all IPv6 prefix information on the Switch. E 3
show i pv6 pr ef i x <interface-type>
<interface-number>
Displays IPv6 prefix information for the specified interface
(VLAN).
E 3
Table 103 ipv6 neighbor Command Summary
COMMAND DESCRIPTION M P
cl ear i pv6 nei ghbor Removes all IPv6 neighbor information on the Switch. E 13
cl ear i pv6 nei ghbor <interface-
type> <interface-number>
Removes IPv6 neighbor information for a specified
interface on the Switch.
E 13
Table 102 ipv6 nd Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 148
35.3 Command Examples
This example shows how to enable IPv6 in VLAN 1 and display the link-local address the
Switch automatically generated and other IPv6 information for the VLAN.
This example shows how to manually configure two IPv6 addresses (one uses the EUI-64
format, one doesnt) in VLAN 1, and then display the result. Before using i pv6 addr ess
commands, you have to enable IPv6 in the VLAN and this has the Switch generate a link-local
address for the interface.
i pv6 nei ghbor <interface-type>
<interface-number> <ipv6-address>
<mac-address>
Creates a static IPv6 neighbor entry in the IPv6 cache for
this VLAN.
C 13
no i pv6 nei ghbor <interface-type>
<interface-number> <ipv6-address>
Removes a static IPv6 neighbor entry from the IPv6
cache.
C 13
show i pv6 nei ghbor Displays IPv6 settings on the Switch and its neighbor
devices.
E 3
show i pv6 nei ghbor <interface-
type> <interface-number>
Displays IPv6 neighbor devices for a specified interface
on the Switch.
E 3
show i pv6 r out er Displays all IPv6 router advertisement information on the
Switch.
E 3
show i pv6 r out er <interface-type>
<interface-number>
Displays IPv6 router advertisement information for a
specified interface on the Switch.
E 3
Table 103 ipv6 neighbor Command Summary (continued)
COMMAND DESCRIPTION M P
sysname# conf i g
sysname( conf i g) # i nt er f ace vl an 1
sysname( conf i g- vl an) # i pv6
sysname( conf i g- vl an) # exi t
sysname( conf i g) # exi t
sysname# show i pv6 vl an 1
VLAN : 1 ( VLAN1)
I Pv6 i s enabl ed.
MTU i s 1500 byt es.
I CMP er r or messages l i mi t ed t o 10 ever y 100 mi l l i seconds.
St at el ess Addr ess Aut oconf i gur at i on i s di sabl ed.
Li nk- Local addr ess i s f e80: : 219: cbf f : f e6f : 9159 [ pr ef er r ed]
Gl obal uni cast addr ess( es) :
J oi ned gr oup addr ess( es) :
f f 02: : 2
f f 01: : 1
f f 02: : 1
f f 02: : 1: f f 6f : 9159
ND DAD i s enabl ed, number of DAD at t empt s: 1
ND NS- i nt er val i s 1000 mi l l i seconds
ND r eachabl e t i me i s 30000 mi l l i seconds
ND r out er adver t i sed managed conf i g f l ag i s di sabl e
ND r out er adver t i sed ot her conf i g f l ag i s di sabl e
ND r out er adver t i sement s ar e sent ever y 200 t o 600 seconds
ND r out er adver t i sement s l i f et i me 1800 seconds
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 149
There are three addresses created in total for VLAN 1. The address
2001:db8:c18:1:219:cbff:fe00:1/64 is created with the interface ID 219:cbff:fe00:1
generated using the EUI-64 format. The address 2001:db8:c18:1::12b/64 is created exactly
the same as what you entered in the command.
This example shows the Switch owns (L displays in the T field) two manually configured
(per manent ) IP addresses, 2001::1234 and fe80::219:cbff:fe00:1. It also displays a neighbor
fe80::2d0:59ff:feb8:103c in VLAN 1 is reachable from the Switch.
sysname# conf i g
sysname( conf i g) # i nt er f ace vl an 1
sysname( conf i g- vl an) # i pv6
sysname( conf i g- vl an) # i pv6 addr ess 2001: db8: c18: 1: : 127/ 64 eui - 64
sysname( conf i g- vl an) # i pv6 addr ess 2001: db8: c18: 1: : 12b/ 64
sysname( conf i g- vl an) # exi t
sysname( conf i g) # exi t
sysname# show i pv6
VLAN : 1 ( VLAN1)
I Pv6 i s enabl ed.
MTU i s 1500 byt es.
I CMP er r or messages l i mi t ed t o 10 ever y 100 mi l l i seconds.
St at el ess Addr ess Aut oconf i gur at i on i s di sabl ed.
Li nk- Local addr ess i s f e80: : 219: cbf f : f e00: 1 [ pr ef er r ed]
Gl obal uni cast addr ess( es) :
2001: db8: c18: 1: : 12b/ 64 [ pr ef er r ed]
2001: db8: c18: 1: 219: cbf f : f e00: 1/ 64 [ pr ef er r ed]
J oi ned gr oup addr ess( es) :
f f 02: : 1: f f 00: 12b
f f 02: : 2
f f 01: : 1
f f 02: : 1
f f 02: : 1: f f 6f : 9159
ND DAD i s enabl ed, number of DAD at t empt s: 1
ND NS- i nt er val i s 1000 mi l l i seconds
ND r eachabl e t i me i s 30000 mi l l i seconds
ND r out er adver t i sed managed conf i g f l ag i s di sabl e
ND r out er adver t i sed ot her conf i g f l ag i s di sabl e
ND r out er adver t i sement s ar e sent ever y 200 t o 600 seconds
ND r out er adver t i sement s l i f et i me 1800 seconds
sysname# show i pv6 nei ghbor
Addr ess MAC S T I nt er f ace
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2001: : 1234 00: 19: cb: 0: 0: 0: 1 R L vl an 1
f e80: : 219: cbf f : f e00: 1 00: 19: cb: 0: 0: 0: 1 R L vl an 1
f e80: : 2d0: 59f f : f eb8: 103c 00: d0: 59: b8: 10: 3c R D vl an 1
S: r eachabl e( R) , st al e( S) , del ay( D) , pr obe( P) , i nval i d( I V) , i ncompl et e( I ) , unknown( ?)
T: l ocal ( L) , dynami c( D) , st at i c( S) , ot her ( O)
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 150
The following table describes the labels in this screen.
This example sends ping requests to an Ethernet device with IPv6 address
fe80::2d0:59ff:feb8:103c in VLAN 1. The device also responds the pings.
Table 104 show ipv6 neighbor
LABEL DESCRIPTION
Addr ess This is the IPv6 address of the Switch or a neighboring device.
MAC This is the MAC address of the neighboring device or itself.
S This field displays whether the neighbor IPv6 interface is reachable. In
IPv6, reachable means an IPv6 packet can be correctly forwarded to a
neighbor node (host or router) and the neighbor can successfully receive
and handle the packet. The available options in this field are:
r eachabl e( R) : The interface of the neighboring device is reachable.
(The Switch has received a response to the initial request.)
st al e( S) : The last reachable time has expired and the Switch is
waiting for a response to another initial request. The field displays this
also when the Switch receives an unrequested response from the
neighbors interface.
del ay( D) : The neighboring interface is no longer known to be
reachable, and traffic has been sent to the neighbor recently. The
Switch delays sending request packets for a short to give upper-layer
protocols a chance to determine reachability.
pr obe( P) : The Switch is sending request packets and waiting for the
neighbors response.
i nval i d( I V) : The neighbor address is with an invalid IPv6 address.
unknown( ?) : The status of the neighboring interface can not be
determined for some reason.
i ncompl et e( I ) : Address resolution is in progress and the link-layer
address of the neighbor has not yet been determined (see RFC 2461).
The interface of the neighboring device did not give a complete
response.
T This field displays the type of an address mapping to a neighbor interface.
The available options in this field are:
ot her ( O) : none of the following type.
dynami c( D) : The IP address to MAC address can be successfully
resolved using IPv6 Neighbor Discovery protocol (See Neighbor
Discovery Protocol (NDP)). Is it similar as IPv4 ARP (Address
Resolution protocol).
st at i c( S) : The interface address is statically configured.
l ocal ( L) : A Switch interface is using the address.
I nt er f ace This field displays the IPv6 interface.
Expi r e This displays how long (hhhmmmsss) an address can be used before it
expires. If an address is manually configured, it displays per manent
(never expires).
sysname# pi ng6 f f e80: : 2d0: 59f f : f eb8: 103c - i vl an 1
PI NG6( 56=40+8+8 byt es) f e80: : 219: cbf f : f e00: 1 - - > f e80: : 2d0: 59f f : f eb8: 103c
16 byt es f r omf e80: : 2d0: 59f f : f eb8: 103c, i cmp_seq=0 hl i m=64 t i me=1. 0 ms
16 byt es f r omf e80: : 2d0: 59f f : f eb8: 103c, i cmp_seq=1 hl i m=64 t i me=1. 0 ms
16 byt es f r omf e80: : 2d0: 59f f : f eb8: 103c, i cmp_seq=2 hl i m=64 t i me=1. 0 ms
- - - f e80: : 2d0: 59f f : f eb8: 103c pi ng6 st at i st i cs - - -
3 packet s t r ansmi t t ed, 3 packet s r ecei ved, 0. 0 %packet l oss
r ound- t r i p mi n/ avg/ max = 1. 0 / 1. 0 / 1. 0 ms
sysname#
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 151
This example configures a static IPv6 route to forward packets with IPv6 prefix 2100:: and
prefix length 64 to the gateway with IPv6 address fe80::219:cbff:fe01:101 in VLAN 1.
35.4 Example - Enabling IPv6 on Windows XP/2003
By default, Windows XP and Windows 2003 support IPv6. This example shows you how to
use the i pv6 i nst al l command on Windows XP/2003 to enable IPv6. This also displays
how to use the i pconf i g command to see auto-generated IP addresses.
sysname# conf i g
sysname( conf i g) # i pv6 r out e 2100: : / 64 f e80: : 219: cbf f : f e01: 101 vl an 1
sysname( conf i g) # exi t
sysname# show i pv6 r out e
Ter mi nol ogy:
C - Connect ed, S - St at i c
Dest i nat i on/ Pr ef i x Lengt h Type
Next Hop I nt er f ace
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2001: db8: c18: 1: : / 64 C
: : VLAN1
2100: : / 64 S
f e80: : 219: cbf f : f e01: 101 VLAN1
sysname#
C: \ >i pv6 i nst al l
I nst al l i ng. . .
Succeeded.
C: \ >i pconf i g
Wi ndows I P Conf i gur at i on
Et her net adapt er Local Ar ea Connect i on:
Connect i on- speci f i c DNS Suf f i x . :
I P Addr ess. . . . . . . . . . . . : 10. 1. 1. 46
Subnet Mask . . . . . . . . . . . : 255. 255. 255. 0
I P Addr ess. . . . . . . . . . . . : f e80: : 2d0: 59f f : f eb8: 103c%4
Def aul t Gat eway . . . . . . . . . : 10. 1. 1. 254
Tunnel adapt er Ter edo Tunnel i ng Pseudo- I nt er f ace:
Connect i on- speci f i c DNS Suf f i x . :
I P Addr ess. . . . . . . . . . . . : f e80: : 5445: 5245: 444f %5
Def aul t Gat eway . . . . . . . . . :
Tunnel adapt er Aut omat i c Tunnel i ng Pseudo- I nt er f ace:
Connect i on- speci f i c DNS Suf f i x . :
I P Addr ess. . . . . . . . . . . . : f e80: : 5ef e: 10. 1. 1. 46%2
Def aul t Gat eway . . . . . . . . . :
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 152
IPv6 is installed and enabled by default in Windows Vista. Use the ipconfig command to
check your automatic configured IPv6 address as well. You should see at least one IPv6
address available for the interface on your computer.
35.5 Example - HTTP Accessing the Switch Using IPv6
How you access the Switch using HTTP varies depending on the operating system (OS) and
the type of browser you use and the type of address you want to access.
Its recommended to use Internet Explorer 7.0 or FireFox to access the
Switchs web GUI.
This example shows you how to access the Switch using HTTP on Windows XP.
1 Make sure you have enabled IPv6 on your computer (see Section 35.4). Use the
i pconf i g command in the command prompt to check the IPv6 address on your
computer. The example uses an interface with address fe80::2d0:59ff:feb8:103c to
Table 105 Specifying the Switch Address for HTTP Access
OS DESTINATION INTERNET EXPLORER 7.0 FIREFOX
Windows
XP
A link-local address Use http://address
The address should be converted using the following procedure.
1. Use a dash - to replace each colon : in an IPv6 address.
2. Append the Ethernet interface identifier you want to use to connect to the
Switch. But replace the percentage character % with s.
3. Append .ipv6-literal.net at the end.
For example, the Switch uses an address fe80::1234:5678. The Ethernet
interface identifier you want to use on your computer to access the Switch is %4.
You have to type the following to access the Switch.
http://fe80--1234-5678-1s4.ipv6-literal.net.
A global address Use http://[address]
For example, http://[fe80--1234-5678-1]
Windows
Vista
A link-local address
A global address
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 153
access the Switch. So its Ethernet interface identifier is %4 and will be used later to
make a ping.
2 Check the Switch IPv6 address(es) you want to ping. In this example, there are two IPv6
addresses in VLAN 1. One is a link-local address (fe80::219:cbff:fe00:1/64) and the
other one is a global address (2001::1234/64).
3 In order to access the Switch through its link-local address, do the address convertion
(See Table 105 on page 152).
3a Use a dash - to replace each colon : in an IPv6 address. Then the address
becomes:
fe80--219-cbff-fe00-1
3b In the step 1, the Ethernet interface identifier you want to use to connect to the
Switch is %4. Replace the percentage character % with s and then append it to
the address. The address becomes:
fe80--219-cbff-fe00-1s4
3c Append .ipv6-literal.net at the end. The address becomes:
fe80--219-cbff-fe00-1s4.ipv6-literal.net
C: \ >i pconf i g
Wi ndows I P Conf i gur at i on
Et her net adapt er Local Ar ea Connect i on:
Connect i on- speci f i c DNS Suf f i x . :
I P Addr ess. . . . . . . . . . . . : 10. 1. 1. 46
Subnet Mask . . . . . . . . . . . : 255. 255. 255. 0
I P Addr ess. . . . . . . . . . . . : f e80: : 2d0: 59f f : f eb8: 103c%4
Def aul t Gat eway . . . . . . . . . : 10. 1. 1. 254
sysname# show i pv6
VLAN I D : 1
I Pv6 St at us : Enabl e
Or i gi n I P Addr ess/ Pr ef i xLengt h St at us Expi r e
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
manual f e80: : 219: cbf f : f e00: 1/ 64 pr ef er r ed per manent
manual 2001: : 1234/ 64 pr ef er r ed per manent
Chapter 35 IPv6 Commands
Ethernet Switch CLI Reference Guide 154
Open an Internet Explorer 7.0 browser and type ht t p: / / f e80- - 219- cbf f - f e00-
1s4. i pv6- l i t er al . net . The login page appears.
4 Alternatively, you can use the global address to access the Switch. Type ht t p: / /
[ 2001: : 1234] on your browser and the login page appears.
Ethernet Switch CLI Reference Guide 155
CHAPTER 36
Layer 2 Protocol Tunnel (L2PT)
Commands
36.1 Command Summary
The following section lists the commands for this feature.
Table 106 l2pt Command Summary
COMMAND DESCRIPTION M P
cl ear l 2pr ot ocol - t unnel Removes all layer 2 protocol tunneling counters. E 13
i nt er f ace por t - channel <port-list> Enters config-interface mode for configuring the specified
port(s).
C 13
l 2pr ot ocol - t unnel Enables layer 2 protocol tunneling for CDP (Cisco
Discovery Protocol), STP (Spanning Tree Protocol) and
VTP (VLAN Trunking Protocol) packets on the specified
port(s).
C 13
l 2pr ot ocol - t unnel cdp Enables layer 2 protocol tunneling for CDP packets on
the specified port(s).
C 13
l 2pr ot ocol - t unnel mode
<access| t unnel >
Sets the L2PT mode for the specified port(s)
access: for ingress ports at the edge of the service
provider's network. The Switch encapsulates the
incoming layer 2 protocol packets and forward them to
the tunnel port(s).
Note: You can enable L2PT services for STP,
LACP, VTP, CDP, UDLD, and PAGP on
the access port(s) only.
t unnel : for egress ports at the edge of the service
provider's network. The Switch decapsulates the
encapsulated layer 2 protocol packets received on a
tunnel port by changing the destination MAC adress to
the original one, and then forward them to an access
port. If the service(s) is not enabled on an access port,
the protocol packets are dropped.
C 13
l 2pr ot ocol - t unnel poi nt - t o-
poi nt
Enables point-to-point layer 2 protocol tunneling for
LACP (Link Aggregation Control Protocol), PAgP (Port
Aggregation Protocol) and UDLD (UniDirectional Link
Detection) packets on the specified port(s).
C 13
l 2pr ot ocol - t unnel poi nt - t o-
poi nt l acp
Enables point-to-point layer 2 protocol tunneling for
LACP packets on the specified port(s).
C 13
l 2pr ot ocol - t unnel poi nt - t o-
poi nt pagp
Enables point-to-point layer 2 protocol tunneling for
PAgP packets on the specified port(s).
C 13
Chapter 36 Layer 2 Protocol Tunnel (L2PT) Commands
Ethernet Switch CLI Reference Guide 156
36.2 Command Examples
This example enables L2PT on the Switch and sets the destination MAC address for
encapsulating layer 2 protocol packets received on an access port.
l 2pr ot ocol - t unnel poi nt - t o-
poi nt udl d
Enables point-to-point layer 2 protocol tunneling for
UDLD packets on the specified port(s).
C 13
l 2pr ot ocol - t unnel st p Enables layer 2 protocol tunneling for STP packets on
the specified port(s).
C 13
l 2pr ot ocol - t unnel vt p Enables layer 2 protocol tunneling for CDP packets on
the specified port(s).
C 13
no l 2pr ot ocol - t unnel Disables layer 2 protocol tunneling for CDP, VTP and
STP packets on the specified port(s).
C 13
no l 2pr ot ocol - t unnel cdp Disables layer 2 protocol tunneling for CDP packets on
the specified port(s).
C 13
no l 2pr ot ocol - t unnel poi nt - t o-
poi nt
Disables point-to-point layer 2 protocol tunneling for
LACP, PAgP and UDLD packets on the specified port(s).
C 13
no l 2pr ot ocol - t unnel poi nt - t o-
poi nt l acp
Disables point-to-point layer 2 protocol tunneling for
LACP packets on the specified port(s).
C 13
no l 2pr ot ocol - t unnel poi nt - t o-
poi nt pagp
Disables point-to-point layer 2 protocol tunneling for
PAgP packets on the specified port(s).
C 13
no l 2pr ot ocol - t unnel poi nt - t o-
poi nt udl d
Enables point-to-point layer 2 protocol tunneling for
UDLD packets on the specified port(s).
C 13
no l 2pr ot ocol - t unnel st p Disables layer 2 protocol tunneling for STP packets on
the specified port(s).
C 13
no l 2pr ot ocol - t unnel vt p Disables layer 2 protocol tunneling for VTP packets on
the specified port(s).
C 13
l 2pr ot ocol - t unnel Enables layer 2 protocol tunneling on the Switch. C 13
l 2pr ot ocol - t unnel mac <mac- addr > Sets the destination MAC address used for
encapsulating layer 2 protocol packets received on an
access port.
C 13
no l 2pr ot ocol - t unnel Disables layer 2 protocol tunneling on the Switch. C 13
show l 2pr ot ocol - t unnel Displays layer 2 protocol tunneling settings and counters
for all ports.
E 13
show l 2pr ot ocol - t unnel i nt er f ace
por t - channel <port-list>
Displays layer 2 protocol tunneling settings and counters
for the specified port(s).
E 13
Table 106 l2pt Command Summary (continued)
COMMAND DESCRIPTION M P
sysname# conf i gur e
sysname( conf i g) # l 2pr ot ocol - t unnel
sysname( conf i g) # l 2pr ot ocol - t unnel mac 00: 10: 23: 45: 67: 8e
sysname( conf i g) #
Chapter 36 Layer 2 Protocol Tunnel (L2PT) Commands
Ethernet Switch CLI Reference Guide 157
This example enables L2PT for STP, CDP and VTP packets on port 3. It also sets L2PT mode
to access for this port.
This example sets L2PT mode to tunnel for port 4.
This example displays L2PT settings and status on port 3. You can also see how many CDP,
STP, VTP, LACP, PAgP and UDLD packets received on this port are encapsulated,
decapsulated or dropped.
sysname( conf i g) # i nt er f ace por t - channel 3
sysname( conf i g- i nt er f ace) # l 2pr ot ocol - t unnel
sysname( conf i g- i nt er f ace) # l 2pr ot ocol - t unnel mode access
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
sysname( conf i g) # i nt er f ace por t - channel 4
sysname( conf i g- i nt er f ace) # l 2pr ot ocol - t unnel mode t unnel
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
sysname# show l 2pr ot ocol - t unnel i nt er f ace por t - channel 3
St at us : Runni ng
Layer 2 Pr ot ocol Tunnel i ng: Enabl e
Dest i nat i on MAC Addr ess: 00: 10: 23: 45: 67: 8e
Por t Pr ot ocol St at e Encapsul at i on Decapsul at i on Dr op
Count er Count er Count er
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
3 cdp Enabl e 0 0 0
st p Enabl e 1280 2548 0
vt p Enabl e 0 0 0
l acp Di sabl e 0 0 0
pagp Di sabl e 0 0 0
udl d Di sabl e 0 0 0
sysname#
Ethernet Switch CLI Reference Guide 158
CHAPTER 37
Link Layer Discovery Protocol
(LLDP) Commands
37.1 LLDP Overview
The LLDP (Link Layer Discovery Protocol) is a layer 2 protocol. It allows a network device to
advertise its identity and capabilities on the local network. It also allows the device to maintain
and store information from adjacent devices which are directly connected to the network
device. This helps an administrator discover network changes and perform necessary network
reconfiguration and management. The device information is encapsulated in the LLDPDUs
(LLDP data units) in the form of TLV (Type, Length, Value). Device information carried in the
received LLDPDUs is stored in the standard MIB.
The Switch supports these basic management TLVs.
End of LLDPDU (mandatory)
Chassis ID (mandatory)
Port ID (mandatory)
Time to Live (mandatory)
Port Description (optional)
System Name (optional)
System Description (optional)
System Capabilities (optional)
Management Address (optional)
The Switch also supports the IEEE 802.1 and IEEE 802.3 organizationally-specific TLVs.
Annex F of the LLDP specification defines the following set of IEEE 802.1 organizationally
specific TLVs:
Port VLAN ID TLV (optional)
Port and Protocol VLAN ID TLV (optional)
Annex G of the LLDP specification defines the following set of IEEE 802.3 Organizationally
Specific TLVs:
MAC/PHY Configuration/Status TLV (optional)
Power via MDI TLV (optional)
Link Aggregation TLV (optional)
Maximum Frame Size TLV (optional)
The optional TLVs are inserted between the Time To Live TLV and the End of LLDPDU TLV.
Chapter 37 Link Layer Discovery Protocol (LLDP) Commands
Ethernet Switch CLI Reference Guide 159
LLDP-MED (Link Layer Discovery Protocol for Media Endpoint Devices) is an enhanced
extension to LLDP especially for voice applications. You can use LLDP-MED to advertise
location-based information of emergency calls and/or network policies for voice/video
streaming.
37.2 Command Summary
The following section lists the commands for this feature.
Table 107 lldp Command Summary
COMMAND DESCRIPTION M P
i nt er f ace por t - channel <por t - l i st > Enters config-interface mode for configuring the specified
port(s).
C 13
l l dp admi n- st at us <t x- onl y| r x-
onl y| t x- r x>
Sets LLDP operating mode.
t x- onl y: the port(s) can only send LLDP packets.
r x- onl y: the port(s) can only receive LLDP packets.
t x- r x: the port(s) can send or receive LLDP packets.
C 13
l l dp basi c- t l v management -
addr ess
Enables the sending of Management Address TLVs on
the port(s).
C 13
l l dp basi c- t l v por t - descr i pt i on Enables the sending of Port Description TLVs on the
port(s).
C 13
l l dp basi c- t l v syst em-
capabi l i t i es
Enables the sending of System Capabilities TLVs on the
port(s).
C 13
l l dp basi c- t l v syst em-
descr i pt i on
Enables the sending of System Description TLVs on the
port(s).
C 13
l l dp basi c- t l v syst em- name Enables the sending of System Name TLVs on the
port(s).
C 13
l l dp med l ocat i on ci vi c [ count y
<county>] [ ci t y <city>]
[ di vi si on <division>]
[ nei ghbor <neighbor>]
[ st r eet <street>]
[ l eadi ng- st r eet - di r ect i on
<value>] [ t r ai l i ng- st r eet -
suf f i x <value>] [ st r eet - suf f i x
<value>] [ house- number <num>]
[ house- number - suf f i x <value>]
[ l andmar k <landmark>]
[ addi t i onal - l ocat i on <value>]
[ name <value>] [ zi p- code
<value>] [ bui l di ng <value>]
[ uni t <value>] [ f l oor <value>]
[ r oom- number <value>]
[ pl ace- t ype <value>]
[ post al - communi t y- name <value>]
[ post - of f i ce- box <value>]
[ addi t i onal - code <value>]
Sets civic location information, such as street address
and city name.
C 13
Chapter 37 Link Layer Discovery Protocol (LLDP) Commands
Ethernet Switch CLI Reference Guide 160
l l dp med l ocat i on coor di nat e
[ l at i t ude <nor t h| sout h>
<value>] [ l ongi t ude <west | east >
<value>] [ al t i t ude
<met er s| f l oor > <value>] [ dat um
<WGS84| NAD83- NAVD88| NAD83-
MLLW>]
Sets coordinate location information.
Latitude value: -90 to 90
Longtitude value: -180 to 180
Altitude value: -2097151 to 2097151 in meters or -
2097151 to 2097151 in the number of floors
C 13
l l dp med l ocat i on el i n
<number>
Sets location information of a caller by its ELIN
(Emergency Location Identifier Number).
number: a ten-digit phone number
C 13
l l dp med net wor k- pol i cy
<voi ce| voi ce- si gnal i ng| guest -
voi ce| guest - voi ce-
si gnal i ng| sof t phone-
voi ce| vi deo-
conf er enci ng| st r eami ng-
vi deo| vi deo- si gnal i ng>
[ t agged| unt agged] [ vl an <vlan-
id>] [ pr i or i t y <priority>] [ dscp
<dscp>]
Sets a network policy for the specified application. C 13
l l dp med t opol ogy- change-
not i f i cat i on
Enables the sending of LLDP-MED topology change
traps when devices are connected to or disconnected
from the specified ports.
C 13
l l dp not i f i cat i on Enables the sending of LLDP traps. C 13
l l dp or g- speci f i c- t l v dot 1
por t - pr ot ocol - vl an- i d
Enables the sending of IEEE 802.1 Port and Protocol
VLAN ID TLVs, which contains the VLAN ID and
indicates whether the VLAN is enabled and supported.
C 13
l l dp or g- speci f i c- t l v dot 1
por t - vl an- i d
Enables the sending of IEEE 802.1 Port VLAN ID TLVs,
which contains the ports VLAN ID.
C 13
l l dp or g- speci f i c- t l v dot 3
l i nk- aggr egat i on
Enables the sending of IEEE 802.3 Link Aggregation
TLVs, which shows the link aggregation status of the
port(s).
C 13
l l dp or g- speci f i c- t l v dot 3 mac-
phy
Enables the sending of IEEE 802.3 MAC/PHY
Configuration/Status TLV, which shows duplex and rate
settings and indicates whether auto negotiation is
supported on the port.
C 13
l l dp or g- speci f i c- t l v dot 3 max-
f r ame- si ze
Enables the sending of IEEE 802.3 Maximum Frame
Size TLVs on the port(s).
C 13
l l dp or g- speci f i c- t l v dot 3
power - vi a- mdi
Enables the sending of IEEE 802.3 Power via MDI TLVs,
which indicates whether power can be supplied via a
media dependent interface (MDI) on the port(s).
C 13
l l dp or g- speci f i c- t l v med
l ocat i on
Enables the sending of location TLVs on the port(s). C 13
l l dp or g- speci f i c- t l v med
net wor k- pol i cy
Enables the sending of network policy TLVs on the
port(s).
C 13
no l l dp admi n- st at us Sets the port(s) to not send or receive LLDP packets. C 13
no l l dp basi c- t l v management -
addr ess
Disables the sending of Management Address TLVs on
the port(s).
C 13
no l l dp basi c- t l v por t -
descr i pt i on
Disables the sending of Port Description TLVs on the
port(s).
C 13
Table 107 lldp Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 37 Link Layer Discovery Protocol (LLDP) Commands
Ethernet Switch CLI Reference Guide 161
no l l dp basi c- t l v syst em-
capabi l i t i es
Disables the sending of System Capabilities TLVs on the
port(s).
C 13
no l l dp basi c- t l v syst em-
descr i pt i on
Disables the sending of System Description TLVs on the
port(s).
C 13
no l l dp basi c- t l v syst em- name Disables the sending of System Name TLVs on the
port(s).
C 13
no l l dp med l ocat i on Deletes all location identification. C 13
no l l dp med l ocat i on
<ci vi c| coor di nat e| el i n>
Deletes location identification of the specified type. C 13
no l l dp med net wor k- pol i cy Deletes network policies for all connected media
endpoint devices.
C 13
no l l dp med net wor k- pol i cy
<voi ce| voi ce- si gnal i ng| guest -
voi ce| guest - voi ce-
si gnal i ng| sof t phone- voi ce| vi d
eo- conf er enci ng| st r eami ng-
vi deo| vi deo- si gnal i ng>
Deletes network policies for the specified applications. C 13
no l l dp med t opol ogy- change-
not i f i cat i on
Disables the sending of LLDP-MED topology change
traps.
C 13
no l l dp not i f i cat i on Disables the sending of LLDP traps. C 13
no l l dp or g- speci f i c- t l v dot 1
por t - pr ot ocol - vl an- i d
Disables the sending of IEEE 802.1 Port and Protocol
VLAN ID TLVs on the port(s).
C 13
no l l dp or g- speci f i c- t l v dot 1
por t - vl an- i d
Disables the sending of IEEE 802.1 Port VLAN ID TLVs
on the port(s).
C 13
no l l dp or g- speci f i c- t l v dot 3
l i nk- aggr egat i on
Disables the sending of IEEE 802.3 Link Aggregation
TLVs on the port(s).
C 13
no l l dp or g- speci f i c- t l v dot 3
mac- phy
Disables the sending of IEEE 802.3 MAC/PHY
Configuration/Status TLVs on the port(s).
C 13
no l l dp or g- speci f i c- t l v dot 3
max- f r ame- si ze
Disables the sending of IEEE 802.3 Maximum Frame
Size TLVs on the port(s).
C 13
no l l dp or g- speci f i c- t l v dot 3
power - vi a- mdi
Disables the sending of IEEE 802.3 Power via MDI TLVs
on the port(s).
C 13
l l dp Enables the LLDP feature on the Switch. C 13
l l dp r ei ni t i al i ze- del ay <1- 10> Sets a number of seconds for LLDP wait to initialize on a
port.
C 13
l l dp t r ansmi t - del ay <1- 8192> Sets the delay (in seconds) between the successive
LLDPDU transmissions initiated by value or status
changes in the Switch MIB.
C 13
Table 107 lldp Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 37 Link Layer Discovery Protocol (LLDP) Commands
Ethernet Switch CLI Reference Guide 162
l l dp t r ansmi t - hol d <2- 10> Sets the time-to-live (TTL) multiplier of the LLDP packets.
The device information on the neighboring devices ages
out and is discarded when its corresponding TTL expires.
The TTL value is to multiply the TTL multiplier by the
LLDP packets transmitting interval.
Note: Make sure the LLDP packet transmitting
interval is shorter than its TTL to have
the Switchs device information being
updated in the neighboring devices
before it ages out.
C 13
l l dp t r ansmi t - i nt er val <5- 32768> Sets the interval (in seconds) the Switch waits before
sending LLDP packets.
C 13
no l l dp Disables the LLDP feature on the Switch. C 13
show l l dp conf i g Displays the global LLDP settings on the Switch. E 3
show l l dp conf i g i nt er f ace por t -
channel <port-list>
Displays the LLDP settings on the specified port(s). E 3
show l l dp i nf o l ocal Displays the Switchs device information. E 3
show l l dp i nf o l ocal i nt er f ace
por t - channel <port-list>
Displays the LLDP information for the specified port(s). E 3
show l l dp i nf o r emot e Displays the device information from the neighboring
devices.
E 3
show l l dp i nf o r emot e i nt er f ace
por t - channel <port-list>
Displays the neighboring device information received on
the specified port(s).
E 3
show l l dp st at i st i c Displays LLDP statistics on the Switch. E 3
show l l dp st at i st i c i nt er f ace por t -
channel <port-list>
Displays LLDP statistics of the specified port(s). E 3
cl ear l l dp st at i st i c Resets the LLDP statistics counters to zero. E 13
cl ear l l dp r emot e_i nf o Deletes all device information from the neighboring
devices.
E 13
cl ear l l dp r emot e_i nf o i nt er f ace
por t - channel <port-list>
Deletes remote device information on the specified
port(s).
E 13
Table 107 lldp Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 37 Link Layer Discovery Protocol (LLDP) Commands
Ethernet Switch CLI Reference Guide 163
37.3 Command Examples
This example enables LLDP on the Switch, sets port 2 to send and receive LLDP packets and
allows the Switch to send optional basic management TLVs (such as management-address,
port-description and system-description TLVs) on port 2. This example also shows the LLDP
settings on port 2 and global LLDP settings on the Switch.
See Chapter 14 on page 59 for DCB configuration and examples.
This example shows global Switch LLDP settings.
sysname# conf i gur e
sysname( conf i g) # l l dp
sysname( conf i g) # i nt er f ace por t - channel 2
sysname( conf i g- i nt er f ace) # l l dp admi n- st at us t x- r x
sysname( conf i g- i nt er f ace) # l l dp basi c- t l v management - addr ess
sysname( conf i g- i nt er f ace) # l l dp basi c- t l v por t - descr i pt i on
sysname( conf i g- i nt er f ace) # l l dp basi c- t l v syst em- descr i pt i on
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
sysname# show l l dp conf i g i nt er f ace por t - channel 2
LLDP Por t Conf i gur at i on:
Por t Admi nSt at us Not i f i cat i on Basi cTLV Dot 1TLV Dot 3TLV
2 t x- r x Di sabl e P- D- M - - - - - -
Basi c TLV Fl ags: ( P) Por t Descr i pt i on, ( N) Syst emName, ( D) Syst em
Descr i pt i on
( C) Syst emCapabi l i t i es, ( M) Management Addr ess
802. 1 TLV Fl ags: ( P) Por t & Pr ot ocol VLAN I D, ( V) Por t VLAN I D
802. 3 TLV Fl ags: ( L) Li nk Aggr egat i on, ( M) MAC/ PHY Conf i gur at i on/ St at us
( F) Maxi mun Fr ame Si ze, ( P) Power Vi a MDI
sysname# show l l dp conf i g
LLDP Gl obal Conf i gur at i on:
Act i ve: Yes
Tr ansmi t I nt er val : 30 seconds
Tr ansmi t Hol d: 4
Tr ansmi t Del ay: 2 seconds
Rei ni t i al i ze Del ay: 2 seconds
sysname#
sysname# show l l dp conf i g
LLDP Gl obal Conf i gur at i on:
Act i ve: No
Tr ansmi t I nt er val : 30 seconds
Tr ansmi t Hol d: 4
Tr ansmi t Del ay: 2 seconds
Rei ni t i al i ze Del ay: 2 seconds
sysname#
Chapter 37 Link Layer Discovery Protocol (LLDP) Commands
Ethernet Switch CLI Reference Guide 164
The following table describes the labels in this screen.
This example shows LLDP settings on a port.
The following table describes the labels in this screen.
Table 108 Switch LLDP settings
LABEL DESCRIPTION
Active This displays whether LLDP is enabled on the Switch. It is disabled by
default.
Transmit Interval This displays how long the Switch waits before sending LLDP packets.
Transmit Hold This displays the time-to-live (TTL) multiplier of LLDP frames. The device
information on the neighboring devices ages out and is discarded when its
corresponding TTL expires. The TTL value is to multiply the TTL multiplier
by the LLDP packets transmitting interval.
Transmit Delay This displays the delay (in seconds) between the successive LLDP PDU
transmissions initiated by value or status changes in the Switch MIB.
Reinitialize Delay This displays the number of seconds for LLDP to wait before initializing on
a port.
sysname# show l l dp conf i g i nt er f ace por t - channel 2
LLDP Por t Conf i gur at i on:
Por t Admi nSt at us Not i f i cat i on Basi cTLV Dot 1TLV Dot 3TLV
2 t x- r x Di sabl e - - - - - - - EFA - - - -
Basi c TLV Fl ags: ( P) Por t Descr i pt i on, ( N) Syst emName, ( D) Syst emDescr i pt i on
( C) Syst emCapabi l i t i es, ( M) Management Addr ess
802. 1 TLV Fl ags: ( P) Por t & Pr ot ocol VLAN I D, ( V) Por t VLAN I D
( E) DCBX ETS Conf i gur at i on, ( F) DCBX PFC Conf i gur at i on
( A) DCBX Appl i cat i on Pr i or i t y Conf i gur at i on
802. 3 TLV Fl ags: ( L) Li nk Aggr egat i on, ( M) MAC/ PHY Conf i gur at i on/ St at us
( F) Maxi mun Fr ame Si ze, ( P) Power Vi a MDI
sysname#
Table 109 LLDP settings on a port
LABEL DESCRIPTION
Port This displays the port number with this LLDP configuration.
AdminStatus This displays whether LLDP transmission and/or reception is allowed on
this port.
Notification This displays whether LLDP notification is enabled on this port.
BasicTLV This shows which Basic TLC flags are enabled on this port. For example,
N is System Name.
Dot1TLV This shows which 802.1 TLV flags are enabled on this port. For example,
V is Port VLAN ID.
Dot3TLV This shows which 802.3 TLV flags are enabled on this port. For example, L
is Link Aggregation.
BasicTLV Flags The Basic TLV Flags are (P) Port Description, (N) System Name, (D)
System Description, (C) System Capabilities, and (M) Management
Address.
Chapter 37 Link Layer Discovery Protocol (LLDP) Commands
Ethernet Switch CLI Reference Guide 165
This example shows global Switch LLDP statistics.
The following table describes the labels in this screen.
This example shows LLDP statistics on a port
802.1TLV Flags The 802.1 TLV Flags are (P) Port & Protocol VLAN ID, (V) Port VLAN ID,
(E) DCBX ETS Configuration, (F) DCBX PFC Configuration and (A) DCBX
Application Priority Configuration.
802.3TLV Flags The 802.3 TLV Flags are (L) Link Aggregation, (M) MAC/PHY
Configuration/Status, (F) Maximun Frame Size, and (P) Power Via MDI.
sysname# show l l dp st at i st i c
LLDP Gl obal St at i st i c:
Nei ghbor Ent r i es Li st Last Updat e: 0: 00: 00
New Nei ghbor Ent r i es Count : 0
Nei ghbor Ent r i es Del et ed Count : 0
Nei ghbor Ent r i es Dr opped Count : 0
Nei ghbor Ent r i es Ageout Count : 0
sysname#
Table 110 Switch LLDP statistics
LABEL DESCRIPTION
Neighbor Entries List Last Update This displays the time the LLDP database was last updated for
this and neighboring Switches.
New Neighbor Entries Count This displays the number of new neighbors added to the LLDP
database since the last update.
Neighbor Entries Deleted Count This displays the number of neighbors deleted from the LLDP
database since the last update.
Neighbor Entries Dropped Count This displays the number of neighbors dropped from the LLDP
database since the last update.
Neighbor Entries Ageout Count This displays the number of neighbors with expired TTLs since
the last update.
sysname# show l l dp st at i st i c i nt er f ace por t - channel 1
LLDP Por t St at i st i c:
Local Por t : 1
Fr ames Di scar ded: 0
Fr ames I nval i d: 0
Fr ames Recei ved: 0
Fr ames Sent : 0
TLVs Unr ecogni zed: 0
TLVs Di scar ded: 0
Nei ghbor Ageout s: 0
sysname#
Table 109 LLDP settings on a port (continued)
LABEL DESCRIPTION
Chapter 37 Link Layer Discovery Protocol (LLDP) Commands
Ethernet Switch CLI Reference Guide 166
The following table describes the labels in this screen.
This example shows local Switch (the Switch youre accessing) LLDP information
The following table describes the labels in this screen.
Table 111 LLDP statistics on a port
LABEL DESCRIPTION
Local Port This displays the port number with these LLDP statistics.
Frames Discarded This displays the number of discarded frames on this port.
Frames Invalid This displays the number of invalid frames on this port.
Frames Received This displays the number of frames received on this port.
Frames Sent This displays the number of frames sent on this port.
TLVs Unrecognized This displays the number of unrecognized TLVS on this port.
TLVs Discarded This displays the number of discarded TLVs on this port.
Neighbor Ageouts This displays the number of neighbors with expired TTLs on this port.
sysname# show l l dp i nf o l ocal
LLDP Gl obal Local Devi ce I nf or mat i on:
Chassi s I D Subt ype: mac- addr ess
Chassi s I D: 00: 19: cb: 00: 00: 02
Syst emName: sysname
Syst emDescr i pt i on: V4. 00( AAEW. 0) b7 | 12/ 11/ 2012
Syst emCapabi l i t i es Suppor t ed: Br i dge
Syst emCapabi l i t i es Enabl ed: Br i dge
Management Addr ess :
Management Addr ess Subt ype: i pv4 / al l - 802
I nt er f ace Number Subt ype: unknown
I nt er f ace Number : 0
Obj ect I dent i f i er : 0
sysname#
Table 112 Local LLDP Information
LABEL DESCRIPTION
LLDP Global Local
Device Information
This contans the chassis ID subtype, chassis ID, and system name.
System Description This shows the firmware version number and date released.
System Capabilities
Supported
This shows what functionality the Switch supports.
System Capabilities
Enabled
This shows what functionality is enabled on the Switch.
Management Address This contains the management address subtype, interface number
subtype, interface number, and object identifier.
Chapter 37 Link Layer Discovery Protocol (LLDP) Commands
Ethernet Switch CLI Reference Guide 167
This example shows local Switch (the Switch youre accessing) LLDP information on a port.
The following table describes the labels in this screen.
sysname# show l l dp i nf o l ocal i nt er f ace por t - channel 2
LLDP Local Devi ce I nf or mat i on Det ai l :
Local Por t : 2
Por t I D Subt ype: l ocal - assi gned
Por t I D: 2
Por t Descr i pt i on:
Ext ended TLV I nf o 802. 1 OUI ( hex val ue) = 00- 80- c2
- Por t VLAN I D
- I D: 1
- DCBX Appl i cat i on Pr i or i t y
- et her - t ype: f coe Pr i or i t y: 2
- DCBX ETS Conf i gur at i on
- Wi l l i ng Bi t : Fal se
- Max Tr af f i c Cl asses: 3
- Pr i or i t y- Gr oup 2: St r i ct - pr i or i t y, Pr i or i t y- l i st : 7
- Pr i or i t y- Gr oup 1: ETS Bandwi dt h 50%, Pr i or i t y- l i st : 3- 6
- Pr i or i t y- Gr oup 0: ETS Bandwi dt h 50%, Pr i or i t y- l i st : 0- 2
- DCBX PFC Conf i gur at i on
- Wi l l i ng Bi t : Tr ue
- PFC capabi l i t y: 8
- Pr i or i t y enabl e l i st : 0- 2
Ext ended TLV I nf o 802. 3 OUI ( hex val ue) = 00- 12- 0f
- MAC PHY Conf i gur at i on & St at us
- AN Suppor t ed: Y
- AN Enabl ed: Y
- AN Adver t i sed Capabi l i t y: 1000baseTFD
- Oper MAU t ype: 30
- Li nk Aggr egat i on
- Capabi l i t y: Y
- St at us: N
- Por t I D: 2
- Max Fr ame Si ze
- Fr ame Si ze: 1518
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
sysname#
Table 113 Local Switch LLDP information on a port
LABEL DESCRIPTION
LLDP Local Device
Information Detail
This displays the local port, port ID, and port description.
Port VLAN ID This displays the VLAN ID for this port.
DCBX Application
Priority
This displays the priority given to FCoE traffic on the Switch.
DCBX ETS
Configuration
This displays the Willing Bit, Max Traffic Classes, and Traffic Class binding
for each priority.
DCBX PFC
Configuration
This displays the Willing Bit, PFC capability, and priority enable list.
MAC PHY Configuration
& Status
This displays the AN Supported, AN Enabled, AN Advertised Capability,
Oper MAU type
Chapter 37 Link Layer Discovery Protocol (LLDP) Commands
Ethernet Switch CLI Reference Guide 168
This example shows remote Switch (the Switch connected to the port on the Switch youre
accessing) LLDP information.
The following table describes the labels in this screen.
Link Aggregation This displays the capability, status, and port ID.
Max Frame Size This displays the maximum frame size on this port.
sysname# show l l dp i nf o r emot e i nt er f ace por t - channel 2
LLDP Remot e Devi ce I nf or mat i on Det ai l :
Local Por t : 2
Chassi s I D Subt ype: mac- addr ess
Chassi s I D: 00: 19: cb: 00: 00: 02
Por t I D Subt ype: l ocal - assi gned
Por t I D: 47
Ti me To Li ve: 120
Ext ended TLV I nf o 802. 1 OUI ( hex val ue) = 00- 80- c2
- Por t VLAN I D
- I D: 1
- DCBX Appl i cat i on Pr i or i t y
et her - t ype: f coe Pr i or i t y: 2
- DCBX ETS Conf i gur at i on
- Wi l l i ng Bi t : Fal se
- Max Tr af f i c Cl asses: 3
- Pr i or i t y- Gr oup 7: St r i ct - pr i or i t y, Pr i or i t y- l i st : -
- Pr i or i t y- Gr oup 6: St r i ct - pr i or i t y, Pr i or i t y- l i st : -
- Pr i or i t y- Gr oup 5: St r i ct - pr i or i t y, Pr i or i t y- l i st : -
- Pr i or i t y- Gr oup 4: St r i ct - pr i or i t y, Pr i or i t y- l i st : -
- Pr i or i t y- Gr oup 3: St r i ct - pr i or i t y, Pr i or i t y- l i st : -
- Pr i or i t y- Gr oup 2: St r i ct - pr i or i t y, Pr i or i t y- l i st : 7
- Pr i or i t y- Gr oup 1: ETS Bandwi dt h 50%, Pr i or i t y- l i st : 3- 6
- Pr i or i t y- Gr oup 0: ETS Bandwi dt h 50%, Pr i or i t y- l i st : 0- 2
- DCBX PFC Conf i gur at i on
- Wi l l i ng Bi t : Tr ue
- PFC capabi l i t y: 8
- Pr i or i t y enabl e l i st : 0- 2
Ext ended TLV I nf o 802. 3 OUI ( hex val ue) = 00- 12- 0f
- Max Fr ame Si ze
- Fr ame Si ze: 1518
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
sysname#
Table 114 Remote Switch LLDP information
LABEL DESCRIPTION
LLDP Remote Device
Information Detail
This contains the following information:
Local Port This is the local port number which receives the LLDPDU from the remote
Switch.
Chassis ID Subtype This displays how the chassis of the remote Switch is identified.
Chassis ID This displays the chassis ID of the remote Switch. The chassis ID is
identified by the chassis ID subtype.
Table 113 Local Switch LLDP information on a port (continued)
LABEL DESCRIPTION
Chapter 37 Link Layer Discovery Protocol (LLDP) Commands
Ethernet Switch CLI Reference Guide 169
Port ID Subtype This displays how the port is identified.
Port ID This is the ID of the remote Switch.
Time To Live This displays the time-to-live (TTL) multiplier of LLDP frames. The device
information on the neighboring devices ages out and is discarded when its
corresponding TTL expires. The TTL value is to multiply the TTL multiplier
by the LLDP frames transmitting interval.
Extended TLV Info 802.1
OUI (hex value)
The 802.1 organizationally specific TLVs start with the 24-bit
organizationally unique identifier (OUI) and a 1 byte organizationally
specific subtype followed by data. Each organization is responsible for
managing their subtypes.
Port VLAN ID This TLV displays the VLAN ID for the remote Switch.
DCBX Application
Priority
This TLV displays the priority given to FCoE traffic on the remote Switch.
DCBX ETS
Configuration
This TLV displays the willing bit, ETS capability and traffic class settings
configured by ETS on the remote Switch.
DCBX PFC
Configuration
This TLV displays the willing bit, PFC capability, and enabled priority list
configured by PFC on the remote Switch.
Extended TLV Info 802.3
OUI (hex value)
The 802.3 organizationally specific TLVs start with the 24-bit
organizationally unique identifier (OUI) and a 1 byte organizationally
specific subtype followed by data. Each organization is responsible for
managing their subtypes.
Max Frame Size This TLV displays the maximum transmission unit (MTU) sent by the
remote Switch.
Table 114 Remote Switch LLDP information (continued)
LABEL DESCRIPTION
Ethernet Switch CLI Reference Guide 170
CHAPTER 38
Load Sharing Commands
38.1 Load Sharing Overview
The Switch learns the next-hop(s) using ARP and determines routing path(s) for a destination.
The Switch supports Equal-Cost MultiPath (ECMP) to forward packets destined to the same
device through different routing paths of equal path cost. This allows you to balance or share
traffic loads between multiple routing paths when the Switch is connected to more than one
next-hop. ECMP works with static routes or a routing protocol, such as OSPF.
With ECMP, packets are routed through the paths of equal cost according to the hash
algorithm output.
38.2 Command Summary
The following section lists the commands for this feature.
Table 115 load-sharing Command Summary
COMMAND DESCRIPTION M P
i p l oad- shar i ng Enables load sharing on the Switch. C 13
i p l oad- shar i ng <si p| si p- di p> Sets the criteria the Switch uses to determine the routing path
for a packe.
si p: the Switch uses a hash algorithm to convert a packets
source IP address into a hash value which acts as an index to
a route path.
si p- di p: the Switch uses a hash algorithm to convert a
packets source and destination IP addresses into a hash
value which acts as an index to a route path.
C 13
i p l oad- shar i ng agi ng- t i me <0-
86400>
Sets the time interval (from 0 to 86400 in increments of 10) in
seconds at which the Switch sends an ARP request to update
a resolved next-hops MAC address.
C 13
i p l oad- shar i ng di scover - t i me
<0- 86400>
Sets the time interval (from 0 to 86400 in increments of 10) in
seconds at which the Switch sends an ARP request to update
an unresolved next-hops MAC address.
C 13
no i p l oad- shar i ng Disables load sharing on the Switch. C 13
Chapter 38 Load Sharing Commands
Ethernet Switch CLI Reference Guide 171
38.3 Command Examples
This example enables Equal-Cost MultiPath (ECMP) routing on the Switch and sets the
Switch to use a packets source and destination IP addresses to determine the routing path for
the packet.
sysname# conf i gur e
sysname( conf i g) # i p l oad- shar i ng
sysname( conf i g) # i p l oad- shar i ng si p- di p
sysname( conf i g) #
Ethernet Switch CLI Reference Guide 172
CHAPTER 39
Logging Commands
Use these commands to manage system logs.
39.1 Command Summary
The following section lists the commands for this feature.
39.2 Command Examples
This example displays the system logs.
Table 116 logging Command Summary
COMMAND DESCRIPTION M P
show l oggi ng Displays system logs. E 3
cl ear l oggi ng Clears system logs. E 13
no l oggi ng Clears system logs. E 13
sysname# show l oggi ng
1 Thu J an 1 00: 02: 08 1970 PP05 - WARN SNMP TRAP 3: l i nk up
2 Thu J an 1 00: 03: 14 1970 I NFO adj t i me t ask pause 1 day
3 Thu J an 1 00: 03: 16 1970 PP0f - WARN SNMP TRAP 26: Event On Tr ap
4 Thu J an 1 00: 03: 16 1970 PI NI - WARN SNMP TRAP 1: war mst ar t
5 Thu J an 1 00: 03: 16 1970 PI NI - WARN SNMP TRAP 3: l i nk up
6 Thu J an 1 00: 03: 16 1970 PI NI I NFO mai n: i ni t compl et ed
7 Thu J an 1 00: 00: 13 1970 PP26 I NFO adj t i me t ask pause 1 day
8 Thu J an 1 00: 00: 14 1970 PP0f - WARN SNMP TRAP 26: Event On Tr ap
9 Thu J an 1 00: 00: 14 1970 PI NI - WARN SNMP TRAP 0: col d st ar t
10 Thu J an 1 00: 00: 14 1970 PI NI I NFO mai n: i ni t compl et ed
11 Thu J an 1 00: 00: 04 1970 PP05 - WARN SNMP TRAP 3: l i nk up
11 Thu J an 1 00: 00: 04 1970 PP05 - WARN SNMP TRAP 3: l i nk up
sysname#
Ethernet Switch CLI Reference Guide 173
CHAPTER 40
Login Account Commands
Use these commands to configure login accounts on the Switch.
40.1 Password Encryption
See Section 53.1 on page 208 for information on this feature.
40.2 Command Summary
The following section lists the commands for this feature.
40.3 Command Examples
This example creates a new user user2 with privilege 13.
logins Command Summary
COMMAND DESCRIPTION M P
show l ogi ns Displays login account information. E 3
l ogi ns user name <name> passwor d
[ ci pher ] <password> pr i vi l ege
<0-14>
Creates account with the specified user name and sets the
password and privilege. The privilege level is applied the next
time the user logs in.
name: 1-32 alphanumeric characters.
password: 32 alphanumeric characters.
ci pher : inform the Switch that the string after the word
"cipher" is an encrypted secret. This is used for password
encryption. To encrypt the password, use the passwor d
encr ypt i on command.
C 14
no l ogi ns user name <name> Removes the specified account. C 14
sysname# conf i g
sysname( conf i g) # l ogi ns user name user 2 passwor d 1234 pr i vi l ege 13
sysname( conf i g) # exi t
sysname# show l ogi ns
Logi n User name Pr i vi l ege
1 user 2 13
2 0
3 0
4 0
Chapter 40 Login Account Commands
Ethernet Switch CLI Reference Guide 174
Ethernet Switch CLI Reference Guide 175
CHAPTER 41
Loopguard Commands
Use these commands to configure the Switch to guard against loops on the edge of your
network. The Switch shuts down a port if the Switch detects that packets sent out on the port
loop back to the Switch.
41.1 Command Summary
The following section lists the commands for this feature.
Table 117 loopguard Command Summary
COMMAND DESCRIPTION M P
show l oopguar d Displays which ports have loopguard enabled as well as their
status.
E 3
l oopguar d Enables loopguard on the Switch. C 13
no l oopguar d Disables loopguard on the Switch. C 13
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
l oopguar d Enables the loopguard feature on the port(s). You have to
enable loopguard on the Switch as well. The Switch shuts
down a port if the Switch detects that packets sent out on the
port loop back to the Switch.
C 13
no l oopguar d Disables the loopguard feature on the port(s). C 13
cl ear l oopguar d Clears loopguard counters. E 13
Chapter 41 Loopguard Commands
Ethernet Switch CLI Reference Guide 176
41.2 Command Examples
This example enables loopguard on ports 1-3.
The following table describes the labels in this screen.
sysname# conf i gur e
sysname( conf i g) # l oopguar d
sysname( conf i g) # i nt er f ace por t - channel 1- 3
sysname( conf i g- i nt er f ace) # l oopguar d
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
sysname# show l oopguar d
LoopGuar d St at us: Enabl e
Por t Por t LoopGuar d Tot al Tot al Bad Shut down
No St at us St at us TxPkt s RxPkt s Pkt s Ti me
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 Act i ve Enabl e 0 0 0 00: 00: 00 UTC J an 1 1970
2 Act i ve Enabl e 0 0 0 00: 00: 00 UTC J an 1 1970
3 Act i ve Enabl e 0 0 0 00: 00: 00 UTC J an 1 1970
4 Act i ve Di sabl e 0 0 0 00: 00: 00 UTC J an 1 1970
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SNI P - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 118 show loopguard
LABEL DESCRIPTION
LoopGuard Status This field displays whether or not loopguard is enabled on the Switch.
Port No This field displays the port number.
Port Status This field displays whether or not the port is active.
LoopGuard Status This field displays whether or not loopguard is enabled on the port.
Total TxPkts This field displays the number of packets that have been sent on this port
since loopguard was enabled on the port.
Total RxPkts This field displays the number of packets that have been received on this
port since loopguard was enabled on the port.
Bad Pkts This field displays the number of invalid probe packets that were received
on this port.
Shutdown Time This field displays the last time the port was shut down because a loop
state was detected.
Ethernet Switch CLI Reference Guide 177
CHAPTER 42
MAC Address Commands
Use these commands to look at the MAC address table and to configure MAC address
learning. The Switch uses the MAC address table to determine how to forward frames.
42.1 Command Summary
The following section lists the commands for this feature.
Table 119 mac, mac-aging-time, and mac-flush Command Summary
COMMAND DESCRIPTION M P
show mac- agi ng- t i me Displays MAC learning aging time. E 3
mac- agi ng- t i me <10- 1000000> Sets learned MAC aging time in seconds. C 13
show mac addr ess- t abl e al l
[ <sort>]
Displays MAC address table. You can sort by MAC address,
VID or port.
sort: MAC, VID, or PORT.
E 3
show mac addr ess- t abl e count Displays the total number of MAC addresses in the MAC
address table.
E 3
show mac addr ess- t abl e por t
<port-list> [ <sort>]
Displays the MAC address table for the specified port(s).
Sorted by MAC, Port or VID.
sort: MAC, VID, or PORT.
E 3
show mac addr ess- t abl e st at i c Displays the static MAC address table. E 3
show mac addr ess- t abl e vl an
<vlan-list> [ <sort>]
Displays the MAC address table for the specified VLAN(s).
Optionally, sorted by MAC, Port or VID.
sort: MAC, VID, or PORT.
E 3
show mac addr ess- t abl e mac <mac-
addr >
Displays a specified MAC entry. E 3
show mac addr ess- t abl e mul t i cast Displays the multicast MAC addresses learned by the Switch. E 3
mac- f l ush [ <port-num>] Clears the MAC address table. Optionally, removes all
learned MAC address on the specified port.
E 13
mac- t r ansf er dynami c- t o- f i l t er
mac <mac-addr>
Displays and changes a dynamically learned MAC address
entry into a MAC filtering entry.
C 13
mac- t r ansf er dynami c- t o- f i l t er
i nt er f ace por t - channel <port-
list>
Displays and changes all dynamically learned MAC address
entries on the specified port(s) into MAC filtering entries.
C 13
mac- t r ansf er dynami c- t o- f i l t er
vl an <vlan-list>
Displays and changes all dynamically learned MAC address
entries in the specified VLAN(s) into MAC filtering entries
C 13
mac- t r ansf er dynami c- t o- f or war d
mac <mac-addr>
Displays and changes a dynamically learned MAC address
entry into a MAC forwarding entry.
C 13
Chapter 42 MAC Address Commands
Ethernet Switch CLI Reference Guide 178
42.2 Command Examples
This example shows the current MAC address table.
The following table describes the labels in this screen.
mac- t r ansf er dynami c- t o- f or war d
i nt er f ace por t - channel <port-
list>
Displays and changes all MAC addresses dynamically
learned on the specified port(s) into static MAC addresses.
C 13
mac- t r ansf er dynami c- t o- f or war d
vl an <vlan-list>
Displays and changes all dynamically learned MAC
addresses in the specified VLAN(s) into static MAC
addresses.
C 13
Table 119 mac, mac-aging-time, and mac-flush Command Summary (continued)
COMMAND DESCRIPTION M P
sysname# show mac addr ess- t abl e al l
Por t VLAN I D MAC Addr ess Type
2 1 00: 00: e8: 7c: 14: 80 Dynami c
2 1 00: 04: 80: 9b: 78: 00 Dynami c
2 1 00: 0f : f e: ad: 58: ab Dynami c
2 1 00: 13: 49: 6b: 10: 55 Dynami c
2 1 00: 13: d3: f 0: 7e: f 0 Dynami c
2 1 00: 18: f 8: 04: f 5: 67 Dynami c
2 1 00: 80: c8: ef : 81: d3 Dynami c
2 1 00: a0: c5: 00: 00: 01 Dynami c
Table 120 show mac address-table
LABEL DESCRIPTION
Port This is the port from which the above MAC address was learned.
Drop: The entry is created from a filtering rule.
VLAN ID This is the VLAN group to which this frame belongs.
MAC Address This is the MAC address of the device from which this frame came.
Type This shows whether the MAC address is dynamic (learned by the Switch)
or static (manually entered using mac- f or war d commands, see Chapter
45 on page 183).
Ethernet Switch CLI Reference Guide 179
CHAPTER 43
MAC Authentication Commands
Use these commands to configure MAC authentication on the Switch.
43.1 MAC Authentication Overview
MAC authentication allows you to validate access to a port based on the MAC address and
password of the client.
You also need to configure a RADIUS server (see Chapter 63 on page 240).
See also Chapter 27 on page 105 for IEEE 802.1x port authentication commands and Chapter
57 on page 220 for port security commands.
43.2 Command Summary
The following section lists the commands for this feature.
Table 121 mac-authentication Command Summary
COMMAND DESCRIPTION M P
show mac- aut hent i cat i on Displays MAC authentication settings for the Switch. E 3
show mac- aut hent i cat i on conf i g Displays MAC authentication settings on a port by port basis
with authentication statistics for each port.
E 3
mac- aut hent i cat i on Enables MAC authentication on the Switch. C 13
mac- aut hent i cat i on namepr ef i x
<name-string>
Sets the prefix appended to the MAC address before it is sent
to the RADIUS server for authentication. The prefix can be up
to 32 printable ASCII characters.
C 13
mac- aut hent i cat i on passwor d
<name-string>
Sets the password sent to the RADIUS server for clients
using MAC authentication. The password can be up to 32
printable ASCII characters.
C 13
mac- aut hent i cat i on t i meout <1-
3000>
Specifies the amount of time before the Switch allows a client
MAC address that fails authentication to try and authenticate
again.
This settings is superseded by the mac- agi ng- t i me
command.
C 13
no mac- aut hent i cat i on Disables MAC authentication on the Switch. C 13
Chapter 43 MAC Authentication Commands
Ethernet Switch CLI Reference Guide 180
43.3 Command Examples
This example enables MAC authentication on the Switch. Specifies the name prefix
clientName and the MAC authentication password Lech89. Next, MAC authentication is
activated on ports 1 - 5 and configuration details are displayed.
no mac- aut hent i cat i on t i meout Sets the MAC address entries learned via MAC
authentication to never age out.
C 13
i nt er f ace por t - channel <port-
list>
Enables a port or a list of ports for configuration. C 13
mac- aut hent i cat i on Enables MAC authentication via a RADIUS server on the
port(s).
C 13
no mac- aut hent i cat i on Disables MAC authentication via a RADIUS server on the
port(s).
C 13
Table 121 mac-authentication Command Summary (continued)
COMMAND DESCRIPTION M P
sysname( conf i g) # mac- aut hent i cat i on
sysname( conf i g) # mac- aut hent i cat i on namepr ef i x cl i ent Name
sysname( conf i g) # mac- aut hent i cat i on passwor d Lech89
sysname( conf i g) # i nt er f ace por t - channel 1- 5
sysname( conf i g- i nt er f ace) # mac- aut hent i cat i on
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
sysname# show mac- aut hent i cat i on
NamePr ef i x: cl i ent Name
Passwor d: Lech89
Updat e Ti me: None
Deny Number : 0
Ethernet Switch CLI Reference Guide 181
CHAPTER 44
MAC Filter Commands
Use these commands to filter traffic going through the Switch based on the MAC addresses
and VLAN group (ID).
Use the running configuration commands to look at the current MAC filter
settings. See Chapter 67 on page 253.
MAC filtering implementation differs across Switch models.
Some models allow you to specify a filter rule and discard all packets with the specified
MAC address (source or destination) and VID.
Other models allow you to choose whether you want to discard traffic originating from the
specified MAC address and VID (src), sent to the specified MAC address (dst) or both.
See Section 44.2 on page 182 and Section 44.3 on page 182 for examples.
44.1 Command Summary
The following section lists the commands for this feature.
Table 122 mac-filter Command Summary
COMMAND DESCRIPTION M P
mac- f i l t er name <name> mac <mac-
addr> vl an <vlan-id>
Configures a static MAC address port filtering rule.
name: 1-32 alphanumeric characters
C 13
no mac- f i l t er mac <mac-addr>
vl an <vlan-id>
Deletes the specified MAC filter rule. C 13
mac- f i l t er name <name> mac <mac-
addr> vl an <vlan-id> i nact i ve
Disables a static MAC address port filtering rule.
name: 1-32 alphanumeric characters
C 13
no mac- f i l t er mac <mac-addr>
vl an <vlan-id> i nact i ve
Enables the specified MAC-filter rule. C 13
mac- f i l t er name <name> mac <mac-
addr> vl an <vlan-id> dr op
<sr c| dst | bot h>
Specifies the source and or destination filter parameters. C 13
Chapter 44 MAC Filter Commands
Ethernet Switch CLI Reference Guide 182
44.2 Command Example
This example creates a MAC filter called filter1 that drops packets coming from or going to
the MAC address 00:12:00:12:00:12 on VLAN 1.
44.3 Command Example: Filter Source
The next example is for Switches that support the filtering of frames based on the source or
destination MAC address only. This example creates a filter sourcefilter that drops packets
originating from the MAC address af:af:01:01:ff:02 on VLAN 2.
sysname( conf i g) # mac- f i l t er name f i l t er 1 mac 00: 12: 00: 12: 00: 12 vl an 1
sysname( conf i g) # mac- f i l t er name sour cef i l t er mac af : af : 01: 01: f f : 02 vl an 2
dr op sr c
Ethernet Switch CLI Reference Guide 183
CHAPTER 45
MAC Forward Commands
Use these commands to configure static MAC address forwarding.
Use the mac commands to look at the current mac- f or war d settings. See
Chapter 42 on page 177.
45.1 Command Summary
The following table describes user-input values available in multiple commands for this
feature.
The following section lists the commands for this feature.
Table 123 mac-forward User-input Values
COMMAND DESCRIPTION
name 1-32 alphanumeric characters
Table 124 mac-forward Command Summary
COMMAND DESCRIPTION M P
mac- f or war d name <name> mac
<mac-addr> vl an <vlan-id>
i nt er f ace <interface-id>
Configures a static MAC address forwarding rule. C 13
no mac- f or war d mac <mac-addr>
vl an <vlan-id> i nt er f ace
<interface-id>
Removes the specified MAC forwarding entry, belonging to a
VLAN group forwarded through an interface.
C 13
mac- f or war d name <name> mac
<mac-addr> vl an <vlan-id>
i nt er f ace <interface-id>
i nact i ve
Disables a static MAC address forwarding rule. C 13
no mac- f or war d mac <mac-addr>
vl an <vlan-id> i nt er f ace
<interface-id> i nact i ve
Enables the specified MAC address, belonging to a VLAN
group forwarded through an interface.
C 13
Ethernet Switch CLI Reference Guide 184
CHAPTER 46
MAC Pinning Commands
Use these commands to configure MAC pinning to set a port or multiple ports to have priority
over other ports in MAC address learning. That means when a MAC address (and VLAN ID)
is learned on a MAC-pinning-enabled port, the MAC address will not be learned on any other
port until the aging time for the dynamically learned MAC address in the table expires.
46.1 Command Summary
The following table describes user-input values available in multiple commands for this
feature.
The following section lists the commands for this feature.
Table 125 mac-pinning User-input Values
COMMAND DESCRIPTION
port-list The port number or a range of port numbers that you want to configure.
Possible values range from 1 to the number of ports on your Switch.
Table 126 mac-pinning Command Summary
COMMAND DESCRIPTION M P
mac- pi nni ng Enables MAC pinning on the Switch. C 13
no mac- pi nni ng Disables MAC pinning on the Switch. C 13
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
mac- pi nni ng Enables MAC pinning on the specified port(s). C 13
no mac- pi nni ng Disables MAC pinning on the specified port(s). C 13
show mac- pi nni ng Displays MAC pinning settings E 3
Chapter 46 MAC Pinning Commands
Ethernet Switch CLI Reference Guide 185
46.2 Command Examples
This example enables MAC pinning on the Switch and port 3. It also shows the MAC pinning
status.
sysname( conf i g) # i nt er f ace por t - channel 3
sysname( conf i g- i nt er f ace) # mac- pi nni ng
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
sysname# show mac- pi nni ng
MAC Pi nni ng St at us: Enabl e
Por t Act i ve
- - - - - - - - - - - -
1 No
2 No
3 Yes
4 No
5 No
6 No
7 No
8 No
9 No
10 No
11 No
12 No
13 No
14 No
15 No
16 No
17 No
18 No
19 No
20 No
21 No
22 No
23 No
24 No
25 No
26 No
27 No
28 No
sysname#
Ethernet Switch CLI Reference Guide 186
CHAPTER 47
Mirror Commands
Use these commands to copy a traffic flow for one or more ports to a monitor port (the port
you copy the traffic to) so that you can examine the traffic on the monitor port without
interference.
In local port mirroring, the mirroring ports (through which traffic you copy passes) and the
monitor port are on the same device.
In remote port mirroring (RMirror), the mirroring ports and monitor port can be on different
devices in a network. You can use it to monitor multiple switches across your network. The
traffic from the source devices mirroring port(s) is sent to a reflector port for VLAN tagging
and copied to the connected port(s). Traffic are then carried over the specified remote port
mirroring (RMirror) VLAN and sent to the destination devices monitor port through the
connected ports that connect to other switches.
Single-Destination RMirror
If the mirrored traffic is forwarded to one single destination switch, you can disable the
reflector port. The Switch adds RMirror VLAN tag and forwards mirrored traffic from the
mirroring port to the connected port directly.
Multi-Destination RMirror
If you configure more than one connected port on the source switch to forward the mirrored
traffic to multiple destination switches, you must enable a reflector port on the source switch.
Use the running configuration commands to look at the current mirror settings.
See Chapter 67 on page 253.
mi r r or - f i l t er commands are not supported on all Switch models.
Chapter 47 Mirror Commands
Ethernet Switch CLI Reference Guide 187
47.1 Command Summary
The following section lists the commands for this feature.
Table 127 mirror Command Summary
COMMAND DESCRIPTION M P
mi r r or - por t Enables port mirroring on the Switch. C 13
mi r r or - por t <port-num> Specifies the monitor port (the port to which traffic flow is
copied) for port mirroring.
C 13
no mi r r or - por t Disables port mirroring on the Switch. C 13
no mi r r or - por t <port-num> Removes the specified monitor port.
port-num: in a modular switch, enter the port number
preceded by a slot number and backslash (/). For example, 3/
11 indicates port 11 on the card in the third slot.
C 13
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s).
port-list: in a modular switch, enter the port number
preceded by a slot number and backslash (/). For example, 3/
11 indicates port 11 on the card in the third slot. Use a comma
(,) to separate individual ports or a desh (-) to indicates a
range of ports. For example, 3/11,4/5 or 3/7-3/9.
C 13
mi r r or Enables port mirroring in the interface. C 13
mi r r or di r
<i ngr ess| egr ess| bot h>
Enables port mirroring for incoming (i ngr ess), outgoing
(egr ess) or both incoming and outgoing (bot h) traffic.
C 13
no mi r r or Disables port mirroring on the port(s). C 13
Table 128 mirror-filter Command Summary
COMMAND DESCRIPTION M P
mi r r or - f i l t er egr ess mac <mac-
addr>
Copies outgoing frames with the specified source or
destination MAC address from mirrored ports to the monitor
port.
C 13
mi r r or - f i l t er egr ess t ype
<al l | dest | sr c>
Thi s command wor ks wi t h t he pr evi ous command,
mi r r or - f i l t er egr ess mac.
al l : Specifies that the Switch should copy all outgoing traffic
from mirrored ports.
dest : Specifies that the Switch should copy all outgoing
traffic with the specified destination MAC address from
mirrored ports.
sr c: Specifies that the Switch should copy outgoing traffic
with the specified source MAC address from mirrored ports.
C 13
mi r r or - f i l t er i ngr ess mac <mac-
addr>
Copies incoming frames matching with the specified source
or destination MAC address from mirrored ports to the
monitor port.
C 13
mi r r or - f i l t er i ngr ess t ype
<al l | dest | sr c>
Thi s command wor ks wi t h t he pr evi ous command,
mi r r or - f i l t er i ngr ess mac.
al l : Specifies that the Switch should copy all outgoing traffic
from mirrored ports.
dest : Specifies that the Switch should copy all incoming
traffic with the specified destination MAC address from
mirrored ports.
sr c: Specifies that the Switch should copy all incoming traffic
with the specified source MAC address from mirrored ports.
C 13
show mi r r or Displays mirror settings of the Switch. E 3
Chapter 47 Mirror Commands
Ethernet Switch CLI Reference Guide 188
47.2 Command Examples
This example enables port mirroring and copies outgoing traffic from ports 1, 4, 5, and 6 to
port 3.
Table 129 rmirror Command Summary
COMMAND DESCRIPTION M P
r mi r r or vl an <vlan-id> Enters config-rmirror mode to create a remote port mirroring
(RMirror) VLAN through which the mirrored traffic is
forwarded.
C 13
connect ed- por t <port-list> Sets the port(s) that helps forward mirrored traffic to other
connected switches and/or receive mirrored traffic from other
connected port in the same RMirror VLAN.
C 13
no connect ed- por t <port-
list>
Removes the specified connected port(s) from this RMirror
VLAN.
C 13
dest i nat i on moni t or - por t
<port-num>
<unt agged| t agged>
Sets the port to which you copy the traffic in order to examine
it in more detail without interfering with the traffic flow on the
original port(s). You can also set whether to add the RMirror
VLAN tag to mirrored traffic on the monitor port.
C 13
no dest i nat i on moni t or - por t Removes the destination monitor port from this RMirror
VLAN.
C 13
i nact i ve Disables the RMirror VLAN. C 13
no i nact i ve Enables the RMirror VLAN. C 13
sour ce 8021p- pr i or i t y <0 -
7>
Sets the priority of the mirrored traffic in this VLAN. C 13
sour ce mi r r or - por t <port-
list> di r
<i ngr ess| egr ess| bot h>
Sets the port(s) on which traffic is mirrored and the traffic flow
to be copied to the monitor port when the Switch is the source
device in remote port mirroring.
C 13
no sour ce mi r r or - por t <port-
list>
Sets the Switch to not mirror any traffic on the specified
port(s).
C 13
no sour ce mi r r or - por t <port-
list> di r egr ess
Sets the Switch to not mirror outgoing (egr ess) traffic on the
specified port(s).
C 13
no sour ce mi r r or - por t <port-
list> di r i ngr ess
Sets the Switch to not mirror incoming (i ngr ess) traffic on
the specified port(s).
C 13
sour ce r ef l ect or - por t Enables the source reflector port. C 13
sour ce r ef l ect or - por t <port-
num>
Sets the port that adds the RMirror VLAN tag to all mirrored
traffic and forwards traffic to the connected port(s) in the
same RMirror VLAN.
C 13
no sour ce r ef l ect or - por t Removes the source reflector port. C 13
no r mi r r or vl an <vlan-id> Removes the specified RMirror VLAN. C 13
show r mi r r or vl an Displays all RMirror VLANs settings on the Switch. E 3
show r mi r r or vl an <vlan-id> Displays the specified RMirror VLAN settings. E 3
sysname( conf i g) # mi r r or - por t
sysname( conf i g) # mi r r or - por t 3
sysname( conf i g) # i nt er f ace por t - channel 1, 4- 6
sysname( conf i g- i nt er f ace) # mi r r or
sysname( conf i g- i nt er f ace) # mi r r or di r egr ess
Chapter 47 Mirror Commands
Ethernet Switch CLI Reference Guide 189
This example displays the mirror settings of the Switch after you configured in the example
above.
This example creates an RMirror VLAN with a VLAN ID of 200 on the Switch, sets port 6 as
the reflector port and sets the priority of mirrored traffic to 3 in this RMirror VLAN when the
Switch is the source device. This example also specifies the ports (4 and 5) on which traffic
will be mirrored and shows the RMirror VLAN settings.
sysname# show mi r r or
Mi r r or i ng: enabl e
Moni t or por t : 3
Mi r r or ed por t : 1, 4- 6
I ngr ess:
Egr ess: 1, 4- 6
Bot h:
sysname# conf i gur e
sysname( conf i g) # r mi r r or vl an 200
sysname( conf i g- r mi r r or ) # sour ce r ef l ect or - por t 6
sysname( conf i g- r mi r r or ) # sour ce r ef l ect or - por t
sysname( conf i g- r mi r r or ) # sour ce 8021p- pr i or i t y 3
sysname( conf i g- r mi r r or ) # sour ce mi r r or - por t 4, 5
sysname( conf i g- r mi r r or ) # exi t
sysname( conf i g) # exi t
sysname# show r mi r r or vl an 200
RMi r r or VLAN: 200 Act i ve=Yes
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sour ce
802. 1p pr i or i t y : 3
Mi r r or - por t :
I ngr ess :
Egr ess :
Bot h : 4- 5
Ref l ect or - por t
Act i ve : Yes
Por t : 6
Dest i nat i on
Moni t or - por t :
Connect ed- por t :
sysname#
Ethernet Switch CLI Reference Guide 190
CHAPTER 48
MRSTP Commands
Use these commands to configure MRSTP on the Switch.
48.1 MRSTP Overview
The Switch allows you to configure multiple instances of Rapid Spanning Tree Protocol
(RSTP) as defined in the following standard.
IEEE 802.1w Rapid Spanning Tree Protocol
See Chapter 71 on page 266 for information on RSTP commands and Chapter 49 on page 192
for information on MSTP commands.
48.2 Command Summary
The following section lists the commands for this feature.
Table 130 Command Summary: mrstp
COMMAND DESCRIPTION M P
show mr st p <tree-index> Displays multiple rapid spanning tree configuration
for the specified tree.
tree-index: this is a number identifying the RSTP
tree configuration.
Note: The number of MRSTP tree
configurations supported differs by
model. Refer to your Users Guide
for details.
E 3
spanni ng- t r ee mode <RSTP| MRSTP| MSTP> Specifies the STP mode you want to implement on
the Switch.
C 13
mr st p <tree-index> Activates the specified MRSTP configuration. C 13
mr st p <tree-index> pr i or i t y <0- 61440> Sets the bridge priority of the Switch for the specified
MRSTP configuration.
C 13
mr st p <tree-index> hel l o- t i me <1- 10>
maxi mum- age <6- 40> f or war d- del ay <4-
30>
Sets the Hello Time, Maximum Age and Forward
Delay values on the Switch for the specified MRSTP
configuration.
C 13
mr st p i nt er f ace <port-list> Activates MRSTP on the specified ports. C 13
Chapter 48 MRSTP Commands
Ethernet Switch CLI Reference Guide 191
48.3 Command Examples
This example configures MRSTP in the following way:
Enables MRSTP on the Switch.
Activates tree 1 and sets the bridge priority, Hello Time, Maximum Age and Forward
Values for this RSTP configuration.
Activates MRSTP for ports 1-5 and sets path cost on these ports to 127.
Adds ports 1-5 to tree index 1.
In this example, we enable MRSTP on ports 21-24. Port 24 is connected to the host while ports
21-23 are connected to another switch.
mr st p i nt er f ace <port-list> edge- por t Sets the specified ports as edge ports. This allows
the port to transition to a forwarding state
immediately without having to go through the
listening and learning states.
Note: An edge port becomes a non-edge
port as soon as it receiveds a Bridge
Protocol Data Units (BPDU).
C 13
no mr st p i nt er f ace <port-list> edge-
por t
Sets the listed ports as non-edge ports. C 13
mr st p i nt er f ace <port-list> pat h- cost
<1- 65535>
Sets a path cost to the specified ports. C 13
mr st p i nt er f ace <port-list> pr i or i t y
<0- 255>
Sets the priority value to the specified ports for
MRSTP.
C 13
mr st p i nt er f ace <port-list> t r ee- i ndex
<tree-index>
Assigns the specified port list to a specific MRSTP
configuration.
C 13
no mr st p <tree-index> Disables the specified MRSTP configuration. C 13
no mr st p i nt er f ace <port-list> Disables the MRSTP assignment from the specified
port(s).
C 13
Table 130 Command Summary: mrstp
COMMAND DESCRIPTION M P
sysname( conf i g) # spanni ng- t r ee mode mr st p
sysname( conf i g) # mr st p 1
sysname( conf i g) # mr st p 1 pr i or i t y 16384
sysname( conf i g) # mr st p 1 hel l o- t i me 2 maxi mum- age 15 f or war d- del ay 30
sysname( conf i g) # mr st p i nt er f ace 1- 5
sysname( conf i g) # mr st p i nt er f ace 1- 5 pat h- cost 127
sysname( conf i g) # mr st p i nt er f ace 1- 5 t r ee- i ndex 1
sysname( conf i g) # conf i gur e
sysname( conf i g) # spanni ng- t r ee mode MRSTP
sysname( conf i g) # mr st p 1
sysname( conf i g) # mr st p i nt er f ace 21- 24
sysname( conf i g) # no mr st p i nt er f ace 21- 23 edge- por t
Ethernet Switch CLI Reference Guide 192
CHAPTER 49
MSTP Commands
Use these commands to configure Multiple Spanning Tree Protocol (MSTP) as defined in
IEEE 802.1s.
49.1 Command Summary
The following section lists the commands for this feature.
Table 131 mstp Command Summary
COMMAND DESCRIPTION M P
show mst p Displays MSTP configuration for the Switch. E 3
spanni ng- t r ee mode <RSTP| MRSTP| MSTP> Specifies the STP mode you want to implement on
the Switch.
C 13
mst p Activates MSTP on the Switch. C 13
no mst p Disables MSTP on the Switch. C 13
mst p conf i gur at i on- name <name> Sets a name for an MSTP region.
name: 1-32 printable characters
C 13
mst p r evi si on <0- 65535> Sets the revision number for this MST Region
configuration.
C 13
mst p hel l o- t i me <1- 10> maxi mum- age <6-
40> f or war d- del ay <4- 30>
Sets Hello Time, Maximum Age and Forward Delay.
hel l o- t i me: The time interval in seconds between
BPDU (Bridge Protocol Data Units) configuration
message generations by the root switch.
maxi mum- age: The maximum time (in seconds) the
Switch can wait without receiving a BPDU before
attempting to reconfigure.
f or war d- del ay: The maximum time (in seconds)
the Switch will wait before changing states.
C 13
mst p max- hop <1- 255> Sets the maximum hop value before BPDUs are
discarded in the MST Region.
C 13
mst p i nt er f ace por t - channel <port-
list> edge- por t
Sets the specified ports as edge ports. This allows
the port to transition to a forwarding state
immediately without having to go through the
listening and learning states.
Note: An edge port becomes a non-edge
port as soon as it receiveds a Bridge
Protocol Data Units (BPDU).
C 13
no mst p i nt er f ace por t - channel <port-
list> edge- por t
Sets the listed ports as non-edge ports. C 13
Chapter 49 MSTP Commands
Ethernet Switch CLI Reference Guide 193
49.2 Command Examples
This example shows the current MSTP configuration.
Table 132 mstp instance Command Summary
COMMAND DESCRIPTION M P
show mst p i nst ance <number> Displays the specified MSTP instance configuration. E 3
no mst p i nst ance <number> Disables the specified MST instance on the Switch. C 13
mst p i nst ance <number> pr i or i t y <0-
61440>
Specifies the bridge priority of the instance.
pr i or i t y: Must be a multiple of 4096.
C 13
mst p i nst ance <number> vl an <vlan-
list>
Specifies the VLANs that belongs to the instance. C 13
no mst p i nst ance <number> vl an <1- 4094> Disables the assignment of specific VLANs from an
MST instance.
C 13
mst p i nst ance <number> i nt er f ace por t -
channel <port-list>
Specifies the ports you want to participate in this
MST instance.
C 13
no mst p i nst ance <number> i nt er f ace
por t - channel <port-list>
Disables the assignment of specific ports from an
MST instance.
C 13
mst p i nst ance <number> i nt er f ace por t -
channel <port-list> pat h- cost <1-
65535>
Specifies the cost of transmitting a frame to a LAN
through the port(s). It is recommended you assign it
according to the speed of the bridge.
C 13
mst p i nst ance <number> i nt er f ace por t -
channel <port-list> pr i or i t y <0- 255>
Sets the priority for the specified ports. Priority
decides which port should be disabled when more
than one port forms a loop in a Switch. Ports with a
higher priority numeric value are disabled first.
C 13
sysname# show mst p
( a) Br i dgeMaxAge: 20 ( seconds)
( b) Br i dgeHel l oTi me: 2 ( seconds)
( c) Br i dgeFor war dDel ay: 15 ( seconds)
( d) Br i dgeMaxHops: 128
( e) Tr ansmi ssi onLi mi t : 3
( f ) For ceVer si on: 3
( g) MST Conf i gur at i on I D
For mat Sel ect or : 0
Conf i gur at i on Name: 001349aef b7a
Revei si on Number : 0
Conf i gur at i on Di gest : 0xAC36177F50283CD4B83821D8AB26DE62
mst i vl ans mapped
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 1- 4094
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chapter 49 MSTP Commands
Ethernet Switch CLI Reference Guide 194
The following table describes the labels in this screen.
This example shows the current CIST configuration (MSTP instance 0).
Table 133 show mstp
LABEL DESCRIPTION
BridgeMaxAge This field displays the maximum time (in seconds) the Switch can wait
without receiving a configuration message before attempting to reconfigure.
BridgeHelloTime This field displays the time interval (in seconds) at which the Switch
transmits a configuration message.
BridgeForwardDelay This field displays the time (in seconds) the Switch will wait before
changing states (that is, listening to learning to forwarding).
BridgeMaxHops This field displays the number of hops (in seconds) in an MSTP region
before the BPDU is discarded and the port information is aged.
TransmissionLimit This field displays the maximum number of BPDUs that can be transmitted
in the interval specified by BridgeHelloTime.
ForceVersion This field indicates whether BPDUs are RSTP (a value less than 3) or
MSTP (a value greater than or equal to 3).
MST Configuration ID
Format Selector This field displays zero, which indicates the use of the fields below.
Configuration Name This field displays the configuration name for this MST region.
Revision Number This field displays the revision number for this MST region.
Configuration Digest A configuration digest is generated from the VLAN-MSTI mapping
information.
This field displays the 16-octet signature that is included in an MSTP
BPDU. This field displays the digest when MSTP is activated on the
system.
msti This field displays the MSTI ID.
vlans mapped This field displays which VLANs are mapped to an MSTI.
sysname# show mst p i nst ance 0
Br i dge I nf o: MSTI D: 0
( a) Br i dgeI D: 8000- 001349aef b7a
( b) Ti meSi nceTopoChange: 756003
( c) TopoChangeCount : 0
( d) TopoChange: 0
( e) Desi gnat edRoot : 8000- 001349aef b7a
( f ) Root Pat hCost : 0
( g) Root Por t : 0x0000
( h) Root MaxAge: 20 ( seconds)
( i ) Root Hel l oTi me: 2 ( seconds)
( j ) Root For war dDel ay: 15 ( seconds)
( k) Br i dgeMaxAge: 20 ( seconds)
( l ) Br i dgeHel l oTi me: 2 ( seconds)
( m) Br i dgeFor war dDel ay: 15 ( seconds)
( n) For ceVer si on: mst p
( o) Tr ansmi ssi onLi mi t : 3
( p) CI ST_RRoot I D: 8000- 001349aef b7a
( q) CI ST_RRoot Pat hCost : 0
Chapter 49 MSTP Commands
Ethernet Switch CLI Reference Guide 195
The following table describes the labels in this screen.
Table 134 show mstp instance
LABEL DESCRIPTION
MSTID This field displays the MSTI ID.
BridgeID This field displays the unique identifier for this bridge, consisting of bridge
priority plus MAC address.
TimeSinceTopoChange This field displays the time since the spanning tree was last reconfigured.
TopoChangeCount This field displays the number of times the spanning tree has been
reconfigured.
TopoChange This field indicates whether or not the current topology is stable.
0: The current topology is stable.
1: The current topology is changing.
DesignatedRoot This field displays the unique identifier for the root bridge, consisting of
bridge priority plus MAC address.
RootPathCost This field displays the path cost from the root port on this Switch to the root
switch.
RootPort This field displays the priority and number of the port on the Switch through
which this Switch must communicate with the root of the Spanning Tree.
RootMaxAge This field displays the maximum time (in seconds) the root switch can wait
without receiving a configuration message before attempting to reconfigure.
RootHelloTime This field displays the time interval (in seconds) at which the root switch
transmits a configuration message.
RootForwardDelay This field displays the time (in seconds) the root switch will wait before
changing states (that is, listening to learning to forwarding).
BridgeMaxAge This field displays the maximum time (in seconds) the Switch can wait
without receiving a configuration message before attempting to reconfigure.
BridgeHelloTime This field displays the time interval (in seconds) at which the Switch
transmits a configuration message.
BridgeForwardDelay This field displays the time (in seconds) the Switch will wait before
changing states (that is, listening to learning to forwarding).
ForceVersion This field indicates whether BPDUs are RSTP (a value less than 3) or
MSTP (a value greater than or equal to 3).
TransmissionLimit This field displays the maximum number of BPDUs that can be transmitted
in the interval specified by BridgeHelloTime.
CIST_RRootID This field displays the unique identifier for the CIST regional root bridge,
consisting of bridge priority plus MAC address.
CIST_RRootPathCost This field displays the path cost from the root port on this Switch to the
CIST regional root switch.
Chapter 49 MSTP Commands
Ethernet Switch CLI Reference Guide 196
This example adds the Switch to the MST region MSTRegionNorth. MSTRegionNorth is on
revision number 1. In MSTRegionNorth, VLAN 2 is in MST instance 1, and VLAN 3 is in
MST instance 2.
sysname# conf i gur e
sysname( conf i g) # mst p
sysname( conf i g) # mst p conf i gur at i on- name MSTRegi onNor t h
sysname( conf i g) # mst p r evi si on 1
sysname( conf i g) # mst p i nst ance 1 vl an 2
sysname( conf i g) # mst p i nst ance 2 vl an 3
sysname( conf i g) # exi t
Ethernet Switch CLI Reference Guide 197
CHAPTER 50
Multiple Login Commands
Use these commands to configure multiple administrator logins on the Switch.
50.1 Command Summary
The following section lists the commands for this feature.
50.2 Command Examples
This example shows the current administrator logins.
The following table describes the labels in this screen.
Table 135 multi-login Command Summary
COMMAND DESCRIPTION M P
show mul t i - l ogi n Displays multi-login information. E 3
mul t i - l ogi n Enables multi-login. C 14
no mul t i - l ogi n Disables another administrator from logging into Telnet or
SSH.
C 14
sysname# show mul t i - l ogi n
[ sessi on i nf o ( ' *' denot es your sessi on) ]
i ndex sessi on r emot e i p
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 t el net - d 172. 16. 5. 15
* 2 t el net - d 172. 16. 5. 15
Table 136 show multi-login
LABEL DESCRIPTION
index This field displays a sequential number for this entry. If there is an asterisk
(*) next to the index number, this entry is your session.
session This field displays the service the administrator used to log in.
remote ip This field displays the IP address of the administrators computer.
Ethernet Switch CLI Reference Guide 198
CHAPTER 51
MVR Commands
Use these commands to configure Multicast VLAN Registration (MVR).
51.1 Command Summary
The following section lists the commands for this feature.
Table 137 mvr Command Summary
COMMAND DESCRIPTION M P
show mvr Shows the MVR status. E 3
show mvr <vlan-id> Shows the detailed MVR status and MVR group configuration
for a VLAN.
E 3
mvr <vlan-id> Enters config-mvr mode for the specified MVR (multicast
VLAN registration). Creates the MVR, if necessary.
C 13
8021p- pr i or i t y <0- 7> Sets the IEEE 802.1p priority of outgoing MVR packets. C 13
i nact i ve Disables these MVR settings. C 13
no i nact i ve Enables these MVR settings. C 13
mode <dynami c| compat i bl e> Sets the MVR mode (dynamic or compatible). C 13
name <name> Sets the MVR name for identification purposes.
name: 1-32 English keyboard characters
C 13
r ecei ver - por t <port-list> Sets the receiver port(s).An MVR receiver port can only
receive multicast traffic in a multicast VLAN.
C 13
no r ecei ver - por t <port-list> Disables the receiver port(s).An MVR receiver port can only
receive multicast traffic in a multicast VLAN.
C 13
sour ce- por t <port-list> Sets the source port(s).An MVR source port can send and
receive multicast traffic in a multicast VLAN.
C 13
no sour ce- por t <port-list> Disables the source port(s).An MVR source port can send
and receive multicast traffic in a multicast VLAN.
C 13
t agged <port-list> Sets the port(s) to tag VLAN tags. C 13
no t agged <port-list> Sets the port(s) to untag VLAN tags. C 13
gr oup <name> st ar t - addr ess
<ip> end- addr ess <ip>
Sets the multicast group range for the MVR.
name: 1-32 English keyboard characters
C 13
no gr oup Disables all MVR group settings. C 13
no gr oup <name-str> Disables the specified MVR group setting. C 13
no mvr <vlan-id> Removes an MVR configuration of the specified VLAN from
the Switch.
C 13
Chapter 51 MVR Commands
Ethernet Switch CLI Reference Guide 199
51.2 Command Examples
This example configures MVR in the following ways:
1 Enters MVR mode. This creates a multicast VLAN with the name mul t i vl an and the
VLAN ID of 3.
2 Specifies source ports 2, 3, 5 for the multicast group.
3 Specifies receiver ports 6-8 for the multicast group.
4 Specifies dynamic mode for the multicast group.
5 Configures MVR multicast group addresses 224.0.0.1 through 224.0.0.255 by the name
of i pgr oup.
6 Exits MVR mode.
sysname( conf i g) # mvr 3
sysname( conf i g- mvr ) # name mul t i vl an
sysname( conf i g- mvr ) # sour ce- por t 2, 3, 5
sysname( conf i g- mvr ) # r ecei ver - por t 6- 8
sysname( conf i g- mvr ) # mode dynami c
sysname( conf i g- mvr ) # gr oup i pgr oup st ar t - addr ess 224. 0. 0. 1 end- addr ess
- - > 224. 0. 0. 255
sysname( conf i g- mvr ) # exi t
200
PART IV
Reference N-S
OSPF Commands (202)
Password Commands (208)
PoE Commands (210)
Policy Commands (214)
Policy Route Commands (218)
Port Security Commands (220)
Port-based VLAN Commands (222)
PPPoE IA Commands (223)
Private VLAN Commands (229)
Protocol-based VLAN Commands (234)
Queuing Commands (236)
RADIUS Commands (240)
Remote Management Commands (242)
RIP Commands (245)
Running Configuration Commands (253)
sFlow (255)
Smart Isolation Commands (257)
SNMP Server Commands (261)
STP and RSTP Commands (266)
SSH Commands (270)
Static Multicast Commands (272)
Static Route Commands (274)
Subnet-based VLAN Commands (277)
201
Syslog Commands (279)
Ethernet Switch CLI Reference Guide 202
CHAPTER 52
OSPF Commands
This chapter explains how to use commands to configure the Open Shortest Path First (OSPF)
routing protocol on the Switch.
52.1 OSPF Overview
OSPF (Open Shortest Path First) is a link-state protocol designed to distribute routing
information within an autonomous system (AS). An autonomous system is a collection of
networks using a common routing protocol to exchange routing information.
52.2 Command Summary
The following section lists the commands for this feature.
Table 138 OSPF Command Summary
COMMAND DESCRIPTION M P
show i p ospf dat abase Displays OSPF link state database
information.
E 3
show i p ospf i nt er f ace Displays OSPF interface settings. E 3
show i p ospf nei ghbor Displays OSPF neighbor information. E 3
show i p pr ot ocol s Displays the routing protocol the Switch is
using and its administrative distance value.
E 3
show r out er ospf Displays OSPF settings. E 3
show r out er ospf ar ea Displays OSPF area settings. E 3
show r out er ospf net wor k Displays OSPF network (or interface)
settings.
E 3
show r out er ospf r edi st r i but e Displays OSPF redistribution settings. E 3
show r out er ospf vi r t ual - l i nk Displays OSPF virtual link settings. E 3
i nt er f ace r out e- domai n <ip-address>/ <mask-
bits>
Enters the configuration mode for this
routing domain.
C 13
i p ospf aut hent i cat i on- key <key> Specifies the authentication key for OSPF. C 13
no i p ospf aut hent i cat i on- key <key> Disables OSPF authentication in this
routing domain.
C 13
i p ospf aut hent i cat i on- same- aa Sets the same OSPF authentication
settings in the routing domain as the
associated area.
C 13
Chapter 52 OSPF Commands
Ethernet Switch CLI Reference Guide 203
i p ospf aut hent i cat i on- same- as- ar ea Sets the same OSPF authentication
settings in the routing domain as the
associated area.
C 13
no i p ospf aut hent i cat i on- same- aa Sets the routing domain not to use the
same OSPF authentication settings as the
area.
C 13
no i p ospf aut hent i cat i on- same- as- ar ea Sets the routing domain not to use the
same OSPF authentication settings as the
area.
C 13
i p ospf cost <1- 65535> Sets the OSPF cost in this routing domain. C 13
no i p ospf cost <1- 65535> Resets the OSPF cost in the routing
domain to default.
C 13
i p ospf message- di gest - key <key> Sets the OSPF authentication key in this
routing domain.
C 13
no i p ospf message- di gest - key <key> Disables the routing domain from using a
security key in OSPF.
C 13
i p ospf pr i or i t y <0- 255> Sets the OSPF priority for the interface.
Setting this value to 0 means that this
router will not participate in router elections.
C 13
no i p ospf pr i or i t y <0- 255> Resets the OSPF priority for the interface. C 13
r out er ospf <router-id> Enables and enters the OSPF
configuration mode.
C 13
ar ea <area-id> Enables and sets the area ID. C 13
no ar ea <area-id> Removes the specified area. C 13
ar ea <area-id> aut hent i cat i on Enables simple authentication for the area. C 13
ar ea <area-id> aut hent i cat i on message-
di gest
Enables MD5 authentication for the area. C 13
no ar ea <area-id> aut hent i cat i on Sets the area to use no authentication
(None).
C 13
ar ea <area-iD> def aul t - cost <0- 16777214> Sets the cost to the area. C 13
no ar ea <area-id> def aul t - cost Sets the area to use the default cost (15). C 13
ar ea <area-id> name <name> Sets a descriptive name for the area for
identification purposes.
C 13
ar ea <area-id> st ub Enables and sets the area as a stub area. C 13
no ar ea <area-id> st ub Disables stub network settings in the area. C 13
ar ea <area-id> st ub no- summar y Sets the stub area not to send any LSA
(Link State Advertisement).
C 13
no ar ea <area-id> st ub no- summar y Sets the area to send LSAs (Link State
Advertisements).
C 13
ar ea <area-id> vi r t ual - l i nk <router-id> Sets the virtual link ID information for the
area.
C 13
no ar ea <area-id> vi r t ual - l i nk <router-
id>
Deletes the virtual link from the area. C 13
ar ea <area-id> vi r t ual - l i nk <router-id>
aut hent i cat i on- key <key>
Enables simple authentication and sets the
authentication key for the specified virtual
link in the area.
C 13
Table 138 OSPF Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 52 OSPF Commands
Ethernet Switch CLI Reference Guide 204
no ar ea <area-id> vi r t ual - l i nk <router-
id> aut hent i cat i on- key
Resets the authentication settings on this
virtual link.
C 13
ar ea <area-id> vi r t ual - l i nk <router- I D>
aut hent i cat i on- same- as- ar ea
Sets the virtual link to use the same
authentication method as the area.
C 13
no ar ea <area-id> vi r t ual - l i nk <router-
id> aut hent i cat i on- same- as- ar ea
Resets the authentication settings on this
virtual area.
C 13
ar ea <area-id> vi r t ual - l i nk <router-id>
message- di gest - key <keyid> md5 <key>
Enables MD5 authentication and sets the
key ID and key for the virtual link in the
area.
C 13
no ar ea <area-id> vi r t ual - l i nk <router-
id> message- di gest - key
Resets the authentication settings on this
virtual link.
C 13
ar ea <area-id> vi r t ual - l i nk <router-id>
name <name>
Sets a descriptive name for the virtual link
for identification purposes.
C 13
di st ance <10- 255> When two different routing protocols, such
as RIP and OSPF provide multiple routes
to the same destination, the Switch can use
the administrative distance of the route
source to determine which routing protocol
to use and add the route to the routing
table.
Sets the administrative distance (from 10 to
255) that is assigned to the routes learned
by OSPF.
The lower the administrative distance value
is, the more preferable the routing protocol
is. If two routes have the same
administrative distance value, the Switch
uses the route that has the lowest metric
value.
Note: You cannot set two routing
protocols to have the same
administrative distance.
C 13
exi t Leaves the router OSPF configuration
mode.
C 13
net wor k <ip-addr/bits> ar ea <area-id> Creates an OSPF area. C 13
no net wor k <ip-addr/bits> Deletes the OSPF network. C 13
r edi st r i but e r i p met r i c- t ype <1| 2> met r i c
<0- 16777214>
Sets the Switch to learn RIP routing
information which will use the specified
metric information.
C 13
r edi st r i but e r i p Sets the Switch to redistribute RIP routing
information.
Route redistribution allows your Switch to
import and translate external routes
learned through other routing protocols
(RIP and Static) into the OSPF network
transparently.
C 13
no r edi st r i but e r i p Sets the Switch not to learn RIP routing
information.
C 13
Table 138 OSPF Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 52 OSPF Commands
Ethernet Switch CLI Reference Guide 205
52.3 Command Examples
In this example, the Switch (A) is an Area Border Router (ABR) in an OSPF network.
Figure 7 OSPF Network Example
r edi st r i but e st at i c met r i c- t ype <1| 2>
met r i c <0- 16777214>
Sets the Switch to learn static routing
information which will use the specified
metric information.
C 13
r edi st r i but e st at i c Sets the switch to redistribute static routing
information.
Route redistribution allows your Switch to
import and translate external routes
learned through other routing protocols
(RIP and Static) into the OSPF network
transparently.
C 13
no r edi st r i but e st at i c Sets the Switch not to learn static routing
information.
C 13
passi ve- i f ace <ip-addr/bits> Sets the interface to be passive. A passive
interface does not send or receive OSPF
traffic.
C 13
no passi ve- i f ace <ip-addr/bits> Sets the interface to not be passive. C 13
summar y- addr ess <ip-address> <mask> Sets a summary address which is a
network IP address used to cover more
than one network routing entry in order to
reduce the routing table size.
C 13
no summar y- addr ess <ip-address> <mask> Removes a summary address. C 13
show r out er ospf summar y- addr ess Displays all summary addresses on the
Switch.
E 3
no r out er ospf Disables OSPF on the Switch. C 13
Table 138 OSPF Command Summary (continued)
COMMAND DESCRIPTION M P
Area 0
Backbone
Area 1
IP: 172.16.1.1
A
Chapter 52 OSPF Commands
Ethernet Switch CLI Reference Guide 206
This example enables OSPF on the Switch, sets the router ID to 172.16.1.1, configures an
OSPF area ID as 0.0.0.0 (backbone) and enables simple authentication.
This example configures an OSPF interface for the 172.16.1.1/24 network and specifies to use
simple authentication with the key 1234abcd. The priority for the Switch is also set to 1, as
this router should participate in router elections.
In this example, the Switch (Z) is a redistributor between a RIP network and an OSPF
network. It summarizes 4 routing entries 192.168.8.0/24 ~192.168.11.0/24 (learned from RIP
router A) into 192.168.8.0/22 and then sends it to OSPF router B.
Figure 8 OSPF Redistribution Summary Address Example
sysname( conf i g) # r out er ospf 172. 16. 1. 1
sysname( conf i g- ospf ) # ar ea 0. 0. 0. 0
sysname( conf i g- ospf ) # ar ea 0. 0. 0. 0 aut hent i cat i on
sysname( conf i g- ospf ) # ar ea 0. 0. 0. 0 name backbone
sysname( conf i g- ospf ) # net wor k 172. 16. 1. 1/ 24 ar ea 0. 0. 0. 0
sysname# show r out er ospf ar ea
i ndex: 1 act i ve: Y name: backbone
ar ea- i d: 0. 0. 0. 0 aut h: SI MPLE
st ub- act i ve: N st ub- no- sum: N def aul t - cost : 15
sysname( conf i g) # i nt er f ace r out e- domai n 172. 16. 1. 1/ 24
sysname( conf i g- i f ) # i p ospf aut hent i cat i on- key abcd1234
sysname( conf i g- i f ) # i p ospf pr i or i t y 1
sysname# show i p ospf i nt er f ace
swi f 2 i s up, l i ne pr ot ocol i s up
I nt er net Addr ess 172. 16. 1. 1/ 24, Ar ea 0. 0. 0. 0
Rout er I D 172. 16. 1. 1, Net wor k Type BROADCAST, Cost : 15
Tr ansmi t Del ay i s 1 sec, St at e Wai t i ng, Pr i or i t y 1
No desi gnat ed r out er on t hi s net wor k
No backup desi gnat ed r out er on t hi s net wor k
Ti mer i nt er val s conf i gur ed, Hel l o 10, Dead 40, Wai t 40, Ret r ansmi t 5
Hel l o due i n 00: 00: 04
Nei ghbor Count i s 0, Adj acent nei ghbor count i s 0
OSPF
Redistributor
RIP
Z
192.168.8.0/24
192.168.9.0/24
192.168.10.0/24
192.168.11.0/24
192.168.8.0/22
A B
IP: 172.16.1.1
Chapter 52 OSPF Commands
Ethernet Switch CLI Reference Guide 207
This example shows you how to enable the redistribution for RIP protocol and then show all
redistribution entries.
From the example above, the third octet of all the four network IP addresses is 00001000,
00001001, 00001010, 000001011 respectively. The first 4 digits (000010) are the common
part among these IP addresses. So 192.168.8.0/22 can be used to represent all of the 4
networks. The following example shows you how to configure the OSPF summary address
and then show all redistribution entries.
sysname# conf i g
sysname( conf i g) # r out er ospf 172. 16. 1. 1
sysname( conf i g- ospf ) # r edi st r i but e r i p met r i c- t ype 1 met r i c 123
sysname( conf i g- ospf ) # exi t
sysname( conf i g) # exi t
sysname# show i p ospf dat abase
OSPF Rout er wi t h I D ( 172. 16. 1. 1)
( Omi t not ext er nal par t K)
AS Ext er nal Li nk St at es
Li nk I D ADV Rout er Age Seq# CkSum Rout e
192. 168. 8. 0 192. 168. 2. 2 618 0x80000001 0x02f 6 E1 192. 168. 8. 0/ 24
192. 168. 9. 0 192. 168. 2. 2 618 0x80000001 0xf 601 E1 192. 168. 9. 0/ 24
192. 168. 10. 0 192. 168. 2. 2 618 0x80000001 0xeb0b E1 192. 168. 10. 0/ 24
192. 168. 11. 0 192. 168. 2. 2 618 0x80000001 0xe015 E1 192. 168. 11. 0/ 24
sysname# conf i g
sysname( conf i g) # r out er ospf 172. 16. 1. 1
sysname( conf i g- ospf ) # summar y- addr ess 192. 168. 8. 0 255. 255. 252. 0
sysname( conf i g- ospf ) # exi t
sysname( conf i g) # exi t
sysname# show i p ospf dat abase
OSPF Rout er wi t h I D ( 172. 16. 1. 1)
( Omi t not ext er nal par t K)
AS Ext er nal Li nk St at es
Li nk I D ADV Rout er Age Seq# CkSum Rout e
192. 168. 8. 0 192. 168. 2. 2 6 0x80000001 0xf 209 E1 192. 168. 8. 0/ 22
Ethernet Switch CLI Reference Guide 208
CHAPTER 53
Password Commands
Use these commands to configure passwords for specific privilege levels on the Switch.
53.1 Password Encryption
Password encryption provides service providers a means to securely enter administrator and
login passwords. By default, passwords are sent in plain text. Plain text passwords are also
stored temporarily in the Switchs spt and temp buffers. By enabling password encryption, you
can hide these plain text passwords in transit as well as in the device buffers.
53.2 Command Summary
The following section lists the commands for this feature.
Table 139 password Command Summary
COMMAND DESCRIPTION M P
admi n- passwor d <pw-string>
<confirm-string>
Changes the administrator password.
pw-string: 1-32 alphanumeric characters
confirm-string: 1-32 alphanumeric characters
C 14
admi n- passwor d [ ci pher ] <pw-
string>
Changes the administrator password.
ci pher : inform the Switch that the string after the word
"cipher" is an encrypted secret. This is used in password
encryption. To encrypt the password, use the passwor d
encr ypt i on command.
pw-string: 32 alphanumeric characters
C 14
passwor d [ ci pher ] <pw-string>
[ pr i vi l ege <0-14>]
Changes the password for the highest privilege level or,
optionally, the specified privilege.
ci pher : inform the Switch that the string after the word
"cipher" is an encrypted secret. This is used in password
encryption. To encrypt the password, use the passwor d
encr ypt i on command.
password: 32 alphanumeric characters
C 14
no passwor d pr i vi l ege <0-14> Clears the password for the specified privilege level and
prevents users from entering the specified privilege level.
C 14
passwor d encr ypt i on Encrypts all passwords configured on the Switch. The
encrypted secret will be preceded by the word "cipher" in the
configuration file (called r unni ng- conf i g)."
C 14
no passwor d encr ypt i on Disables password encryption. The encrypted password will
not be changed back to plain text.
C 14
Chapter 53 Password Commands
Ethernet Switch CLI Reference Guide 209
53.3 Command Examples
See Section 2.1.3.2 on page 15.
Ethernet Switch CLI Reference Guide 210
CHAPTER 54
PoE Commands
Use these commands to configure Power over Ethernet (PoE). These are applicable for PoE
models only.
54.1 Command Summary
The following section lists the commands for this feature.
Table 140 pwr Command Summary
COMMAND DESCRIPTION M P
show pwr Displays information about port power consumption and
Power over Ethernet (PoE). Only available on models
with the PoE feature.
E 3
show poe- st at us This command is available for PoE models only.
Displays information about Power over Ethernet (PoE)
availability and usage.
E 0
pwr i nt er f ace <port-list> Enables PoE (Power over Ethernet) on the specified
port(s).
C 13
pwr i nt er f ace <port-list>max- power
<1000- 33000>
Sets the maximum amount of power the PD could use
from the Switch on the specified port(s).
C 13
no pwr i nt er f ace <port-list> max-
power
Removes the maximum power settings for the specified
port(s). The PD(s) that is connected to the port(s) then
can use power up to the Switchs total power budget.
C 13
pwr i nt er f ace <port-list> pr i or i t y
<cr i t i cal | hi gh| l ow>
Sets the PD priority on a port to allow the Switch to
allocate power to higher priority ports when the
remaining power is less than the consumed power.
cr i t i cal >hi gh >l ow
Note: Available for non-full power models only.
C 13
no pwr i nt er f ace <port-list> Disables PoE (Power over Ethernet) on the specified
port(s).
C 13
pwr mi bt r ap Enables PoE MIB traps on the Switch. Traps are initiated
when the usage reaches the limit set by the pwr
usaget hr eshol d command.
C 13
no pwr mi bt r ap Disables PoE MIB traps on the Switch. C 13
Chapter 54 PoE Commands
Ethernet Switch CLI Reference Guide 211
54.2 Command Examples
This example enables Power over Ethernet (PoE) on ports 1-4 and enables traps when the
power usage reaches 25%.
This example sets the maximum amount of power allowed for port 2 to 7500 mW.
pwr mode
<cl assi f i cat i on| consumpt i on>
Set the power management mode.
Classification - Reserve the maximum power to each
PD according to the priority level.
Consumption - Reserve the consuming power to
each PD.
C 13
pwr usaget hr eshol d <1- 99> Sets the percentage of power usage which initiates MIB
traps.
C 13
Table 140 pwr Command Summary (continued)
COMMAND DESCRIPTION M P
sysname# conf i gur e
sysname( conf i g) # pwr i nt er f ace 1- 4
sysname( conf i g) # pwr usaget hr eshol d 25
sysname( conf i g) # pwr mi bt r ap
sysname( conf i g) # exi t
sysname# conf i gur e
sysname( conf i g) # pwr i nt er f ace 2 max- power 7500
sysname( conf i g) # exi t
Chapter 54 PoE Commands
Ethernet Switch CLI Reference Guide 212
This example shows the current status and configuration of Power over Ethernet.
The following table describes the labels in this screen.
GS2200# sh pwr
PoE Mode : Cl assi f i cat i on mode
Tot al Power : 220. 0( W)
Consumi ng Power : 0. 0( W)
Al l ocat ed Power : 0. 0 ( W)
Remai ni ng Power : 220. 0( W)
Aver aged J unct i on Temper at ur e: 38 ( c) , 98 ( f ) .
Por t St at e PD Cl ass Pr i or i t y Consumpt i on ( mW) MaxPower ( mW)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 Enabl e of f 0 Low 0 0
2 Enabl e of f 0 Low 0 7500
3 Enabl e of f 0 Low 0 0
4 Enabl e of f 0 Low 0 0
5 Enabl e of f 0 Low 0 0
6 Enabl e of f 0 Low 0 0
7 Enabl e of f 0 Low 0 0
8 Enabl e of f 0 Low 0 0
9 Enabl e of f 0 Low 0 0
10 Enabl e of f 0 Low 0 0
11 Enabl e of f 0 Low 0 0
12 Enabl e of f 0 Low 0 0
13 Enabl e of f 0 Low 0 0
14 Enabl e of f 0 Low 0 0
15 Enabl e of f 0 Low 0 0
16 Enabl e of f 0 Low 0 0
17 Enabl e of f 0 Low 0 0
18 Enabl e of f 0 Low 0 0
19 Enabl e of f 0 Low 0 0
20 Enabl e of f 0 Low 0 0
21 Enabl e of f 0 Low 0 0
22 Enabl e of f 0 Low 0 0
23 Enabl e of f 0 Low 0 0
24 Enabl e of f 0 Low 0 0
Table 141 show pwr
LABEL DESCRIPTION
Averaged J unction
Temperature
This field displays the internal temperature of the PoE chipset.
Port This field displays the port number.
State This field indicates whether or not PoE is enabled on this port.
PD This field indicates whether or not a powered device (PD) is allowed to
receive power from the Switch on this port.
Class This field displays the maximum power level at the input of the PoE-
enabled devices connected to this port. The range of the maximum power
used by the PD is described below.
0: 0.44~12.95 W
1: 0.44~3.84 W
2: 3.84~6.49 W
3: 6.49~12.95 W
Chapter 54 PoE Commands
Ethernet Switch CLI Reference Guide 213
Priority When the total power requested by the PDs exceeds the total PoE power
budget on the Switch, the Switch uses the PD priority to provide power to
ports with higher priority.
Consumption (mW) This field displays the amount of power the Switch is currently supplying to
the PoE-enabled devices connected to this port.
MaxPower(mW) This field displays the maximum amount of power the Switch can supply to
the PoE-enabled devices connected to this port.
Total Power This field displays the total power the Switch can provide to PoE-enabled
devices.
Consuming Power This field displays the amount of power the Switch is currently supplying to
the PoE-enabled devices.
Allocated Power This field displays the total amount of power the Switch has reserved for
PoE after negotiating with the PoE device(s).
Note: If the management mode is set to Consumption, this
field shows NA.
Remaining Power This field displays the amount of power the Switch can still provide for PoE.
Note: The Switch must have at least 16 W of remaining power
in order to supply power to a PoE device, even if the
PoE device requested less than 16 W.
Table 141 show pwr (continued)
LABEL DESCRIPTION
Ethernet Switch CLI Reference Guide 214
CHAPTER 55
Policy Commands
Use these commands to configure policies based on the classification of traffic flows. A
classifier distinguishes traffic into flows based on the configured criteria. A policy rule defines
the treatment of a traffic flow.
Configure classifiers before you configure policies. See Chapter 11 on page 50
for more information on classifiers.
55.1 Command Summary
The following section lists the commands for this feature.
Table 142 policy Command Summary
COMMAND DESCRIPTION M P
show pol i cy Displays all policy related information. E 3
show pol i cy <name> Displays the specified policy related information. E 3
Chapter 55 Policy Commands
Ethernet Switch CLI Reference Guide 215
pol i cy <name> cl assi f i er
<classifier-list> <[ vl an <vlan-
id>] [ egr ess- por t <port-
num>] [ pr i or i t y <0- 7>] [ dscp <0-
63>] [ t os <0- 7>] [ bandwi dt h
<bandwidth>] [ egr ess- mask <port-
list>] [ out goi ng- packet - f or mat
<t agged| unt agged>] [ out - of -
pr of i l e- dscp <0- 63>] [ f or war d-
act i on
<dr op| f or war d| egr essmask>] [ queu
e- act i on <pr i o- set | pr i o-
queue| pr i o- r epl ace-
t os>] [ di f f ser v- act i on <di f f -
set - t os| di f f - r epl ace-
pr i or i t y| di f f - set -
dscp>] [ out goi ng-
mi r r or ] [ out goi ng-
epor t ] [ out goi ng- non- uni cast -
epor t ] [ out goi ng- set -
vl an] [ met er i ng] [ out - of - pr of i l e-
act i on <[ change- dscp] [ dr op] [
f or war d] [ set - dr op-
pr ecedence] >] [ i nact i ve] >
Configures a policy with the specified name.
name: 32 alphanumeric characters
C 13
Specifies which classifiers this policy applies to.
classifier-list: names of classifiers separated by
commas.
Specifies the parameters related to the actions:
egr ess- por t : an outbound port number
pr i or i t y: IEEE 802.1p priority field
bandwi dt h: bandwidth limit in Kbps, actions can be
assigned to packets which exceed the bandwidth limit (out-or-
profile).
out - of - pr of i l e- dscp: sets a DSCP number, if you want
to replace or remark the DSCP number for out-of-profile
traffic.
Specifies the actions for this policy:
queue- act i on: tells the Switch to:
- set the IEEE 802.1p priority you specified in the
pr i or i t y parameter (pr i o- set )
- sends the packet to priority queue (pr i o- queue)
- replace the IEEE 802.1p priority field with the tos
parameter value (pr i o- r epl ace- t os).
di f f ser v- act i on - chooses whether you want to set
the ToS field with the value you specified for the t os
parameter (di f f - set - t os), replaces the IP ToS with
IEEE 802.1p priority value (di f f - r epl ace- pr i or i t y)
or sets the DSCP field with the dscp parameter value
(di f f - set - dscp)
out goi ng- mi r r or - sends the packet to the mirror port.
out goi ng- epor t - sends the packet to the egress port.
out goi ng- non- uni cast - epor t - sends the
broadcast, dlf or multicast packets (marked for dropping
or to be sent to the CPU) to the egress port.
met er i ng - enables bandwidth limitations on the traffic
flows.
out - of - pr of i l e- act i on - specifies the actions to
take for packets that exceed the bandwidth limitations:
- replaces the DSCP field with the value in the out - of -
pr of i l e- dscp parameter (change- dscp) .
- discards the out of profile packets (dr op).
- queues the packets that are marked for dropping
(f or war d).
- marks the out of profile traffic and drops it when network
is congested (set - dr op- pr ecedence).
i nact i ve - disables the policy rule.
Table 142 policy Command Summary
COMMAND DESCRIPTION M P
Chapter 55 Policy Commands
Ethernet Switch CLI Reference Guide 216
55.2 Command Examples
This example creates a policy (highPriority) for the traffic flow identified via classifier
VLAN3 (see the classifier example in Chapter 11 on page 50). This policy replaces the IEEE
802.1 priority field with the IP ToS priority field (value 7) for VLAN3 packets.
pol i cy <name> cl assi f i er
<classifier-list> <[ vl an <vlan-
id>] [ egr ess- por t <port-num>]
[ pr i or i t y <0- 7>] [ bandwi dt h
<bandwidth>] [ f or war d- act i on
<dr op>] [ queue- act i on <pr i o-
set >] [ out goi ng- epor t ]
[ out goi ng- set - vl an] [ r at e- l i mi t
] [ i nact i ve] >
Configures a policy with the specified name.
name: 32 alphanumeric characters
C 13
Specifies which classifiers this policy applies to.
classifier-list: names of classifiers separated by
commas.
Specifies the parameters related to the actions:
vl an: a VLAN ID number
egr ess- por t : an outbound port number
pr i or i t y: IEEE 802.1p priority field
bandwi dt h: bandwidth limit in Kbps, packets which exceed
the bandwidth limit are dropped.
Specifies the actions for this policy:
queue- act i on: tells the Switch to:
- set the IEEE 802.1p priority you specified in the
pr i or i t y parameter (pr i o- set )
out goi ng- epor t - sends the packet to the egress port.
out goi ng- set - vl an - replaces the VLAN ID of the
packets with the one you configured.
r at e- l i mi t - enables bandwidth limitations on the traffic
flows.
i nact i ve - disables the policy rule.
no pol i cy <name> Deletes the policy. C 13
no pol i cy <name> i nact i ve Enables a policy. C 13
Table 142 policy Command Summary
COMMAND DESCRIPTION M P
sysname( conf i g) # pol i cy hi ghPr i or i t y cl assi f i er VLAN3 t os 7 queue- act i on
pr i o- r epl ace- t os
sysname( conf i g) # exi t
sysname# show pol i cy hi ghPr i or i t y
Pol i cy hi ghPr i or i t y:
Cl assi f i er s:
VLAN3;
Par amet er s:
VLAN = 1; Pr i or i t y = 0; DSCP = 0; TOS = 7;
Egr ess Por t = 1; Out goi ng packet f or mat = t agged;
Bandwi dt h = 0; Out - of - pr of i l e DSCP = 0;
Act i on:
Repl ace t he 802. 1 pr i or i t y f i el d wi t h t he I P TOS val ue;
Chapter 55 Policy Commands
Ethernet Switch CLI Reference Guide 217
This example creates a policy (Policy1) for the traffic flow identified via classifier Class1 (see
the classifier example in Chapter 11 on page 50). This policy forwards Class1 packets to port
8.
sysname( conf i g) # pol i cy Pol i cy1 cl assi f i er Cl ass1 egr ess- por t 8 out goi ng-
epor t
sysname( conf i g) # exi t
sysname# show pol i cy Pol i cy1
Pol i cy Pol i cy1:
Cl assi f i er s:
Cl ass1;
Par amet er s:
VLAN = 1; Pr i or i t y = 0;
Egr ess Por t = 8;
Bandwi dt h = 64;
Act i on:
Send t he packet t o t he egr ess por t ;
sysname#
Ethernet Switch CLI Reference Guide 218
CHAPTER 56
Policy Route Commands
Use these commands to configure policy route to override the default routing behavior and
alter the packet forwarding. Policy-based routing is based on the classification of traffic flows
and applied to incoming packets prior to the normal routing. A classifier distinguishes traffic
into flows based on the configured criteria.
Configure layer-3 classifiers before you configure policy routing. See Chapter
11 on page 50 for more information on classifiers.
56.1 Command Summary
The following section lists the commands for this feature.
Table 143 policy-route Command Summary
COMMAND DESCRIPTION M P
show i p pol i cy- r out e Displays all policy routing profile settings. E 3
show i p pol i cy- r out e <name> Displays the specified policy routing profile settings.
name: 32 alphanumeric characters
E 3
show i p pol i cy- r out e <name>
sequence <number>
Displays settings for the specified policy routing rule in a
profile.
sequence: sets the rule number from 1 to 64. The ordering of
policy routing rules is important as rules are applied in turn.
E 3
i p pol i cy- r out e <name> Sets a a policy routing profile with the specified name. You
must configure a profile before you can configure a rule.
C 13
i p pol i cy- r out e <name> i nact i ve Disables a policy routing profile. C 13
i p pol i cy- r out e <name> sequence
<number> <per mi t | deny>
cl assi f i er <classifier>next - hop
<ip-addr>
Configures a policy routing rule in the specified profile.
per mi t | deny: turns on or off this policy routing rule.
cl assi f i er : sets the name of active layer 3 classifier to
which this rule applies.
next - hop: sets the IP address of the gateway to which the
Switch forwards the matched traffic.
C 13
no i p pol i cy- r out e <name> Deletes the specified policy routing profile. C 13
no i p pol i cy- r out e <name>
i nact i ve
Enables a policy routing profile. C 13
no i p pol i cy- r out e <name>
sequence <number>
Deletes a rule from the specified policy routing profile. C 13
Chapter 56 Policy Route Commands
Ethernet Switch CLI Reference Guide 219
56.2 Command Examples
By default, the Switch forwards all packets to the default gateway. This example configures a
layer 3 classifier (Class-1) to group traffic with source IP address 192.168.2.13. This example
also creates a policy routing rule in profile Profile-1 to set the Switch to forward packets that
match the layer 3 classifier to the gateway with IP address 10.1.1.99. It then shows the
policy routing information.
sysname# conf i gur e
sysname( conf i g) # cl assi f i er Cl ass- 1 sour ce- i p 192. 168. 2. 13 mask- bi t s 24
sysname( conf i g) # i p pol i cy- r out e Pr of i l e- 1 sequence 5 per mi t cl assi f i er
Cl ass- 1 next - hop 10. 1. 1. 99
sysname( conf i g) # exi t
sysname# show i p pol i cy- r out e
Act i vePr of i l e Name Sequence St at e Cl assi f i er
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Yes Pr of i l e- 1 5 per mi t Cl ass- 1
sysname# show i p pol i cy- r out e Pr of i l e- 1 sequence 5
Pol i cy r out e pr of i l e: Pr of i l e- 1 Yes
I nf or mat i on: per mi t 5
Cl assi f i er : Cl ass- 1
Act i on:
Next hop: 10. 1. 1. 99
Mat ched pol i cy r out e: 19074 packet s
sysname#
Ethernet Switch CLI Reference Guide 220
CHAPTER 57
Port Security Commands
Use these commands to allow only packets with dynamically learned MAC addresses and/or
configured static MAC addresses to pass through a port on the Switch. For maximum port
security, enable port security, disable MAC address learning and configure static MAC
address(es) for a port.
It is not recommended you disable both port security and MAC address
learning because this will result in many broadcasts.
57.1 Command Summary
The following section lists the commands for this feature.
Table 144 port-security Command Summary
COMMAND DESCRIPTION M P
show por t - secur i t y Displays all port security settings. E 3
show por t - secur i t y <port-list> Displays port security settings on the specified port(s). E 3
por t - secur i t y Enables port security on the Switch. C 13
no por t - secur i t y Disables port security on the device. C 13
por t - secur i t y <port-list> Enables port security on the specified port(s). C 13
no por t - secur i t y <port-list> Disables port security on the specified port(s). C 13
por t - secur i t y <port-list> l ear n
i nact i ve
Disables MAC address learning on the specified port(s). C 13
no por t - secur i t y <port-list>
l ear n i nact i ve
Enables MAC address learning on the specified ports. C 13
por t - secur i t y <port-list>
addr ess- l i mi t <number>
Limits the number of (dynamic) MAC addresses that may be
learned on the specified port(s).
C 13
por t - secur i t y <port-list> MAC-
f r eeze
Stops MAC address learning and enables port security on the
port(s).
Note: All previously-learned dynamic MAC
addresses are saved to the static MAC
address table.
C 13
por t - secur i t y <port-list> vl an
<vlan-id> addr ess- l i mi t <number>
Limits the number of (dynamic) MAC addresses that may be
learned on the specified port(s) in a specified VLAN.
C 13
Chapter 57 Port Security Commands
Ethernet Switch CLI Reference Guide 221
57.2 Command Examples
This example enables port security on port 1 and limits the number of learned MAC addresses
to 5.
no por t - secur i t y <port-list>
vl an <vlan-id> addr ess- l i mi t
Removes the specified VLAN MAC address limit. C 13
por t - secur i t y <port-list> vl an
<vlan-id>addr ess- l i mi t <number>
i nact i ve
Disables the specified VLAN MAC address limit. C 13
no por t - secur i t y <port-list>
vl an <vlan-id> addr ess- l i mi t
i nact i ve
Enables the specified VLAN MAC address limit. C 13
Table 144 port-security Command Summary (continued)
COMMAND DESCRIPTION M P
sysname# conf i gur e
sysname( conf i g) # por t - secur i t y
sysname( conf i g) # por t - secur i t y 1
sysname( conf i g) # no por t - secur i t y 1 l ear n i nact i ve
sysname( conf i g) # por t - secur i t y 1 addr ess- l i mi t 5
sysname( conf i g) # exi t
sysname# show por t - secur i t y 1
Por t Secur i t y Act i ve : YES
Por t Act i ve Addr ess Lear ni ng Li mi t ed Number of Lear ned MAC Addr ess
01 Y Y 5
Ethernet Switch CLI Reference Guide 222
CHAPTER 58
Port-based VLAN Commands
Use these commands to configure port-based VLAN.
These commands have no effect unless port-based VLAN is enabled.
58.1 Command Summary
The following section lists the commands for this feature.
58.2 Command Examples
This example looks at the ports to which incoming traffic from ports 1 and 2 can be forwarded.
Table 145 egress Command Summary
COMMAND DESCRIPTION M P
show i nt er f aces conf i g <port-
list> egr ess
Displays outgoing port information. E 3
vl an- t ype <802. 1q| por t - based> Specifies the VLAN type. C 13
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
egr ess set <port-list> Sets the outgoing traffic port list for a port-based VLAN. C 13
no egr ess set <port-list> Removes the specified ports from the outgoing traffic port list. C 13
sysname# show i nt er f aces conf i g 1- 2 egr ess
Por t 1: Enabl ed egr ess por t s cpu, eg1
Por t 2: Enabl ed egr ess por t s cpu, eg1- eg4
Ethernet Switch CLI Reference Guide 223
CHAPTER 59
PPPoE IA Commands
Use these commands if you want the Switch to add a vendor-specific tag to PADI (PPPoE
Active Discovery Initiation) and PADR (PPPoE Active Discovery Request) packets from
PPPoE clients. This tag gives a PPPoE termination server additional information (such as the
port number, VLAN ID, and MAC address) that the server can use to identify and authenticate
a PPPoE client.
59.1 PPPoE Intermediate Agent Overview
A PPPoE Intermediate Agent (PPPoE IA) is deployed between a PPPoE server and PPPoE
clients. It helps the PPPoE server identify and authenticate clients by adding subscriber line
specific information to PPPoE discovery packets from clients on a per-port or per-port-per-
VLAN basis before forwarding them to the PPPoE server.
59.1.1 Port State
Every port is either a trusted port or an untrusted port for the PPPoE intermediate agent. This
setting is independent of the trusted/untrusted setting for DHCP snooping or ARP inspection.
You can also specify the agent sub-options (circuit ID and remote ID) that the Switch adds to
PADI and PADR packets from PPPoE clients.
Trusted ports are connected to PPPoE servers.
If a PADO (PPPoE Active Discovery Offer), PADS (PPPoE Active Discovery Session-
confirmation), or PADT (PPPoE Active Discovery Terminate) packet is sent from a
PPPoE server and received on a trusted port, the Switch forwards it to all other ports.
If a PADI or PADR packet is sent from a PPPoE client but received on a trusted port, the
Switch forwards it to other trusted port(s).
The Switch will drop all PPPoE discovery packets if you enable the PPPoE
intermediate agent and there are no trusted ports.
Untrusted ports are connected to subscribers.
If a PADI, PADR, or PADT packet is sent from a PPPoE client and received on an
untrusted port, the Switch adds a vendor-specific tag to the packet and then forwards it to
the trusted port(s).
Chapter 59 PPPoE IA Commands
Ethernet Switch CLI Reference Guide 224
The Switch discards PADO and PADS packets which are sent from a PPPoE server but
received on an untrusted port.
59.2 Command Summary
The following section lists the commands for this feature.
Table 146 PPPoE Intermediate Agent Command Summary
COMMAND DESCRIPTION M P
cl ear pppoe i nt er medi at e- agent
st at i st i cs
Removes all statistics records of PPPoE packets on the
Switch.
E 13
cl ear pppoe i nt er medi at e- agent
st at i st i cs vl an <vlan-list>
Removes statistics records of PPPoE packets for the
specified VLAN(s).
E 13
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
pppoe i nt er medi at e- agent
t r ust
Sets the specified port(s) as PPPoE IA trusted port(s). C 13
pppoe i nt er medi at e- agent
f or mat - t ype ci r cui t - i d
st r i ng <string>
Specify a string the Switch adds into the Agent Circuit ID sub-
option for PPPoE discovery packets received on this port.
Spaces are allowed.
string: up to 63 ASCII characters
C 13
pppoe i nt er medi at e- agent
f or mat - t ype r emot e- i d st r i ng
<string>
Specify a string the Switch adds into the Agent Remote ID
sub-option for PPPoE discovery packets received on this
port. Spaces are allowed.
string: up to 63 ASCII characters
C 13
pppoe i nt er medi at e- agent
vl an <vlan-id> f or mat - t ype
ci r cui t - i d st r i ng <string>
Specify a string the Switch adds into the Agent Circuit ID sub-
option for PPPoE discovery packets received on this VLAN
on the specified port. Spaces are allowed.
The Circuit ID you configure for a specific VLAN on a port has
the highest priority.
C 13
pppoe i nt er medi at e- agent
vl an <vlan-id> f or mat - t ype
r emot e- i d st r i ng <string>
Specify a string the Switch adds into the Agent Remote ID
sub-option for PPPoE discovery packets received on this
VLAN on the specified port. Spaces are allowed.
The Remote ID you configure for a specific VLAN on a port
has the highest priority.
C 13
no pppoe i nt er medi at e- agent
t r ust
Sets the specified port(s) PPPoE IA untrusted port(s). C 13
no pppoe i nt er medi at e- agent
f or mat - t ype ci r cui t - i d
Disables the PPPoE IA Circuit ID settings for the specified
port(s).
C 13
no pppoe i nt er medi at e- agent
f or mat - t ype r emot e- i d
Disables the PPPoE IA Remote ID settings for the specified
port(s).
C 13
no pppoe i nt er medi at e- agent
vl an <vlan-id> f or mat - t ype
ci r cui t - i d
Disables the PPPoE IA Circuit ID settings for the specified
port(s) on the specified VLAN(s).
C 13
no pppoe i nt er medi at e- agent
vl an <vlan-id> f or mat - t ype
r emot e- i d
Disables the PPPoE IA Remote ID settings for the specified
port(s) on the specified VLAN(s).
C 13
no pppoe i nt er medi at e- agent Disables PPPoE IA globally. C 13
no pppoe i nt er medi at e- agent vl an
<vlan-list> r emot e- i d
Disables the PPPoE IA Remote ID settings for the specified
VLAN(s).
C 13
Chapter 59 PPPoE IA Commands
Ethernet Switch CLI Reference Guide 225
no pppoe i nt er medi at e- agent
f or mat - t ype access- node-
i dent i f i er
Removes the access-node-identifier you have set. C 13
no pppoe i nt er medi at e- agent
f or mat - t ype i dent i f i er - st r i ng
Removes the indentifier-string you have set. C 13
no pppoe i nt er medi at e- agent
f or mat - t ype i dent i f i er - st r i ng
host name
Sets the Switch to not add the Switchs host name to the
indentifier-string.
C 13
no pppoe i nt er medi at e- agent vl an
<vlan-list>
Disables PPPoE IA for the specified VLAN(s). C 13
no pppoe i nt er medi at e- agent vl an
<vlan-list> ci r cui t - i d
Disables the PPPoE IA Circuit ID settings for the specified
VLAN(s).
C 13
pppoe i nt er medi at e- agent Enables PPPoE Intermediate Agent (PPPoE IA) globally. C 13
pppoe i nt er medi at e- agent f or mat -
t ype i dent i f i er - st r i ng host name
Sets the Switch to add the Switchs host name to the
indentifier-string.
C 13
pppoe i nt er medi at e- agent f or mat -
t ype access- node- i dent i f i er
st r i ng <string>
Sets the access-node-identifier string.
string: Enter up to 20 alphanumeric characters to identify
the PPPoE intermediate agent. Hyphens (-) and spaces are
also allowed. The default is the Switchs host name.
C
vv
13
pppoe i nt er medi at e- agent f or mat -
t ype i dent i f i er - st r i ng st r i ng
<string> opt i on
<s| p| v| sp| sv| pv| spv> del i mi t er
<#| . | , | ; | / | | >
This command sets the following:
a string that the Switch adds in the Agent Circuit ID sub-
option
the variables to generate and add in the Agent Circuit ID
sub-option,
a delimiter to separate the identifier-string, slot ID, port
number and/or VLAN ID from each other.
string: You can up to 63 printable characters. Spaces are
allowed.
option <s| p| v| sp| sv| pv| spv>: s, p and v indicate slot,
port, vlan, and sp, sv, pv and spv indicate combinations of
slot-port, slot-VLAN, port-VLAN and slot-port-VLAN
respectively. The Switch enters a zero into the PADI and
PADR packets for the slot value.
del i mi t er <#| . | , | ; | / | | >: You can use a pound key
(#), semi-colon (;), period (.), comma (,), forward slash (/) or a
space.
C 13
pppoe i nt er medi at e- agent vl an
<vlan-list>
Enables PPPoE IA for the specified VLAN(s). C 13
pppoe i nt er medi at e- agent vl an
<vlan-list> ci r cui t - i d
Enables the PPPoE IA Circuit ID settings for the specified
VLAN(s).
C 13
pppoe i nt er medi at e- agent vl an
<vlan-list> r emot e- i d
Enables the PPPoE IA Remote ID settings for the specified
VLAN(s).
C 13
show pppoe i nt er medi at e- agent Shows the PPPoE IA settings. E 13
show pppoe i nt er medi at e- agent
st at i st i c
Shows the statistics of PPPoE packets handled (received,
forwarded and dropped) by PPPoE IA on the Switch.
E 13
show pppoe i nt er medi at e- agent
st at i st i c vl an <vlan-list>
Shows the statistics of PPPoE packets for the specified
VLAN(s).
E 13
Table 146 PPPoE Intermediate Agent Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 59 PPPoE IA Commands
Ethernet Switch CLI Reference Guide 226
59.3 Command Examples
This is an example of how to enable and disable PPPoE IA on the Switch.
This is an example of how to enable and configure PPPoE IA for VLANs.
This is an example of how to set a PPPoE IA trust port.
This example is more advanced. It assumes a PPPoE IA client is connected to port 2 and a
PPPoE IA server is connected to port 5. If we want PPPoE IA to work, port 2 and port 5 must
be belong to the some VLAN and the PPPoE IA must be enabled globally and in this
corresponding VLAN. We also need to set port 5 as trust port. Then the last thing we need to
do is to decide which sub-options the received PADI, PADR, or PADT packet needs to carry.
Here, assume both circuit-id and remote-id should be carried.
sysname# conf i gur e
sysname( conf i g) # pppoe i nt er medi at e- agent
sysname( conf i g) # no pppoe i nt er medi at e- agent
sysname# conf i gur e
sysname( conf i g) # pppoe i nt er medi at e- agent vl an 2
sysname( conf i g) # pppoe i nt er medi at e- agent vl an 5, 9, 11
sysname( conf i g) # pppoe i nt er medi at e- agent vl an 1 ci r cui t - i d
sysname( conf i g) # pppoe i nt er medi at e- agent vl an 3, 6 r emot e- i d
sysname( conf i g) # no pppoe i nt er medi at e- agent vl an 2- 10
sysname( conf i g) # no pppoe i nt er medi at e- agent vl an 1 ci r cui t - i d
sysname( conf i g) # no pppoe i nt er medi at e- agent vl an 3, 6 r emot e- i d
sysname# conf i gur e
sysname( conf i g) # i nt er f ace por t - channel 3
sysname( conf i g- i nt er f ace) # pppoe i nt er medi at e- agent t r ust
sysname( conf i g- i nt er f ace) # no pppoe i nt er medi at e- agent t r ust
sysname# conf i gur e
sysname( conf i g) # vl an 2
sysname( conf i g- vl an) # f i xed 2, 5
sysname( conf i g- vl an) # unt agged 2, 5
sysname( conf i g- vl an) # exi t
sysname( conf i g) # pppoe i nt er medi at e- agent
sysname( conf i g) # pppoe i nt er medi at e- agent vl an 2
sysname( conf i g) # i nt er f ace por t - channel 2
sysname( conf i g- i nt er f ace) # pvi d 2
sysname( conf i g- i nt er f ace) #exi t
sysname( conf i g) # i nt er f ace por t - channel 5
sysname( conf i g- i nt er f ace) # pvi d 2
sysname( conf i g- i nt er f ace) # pppoe i nt er medi at e- agent t r ust
sysname( conf i g- i nt er f ace) #exi t
sysname( conf i g) # pppoe i nt er medi at e- agent vl an 2 ci r cui t - i d
sysname( conf i g) # pppoe i nt er medi at e- agent vl an 2 r emot e- i d
Chapter 59 PPPoE IA Commands
Ethernet Switch CLI Reference Guide 227
59.3.1 Vendor-Specific Tag Examples
The following examples show you how to configure the vendor-specific tag for PPPoE IA.
They assume there is a PPPoE IA client connected to port 2 and PPPoE IA server (or up-link
port) connected to port 5.
This is a variation of the previous one and uses the same initial setup (client on port 2, server
on port 5).
Because we didn't assign the appended string for remote-id in examples 1 and 2, the Switch
appends a string to carry the client's MAC address as default. If we want the remote-id to carry
the "ForPortVlanRemoteIdTest" information for a specific VLAN on a port, we can add the
following configuration:
Similarly, we can let the circuit-id carry the information which we configure:
sysname# conf i gur e
sysname( conf i g) # pppoe i nt er medi at e- agent
sysname( conf i g) # pppoe i nt er medi at e- agent f or mat - t ype access- node-
i dent i f i er st r i ng t est
sysname( conf i g) # pppoe i nt er medi at e- agent vl an 1
sysname( conf i g) # pppoe i nt er medi at e- agent vl an 1 ci r cui t - i d
sysname( conf i g) # pppoe i nt er medi at e- agent vl an 1 r emot e- i d
sysname( conf i g) # i nt er f ace por t - channel 5
sysname( conf i g- i nt er f ace) # pppoe i nt er medi at e- agent t r ust
sysname( conf i g- i nt er f ace) #exi t
sysname# conf i gur e
sysname( conf i g) # pppoe i nt er medi at e- agent
sysname( conf i g) # pppoe i nt er medi at e- agent f or mat - t ype i dent i f i er - st r i ng
st r i ng Pr i vat eTest opt i on spv del i mi t er /
sysname( conf i g) # pppoe i nt er medi at e- agent vl an 1
sysname( conf i g) # pppoe i nt er medi at e- agent vl an 1 ci r cui t - i d
sysname( conf i g) # pppoe i nt er medi at e- agent vl an 1 r emot e- i d
sysname( conf i g) # i nt er f ace por t - channel 5
sysname( conf i g- i nt er f ace) # pppoe i nt er medi at e- agent t r ust
sysname( conf i g- i nt er f ace) #exi t
sysname# conf i gur e
sysname( conf i g) # i nt er f ace por t - channel 2
sysname( conf i g- i nt er f ace) # pppoe i nt er medi at e- agent vl an 1 f or mat - t ype
r emot e- i d st r i ng For Por t Vl anRemot eI dTest
sysname( conf i g- i nt er f ace) # exi t
sysname# conf i gur e
sysname( conf i g) # i nt er f ace por t - channel 2
sysname( conf i g- i nt er f ace) # pppoe i nt er medi at e- agent vl an 1 f or mat - t ype
ci r cui t - i d st r i ng For Por t Vl anCi r cui t I dTest
sysname( conf i g- i nt er f ace) # exi t
Chapter 59 PPPoE IA Commands
Ethernet Switch CLI Reference Guide 228
Additionally, we can let the circuit-id or remote-id carry the user-configured information from
a specific port whose priority is less than the specific VLAN on a port setting:
Since we didn't assign the appended string for remote-id in example 1 and 2, it will carry the
client's MAC address as default.
sysname# conf i gur e
sysname( conf i g) # i nt er f ace por t - channel 2
sysname( conf i g- i nt er f ace) # pppoe i nt er medi at e- agent f or mat - t ype ci r cui t -
i d st r i ng For Por t Ci r cui t I dTest
sysname( conf i g- i nt er f ace) # pppoe i nt er medi at e- agent f or mat - t ype r emot e-
i d st r i ng For Por t Remot eI dTest
sysname( conf i g- i nt er f ace) # exi t
Ethernet Switch CLI Reference Guide 229
CHAPTER 60
Private VLAN Commands
This chapter explains how to use commands to configure (legacy) Private VLANs (PVLAN)
on the Switch.
60.1 Legacy PVLAN Overview
Private VLAN allows you to do port isolation within a VLAN in a simple way. In private
VLAN, a promiscuous port can communicate with any port in the same VLAN. While an
isolated port can communicate with the promiscuous port(s) only.
Figure 9 Private VLAN Example
If you change the VLAN settings, make sure you keep at least one port in the
promiscuous port list for a VLAN with private VLAN enabled. Otherwise, this
VLAN is blocked from the whole network.
Isolated ports: 2 ~6
Promiscuous port: 10
VLAN 123
2 6
10
Chapter 60 Private VLAN Commands
Ethernet Switch CLI Reference Guide 230
60.1.1 Legacy PVLAN Command Summary
The following section lists the commands for this feature.
60.1.2 Command Examples
This example sets a private VLAN rule (pvl an- 123) that applies to VLAN 123. Ports 7 and 8
are the promiscuour ports in VLAN 123. Other ports in this VLAN are added to the isolated
port list automatically and cannot communicate with each other. The isolated ports in VLAN
123 can send and receive traffic from ports 7 and 8. This example also shows all private
VLAN rules configured on the Switch.
Table 147 private-vlan (legacy) Command Summary
COMMAND DESCRIPTION M P
no pr i vat e- vl an <vlan-id> Removes the specified private VLAN rule. C 13
no pr i vat e- vl an <vlan-id>
i nact i ve
Enables the specified private VLAN rule. C 13
pr i vat e- vl an name <name> vl an
<vlan-id> pr omi scuous- por t
<port-list>
Sets a private VLAN rule. You specify which port(s) in a VLAN
is not isolated by adding it to the promiscuous port list. The
Switch automatically adds other ports in this VLAN to the
isolated port list and block traffic between the isolated ports.
Enter a name, VLAN ID and the promiscuous ports. You can
enter individual ports separated by a comma or a range of
ports by using a dash. For example, 1,3,5-8 indicates ports 1
and 3 and ports 5 through 8 are the promiscuous ports.
C 13
pr i vat e- vl an name <name> vl an
<vlan-id> pr omi scuous- por t
<port-list> i nact i ve
Disables a private VLAN rule. C 13
pr i vat e- vl an name <name> vl an
<vlan-id>
Sets a private VLAN rule for the specified VLAN. The Switch
automatically adds all ports (except the uplink port(s)) in this
VLAN to the isolated port list and blocks traffic between the
isolated ports. The uplink ports in the VLAN are always in the
promiscuous port list.
C 13
pr i vat e- vl an name <name> vl an
<vlan-id> i nact i ve
Disables a private VLAN rule. C 13
show pr i vat e- vl an Displays the settings and status of all private VLAN rules on
the Switch.
E 3
show pr i vat e- vl an <vlan-id> Displays the settings and status of the specified private
VLAN rule on the Switch.
E 3
sysname# conf i gur e
sysname( conf i g) # pr i vat e- vl an name pvl an- 123 vl an 123 pr omi scuous- por t 7- 8
sysname( conf i g) # exi t
sysname# show pr i vat e- vl an
Pr i vat e VLAN: 123 Act i ve: Yes
Name Pr omi scuous Por t
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
pvl an- 123 7- 8
sysname#
Chapter 60 Private VLAN Commands
Ethernet Switch CLI Reference Guide 231
This example sets a private VLAN rule (pvl an- 111) that applies to VLAN 111. Ports 1, 2 and
24 belong to VLAN 111. Ports 1 and 2 are added to the isolated port list automatically and
cannot communicate with each other. Port 24 is the uplink port and also the promiscuour port
in this VLAN. The isolated ports in VLAN 111 can send and receive traffic from the uplink
port 24. This example also shows all private VLAN rules configured on the Switch.
60.2 Private VLAN
Use Private VLAN if you want you to block traffic between ports in the same VLAN.
Community and Isolated VLANs are secondary private VLANs that must be associated with
a Primary private VLAN.
Primary: Ports in a Primary VLAN are promiscuous and they can communicate with all
promiscuous ports in the same primary VLAN, and all ports in associated community and
isolated VLANs. They cannot communicate with ports in different primary VLANs.
Community: Ports in a Community VLAN can communicate with promiscuous ports in an
associated Primary VLAN and other community ports in the same Community VLAN. They
cannot communicate with ports in Isolated VLANs, non-associated Primary VLAN
promiscuous ports nor community ports in different Community VLANs.
Isolated: Ports in an Isolated VLAN can communicate with promiscuous ports in an
associated Primary VLAN only. They cannot communicate with other isolated ports in the
same Isolated VLAN, non-associated Primary VLAN promiscuous ports nor any
community ports.
Tagged private VLANs can span switches but trunking ports must be VLAN-trunking ports.
60.2.1 Command Summary
The following section lists the commands for this feature.
sysname# conf i gur e
sysname( conf i g) # pr i vat e- vl an name pvl an- 111 vl an 111
sysname( conf i g) # exi t
sysname# show pr i vat e- vl an
Pr i vat e VLAN: 111 Act i ve: Yes
Name Pr omi scuous Por t
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
pvl an- 111 24
sysname#
Table 148 private-vlan Command Summary
COMMAND DESCRIPTION M P
vl an <vlan-id> Enters config-vlan mode for the specified VLAN. Creates the
VLAN, if necessary.
C 13
pr i vat e- vl an <pr i mar y |
i sol at ed | communi t y>
Configures the specified VLAN as a Primary VLAN, Isolated
VLAN or a Community VLAN.
C 13
Chapter 60 Private VLAN Commands
Ethernet Switch CLI Reference Guide 232
60.2.2 Command Example
This example sets private VLAN 100 as a primary private VLAN, private VLAN 101 as a
community private VLAN and private VLAN 102 as an isolated private VLAN. VLANs 101
and 102 are secondary private VLANs that are associated primary private VLAN 101. Use the
specified show command to display all private VLAN configurations on the switch.
pr i vat e- vl an associ at i on
<secondary-vlan-list>
Primary private VLANs can associate with several
(secondary) Community private VLANs and up to one
(secondary) Isolated private VLAN. Specify a primary private
VLAN, then associate it with a secondary VLAN(s) using this
command.
C 13
no pr i vat e- vl an <pr i mar y |
i sol at ed | communi t y>
Disables the VLAN as a Primary, Isolated or Community
VLAN.
C 13
no pr i vat e- vl an associ at i on Removes all association between the primary VLAN and
secondary VLANs.
C 13
no pr i vat e- vl an associ at i on
<secondary-vlan-list>
Removes association between the primary VLAN and the
specified secondary VLAN(s).
C 13
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
pr i vat e- vl an mode
<pr omi scuous | i sol at ed |
communi t y> associ at i on
<vl an- i d> dot 1q <t agged |
unt agged>
Configures PVLAN on a port. Set the associated PVLAN ID,
type of private VLAN and specify whether outgoing frames
from this port are tagged or not.
C 13
no pr i vat e- vl an mode Removes PVLAN mode configuration. C 13
show vl an pr i vat e- vl an Displays the settings and status of all private VLAN rules on
the Switch.
E 3
show vl an pr i vat e- vl an <vlan-id> Displays the settings and staus of the specified private VLAN
rule on the Switch.
E 3
Table 148 private-vlan Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 60 Private VLAN Commands
Ethernet Switch CLI Reference Guide 233
Primary PVLAN 100 is then mapped to port 2 on the Switch and outgoing frames from port 2 will be
tagged.
sysname# conf i gur e
sysname( conf i g) # vl an 100
sysname( conf i g- vl an) # pr i vat e- vl an pr i mar y
sysname( conf i g- vl an) # exi t
sysname( conf i g) # vl an 101
sysname( conf i g- vl an) # pr i vat e- vl an communi t y
sysname( conf i g- vl an) # exi t
sysname( conf i g) # vl an 102
sysname( conf i g- vl an) # pr i vat e- vl an i sol at ed
sysname( conf i g- vl an) # exi t
sysname( conf i g) # vl an 100
sysname( conf i g- vl an) # pr i vat e- vl an associ at i on 101, 102
sysname( conf i g- vl an) # exi t
sysname( conf i g) # exi t
sysname# show vl an pr i vat e- vl an
Pr i vat e Vl an:
Pr i mar y Secondar y Type Por t s
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
100 Pr i mar y
100 102 I sol at ed
100 101 Communi t y
sysname#
sysname# conf i gur e
sysname( conf i g) # i nt er f ace por t - channel 2
sysname( conf i g- i nt er f ace) #pr i vat e- vl an mode pr omi scuous associ at i on 100- - >
dot 1q t agged
sysname( conf i g- i nt er f ace) #exi t
sysname( conf i g) #
Ethernet Switch CLI Reference Guide 234
CHAPTER 61
Protocol-based VLAN
Commands
Use these commands to configure protocol based VLANs on the Switch.
61.1 Protocol-based VLAN Overview
Protocol-based VLANs allow you to group traffic based on the Ethernet protocol you specify.
This allows you to assign priority to traffic of the same protocol.
See also Chapter 75 on page 277 for subnet-based VLAN commands and Chapter 82 on page
294 for VLAN commands.
61.2 Command Summary
The following section lists the commands for this feature.
Table 149 protocol-based-vlan Command Summary
COMMAND DESCRIPTION M P
show i nt er f aces conf i g <port-
list> pr ot ocol - based- vl an
Displays the protocol based VLAN settings for the specified
port(s).
E 3
i nt er f ace por t - channel <port-
list>
Enters subcommand mode for configuring the specified ports. C 13
Chapter 61 Protocol-based VLAN Commands
Ethernet Switch CLI Reference Guide 235
61.3 Command Examples
This example creates an IP based VLAN called IP_VLAN on ports 1-4 with a VLAN ID of
200 and a priority 6.
pr ot ocol - based- vl an name
<name> et her net - t ype <ether-
num| i p| i px| ar p| r ar p| appl et a
l k| decnet > vl an <vlan-id>
pr i or i t y <0- 7>
Creates a protocol based VLAN with the specified
parameters.
name - Use up to 32 alphanumeric characters.
ether-num - if you dont select a predefined Ethernet
protocol (i p, i px, ar p, r ar p, appl et al k or decnet ), type
the protocol number in hexadecimal notationwith a prefix,
"0x". For example, type 0x0800 for the IP protocol and type
0x8137 for the Novell IPX protocol.
Note: Protocols in the hexadecimal number range
0x0000 to 0x05ff are not allowed.
pr i or i t y - specify the IEEE 802.1p priority that the Switch
assigns to frames belonging to this VLAN.
C 13
no pr ot ocol - based- vl an
et her net - t ype <ether-
num| i p| i px| ar p| r ar p| appl et a
l k| decnet >
Disables protocol based VLAN of the specified protocol on
the port.
C 13
Table 149 protocol-based-vlan Command Summary (continued)
COMMAND DESCRIPTION M P
sysname( conf i g) # i nt er f ace por t - channel 1- 4
sysname( conf i g- i nt er f ace) # pr ot ocol - based- vl an name I P_VLAN et her net - t ype i p
- - > vl an 200 pr i or i t y 6
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
sysname# show i nt er f aces conf i g 1- 4 pr ot ocol - based- vl an
Name Por t Packet t ype Et her net t ype Vl an Pr i or i t y Act i ve
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I P_VLAN 1 Et her I I i p 200 6 Yes
I P_VLAN 2 Et her I I i p 200 6 Yes
I P_VLAN 3 Et her I I i p 200 6 Yes
I P_VLAN 4 Et her I I i p 200 6 Yes
sysname#
Ethernet Switch CLI Reference Guide 236
CHAPTER 62
Queuing Commands
Use queuing commands to help solve performance degradation when there is network
congestion.
Queuing method configuration differs across Switch models.
Some models allow you to select a queuing method on a port-by-port basis. For example,
port 1 can use Strictly Priority Queuing and ports 2-8 can use Weighted Round Robin.
Other models allow you to specify one queuing method for all the ports at once.
62.1 Queuing Overview
The following queuing algorithms are supported by ZyXEL Switchyes:
Check your Users Guide for queuing algorithms supported by your model.
Strictly Priority Queuing (SPQ) - services queues based on priority only. As traffic
comes into the Switch, traffic on the highest priority queue, Q7 is transmitted first. When
that queue empties, traffic on the next highest-priority queue, Q6 is transmitted until Q6
empties, and then traffic is transmitted on Q5 and so on. If higher priority queues never
empty, then traffic on lower priority queues never gets sent.
Switch models which have only 4 queues, support a limited version of SPQ.
The highest level queue is serviced using SPQ and the remaining queues use
WRR queuing.
Chapter 62 Queuing Commands
Ethernet Switch CLI Reference Guide 237
Weighted Fair Queuing (WFQ)- guarantees each queue's minimum bandwidth based on
its bandwidth weight (portion) when there is traffic congestion. WFQ is activated only
when a port has more traffic than it can handle. Queues with larger weights get more
guaranteed bandwidth than queues with smaller weights. This queuing mechanism is
highly efficient in that it divides any available bandwidth across the different traffic
queues. By default, the weight for Q0 is 1, for Q1 is 2, for Q2 is 3, and so on. Guaranteed
bandwidth is calculated as follows:
For example, using the default setting, Q0 on Port 1 gets a guaranteed bandwidth of:
Weighted Round Robin Scheduling (WRR) - services queues on a rotating basis and is
activated only when a port has more traffic than it can handle. A queue is a given an
amount of bandwidth based on the queue weight value. Queues with larger weights get
more service than queues with smaller weights. This queuing mechanism is highly
efficient in that it divides any available bandwidth across the different traffic queues and
returns to queues that have not yet emptied.
Hybrid Mode: WRR & SPQ or WFQ & SPQ - some switch models allow you to
configure higher priority queues to use SPQ and use WRR or WFQ for the lower level
queues.
62.2 Command Summary: Port by Port Configuration
The following section lists the commands for this feature.
Queue Weight x Port Speed
Total Queue Weight
1 x 100 Mbps =3 Mbps
1+2+3+4+5+6+7+8
Table 150 Queuing Command Summary
COMMAND DESCRIPTION M P
queue pr i or i t y <0- 7> l evel <0- 7> Sets the IEEE 802.1p priority level-to-physical queue
mapping.
pr i or i t y <0- 7>: IEEE 802.1p defines up to eight separate
traffic types by inserting a tag into a MAC-layer frame that
contains bits to define class of service. Frames without an
explicit priority tag are given the default priority of the ingress
port.
l evel <0- 7>: The Switch has up to 8 physical queues that
you can map to the 8 priority levels. On the Switch, traffic
assigned to higher index queues gets through faster while
traffic in lower index queues is dropped if the network is
congested.
Note: Some models only support 4 queues.
C 13
i nt er f ace por t - channel <port-
list>
Enters subcommand mode for configuring the specified ports. C 13
spq Sets the switch to use Strictly Priority Queuing (SPQ) on the
specified ports.
C 13
Chapter 62 Queuing Commands
Ethernet Switch CLI Reference Guide 238
62.3 Command Examples: Port by Port Configuration
This example configures WFQ on ports 1-5 and assigns weight values (1,2,3,4,12,13,14,15) to
the physical queues (Q0 to Q8).
ge- spq <q0| q1| . . . | q7> Enables SPQ starting with the specified queue and
subsequent higher queues on the Gigabit ports.
C 13
hybr i d- spq l owest - queue
<q0| q1| . . . | q7>
Enables SPQ starting with the specified queue and
subsequent higher queues on the ports.
C 13
hybr i d- spq <q0| q1| . . . | q7> Enables SPQ starting with the specified queue and
subsequent higher queues on the ports.
C 13
no hybr i d- spq Disables SPQ starting with the specified queue and
subsequent higher queues on the ports.
C 13
wr r Sets the switch to use Weighted Round Robin (WRR) on the
specified ports.
C 13
wf q Sets the switch to use Weighted Fair Queuing (WFQ) on the
specified ports.
C 13
wei ght <wt1> <wt2> . . . <wt8> Assigns a weight value to each physical queue on the Switch.
When the Switch is using WRR or WFQ, bandwidth is divided
across different traffic queues according to their weights.
Queues with larger weights get more service than queues
with smaller weights. Weight values range: 1-15.
C 13
wr r <wt1> <wt2> . . . <wt8> Assigns a weight value to each physical queue on the Switch. C 13
Table 150 Queuing Command Summary (continued)
COMMAND DESCRIPTION M P
sysname( conf i g) # i nt er f ace por t - channel 1- 5
sysname( conf i g- i nt er f ace) # wf q
sysname( conf i g- i nt er f ace) # wei ght 1 2 3 4 12 13 14 15
Chapter 62 Queuing Commands
Ethernet Switch CLI Reference Guide 239
62.4 Command Summary: System-Wide Configuration
The following section lists the commands for this feature.
62.5 Command Examples: System-Wide
This example configures WFQ on the Switch and assigns weight values (1,2,3,4,12,13,14,15)
to the physical queues (Q0 to Q8).
This example configures the Switch to use WRR as a queueing method but configures the
Gigabit ports 9-12 to use SPQ for queues 5, 6 and 7.
Table 151 Queueing Command Summary
COMMAND DESCRIPTION M P
queue pr i or i t y <0- 7> l evel <0- 7> Sets the IEEE 802.1p priority level-to-physical queue
mapping.
pr i or i t y <0- 7>: IEEE 802.1p defines up to eight separate
traffic types by inserting a tag into a MAC-layer frame that
contains bits to define class of service. Frames without an
explicit priority tag are given the default priority of the ingress
port.
l evel <0- 7>: The Switch has up to 7 physical queues that
you can map to the 8 priority levels. On the Switch, traffic
assigned to higher index queues gets through faster while
traffic in lower index queues is dropped if the network is
congested.
Note: Some models only support 4 queues.
C 13
spq Sets the Switch to use Strictly Priority Queuing (SPQ). C 13
wr r Sets the Switch to use Weighted Round Robin (WRR). C 13
wf q Sets the Switch to use Weighted Fair Queuing (WFQ). C 13
f e- spq <q0| q1| . . . | q7> Enables SPQ starting with the specified queue and
subsequent higher queues on the 10/100 Mbps ports.
C 13
sysname( conf i g) # wf q
sysname( conf i g) # i nt er f ace por t - channel 1- 5
sysname( conf i g- i nt er f ace) # wei ght 1 2 3 4 12 13 14 15
sysname( conf i g) # wr r
sysname( conf i g) # i nt er f ace por t - channel 9- 12
sysname( conf i g- i nt er f ace) # ge- spq 5
Ethernet Switch CLI Reference Guide 240
CHAPTER 63
RADIUS Commands
Use these commands to configure external RADIUS (Remote Authentication Dial-In User
Service) servers.
63.1 Command Summary
The following section lists the commands for this feature.
Table 152 radius-server Command Summary
COMMAND DESCRIPTION M P
show r adi us- ser ver Displays RADIUS server settings. E 3
r adi us- ser ver host <index> <ip>
[ aut h- por t <socket-number>] [ key
[ ci pher ] <key-string>]
Specifies the IP address of the RADIUS authentication server.
Optionally, sets the UDP port number and shared secret.
index: 1 or 2.
ci pher : inform the Switch that the string after the word
"cipher" is an encrypted secret. This is used in password
encryption. To encrypt the password, use the passwor d
encr ypt i on command.
key-string: 1-32 alphanumeric characters.
C 14
r adi us- ser ver mode <i ndex-
pr i or i t y| r ound- r obi n>
Specifies how the Switch decides which RADIUS server to
select if you configure multiple servers.
i ndex- pr i or i t y: The Switch tries to authenticate with the
first configured RADIUS server. If the RADIUS server does
not respond, then the Switch tries to authenticate with the
second RADIUS server.
r ound- r obi n: The Switch alternates between RADIUS
servers that it sends authentication requests to.
C 14
r adi us- ser ver t i meout <1- 1000> Specify the amount of time (in seconds) that the Switch waits
for an authentication request response from the RADIUS
server.
In i ndex- pr i or i t y mode, the timeout is divided by the
number of servers you configure. For example, if you
configure two servers and the timeout is 30 seconds, then the
Switch waits 15 seconds for a response from each server.
C 14
no r adi us- ser ver <index> Resets the specified RADIUS server to its default values. C 14
Table 153 radius-accounting Command Summary
COMMAND DESCRIPTION M P
show r adi us- account i ng Displays RADIUS accounting server settings. E 3
r adi us- account i ng t i meout <1-
1000>
Specifies the RADIUS accounting server timeout value. C 13
Chapter 63 RADIUS Commands
Ethernet Switch CLI Reference Guide 241
63.2 Command Examples
This example sets up one primary RADIUS server (172.16.10.10) and one secondary
RADIUS server (172.16.10.11). The secondary RADIUS server is also the accounting server.
r adi us- account i ng host <index>
<ip>[ acct - por t <socket-number>]
[ key [ ci pher ] <key-string>]
Specifies the IP address of the RADIUS accounting server.
Optionally, sets the port number and key of the external
RADIUS accounting server.
index: 1 or 2.
ci pher : inform the Switch that the string after the word
"cipher" is an encrypted secret. This is used in password
encryption. To encrypt the password, use the passwor d
encr ypt i on command.
key-string: 1-32 alphanumeric characters.
C 13
no r adi us- account i ng <index> Resets the specified RADIUS accounting server to its default
values.
C 13
Table 153 radius-accounting Command Summary (continued)
COMMAND DESCRIPTION M P
sysname# conf i gur e
sysname( conf i g) # r adi us- ser ver mode i ndex- pr i or i t y
sysname( conf i g) # r adi us- ser ver host 1 172. 16. 10. 10
sysname( conf i g) # r adi us- ser ver host 2 172. 16. 10. 11
sysname( conf i g) # r adi us- account i ng host 1 172. 16. 10. 11
sysname( conf i g) # exi t
Ethernet Switch CLI Reference Guide 242
CHAPTER 64
Remote Management
Commands
Use these commands to specify a group of one or more trusted computers from which an
administrator may use one or more services to manage the Switch and to decide what services
you may use to access the Switch.
64.1 Command Summary
The following table describes user-input values available in multiple commands for this
feature.
The following section lists the commands for this feature.
Table 154 remote-management User-input Values
COMMAND DESCRIPTION
index 1-4
Table 155 remote-management Command Summary
COMMAND DESCRIPTION M P
show r emot e- management [ index] Displays all secured client information or, optionally, a specific
group of secured clients.
E 3
r emot e- management <index> Enables the specified group of trusted computers. C 13
no r emot e- management <index> Disables the specified group of trusted computers. C 13
r emot e- management <index> st ar t -
addr <ip> end- addr <ip> ser vi ce
<[ t el net ] [ f t p] [ ht t p] [ i cmp]
[ snmp] [ ssh] [ ht t ps] >
Specifies a group of trusted computer(s) from which an
administrator may use the specified service(s) to manage the
Switch. Group 0. 0. 0. 0 - 0. 0. 0. 0 refers to every computer.
C 13
no r emot e- management <index>
ser vi ce <[ t el net ] [ f t p] [ ht t p]
[ i cmp] [ snmp] [ ssh] [ ht t ps] >
Disables the specified service(s) for the specified group of
trusted computes.
C 13
Table 156 service-control Command Summary
COMMAND DESCRIPTION M P
show ser vi ce- cont r ol Displays service control settings. E 3
ser vi ce- cont r ol consol e
<timeout>
Defines the timeout period (in minutes) for a management
session via the console port.
C 13
ser vi ce- cont r ol f t p Allows FTP access to the Switch. C 13
Chapter 64 Remote Management Commands
Ethernet Switch CLI Reference Guide 243
64.2 Command Examples
This example allows computers in subnet 172.16.37.0/24 to access the Switch through any
service except SNMP, allows the computer at 192.168.10.1 to access the Switch only through
SNMP, and prevents other computers from accessing the Switch at all.
ser vi ce- cont r ol f t p <socket-
number> <timeout>
Specifies the service port for the FTP service and defines the
timeout period (in minutes).
C 13
no ser vi ce- cont r ol f t p Disables FTP access to the Switch. C 13
ser vi ce- cont r ol ht t p Allows HTTP access to the Switch. C 13
ser vi ce- cont r ol ht t p <socket-
number> <timeout>
Specifies the service port for the HTTP service and defines
the timeout period (in minutes).
timeout: 1-255
C 13
no ser vi ce- cont r ol ht t p Disables HTTP access to the Switch. C 13
ser vi ce- cont r ol ht t ps Allows HTTPS access to the Switch. C 13
ser vi ce- cont r ol ht t ps <socket-
number>
Specifies the service port for the HTTPS service. C 13
no ser vi ce- cont r ol ht t ps Disables HTTPS access to the Switch. C 13
ser vi ce- cont r ol i cmp Allows ICMP management packets. C 13
no ser vi ce- cont r ol i cmp Disables ICMP access to the Switch. C 13
ser vi ce- cont r ol snmp Allows SNMP management. C 13
no ser vi ce- cont r ol snmp Disables SNMP access to the Switch. C 13
ser vi ce- cont r ol ssh Allows SSH access to the Switch. C 13
ser vi ce- cont r ol ssh <socket-
number>
Specifies the service port for the SSH service. C 13
no ser vi ce- cont r ol ssh Disables SSH access to the Switch. C 13
ser vi ce- cont r ol t el net Allows Telnet access to the Switch. C 13
ser vi ce- cont r ol t el net <socket-
number> <timeout>
Specifies the service port for the Telnet service and defines
the timeout period (in minutes).
C 13
no ser vi ce- cont r ol t el net Disables Telnet access to the Switch. C 13
Table 156 service-control Command Summary (continued)
COMMAND DESCRIPTION M P
sysname# conf i gur e
sysname( conf i g) # r emot e- management 1 st ar t - addr 172. 16. 37. 0 end- addr
- - > 172. 16. 37. 255 ser vi ce t el net f t p ht t p i cmp ssh ht t ps
sysname( conf i g) # r emot e- management 2 st ar t - addr 192. 168. 10. 1 end- addr
- - > 192. 168. 10. 1 ser vi ce snmp
sysname( conf i g) # exi t
Chapter 64 Remote Management Commands
Ethernet Switch CLI Reference Guide 244
This example disables all SNMP and ICMP access to the Switch.
sysname# conf i gur e
sysname( conf i g) # no ser vi ce- cont r ol snmp
sysname( conf i g) # no ser vi ce- cont r ol i cmp
sysname( conf i g) # exi t
Ethernet Switch CLI Reference Guide 245
CHAPTER 65
RIP Commands
This chapter explains how to use commands to configure the Routing Information Protocol
(RIP) on the Switch.
65.1 RIP Overview
RIP is a protocol used for exchanging routing information between routers on a network.
Information is exchanged by routers periodically advertising a routing table. The Switch can
be configured to receive and incorporate routing table information sent from other routers, to
only send routing information to other routers, both send and receive routing information, or
to neither send nor receive routing information to or from other routers on the network.
65.2 Command Summary
The following section lists the commands for this feature.
Table 157 rip Command Summary
COMMAND DESCRIPTION M P
show r out er r i p Displays global RIP settings. E 3
show i p pr ot ocol s Displays the routing protocol the Switch is
using and its administrative distance value.
E 3
r out er r i p Enables and enters the RIP configuration
mode on the Switch.
C 13
Chapter 65 RIP Commands
Ethernet Switch CLI Reference Guide 246
65.3 Command Examples
This example:
Enables RIP.
Enters the IP routing domain 172.16.1.1 with subnet mask 255.255.255.0.
Sets the RIP direction in this routing domain to Both and the version to 2 with subnet
broadcasting (v2b); the Switch will send and receive RIP packets in this routing domain.
di st ance <10- 255> When two different routing protocols, such
as RIP and OSPF provide multiple routes
to the same destination, the Switch can use
the administrative distance of the route
source to determine which routing protocol
to use and add the route to the routing
table.
Sets the administrative distance (from 10 to
255) that is assigned to the routes learned
by RIP.
The lower the administrative distance value
is, the more preferable the routing protocol
is. If two routes have the same
administrative distance value, the Switch
uses the route that has the lowest metric
value.
Note: You cannot set two routing
protocols to have the same
administrative distance.
C 13
exi t Leaves the RIP configuration mode. C 13
no r out er r i p Disables RIP on the Switch. C 13
i nt er f ace r out e- domai n <ip-address>/ <mask-
bits>
Enters the configuration mode for this
routing domain.
C 13
i p r i p di r ect i on
<Out goi ng| I ncomi ng| Bot h| None> ver si on
<v1| v2b| v2m>
Sets the RIP direction and version in this
routing domain.
C 13
Table 157 rip Command Summary (continued)
COMMAND DESCRIPTION M P
sysname( conf i g) # r out er r i p
sysname( conf i g- r i p) # exi t
sysname( conf i g) # i nt er f ace r out e- domai n 172. 16. 1. 1/ 24
sysname( conf i g- i f ) # i p r i p di r ect i on Bot h ver si on v2b
Ethernet Switch CLI Reference Guide 247
CHAPTER 66
RMON
66.1 RMON Overview
Similar to SNMP, RMON (Remote Network Monitor) allows you to gather and monitor
network traffic.
Both SNMP and RMON use an agent, known as a probe, which are software processes
running on network devices to collect information about network traffic and store it in a local
MIB (Management Information Base). With SNMP, a network manager has to constantly poll
the agent to obtain MIB information. The probe on the Switch communicates with the network
manager via SNMP.
RMON groups contain detailed information about specific activities. The following table
describes the four RMON groups that your Switch supports.
66.2 User Input Values
This section lists the common term definition appears in this chapter.
Table 158 Supported RMON Groups
GROUP DESCRIPTION
Statistics Records current network traffic information on a specified Ethernet port.
History Records historical network traffic information on a specified Ethernet port for a
certain time period.
Alarm Provides alerts when configured alarm conditions are met.
Event Defines event generation and resulting actions to be taken based on an alarm.
Table 159 rmon command user input values
USER INPUT DESCRIPTION
event-index This is an events index number in the event table, between 1 and 65535.
alarm-index This is an alarms index number in the alarm table, between 1 and 65535.
etherstats-
index
This is an entrys index number in the Ethernet statistics table, between 1 and
65535.
historycontro
l-index
This is an entrys index number in the history control table, between 1 and 65535.
owner This is a persons name who will handle the event, alarm, historycontrol, or
Ethernet statistics entry.
interface-id This is a port that the Switch will poll for data.
Chapter 66 RMON
Ethernet Switch CLI Reference Guide 248
66.3 Command Summary
The following section lists the commands for this feature.
Table 160 rmon Command Summary
COMMAND DESCRIPTION M P
r mon al ar mal ar mt abl e <alarm-index> var i abl e
<variable> i nt er val <interval-integer>
sampl e- t ype <absol ut e| del t a> st ar t up- al ar m
<startup-alarm> r i si ng- t hr eshol d <rising-
integer> <event-index> f al l i ng- t hr eshol d
<falling-integer> <event-index> [ owner
<owner>]
Sets an alarm that occurs when the
sampled data exceeds the specified
threshold. See Section 66.3.2 on page 249
for more information.
C 13
r mon event event t abl e <event-index> [ l og]
[ t r ap <community>] [ owner <owner>]
[ descr i pt i on <description>]
Sets the actions that the Switch takes when
an associated alarm is generated by the
Switch.
l og: set this to have the Switch record the
logs for the alarm
t r ap <community>: set this to have the
Switch send a trap with the specified
community.
description: the description of the
event.
C 13
r mon hi st or y hi st or ycont r ol <historycontrol-
index> bucket s <1- 65535> i nt er val <1- 3600>
por t - channel <interface-id> [ owner <owner>]
Sets RMON history configuration settings.
bucket s <1- 65535>: the number of data
samplings the network manager requests
the Switch to store. At the time of writing,
the Switch can only store up to 200 data
samplings although you can configure a
bucket number higher than 200.
i nt er val <1- 3600>: the time in
seconds between data samplings.
C 13
r mon st at i st i cs et her st at s <etherstats-index>
por t - channel <interface-id> [ owner <owner>]
Sets to collect network traffic on the
specified Ethernet port since the last time
the Switch was reset.
C 13
no r mon al ar mal ar mt abl e <alarm-index> Removes the specified alarms settings. C 13
no r mon event event t abl e <event-index> Removes the actions settings of the
specified event.
C 13
no r mon hi st or y hi st or ycont r ol
<historycontrol-index>
Removes the RMON history configuration
settings for the specified event.
C 13
no r mon st at i st i cs et her st at s <etherstats-
index>
Stops collecting network traffic for the
specified event.
C 13
show r mon al ar mal ar mt abl e [ alarm-index] Displays all or the specified alarm settings. E 3
show r mon event event t abl e [ event-index] Displays all or the specified event settings. E 3
show r mon hi st or y hi st or ycont r ol [ i ndex
<historycontrol-index>]
Displays all historical network traffic
statistics or only the specified entrys.
E 3
show r mon hi st or y hi st or ycont r ol por t - channel
<interface-id>
Displays historical network traffic statistics
for the specified port.
E 3
show r mon st at i st i cs et her st at s [ i ndex
<etherstats-index>]
Displays all current network traffic statistics
or only the specified entrys.
E 3
show r mon st at i st i cs et her st at s por t - channel
<interface-id>
Displays current network traffic statistics for
the specified port.
E 3
Chapter 66 RMON
Ethernet Switch CLI Reference Guide 249
66.3.1 RMON Event Command Example
This example shows how to configure the Switchs action when an RMON event using the
following settings:
event index number: 2
enable event logging and SNMP traps: Yes
the traps community: public
who will handle this alarm: operator
additional description for this event entry: test
This example also shows how to display the setting results.
66.3.2 RMON Alarm Command Example
Syntax:
r mon al ar mal ar mt abl e <alarm-index> var i abl e <variable> i nt er val <interval-
integer> sampl e- t ype <absol ut e| del t a> st ar t up- al ar m<startup-alarm> r i si ng-
t hr eshol d <rising-integer> <event-index> f al l i ng- t hr eshol d <falling-integer>
<event-index> [ owner <owner>]
where
r as# conf i g
r as( conf i g) # r mon event event t abl e 2 l og t r ap publ i c owner oper at or
descr i pt i on t est
r as( conf i g) # exi t
r as# show r mon event event t abl e 2
Event 2 owned by oper at or i s val i d
event Type: l ogandt r ap
event Communi t y: publ i c
event Descr i pt i on: t est
1- 65535 This is an alarms index number in the alarm table.
variable This is the variable(s) whose data is sampled. The allowed options are:
[ifType.<port>]
[ifMtu.<port>]
[ifSpeed.<port>]
[ifAdminStatus.<port>]
[ifOperStatus.<port>]
[ifLastChange.<port>]
[ifInOctets.<port>]
[ifInUcastPkts.<port>]
[ifInNUcastPkts.<port>]
[ifInDiscards.<port>]
[ifInErrors.<port>]
[ifInUnknownProtos.<port>]
[ifOutOctets.<port>]
[ifOutUcastPkts.<port>]
[ifOutNUcastPkts.<port>]
[ifOutDiscards.<port>]
[ifOutErrors.<port>]
[ifOutQLen.<port>]
[sysMgmtCPUUsage.<index>]
[sysMemoryPoolUtil.<index>]
[<OID>]
Chapter 66 RMON
Ethernet Switch CLI Reference Guide 250
This example shows you how to configure an alarm using the following settings:
alarm index number: 2
variable: getting the number of errored packets received on port 1
how often to get a data sample: every 60 seconds
sampling method: delta
when to send an alarm: when the value is higher than the rising threshold
the rising threshold: 50
which events action should be taken for the rising alarm: 2 (see Section 66.3.1 on page
249)
the falling threshold: 0
which events action should be taken for the falling alarm: 0 (see Section 66.3.1 on page
249)
who will handle this alarm: operator
interval
-integer
This is the time interval (in seconds) between data samplings.
absol ut e
| del t a
This is the method of obtaining the sample value and calculating the value to be
compared against the thresholds.
absol ut e - the sampling value of the selected variable will be compared directly
with the thresholds.
del t a - the last sampling value of the selected variable will be subtracted from
the current sampling value first. Then use the difference to compare with the
thresholds.
startup-
alarm
Specify when the Switch should generate an alarm regarding to the rising and/or
falling thresholds.
r i si ngAl ar m- the Switch generates an alarm if the sampling value (or
calculated value) is greater than or equal to the rising threshold.
f al l i ngAl ar m- the Switch generates an alarm if the sampling value (or
calculated value) is less than or equal to the falling threshold.
r i si ngOr Fal l i ngAl ar m- the Switch generates an alarm either when the
sampling value (or calculated value) is greater than or equal to the rising
threshold or when the sampling value (or calculated value) is less than or equal to
the falling threshold.
rising-
integer
Specify an integer for the rising threshold. When a value that is greater or equal to
this threshold, the Switch generates an alarm.
rising-
event-
index
Specify an events index number (between 0 and 65535). The Switch will take the
corresponding action of the selected event for the rising alarm. Set this to 0 if you do
not want to take any action for the alarm.
falling-
integer
Specify an integer for the falling threshold. When a value that is smaller or equal to
this threshold, the Switch generates an alarm.
falling-
event-
index
Specify an events index number (between 0 and 65535). The Switch will take the
corresponding action of the selected event for the falling alarm. Set this to 0 if you do
not want to take any action for the alarm.
owner Specify who should handle this alarm.
Chapter 66 RMON
Ethernet Switch CLI Reference Guide 251
This example also shows how to display the setting results.
66.3.3 RMON Statistics Command Example
This example shows how to configure the settings to display current network traffic statistics
using the following settings:
the Ethernet statistics table entrys index number: 1
collecting data samples from which port: 12
This example also shows how to display the data collection results.
r as# conf i g
r as( conf i g) # r mon al ar mal ar mt abl e 2 var i abl e i f I nEr r or s. 1 i nt er val 60
sampl e- t ype del t a st ar t up- al ar mr i si ng r i si ng- t hr eshol d 50 2 f al l i ng-
t hr eshol d 0 2 owner oper at or
r as( conf i g) # exi t
r as# show r mon al ar mal ar mt abl e
Al ar m2 owned by oper at or i s val i d
al ar mVar i abl e: i f I nEr r or s. 1
al ar mI nt er val : 60
al ar mSampl eType: del t a
al ar mSt ar t upAl ar m: r i si ng
al ar mRi si ngThr eshol d: 50
al ar mRi si ngEvent I ndex: 2
al ar mFal l i ngThr eshol d: 0
al ar mFal l i ngEvent I ndex: 0
Last val ue moni t or ed: 0
r as#
r as# conf i g
r as( conf i g) # r mon st at i st i cs et her st at s 1 por t - channel 12
r as( conf i g) # exi t
r as# show r mon st at i st i cs et her st at s i ndex 1
St at i st i cs 1 owned by i s val i d
Moni t or on i nt er f ace por t - channel 12
et her St at sDr opEvent s: 0
et her St at sOct et s: 1576159
et her St at sPkt s: 19861
et her St at sBr oadcast Pkt s: 16721
et her St at sMul t i cast Pkt s: 1453
et her St at sCRCAl i gnEr r or s: 2
et her St at sUnder si zePkt s: 0
et her St at sOver si zePkt s: 0
et her St at sFr agment s: 0
et her St at sJ abber s: 0
et her St at sCol l i si ons: 0
Packet l engt h di st r i but i on:
64: 17952
65- 127: 666
128- 255: 671
256- 511: 509
512- 1023: 26
1024- 1518: 37
r as#
Chapter 66 RMON
Ethernet Switch CLI Reference Guide 252
66.3.4 RMON History Command Example
This example shows how to configure the settings to display historical network traffic
statisticsusing the following settings:
the history control table entrys index number: 1
how many data sampling data you want to store: 10
time interval between data samplings: 10 seconds
collecting data samples from which port: 12
This example also shows how to display the data collection results.
r as# conf i g
r as( conf i g) # r mon hi st or y hi st or ycont r ol 1 bucket s 10 i nt er val 10 por t -
channel 12
r as( conf i g) # exi t
r as# show r mon hi st or y hi st or ycont r ol i ndex 1
Hi st or y cont r ol 1 owned by i s val i d
Moni t or s i nt er f ace por t - channel 12 ever y 10 sec.
hi st or yCont r ol Bucket sRequest ed: 10
hi st or yCont r ol Bucket sGr ant ed: 10
Moni t or ed hi st or y 1:
Moni t or ed at 0 days 00h: 08m: 59s
et her Hi st or yI nt er val St ar t : 539
et her Hi st or yDr opEvent s: 0
et her Hi st or yOct et s: 667217
et her Hi st or yPkt s: 7697
et her Hi st or yBr oadcast Pkt s: 5952
et her Hi st or yMul t i cast Pkt s: 505
et her Hi st or yCRCAl i gnEr r or s: 2
et her Hi st or yUnder si zePkt s: 0
et her Hi st or yOver si zePkt s: 0
et her Hi st or yFr agment s: 0
et her Hi st or yJ abber s: 0
et her Hi st or yCol l i si ons: 0
et her Hi st or yUt i l i zat i on: 72
Moni t or ed hi st or y 2:
Moni t or ed at 0 days 00h: 09m: 08s
et her Hi st or yI nt er val St ar t : 548
et her Hi st or yDr opEvent s: 0
et her Hi st or yOct et s: 673408
et her Hi st or yPkt s: 7759
et her Hi st or yBr oadcast Pkt s: 5978
et her Hi st or yMul t i cast Pkt s: 519
et her Hi st or yCRCAl i gnEr r or s: 2
et her Hi st or yUnder si zePkt s: 0
et her Hi st or yOver si zePkt s: 0
et her Hi st or yFr agment s: 0
et her Hi st or yJ abber s: 0
et her Hi st or yCol l i si ons: 0
et her Hi st or yUt i l i zat i on: 0
r as#
Ethernet Switch CLI Reference Guide 253
CHAPTER 67
Running Configuration
Commands
Use these commands to back up and restore configuration and firmware.
67.1 Switch Configuration File
When you configure the Switch using either the CLI (Command Line Interface) or web
configurator, the settings are saved as a series of commands in a configuration file on the
Switch called r unni ng- conf i g. You can perform the following with a configuration file:
Back up Switch configuration once the Switch is set up to work in your network.
Restore a previously-saved Switch configuration.
Use the same configuration file to set all switches (of the same model) in your network to
the same settings.
You may also edit a configuration file using a text editor. Make sure you use valid commands.
The Switch rejects configuration files with invalid or incomplete commands.
67.2 Command Summary
The following table describes user-input values available in multiple commands for this
feature.
Table 161 running-config User-input Values
COMMAND DESCRIPTION
attribute Possible values: act i ve, name, speed- dupl ex, bpdu- cont r ol ,
f l ow- cont r ol , i nt r usi on- l ock, vl an1q, vl an1q- member ,
bandwi dt h- l i mi t , vl an- st acki ng, por t - secur i t y, br oadcast -
st or m- cont r ol , mi r r or i ng, por t - access- aut hent i cat or ,
queui ng- met hod, i gmp- f i l t er i ng, spanni ng- t r ee, mr st p,
pr ot ocol - based- vl an, por t - based- vl an, mac- aut hent i cat i on,
t r t cm, et her net - oam, l oopguar d, ar p- i nspect i on, dhcp-
snoopi ng.
Chapter 67 Running Configuration Commands
Ethernet Switch CLI Reference Guide 254
The following section lists the commands for this feature.
67.3 Command Examples
This example resets the Switch to the factory default settings.
This example copies all attributes of port 1 to port 2 and copies selected attributes (active,
bandwidth limit and STP settings) from port 1 to ports 5-8
Table 162 running-config Command Summary
COMMAND DESCRIPTION M P
show r unni ng- conf i g [ i nt er f ace
por t - channel <port-list>
[ <attribute> [ <. . . >] ] ]
Displays the current configuration file. This file contains the
commands that change the Switch's configuration from the
default settings to the current configuration. Optionally,
displays current configuration on a port-by-port basis.
E 3
show r unni ng- conf i g hel p Provides more information about the specified command. E 3
show r unnni ng- conf i g page Displays the current configuration file page by page. E 3
copy r unni ng- conf i g i nt er f ace
por t - channel <port> <port-list>
[ <attribute> [ <. . . >] ]
Clones (copies) the attributes from the specified port to other
ports. Optionally, copies the specified attributes from one port
to other ports.
E 13
copy r unni ng- conf i g hel p Provides more information about the specified command. E 13
copy r unni ng- conf i g sl ot <slot>
<slot-list>
Clones (copies) the attributes from the specified slot to other
slots.
E 13
copy r unni ng- conf i g sl ot <slot>
<slot-list> [ bandwi dt h- l i mi t
. . . ]
Copies the specified attributes from one slot to other slots. E 13
er ase r unni ng- conf i g Resets the Switch to the factory default settings. E 13
er ase r unni ng- conf i g i nt er f ace
por t - channel <port-list>
[ <attribute> [ <. . . >] ]
Resets to the factory default settings on a per-port basis and
optionally on a per-feature configuration basis.
E 13
er ase r unni ng- conf i g hel p Provides more information about the specified command. E 13
sync r unni ng- conf i g Uses the current configuration on the active management
card to update the current configuration on the standby
management card.
E 13
sysname# er ase r unni ng- conf i g
sysname# wr i t e memor y
sysname# copy r unni ng- conf i g i nt er f ace por t - channel 1 2
sysname# copy r unni ng- conf i g i nt er f ace por t - channel 1 5- 8 act i ve
bandwi dt h- l i mi t spanni ng- t r ee
Ethernet Switch CLI Reference Guide 255
CHAPTER 68
sFlow
This chapter shows you how to configure sFlow to have the Switch monitor traffic in a
network and send information to an sFlow collector for analysis.
68.1 sFlow Overview
sFlow (RFC 3176) is a standard technology for monitoring switched networks. An sFlow
agent embedded on a switch or router gets sample data and packet statistics from traffic
forwarded through its ports. The sFlow agent then creates sFlow data and sends it to an sFlow
collector. The sFlow collector is a server that collects and analyzes sFlow datagram. An sFlow
datagram includes packet header, input and output interface, sampling process parameters and
forwarding information.
sFlow minimizes impact on CPU load of the Switch as it analyzes sample data only. sFlow can
continuously monitor network traffic and create reports for network performance analysis and
troubleshooting. For example, you can use it to know which IP address or which type of traffic
caused network congestion.
68.2 Command Summary
The following section lists the commands for this feature.
Table 163 sflow Command Summary
COMMAND DESCRIPTION M P
i nt er f ace por t - channel <port-list> Enters config-interface mode for the specified port(s). C 13
no sf l ow Disables sFlow on this port. C 13
no sf l ow col l ect or <ip-address> Removes the specified collector IP address from the
port.
C 13
sf l ow Enables sFlow on this port. The Switch will monitor
traffic on this port and generate and send sFlow
datagram to the specified collector.
C 13
sf l ow col l ect or <ip-address>
[ pol l - i nt er val <20- 120>]
[ sampl e- r at e <256- 65535>]
Specifies a collector for this port. You can set a time
interval (from 20 to 120 in seconds) the Switch waits
before sending the sFlow datagram and packet
counters for this port to the collector. You can also set a
sample rate (N) from 256 to 65535. The Switch
captures every one out of N packets for this port to
create sFlow datagram.
C 13
no sf l ow Disables the sFlow agent on the Switch. C 13
Chapter 68 sFlow
Ethernet Switch CLI Reference Guide 256
68.3 Command Examples
This example enables the sFlow agent on the Switch and configures an sFlow collector with
the IP address 10.1.1.58 and UDP port 6343. This example also enables sFlow on ports 1, 2, 3
and 4 and configures the same collector, sample rate and poll interval for these ports.
no sf l ow col l ect or <ip-address> Removes an sFlow collector entry. C 13
sf l ow Enables the sFlow agent on the Switch. C 13
sf l ow col l ect or <ip-address> [ udp-
por t <udp-port>]
Configures an sFlow collector and the UDP port the
Switch uses to send sFlow datagram to the collector.
The default UDP port is 6343.
C 13
show sf l ow Displays sFlow settings on the Switch. E 3
Table 163 sflow Command Summary (continued)
COMMAND DESCRIPTION M P
sysname( conf i g) # sf l ow
sysname( conf i g) # sf l ow col l ect or 10. 1. 1. 58 udp- por t 6343
sysname( conf i g) # i nt er f ace por t - channel 1, 2, 3, 4
sysname( conf i g- i nt er f ace) # sf l ow
sysname( conf i g- i nt er f ace) # sf l ow col l ect or 10. 1. 1. 58 pol l - i nt er val 120
sampl e- r at e 2500
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
sysname# show sf l ow
sFl ow ver si on: 5
sFl ow Gl obal I nf or mat i on:
sFl ow St at us: Act i ve
i ndex Col l ect or Addr ess UDP por t
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 10. 1. 1. 58 6343
sFl ow Por t I nf or mat i on:
Por t Act i ve Sampl e- r at e Pol l - i nt er val Col l ect or Addr ess
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 Yes 2500 120 10. 1. 1. 58
2 Yes 2500 120 10. 1. 1. 58
3 Yes 2500 120 10. 1. 1. 58
4 Yes 2500 120 10. 1. 1. 58
5 No 32768 120 0. 0. 0. 0
6 No 32768 120 0. 0. 0. 0
7 No 32768 120 0. 0. 0. 0
. . . .
Ethernet Switch CLI Reference Guide 257
CHAPTER 69
Smart Isolation Commands
This chapter explains how to use commands to configure smart isolation on the Switch.
69.1 Smart Isolation Overview
To block traffic between two specific ports within the Switch, you can use port isolation or
private VLAN (see Chapter 60 on page 229 for more information). However, it does not work
across multiple switches. For example, broadcast traffic from isolated ports on a switch (say
B) can be forwarded to all ports on other switches (A and C), including the isolated ports.
Smart isolation allows you to prevent isolated ports on different switches from transmitting
traffic to each other. After you enable RSTP/MRSTP and smart isolation on the Switch, the
designated port(s) will be added to the isolated port list. In the following example, switch A is
the root bridge. Switch Bs root port 7 connects to switch A and switch Bs designated port 8
A
B
C
Isolated ports: 2~6
Root port: 7
Designated port: 8
Chapter 69 Smart Isolation Commands
Ethernet Switch CLI Reference Guide 258
connects to switch C. Traffic from isolated ports on switch B can only be sent through non-
isolated port 1 or root port 7 to switch A. This prevents isolated ports on switch B sending
traffic through designated port 8 to switch C. Traffic received on designated port 8 from
switch C will not be forwarded to any other isolated ports on switch B.
You should enable RSTP or MRSTP before you can use smart isolation on the Switch. If the
network topology changes, the Switch automatically updates the isolated port list with the
latest designated port information.
The uplink port connected to the Internet should be the root port. Otherwise,
with smart isolation enabled, the isolated ports cannot access the Internet.
69.2 Command Summary
The following section lists the commands for this feature.
A
B
C
Isolated ports: 2~6, 8
Root port: 7
Designated port: 8
Isolated ports: 2~6
Root port: 7
Designated port: 8
Before Smart Isolation:
After Smart Isolation:
Table 164 smart-isolation Command Summary
COMMAND DESCRIPTION M P
no smar t - i sol at i on Disables smart isolation on the Switch. C 13
show smar t - i sol at i on Enables smart isolation on the Switch. E 3
smar t - i sol at i on Displays the smart isolation status and information on the
Switch.
C 13
Chapter 69 Smart Isolation Commands
Ethernet Switch CLI Reference Guide 259
69.3 Command Examples
This example enables smart isolation and displays smart isolation status and information on
the Switch. You should have configured RSTP or MRSTP on the Switch in order to have smart
isolation work by adding the designated port(s) to the isolated port list. You also have created
VLAN 200 and configured a private VLAN rule for VLAN 200 to put ports 3, 4 and 5 in the
isolated port list. In this example, the designated port 7 is added to the isolated port list after
smart isolation is enabled.
The following table describes the labels in this screen.
sysname# conf i gur e
sysname( conf i g) # spanni ng- t r ee mode r st p
sysname( conf i g) # spanni ng- t r ee
sysname( conf i g) # spanni ng- t r ee pr i or i t y 32768
sysname( conf i g) # spanni ng- t r ee 3- 5, 7- 8
sysname( conf i g) # vl an 200
sysname( conf i g- vl an) # f i xed 3- 5, 7- 8
sysname( conf i g- vl an) # unt agged 3- 5, 7- 8
sysname( conf i g- vl an) # exi t
sysname( conf i g) # pr i vat e- vl an name pvl an- 200 vl an 200 pr omi scuous- por t 7- 8
sysname( conf i g) # smar t - i sol at i on
sysname( conf i g) # exi t
sysname# show smar t - i sol at i on
smar t i sol at i on enabl e
Pr i vat e VLAN:
Or i gi nal VLAN:
VLAN 200
i sol at ed 3- 5
pr omi scuous 7- 8
Smar t I sol at ed VLAN:
VLAN 200
i sol at ed 3- 5, 7
pr omi scuous 8
sysname#
Table 165 show smart-isolation
LABEL DESCRIPTION
Port isolation This section is available only when you have configured port isolation on
the Switch.
The following fields display the port isolation information before and after
smart isolation is enabled.
original isolated ports This field displays the isolated port list before smart isolation is enabled.
smart isolated ports This field displays the isolated port list after smart isolation is enabled.
Private VLAN This section is available only when you have configured private VLAN on
the Switch.
The following fields display the private VLAN information before and after
smart isolation is enabled.
Chapter 69 Smart Isolation Commands
Ethernet Switch CLI Reference Guide 260
Original VLAN This section displays the VLAN ID and isolated and promiscuous port list
before smart isolation is enabled
Smart Isolated VLAN This section displays the VLAN ID and isolated and promiscuous port list
after smart isolation is enabled
Table 165 show smart-isolation (continued)
LABEL DESCRIPTION
Ethernet Switch CLI Reference Guide 261
CHAPTER 70
SNMP Server Commands
Use these commands to configure SNMP on the Switch.
70.1 Command Summary
The following table describes user-input values available in multiple commands for this
feature.
The following section lists the commands for this feature.
Table 166 snmp-server User-input Values
COMMAND DESCRIPTION
property 1-32 alphanumeric characters
options aaa: aut hent i cat i on, aut hor i zat i on, account i ng.
interface: l i nkup, l i nkdown, aut onegot i at i on, l l dp, t r anscei ver -
ddm.
ip: pi ng, t r acer out e.
switch: st p, mact abl e, r mon, cf m.
system: col dst ar t , war mst ar t , f anspeed, t emper at ur e, vol t age,
r eset , t i mesync, i nt r usi onl ock, l oopguar d, er r di sabl e, poe.
Table 167 snmp-server Command Summary
COMMAND DESCRIPTION M P
show snmp- ser ver Displays SNMP settings. E 3
snmp- ser ver <[ cont act <system-
contact>] [ l ocat i on <system-
location>] >
Sets the geographic location and the name of the person in
charge of this Switch.
system-contact: 1-32 English keyboard characters;
spaces are allowed.
system-location: 1-32 English keyboard characters;
spaces are allowed.
C 13
snmp- ser ver ver si on
<v2c| v3| v3v2c>
Sets the SNMP version to use for communication with the
SNMP manager.
C 13
snmp- ser ver get - communi t y
[ ci pher ] <property>
Sets the get community. Only for SNMPv2c or lower.
ci pher : inform the Switch that the string after the word
"cipher" is an encrypted secret. This is used in password
encryption. To encrypt the password, use the passwor d
encr ypt i on command.
C 13
snmp- ser ver set - communi t y
[ ci pher ] <property>
Sets the set community. Only for SNMPv2c or lower.
ci pher : inform the Switch that the string after the word
"cipher" is an encrypted secret. This is used in password
encryption. To encrypt the password, use the passwor d
encr ypt i on command.
C 13
Chapter 70 SNMP Server Commands
Ethernet Switch CLI Reference Guide 262
snmp- ser ver t r ap- communi t y
[ ci pher ] <property>
Sets the trap community. Only for SNMPv2c or lower.
ci pher : inform the Switch that the string after the word
"cipher" is an encrypted secret. This is used in password
encryption. To encrypt the password, use the passwor d
encr ypt i on command.
C 13
snmp- ser ver t r ap- dest i nat i on
<ip> [ udp- por t <socket-number>]
[ ver si on <v1| v2c| v3>] [ user name
<name>]
Sets the IP addresses of up to four SNMP managers (stations
to send your SNMP traps to). You can configure up to four
managers.
C 13
no snmp- ser ver t r ap- dest i nat i on
<ip>
Deletes the specified SNMP manager. C 13
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
snmp t r ap [ options] Enables sending of SNMP traps on this port. The Switch
sends the related traps received on this port to the SNMP
manager.
options: enter the trap type you want to configure here,
such as intrusionlock, loopguard, errdisable, poe, linkup,
linkdown, autonegotiation, lldp, or transceiver-ddm.
C 13
no snmp t r ap [ options] Disables sending of SNMP traps on this port. The Switch
sends the related traps received on this port to the SNMP
manager.
options: enter the trap type you want to configure here,
such as intrusionlock, loopguard, errdisable, poe, linkup,
linkdown, autonegotiation, lldp, or transceiver-ddm.
C 13
Table 167 snmp-server Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 70 SNMP Server Commands
Ethernet Switch CLI Reference Guide 263
snmp- ser ver user name <name> sec-
l evel <noaut h| aut h| pr i v> [ aut h
<md5| sha>aut h- passwor d [ ci pher ]
<password>] | [ pr i v <des| aes>
pr i v- passwor d [ ci pher ]
<password>] gr oup <group-name>
Sets the authentication level for SNMP v3 user
authentication. Optionally, specifies the authentication and
encryption methods for communication with the SNMP
manager.
name: Enter the SNMP username.
noaut h: Use the username as the password string sent to
the SNMP manager. This is equivalent to the Get, Set and
Trap Community in SNMP v2c. This is the lowest security
level.
aut h: Implement an authentication algorithm for SNMP
messages sent by this user.
pr i v: Implement privacy settings and encryption for SNMP
messages sent by this user. This is the highest security level.
aut h- passwor d: Set the authentication password for SNMP
messages sent by this user.
pr i v- passwor d: Set the privacy settings password for
SNMP messages sent by this user.
gr oup- name: Set the View-based Access Control Model
(VACM) group. Available group names are:
admin: The user belongs to the admin group and has
maximum access rights to the Switch.
readwrite: The user can read and configure the Switch
except for confidential options (such as user account and
AAA configuration options.)
readonly: The user can read but cannot make any
configuration changes.
ci pher : inform the Switch that the string after the word
"cipher" is an encrypted secret. This is used in password
encryption. To encrypt the password, use the passwor d
encr ypt i on command.
Note: The settings on the SNMP manager must be
set at the same security level or higher than
the security level settings on the Switch.
C 14
no snmp- ser ver user name <name> Removes the specified SNMP users information. C 14
show snmp- ser ver [ user ] Displays the SNMP information on the Switch. The user flag
displays SNMP user information.
E 3
Table 168 snmp-server trap-destination enable traps Command Summary
COMMAND DESCRIPTION M P
snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps
Enables sending SNMP traps to a manager. C 13
no snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps
Disables sending of SNMP traps to a manager. C 13
snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps aaa
Sends all AAA traps to the specified manager. C 13
no snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps aaa
Prevents the Switch from sending any AAA traps to the
specified manager.
C 13
snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps aaa <options>
Sends the specified AAA traps to the specified manager. C 13
no snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps aaa <options>
Prevents the Switch from sending the specified AAA traps to
the specified manager.
C 13
Table 167 snmp-server Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 70 SNMP Server Commands
Ethernet Switch CLI Reference Guide 264
snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps i nt er f ace
Sends all interface traps to the specified manager. C 13
no snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps i nt er f ace
Prevents the Switch from sending any interface traps to the
specified manager.
C 13
snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps i nt er f ace
<options>
Sends the specified interface traps to the specified manager. C 13
no snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps i nt er f ace
<options>
Prevents the Switch from sending the specified interface
traps to the specified manager.
C 13
snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps i p
Sends all IP traps to the specified manager. C 13
no snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps i p
Prevents the Switch from sending any IP traps to the
specified manager.
C 13
snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps i p <options>
Sends the specified IP traps to the specified manager. C 13
no snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps i p <options>
Prevents the Switch from sending the specified IP traps to the
specified manager.
C 13
snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps swi t ch
Sends all switch traps to the specified manager. C 13
no snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps swi t ch
Prevents the Switch from sending any switch traps to the
specified manager.
C 13
snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps swi t ch
<options>
Sends the specified switch traps to the specified manager. C 13
no snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps swi t ch
<options>
Prevents the Switch from sending the specified switch traps
to the specified manager.
C 13
snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps syst em
Sends all system traps to the specified manager. C 13
no snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps syst em
Prevents the Switch from sending any system traps to the
specified manager.
C 13
snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps syst em
<options>
Sends the specified system traps to the specified manager. C 13
no snmp- ser ver t r ap- dest i nat i on
<ip> enabl e t r aps syst em
<options>
Prevents the Switch from sending the specified system traps
to the specified manager.
C 13
Table 168 snmp-server trap-destination enable traps Command Summary (continued)
COMMAND DESCRIPTION M P
Chapter 70 SNMP Server Commands
Ethernet Switch CLI Reference Guide 265
70.2 Command Examples
This example sets the Switch to not send the linkup and linkdown traps received on port 3 to
the SNMP manager.
This example shows you how to display the SNMP information on the Switch.
This example shows you how to display all SNMP user information on the Switch.
sysname# conf i gur e
sysname( conf i g) # i nt er f ace por t - channel 3
sysname( conf i g- i nt er f ace) # no snmp t r ap l i nkup l i nkdown
sysname# show snmp- ser ver
[ Gener al Set t i ng]
SNMP Ver si on : v2c
Get Communi t y : publ i c
Set Communi t y : publ i c
Tr ap Communi t y : publ i c
[ Tr ap Dest i nat i on ]
I ndex Ver si on I P Por t User name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 v2c 0. 0. 0. 0 162
2 v2c 0. 0. 0. 0 162
3 v2c 0. 0. 0. 0 162
4 v2c 0. 0. 0. 0 162
sysname# show snmp- ser ver user
[ User I nf or mat i on ]
I ndex Name Secur i t yLevel Gr oupName
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 admi n noaut h admi n
Ethernet Switch CLI Reference Guide 266
CHAPTER 71
STP and RSTP Commands
Use these commands to configure Spanning Tree Protocol (STP) and Rapid Spanning Tree
Protocol (RSTP) as defined in the following standards.
IEEE 802.1D Spanning Tree Protocol
IEEE 802.1w Rapid Spanning Tree Protocol
See Chapter 48 on page 190 and Chapter 49 on page 192 for more information on MRSTP and
MSTP commands respectively. See also Chapter 41 on page 175 for information on loopguard
commands.
71.1 Command Summary
The following section lists the commands for this feature.
Table 169 spanning-tree Command Summary
COMMAND DESCRIPTION M P
show spanni ng- t r ee conf i g Displays Spanning Tree Protocol (STP) settings. E 3
spanni ng- t r ee mode
<RSTP| MRSTP| MSTP>
Specifies the STP mode you want to implement on the
Switch.
C 13
spanni ng- t r ee Enables STP on the Switch. C 13
no spanni ng- t r ee Disables STP on the Switch. C 13
spanni ng- t r ee hel l o- t i me <1- 10>
maxi mum- age <6- 40>f or war d- del ay
<4- 30>
Sets Hello Time, Maximum Age and Forward Delay.
hel l o- t i me: The time interval in seconds between BPDU
(Bridge Protocol Data Units) configuration message
generations by the root switch.
maxi mum- age: The maximum time (in seconds) the Switch
can wait without receiving a BPDU before attempting to
reconfigure.
f or war d- del ay: The maximum time (in seconds) the
Switch will wait before changing states.
C 13
spanni ng- t r ee pr i or i t y <0- 61440> Sets the bridge priority of the Switch. The lower the numeric
value you assign, the higher the priority for this bridge.
pr i or i t y: Must be a multiple of 4096.
C 13
spanni ng- t r ee <port-list> Enables STP on a specified ports. C 13
no spanni ng- t r ee <port-list> Disables STP on listed ports. C 13
Chapter 71 STP and RSTP Commands
Ethernet Switch CLI Reference Guide 267
71.2 Command Examples
This example configures STP in the following ways:
1 Enables STP on the Switch.
2 Sets the bridge priority of the Switch to 0.
3 Sets the Hello Time to 4, Maximum Age to 20 and Forward Delay to 15.
4 Enables STP on port 5 with a path cost of 150.
5 Sets the priority for port 5 to 20.
spanni ng- t r ee <port-list> edge-
por t
Sets the specified ports as edge ports. This allows the port to
transition to a forwarding state immediately without having to
go through the listening and learning states.
Note: An edge port becomes a non-edge port as
soon as it receiveds a Bridge Protocol Data
Units (BPDU).
C 13
no spanni ng- t r ee <port-list>
edge- por t
Sets the listed ports as non-edge ports. C 13
spanni ng- t r ee <port-list> pat h-
cost <1- 65535>
Specifies the cost of transmitting a frame to a LAN through
the port(s). It is assigned according to the speed of the
bridge.
C 13
spanni ng- t r ee <port-list>
pr i or i t y <0- 255>
Sets the priority for the specified ports. Priority decides which
port should be disabled when more than one port forms a
loop in a Switch. Ports with a higher priority numeric value are
disabled first.
C 13
spanni ng- t r ee hel p Provides more information about the specified command. C 13
Table 169 spanning-tree Command Summary (continued)
COMMAND DESCRIPTION M P
sysname( conf i g) # spanni ng- t r ee
sysname( conf i g) # spanni ng- t r ee pr i or i t y 0
sysname( conf i g) # spanni ng- t r ee hel l o- t i me 4 maxi mum- age 20 f or war d- del ay
- - > 15
sysname( conf i g) # spanni ng- t r ee 5 pat h- cost 150
sysname( conf i g) # spanni ng- t r ee 5 pr i or i t y 20
Chapter 71 STP and RSTP Commands
Ethernet Switch CLI Reference Guide 268
This example shows the current STP settings.
The following table describes the labels in this screen.
sysname# show spanni ng- t r ee conf i g
Br i dge I nf o:
( a) Br i dgeI D: 8000- 001349aef b7a
( b) Ti meSi nceTopoChange: 9
( c) TopoChangeCount : 0
( d) TopoChange: 0
( e) Desi gnat edRoot : 8000- 001349aef b7a
( f ) Root Pat hCost : 0
( g) Root Por t : 0x0000
( h) MaxAge: 20 ( seconds)
( i ) Hel l oTi me: 2 ( seconds)
( j ) For war dDel ay: 15 ( seconds)
( k) Br i dgeMaxAge: 20 ( seconds)
( l ) Br i dgeHel l oTi me: 2 ( seconds)
( m) Br i dgeFor war dDel ay: 15 ( seconds)
( n) Tr ansmi ssi onLi mi t : 3
( o) For ceVer si on: 2
Table 170 show spanning-tree config
LABEL DESCRIPTION
BridgeID This field displays the unique identifier for this bridge, consisting of bridge
priority plus MAC address.
TimeSinceTopoChange This field displays the time since the spanning tree was last reconfigured.
TopoChangeCount This field displays the number of times the spanning tree has been
reconfigured.
TopoChange This field indicates whether or not the current topology is stable.
0: The current topology is stable.
1: The current topology is changing.
DesignatedRoot This field displays the unique identifier for the root bridge, consisting of
bridge priority plus MAC address.
RootPathCost This field displays the path cost from the root port on this Switch to the root
switch.
RootPort This field displays the priority and number of the port on the Switch through
which this Switch must communicate with the root of the Spanning Tree.
MaxAge This field displays the maximum time (in seconds) the root switch can wait
without receiving a configuration message before attempting to reconfigure.
HelloTime This field displays the time interval (in seconds) at which the root switch
transmits a configuration message.
ForwardDelay This field displays the time (in seconds) the root switch will wait before
changing states (that is, listening to learning to forwarding).
BridgeMaxAge This field displays the maximum time (in seconds) the Switch can wait
without receiving a configuration message before attempting to reconfigure.
BridgeHelloTime This field displays the time interval (in seconds) at which the Switch
transmits a configuration message.
BridgeForwardDelay This field displays the time (in seconds) the Switch will wait before
changing states (that is, listening to learning to forwarding).
Chapter 71 STP and RSTP Commands
Ethernet Switch CLI Reference Guide 269
In this example, we enable RSTP on ports 21-24. Port 24 is connected to the host while ports
21-23 are connected to another switch
TransmissionLimit This field displays the maximum number of BPDUs that can be transmitted
in the interval specified by BridgeHelloTime.
ForceVersion This field indicates whether BPDUs are RSTP (a value less than 3) or
MSTP (a value greater than or equal to 3).
sysname( conf i g) # conf i gur e
sysname( conf i g) # spanni ng- t r ee
sysname( conf i g) # spanni ng- t r ee 21- 24
sysname( conf i g) # no spanni ng- t r ee 21- 23 edge- por t
Table 170 show spanning-tree config (continued)
LABEL DESCRIPTION
Ethernet Switch CLI Reference Guide 270
CHAPTER 72
SSH Commands
Use these commands to configure SSH on the Switch.
72.1 Command Summary
The following section lists the commands for this feature.
72.2 Command Examples
This example disables the secure shell RSA1 encryption key and removes remote hosts
172.165.1.8 and 172.165.1.9 (with an SSH-RSA encryption key) from the list of known hosts.
Table 171 ssh Command Summary
COMMAND DESCRIPTION M P
show ssh Displays general SSH settings. E 3
show ssh sessi on Displays current SSH session(s). E 3
show ssh known- host s Displays known SSH hosts information. E 3
ssh known- host s <host-ip>
<1024| ssh- r sa| ssh- dsa> <key>
Adds a remote host to which the Switch can access using
SSH service.
C 13
no ssh known- host s <host-ip> Removes the specified remote hosts from the list of all known
hosts.
C 13
no ssh known- host s <host-ip>
<1024| ssh- r sa| ssh- dsa>
Removes the specified remote hosts with the specified public
key (1024-bit RSA1, RSA or DSA).
C 13
show ssh key <r sa1| r sa| dsa> Displays internal SSH public and private key information. E 3
no ssh key <r sa1| r sa| dsa> Disables the secure shell server encryption key. Your Switch
supports SSH versions 1 and 2 using RSA and DSA
authentication.
C 13
ssh <1| 2> <[ user@] dest-ip>
[ command </ >]
Connects to an SSH server with the specified SSH version
and, optionally, adds commands to be executed on the
server.
E 3
sysname( conf i g) # no ssh key r sa1
sysname( conf i g) # no ssh known- host s 172. 165. 1. 8
sysname( conf i g) # no ssh known- host s 172. 165. 1. 9 ssh- r sa
Chapter 72 SSH Commands
Ethernet Switch CLI Reference Guide 271
This example shows the general SSH settings.
The following table describes the labels in this screen.
sysname# show ssh
Conf i gur at i on
Ver si on : SSH- 1 & SSH- 2 ( ser ver & cl i ent ) , SFTP ( ser ver )
Ser ver : Enabl ed
Por t : 22
Host key bi t s : 1024
Ser ver key bi t s : 768
Suppor t aut hent i cat i on: Passwor d
Suppor t ci pher s : AES, 3DES, RC4, Bl owf i sh, CAST
Suppor t MACs : MD5, SHA1
Compr essi on l evel s : 1~9
Sessi ons:
Pr ot o Ser v Remot e I P Por t Local I P Por t Byt es I n
Byt es Out
Table 172 show ssh
LABEL DESCRIPTION
Configuration
Version This field displays the SSH versions and related protocols the Switch
supports.
Server This field indicates whether or not the SSH server is enabled.
Port This field displays the port number the SSH server uses.
Host key bits This field displays the number of bits in the Switchs host key.
Server key bits This field displays the number of bits in the SSH servers public key.
Support authentication This field displays the authentication methods the SSH server supports.
Support ciphers This field displays the encryption methods the SSH server supports.
Support MACs This field displays the message digest algorithms the SSH server supports.
Compression levels This field displays the compression levels the SSH server supports.
Sessions This section displays the current SSH sessions.
Proto This field displays the SSH protocol (SSH-1 or SSH-2) used in this session.
Serv This field displays the type of SSH state machine (SFTP or SSH) in this
session.
Remote IP This field displays the IP address of the SSH client.
Port This field displays the port number the SSH client is using.
Local IP This field displays the IP address of the SSH server.
Port This field displays the port number the SSH server is using.
Bytes In This field displays the number of bytes the SSH server has received from
the SSH client.
Bytes Out This field displays the number of bytes the SSH server has sent to the SSH
client.
Ethernet Switch CLI Reference Guide 272
CHAPTER 73
Static Multicast Commands
Use these commands to tell the Switch how to forward specific multicast frames to specific
port(s). You can also configure which to do with unknown multicast frames using the r out er
i gmp unknown- mul t i cast - f r ame command (see Table 76 on page 108).
73.1 Command Summary
The following section lists the commands for this feature.
Table 173 multicast-forward Command Summary
COMMAND DESCRIPTION M P
show mac addr ess- t abl e mul t i cast Displays the multicast MAC address table. E 3
mul t i cast - f or war d name <name>
mac <mac-addr> vl an <vlan-id>
i nact i ve
Creates a new static multicast forwarding rule. The rule name
can be up to 32 printable ASCII characters.
mac-addr: Enter a multicast MAC address which identifies
the multicast group. The last binary bit of the first octet pair in
a multicast MAC address must be 1. For example, the first
octet pair 00000001 is 01 and 00000011 is 03 in
hexadecimal, so 01:00:5e:00:00:0A and 03:00:5e:00:00:27
are valid multicast MAC addresses.
vlan-id: A VLAN identification number.
Note: Static multicast addresses do not age out.
C 13
mul t i cast - f or war d name <name>
mac <mac-addr> vl an <vlan-id>
i nt er f ace por t - channel <port-
list>
Associates a static multicast forwarding rule with specified
port(s) within a specified VLAN.
C 13
no mul t i cast - f or war d mac <mac-
addr> vl an <vlan-id>
Removes a specified static multicast rule. C 13
no mul t i cast - f or war d mac <mac-
addr> vl an <vlan-id> i nact i ve
Activates a specified static multicast rule. C 13
Chapter 73 Static Multicast Commands
Ethernet Switch CLI Reference Guide 273
73.2 Command Examples
This example shows the current multicast table. The Type field displays User for rules that
were manually added through static multicast forwarding or displays System for rules the
Switch has automatically learned through IGMP snooping.
This example removes a static multicast forwarding rule with multicast MAC address
(01:00:5e:06:01:46) which belongs to VLAN 1.
This example creates a static multicast forwarding rule. The rule forwards frames with
destination MAC address 01:00:5e:00:00:06 to ports 10~12 in VLAN 1.
sysname# show mac addr ess- t abl e mul t i cast
MAC Addr ess VLAN I D Type Por t
01: 02: 03: 04: 05: 06 1 User 1- 2
01: 02: 03: 04: 05: 07 2 User 2- 3
01: 02: 03: 04: 05: 08 3 User 1- 12
01: 02: 03: 04: 05: 09 4 User 9- 12
01: a0: c5: aa: aa: aa 1 Syst em 1- 12
sysname# no mul t i cast - f or war d mac 01: 00: 5e: 06: 01: 46 vl an 1
sysname# conf i gur e
sysname( conf i g) # mul t i cast - f or war d name AAA mac 01: 00: 5e: 00: 00: 06 vl an 1
i nt er f ace por t - channel 10- 12
Ethernet Switch CLI Reference Guide 274
CHAPTER 74
Static Route Commands
Use these commands to tell the Switch how to forward IP traffic. IP static routes are used by
layer-2 Switches to ensure they can respond to management stations not reachable via the
default gateway and to proactively send traffic, for example when sending SNMP traps or
conducting IP connectivity tests using ping.
Layer-3 Switches use static routes to forward traffic via gateways other than those defined as
the default gateway.
74.1 Command Summary
The following section lists the commands for this feature.
Table 174 ip route Command Summary
COMMAND DESCRIPTION M P
show i p r out e Displays the IP routing table. E 3
show i p r out e st at i c Displays the static routes. E 3
i p r out e <ip> <mask> <next-hop-
ip> [ met r i c <metric>] [ name
<name>] [ i nact i ve]
Creates a static route. If the <ip> <mask>already exists,
the Switch deletes the existing route first. Optionally, also sets
the metric, sets the name, and/or deactivates the static route.
metric: 1-15
name: 1-10 English keyboard characters
Note: If the <next-hop-ip>is not directly
connected to the Switch, you must make
the static route i nact i ve.
C 13
no i p r out e <ip> <mask> Removes a specified static route. C 13
no i p r out e <ip> <mask> <next-
hop-ip>
Removes a specified static route. C 13
no i p r out e <ip> <mask> i nact i ve Enables a specified static route. C 13
no i p r out e <ip> <mask> <next-
hop-ip> i nact i ve
Enables a specified static route. C 13
Chapter 74 Static Route Commands
Ethernet Switch CLI Reference Guide 275
74.2 Command Examples
This example shows the current routing table.
The following table describes the labels in this screen.
In this routing table, you can create an active static route if the <next - hop- i p>is in
172.16.37.0/24 or 127.0.0.0/16. You cannot create an active static route to other IP addresses.
For example, you cannot create an active static route that routes traffic for 192.168.10.1/24 to
192.168.1.1.
You can create this static route if it is inactive, however.
sysname# show i p r out e
Dest FF Len Devi ce Gat eway Met r i c st at Ti mer Use
Rout e t abl e i n VPS00
172. 16. 37. 0 00 24 swp00 172. 16. 37. 206 1 041b 0 1494
127. 0. 0. 0 00 16 swp00 127. 0. 0. 1 1 041b 0 0
0. 0. 0. 0 00 0 swp00 172. 16. 37. 254 1 801b 0 12411
Or i gi nal Gl obal Rout e t abl e
Table 175 show ip route
LABEL DESCRIPTION
Dest This field displays the destination network number. Along with Len, this
field defines the range of destination IP addresses to which this entry
applies.
FF This field is reserved.
Len This field displays the destination subnet mask. Along with Dest, this field
defines the range of destination IP addresses to which this entry applies.
Device This field is reserved.
Gateway This field displays the IP address to which the Switch forwards packets
whose destination IP address is in the range defined by Dest and Len.
Metric This field displays the cost associated with this entry.
stat This field is reserved.
Timer This field displays the number of remaining seconds this entry remains
valid. It displays 0 if the entry is always valid.
Use This field displays the number of times this entry has been used to forward
packets.
sysname# conf i gur e
sysname( conf i g) # i p r out e 192. 168. 10. 1 255. 255. 255. 0 192. 168. 1. 1
Er r or : The Act i on i s f ai l ed. Pl ease r e- conf i gur e set t i ng.
sysname# conf i gur e
sysname( conf i g) # i p r out e 192. 168. 10. 1 255. 255. 255. 0 192. 168. 1. 1 i nact i ve
Chapter 74 Static Route Commands
Ethernet Switch CLI Reference Guide 276
You can create an active static route that routes traffic for 192.168.10.1/24 to 172.16.37.254.
sysname# conf i gur e
sysname( conf i g) # i p r out e 192. 168. 10. 1 255. 255. 255. 0 172. 16. 37. 254
sysname( conf i g) # exi t
sysname# show i p r out e st at i c
I dx Act i ve Name Dest . Addr . Subnet Mask Gat eway Addr .
Met r i c
01 Y st at i c 192. 168. 10. 1 255. 255. 255. 0 172. 16. 37. 254 1
Ethernet Switch CLI Reference Guide 277
CHAPTER 75
Subnet-based VLAN Commands
Use these commands to configure subnet-based VLANs on the Switch.
75.1 Subnet-based VLAN Overview
Subnet-based VLANs allow you to group traffic based on the source IP subnet you specify.
This allows you to assign priority to traffic from the same IP subnet.
See also Chapter 61 on page 234 for protocol-based VLAN commands and Chapter 82 on
page 294 for VLAN commands.
75.2 Command Summary
The following section lists the commands for this feature.
Table 176 subnet-based-vlan Command Summary
COMMAND DESCRIPTION M P
show subnet - vl an Displays subnet based VLAN settings on the Switch. E 3
subnet - based- vl an Enables subnet based VLAN on the Switch. C 13
subnet - based- vl an dhcp- vl an-
over r i de
Sets the Switch to force the DHCP clients to obtain their IP
addresses through the DHCP VLAN.
C 13
subnet - based- vl an name <name>
sour ce- i p <ip> mask- bi t s <mask-
bits> vl an <vlan-id> pr i or i t y
<0- 7>
Specifies the name, IP address, subnet mask, VLAN ID of the
subnet based VLAN you want to configure along with the
priority you want to assign to the outgoing frames for this
VLAN.
C 13
subnet - based- vl an name <name>
sour ce- i p <ip> mask- bi t s <mask-
bits> sour ce- por t <port> vl an
<vlan-id> pr i or i t y <0- 7>
Specifies the name, IP address, subnet mask, source-port
and VLAN ID of the subnet based VLAN you want to
configure along with the priority you want to assign to the
outgoing frames for this VLAN.
Note: Implementation on a per port basis is not
available on all models.
C 13
subnet - based- vl an name <name>
sour ce- i p <ip> mask- bi t s <mask-
bits> vl an <vlan-id> pr i or i t y
<0- 7> i nact i ve
Disables the specified subnet-based VLAN. C 13
no subnet - based- vl an Disables subnet-based VLAN on the Switch. C 13
Chapter 75 Subnet-based VLAN Commands
Ethernet Switch CLI Reference Guide 278
75.3 Command Examples
This example configures a subnet-based VLAN (subnet1VLAN) with priority 6 and a VID of
200 for traffic received from IP subnet 172.16.37.1/24.
no subnet - based- vl an sour ce- i p
<ip> mask- bi t s <mask-bits>
Removes the specified subnet from the subnet-based VLAN
configuration.
C 13
no subnet - based- vl an dhcp- vl an-
over r i de
Disables the DHCP VLAN override setting for subnet-based
VLAN(s).
C 13
Table 176 subnet-based-vlan Command Summary (continued)
COMMAND DESCRIPTION M P
sysname# subnet - based- vl an name subnet 1VLAN sour ce- i p 172. 16. 37. 1 mask- bi t s
- - > 24 vl an 200 pr i or i t y 6
sysname( conf i g) # exi t
sysname# show subnet - vl an
Gl obal Act i ve : Yes
Name Sr c I P Mask- Bi t s Vl an Pr i or i t y Ent r y Act i ve
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
subnet 1VLAN 172. 16. 37. 1 24 200 6 1
Ethernet Switch CLI Reference Guide 279
CHAPTER 76
Syslog Commands
Use these commands to configure the devices system logging settings and to configure the
external syslog servers.
76.1 Command Summary
The following table describes user-input values available in multiple commands for this
feature.
The following section lists the commands for this feature.
Table 177 syslog User-input Values
COMMAND DESCRIPTION
type Possible values: syst em, i nt er f ace, swi t ch, aaa, i p.
Table 178 syslog Command Summary
COMMAND DESCRIPTION M P
sysl og Enables syslog logging. C 13
no sysl og Disables syslog logging. C 13
Table 179 syslog server Command Summary
COMMAND DESCRIPTION M P
sysl og ser ver <ip-address>l evel
<level>
Sets the IP address of the syslog server and the severity
level.
level: 0-7
C 13
no sysl og ser ver <ip-address> Deletes the specified syslog server. C 13
sysl og ser ver <ip-address>
i nact i ve
Disables syslog logging to the specified syslog server. C 13
no sysl og ser ver <ip-address>
i nact i ve
Enables syslog logging to the specified syslog server. C 13
Table 180 syslog type Command Summary
COMMAND DESCRIPTION M P
sysl og t ype <type> Enables syslog logging for the specified log type. C 13
sysl og t ype <type> f aci l i t y <0-
7>
Sets the file location for the specified log type. C 13
Chapter 76 Syslog Commands
Ethernet Switch CLI Reference Guide 280
sysl og t ype commands pr i vi l ege
<0- 14>
Sets a command privilege level. The Switch will only generate
logs for commands that have a privilege level greater than or
equal to the specified privilege level.
C 13
no sysl og t ype <type> Disables syslog logging for the specified log type. C 13
Table 180 syslog type Command Summary (continued)
COMMAND DESCRIPTION M P
281
PART V
Reference T-Z
TACACS+Commands (283)
Tech Support Commands (284)
Trunk Commands (288)
trTCM Commands (291)
VLAN Commands (294)
VLAN IP Commands (300)
VLAN Mapping Commands (302)
VLAN Port Isolation Commands (304)
VLAN Stacking Commands (305)
VLAN Trunking Commands (308)
VRRP Commands (309)
Additional Commands (313)
282
Ethernet Switch CLI Reference Guide 283
CHAPTER 77
TACACS+ Commands
Use these commands to configure external TACACS+(Terminal Access Controller Access-
Control System Plus) servers.
77.1 Command Summary
The following section lists the commands for this feature.
Table 181 tacacs-server Command Summary
COMMAND DESCRIPTION M P
show t acacs- ser ver Displays TACACS+server settings. E 3
t acacs- ser ver host <index> <ip>
[ aut h- por t <socket-number>] [ key
[ ci pher ] <key-string>]
Specifies the IP address of the specified TACACS+server.
Optionally, sets the port number and key of the TACACS+
server.
index: 1 or 2.
ci pher : inform the Switch that the string after the word
"cipher" is an encrypted secret. This is used in password
encryption. To encrypt the password, use the passwor d
encr ypt i on command.
key-string: 1-32 alphanumeric characters.
C 14
t acacs- ser ver mode <i ndex-
pr i or i t y| r ound- r obi n>
Specifies the mode for TACACS+server selection. C 14
t acacs- ser ver t i meout <1- 1000> Specifies the TACACS+server timeout value. C 14
no t acacs- ser ver <index> Disables TACACS+authentication on the specified server. C 14
Table 182 tacacs-accounting Command Summary
COMMAND DESCRIPTION M P
show t acacs- account i ng Displays TACACS+accounting server settings. E 3
t acacs- account i ng t i meout <1-
1000>
Specifies the TACACS+accounting server timeout value. C 13
t acacs- account i ng host <index>
<ip>[ acct - por t <socket-number>]
[ key [ ci pher ] <key-string>]
Specifies the IP address of the specified TACACS+
accounting server. Optionally, sets the port number and key of
the external TACACS+accounting server.
index: 1 or 2.
ci pher : inform the Switch that the string after the word
"cipher" is an encrypted secret. This is used in password
encryption. To encrypt the password, use the passwor d
encr ypt i on command.
key-string: 1-32 alphanumeric characters.
C 13
no t acacs- account i ng <index> Disables TACACS+accounting on the specified server. C 13
Ethernet Switch CLI Reference Guide 284
CHAPTER 78
Tech Support Commands
78.1 Tech-Support Overview
The Tech-Support feature is a log Enhancement tool that logs useful information such as CPU
utilization history, memory and Mbuf (Memory Buffer) information and crash reports for issue
analysis thats collected by customer support should you have difficulty with your Switch. The
Tech Support Command Line Interface eases your effort in obtaining these reports. Type
show t ech- suppor t command to see the log reports.
78.2 Command Summary
The following section lists the commands for this feature.
Table 183 Tech Support Command Summary
COMMAND DESCRIPTION M P
show t ech- suppor t Shows all tech-support log reports. E 13
show t ech- suppor t cpu Shows CPU history log. The log report holds 7 days of CPU
log data and is stored in volatile memory (RAM). The data is
lost if the Switch is turned off or in event of power outage.
After 7 days, the logs wrap around and new ones and replace
the earliest ones.
E 13
show t ech- suppor t memor y Shows the last memory session log before the Switch is
turned off or in event of power outage.
E 13
show t ech- suppor t mbuf Shows the mbuf that is higher than the threshold. Default
mbuf value is 50.
E 13
show t ech- suppor t cr ash Shows the last crash log before the Switch is turned off or in
event of power outage.
E 13
t ech- suppor t cpu <t hr eshol d>
keep <t i me>
Sets the CPU threshold and time value for CPU utilization
history report. Default CPU value is 80 and time 5.
cpu threshold: a number between and including 50 and
100.
time: a number between and including 5 to 60.
C 13
t ech- suppor t mbuf <t hr eshol d> Sets the Memory Buffer threshold for mbuf report.
mbuf threshold: a number between and including 50 to
100.
C 13
Chapter 78 Tech Support Commands
Ethernet Switch CLI Reference Guide 285
78.3 command examples
This example sets the mbuf threshold to 60%, checks the mbuf threshold setting and generates
the mbuf log report..
sysname# conf i g <cr >
sysname( conf i g) #
sysname( conf i g) # t ech- suppor t mbuf 60 <cr >
sysname ( conf i g) #
sysname( conf i g) # exi t <cr >
sysname# show r un <cr >
sysname# Bui l di ng conf i gur at i on. . .
Cur r ent conf i gur at i on:
t ech- suppor t mbuf 60
sysname#
sysname# show t ech- suppor t mbuf
Tech- suppor t ver si on: v1. 1
t i me : 0: 23: 18#@###### show syst em- i nf or mat i on
###########################msc
l ock = 1398080
Pr oduct Model : GS2210- 24
Syst emName : GS2210
Syst emCont act :
Syst emLocat i on :
Syst emup Ti me : 0: 23: 18 ( 22220 t i cks)
Et her net Addr ess : 00: 19: cb: ba: 11: 01
Boot base Ver si on : V1. 00 | 12/ 18/ 2013
ZyNOS F/ WVer si on : V4. 10( AAND. 0) 20140120 | 01/ 20/ 2014
Conf i g Boot I mage : 1
Cur r ent Boot I mage : 1
RomRasSi ze : 3206408
t i me : 0: 23: 18#@###### show t i me
#########################################msc
l ock = 1398090
Cur r ent Ti me 00: 23: 08 ( UTC)
Cur r ent Dat e 1970- 01- 01
t i me : 0: 23: 18#@###### mbuf l og
#####################################mscl ock
= 1398090
t i me: 1970- 1- 1 0: 19: 8
Pool I D: 0, Type: 0, used/ max cnt : 19/ 20
8005c92c 8005c92c 8005c92c 8005c92c 8005c92c 8005c92c 8005c92c 8005c92c
8005c92c 8005c92c 8005c92c 8005c92c 8005c92c 8005c92c 8005c92c 8005c92c
8005c92c 8005c92c 8005c92c
Pool I D: 0, Type: 1, used/ max cnt : 17/ 20
8005c92c 8005c92c 8005c92c 8005c92c 8005c92c 8005c92c 8005c92c 8005c92c
8005c92c 8005c92c 8005c92c 8005c92c 8005c92c 8005c92c 8005c92c 8005c92c
8005c92c
Pool I D: 0, Type: 2, used/ max cnt : 3/ 60
8005c92c 8005c92c 0
Pool I D: 1, Type: 0, used/ max cnt : 0/ 96
Pool I D: 1, Type: 1, used/ max cnt : 0/ 96
Pool I D: 1, Type: 2, used/ max cnt : 0/ 300
Chapter 78 Tech Support Commands
Ethernet Switch CLI Reference Guide 286
This example sets the CPU threshold to 80 and time to 5. Then uses the command show
l oggi ng to see the log.
sysname# conf i g <cr >
sysname( conf i g) #
sysname( conf i g) # t ech- suppor t cpu 80 keep 5 <cr >
sysname ( conf i g) #
sysname( conf i g) # exi t <cr >
sysname#
sysname# show l oggi ng
1 J an 01 02: 52: 55 I N aut hent i cat i on: CLI user admi n l ogi n
2 J an 01 02: 52: 54 NO aut hent i cat i on: Consol e aut hent i cat i on f ai l ur e
[ user name: ]
3 J an 01 00: 01: 20 NO syst em: Syst emcol d st ar t
4 J an 01 00: 01: 20 AL syst em: Syst emhas r eset wi t hout management
command
5 J an 01 00: 01: 00 I N syst em: CPU ut i l i zat i on i s over 80 and keep 5
second, dr i ver count = 0.
6 J an 01 00: 01: 00 I N syst em: CPU ut i l i zat i on i s over 80 and keep 5
second, dr i ver count = 0.
7 J an 01 00: 01: 00 I N syst em: CPU ut i l i zat i on i s over 80 and keep 5
second, dr i ver count = 0.
8 J an 01 00: 00: 55 I N aut hent i cat i on: CLI user admi n l ogi n
9 J an 01 00: 01: 19 NO syst em: Syst emcol d st ar t
10 J an 01 00: 01: 19 AL syst em: Syst emhas r eset wi t hout management
command
11 J an 01 00: 01: 00 I N syst em: CPU ut i l i zat i on i s over 80 and keep 5
second, dr i ver count = 0.
12 J an 01 00: 01: 00 I N syst em: CPU ut i l i zat i on i s over 80 and keep 5
second, dr i ver count = 0.
13 J an 01 00: 01: 00 I N syst em: CPU ut i l i zat i on i s over 80 and keep 5
second, dr i ver count = 0.
14 J an 01 00: 46: 09 DE i nt er f ace: Por t 43 l i nk down
15 J an 01 00: 45: 31 DE i nt er f ace: Por t 48 l i nk down
16 J an 01 00: 45: 26 DE i nt er f ace: Por t 36 l i nk down
17 J an 01 00: 45: 25 DE i nt er f ace: Por t 26 l i nk down
18 J an 01 00: 45: 21 DE i nt er f ace: Por t 43 l i nk up
19 J an 01 00: 45: 21 DE i nt er f ace: Por t 36 l i nk up
- - mor e - - , next page: Space, cont i nue: c, qui t : ESC
Ethernet Switch CLI Reference Guide 287
CHAPTER 79
TFTP Commands
Use these commands to back up and restore configuration and firmware via TFTP.
79.1 Command Summary
The following section lists the commands for this feature.
Table 184 tftp Command Summary
COMMAND DESCRIPTION M P
copy t f t p f l ash <ip> <remote-
file>
Restores firmware via TFTP. E 13
copy t f t p conf i g <index> <ip>
<remote-file>
Restores configuration with the specified filename from the
specified TFTP server to the specified configuration file on
the Switch.
index: 1 or 2
Use r el oad conf i g <1| 2>to restart the Switch and use
the restored configuration.
Note: This overwrites the configuration on the
Switch with the file from the TFTP server.
E 13
copy t f t p conf i g mer ge <index>
<ip> <remote-file>
Merges configuration with the specified filename from the
specified TFTP server with the specified configuration file on
the Switch.
index: 1 or 2
Use r el oad conf i g <1| 2>to restart the Switch and use
the restored configuration.
Note: This joins the configuration on the Switch
with the one on the TFTP server, keeping
the original configuration file and simply
adding those parts that are different.
E 13
copy r unni ng- conf i g t f t p <ip>
<remote-file>
Backs up running configuration to the specified TFTP server
with the specified file name.
E 13
Ethernet Switch CLI Reference Guide 288
CHAPTER 80
Trunk Commands
Use these commands to logically aggregate physical links to form one logical, higher-
bandwidth link. The Switch adheres to the IEEE 802.3ad standard for static and dynamic
(Link Aggregate Control Protocol, LACP) port trunking.
Different models support different numbers of trunks (T1, T2, ...). This chapter
uses a model that supports six trunks (from T1 to T6).
80.1 Command Summary
The following section lists the commands for this feature.
Table 185 trunk Command Summary
COMMAND DESCRIPTION M P
show t r unk Displays link aggregation information. E 3
t r unk <T1| T2| T3| T4| T5| T6> Activates a trunk group. C 13
no t r unk <T1| T2| T3| T4| T5| T6> Disables the specified trunk group. C 13
t r unk <T1| T2| T3| T4| T5| T6>
cr i t er i a <sr c- mac| dst - mac| sr c-
dst - mac| sr c- i p| dst - i p| sr c- dst -
i p>
Sets the traffic distribution type used for the specified trunk
group.
C 13
no t r unk <T1| T2| T3| T4| T5| T6>
cr i t er i a
Returns the traffic distribution type used for the specified
trunk group to the default (sr c- dst - mac).
C 13
t r unk <T1| T2| T3| T4| T5| T6>
i nt er f ace <port-list>
Adds a port(s) to the specified trunk group. C 13
no t r unk <T1| T2| T3| T4| T5| T6>
i nt er f ace <port-list>
Removes ports from the specified trunk group. C 13
t r unk <T1| T2| T3| T4| T5| T6> l acp Enables LACP for a trunk group. C 13
no t r unk <T1| T2| T3| T4| T5| T6>
l acp
Disables LACP in the specified trunk group. C 13
t r unk i nt er f ace <port-list>
t i meout <lacp-timeout>
Defines LACP timeout period (in seconds) for the specified
port(s).
lacp-timeout: 1 or 30
C 13
Chapter 80 Trunk Commands
Ethernet Switch CLI Reference Guide 289
80.2 Command Examples
This example activates trunk 1 and places ports 5-8 in the trunk using static link aggregation.
This example disables trunk one (T1) and removes ports 1, 3, 4, and 5 from trunk two (T2).
This example looks at the current trunks.
The following table describes the labels in this screen.
Table 186 lacp Command Summary
COMMAND DESCRIPTION M P
show l acp Displays LACP (Link Aggregation Control Protocol) settings. E 3
l acp Enables Link Aggregation Control Protocol (LACP). C 13
no l acp Disables the link aggregation control protocol (dynamic
trunking) on the Switch.
C 13
l acp syst em- pr i or i t y <1- 65535> Sets the priority of an active port using LACP. C 13
sysname( conf i g) # t r unk t 1
sysname( conf i g) # t r unk t 1 i nt er f ace 5- 8
sysname( conf i g) # no t r unk T1
sysname( conf i g) # no t r unk T2 i nt er f ace 1, 3- 5
sysname# show t r unk
Gr oup I D 1: i nact i ve
St at us: -
Member number : 0
Gr oup I D 2: i nact i ve
St at us: -
Member number : 0
Gr oup I D 3: i nact i ve
St at us: -
Member number : 0
Table 187 show trunk
LABEL DESCRIPTION
Group ID This field displays the trunk ID number and the current status.
inactive: This trunk is disabled.
active: This trunk is enabled.
Status This field displays how the ports were added to the trunk.
-: The trunk is disabled.
Static: The ports are static members of the trunk.
LACP: The ports joined the trunk via LACP.
Chapter 80 Trunk Commands
Ethernet Switch CLI Reference Guide 290
This example shows the current LACP settings.
The following table describes the labels in this screen.
Member Number This field shows the number of ports in the trunk.
Member This field is displayed if there are ports in the trunk.
This field displays the member port(s) in the trunk.
sysname# show l acp
AGGREGATOR I NFO:
I D: 1
[ ( 0000, 00- 00- 00- 00- 00- 00, 0000, 00, 0000) ] [ ( 0000, 00- 00- 00- 00- 00- 00
- - >, 0000, 00, 0000) ]
LI NKS :
SYNCS :
I D: 2
[ ( 0000, 00- 00- 00- 00- 00- 00, 0000, 00, 0000) ] [ ( 0000, 00- 00- 00- 00- 00- 00
- - >, 0000, 00, 0000) ]
LI NKS :
SYNCS :
I D: 3
[ ( 0000, 00- 00- 00- 00- 00- 00, 0000, 00, 0000) ] [ ( 0000, 00- 00- 00- 00- 00- 00
- - > , 0000, 00, 0000) ]
LI NKS :
SYNCS :
Table 188 show lacp
LABEL DESCRIPTION
ID This field displays the trunk ID to identify a trunk group, that is, one logical
link containing multiple ports.
[(0000,00-00-00-00-00-
00,0000,00,0000)]
This field displays the system priority, MAC address, key, port priority, and
port number.
LINKS In some switches this displays the ports whose link state are up.
In other switches this displays the ports which belong to this trunk group.
SYNCS These are the ports that are currently transmitting data as one logical link in
this trunk group.
Table 187 show trunk (continued)
LABEL DESCRIPTION
Ethernet Switch CLI Reference Guide 291
CHAPTER 81
trTCM Commands
This chapter explains how to use commands to configure the Two Rate Three Color Marker
(trTCM) feature on the Switch.
81.1 trTCM Overview
Two Rate Three Color Marker (trTCM, defined in RFC 2698) is a type of traffic policing that
identifies packets by comparing them to two user-defined rates: the Committed Information
Rate (CIR) and the Peak Information Rate (PIR). trTCM then tags the packets:
red - if the packet exceeds the PIR
yellow - if the packet is below the PIR, but exceeds the CIR
green - if the packet is below the CIR
The colors reflect the packets loss priority and the Switch changes the packets DiffServ Code
Point (DSCP) value based on the color.
81.2 Command Summary
The following section lists the commands for this feature.
Table 189 trtcm Command Summary
COMMAND DESCRIPTION M P
t r t cm Enables trTCM on the Switch. C 13
t r t cmmode <col or - awar e| col or - bl i nd> Sets the mode for trTCM on the Switch. C 13
no t r t cm Disables trTCM feature on the Switch. C 13
no t r t cmdscp pr of i l e <name> Removes the specified DSCP profile. C 13
t r t cmdscp pr of i l e <name> dscp gr een <0- 63>
yel l ow <0- 63> r ed <0- 63>
Configures a DSCP profile to specify the
DSCP values that you want to assign to
packets based on the color they are
marked via trTCM
C 13
show i nt er f aces conf i g <port-list> t r t cmdscp
pr of i l e
Displays DSCP profile settings on the
specified port(s).
E 3
show t r t cmdscp pr of i l e Displays all DSCP profiles settings on the
Switch.
E 3
i nt er f ace por t - channel <port-list> Enters subcommand mode for configuring
the specified ports.
C 13
t r t cm Enables trTCM on the specified port(s). C 13
Chapter 81 trTCM Commands
Ethernet Switch CLI Reference Guide 292
81.3 Command Examples
This example activates trTCM on the Switch with the following settings:
Sets the Switch to inspect the DSCP value of packets (color-aware mode).
Enables trTCM on ports 1-5.
Sets the Committed Information Rate (CIR) to 4000 Kbps.
Sets the Peak Information Rate (PIR) to 4500 Kbps.
Specifies DSCP value 7 for green packets, 22 for yellow packets and 44 for red packets.
no t r t cm Disables trTCM on the port(s). C 13
t r t cmci r <rate> Sets the Commit Information Rate on the
port(s).
C 13
t r t cmpi r <rate> Sets the Peak Information Rate on the
port(s).
C 13
t r t cmdscp gr een <0- 63> Specifies the DSCP value to use for
packets with low packet loss priority.
C 13
t r t cmdscp yel l ow <0- 63> Specifies the DSCP value to use for
packets with medium packet loss priority.
C 13
t r t cmdscp r ed <0- 63> Specifies the DSCP value to use for
packets with high packet loss priority.
C 13
t r t cmdscp pr of i l e <name> Specifies the DSCP profile that you want to
apply to packets on the port(s).
C 13
no t r t cmdscp pr of i l e Sets the Switch to apply the default DSCP
profile to packets on the port(s).
C 13
Table 189 trtcm Command Summary (continued)
COMMAND DESCRIPTION M P
sysname( conf i g) # t r t cm
sysname( conf i g) # t r t cmmode col or - awar e
sysname( conf i g) # i nt er f ace por t - channel 1- 5
sysname( conf i g- i nt er f ace) # t r t cm
sysname( conf i g- i nt er f ace) # t r t cmci r 4000
sysname( conf i g- i nt er f ace) # t r t cmpi r 4500
sysname( conf i g- i nt er f ace) # t r t cmdscp gr een 7
sysname( conf i g- i nt er f ace) # t r t cmdscp yel l ow 22
sysname( conf i g- i nt er f ace) # t r t cmdscp r ed 44
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
sysname# show r unni ng- conf i g i nt er f ace por t - channel 1 t r t cm
Bui l di ng conf i gur at i on. . .
Cur r ent conf i gur at i on:
i nt er f ace por t - channel 1
t r t cm
t r t cmci r 4000
t r t cmpi r 4500
t r t cmdscp gr een 7
t r t cmdscp yel l ow 22
t r t cmdscp r ed 44
exi t
Chapter 81 trTCM Commands
Ethernet Switch CLI Reference Guide 293
This examples activates trTCM on the Switch with the following settings :
Enable trTCM on the Switch
Enable Diffserv on the Switch
Set the Switch to inspect the DSCP value of packets (color-aware mode)
Create a trTCM DSCP profile with the name abc, and set DSCP value 1 for green
packets, 2 for yellow packets, 3 for red packets
Associate the profile abc with port 1
Enable trTCM on port 1
Enable Diffserv on port 1
Set the Committed Information Rate (CIR) to 4000 Kpbs
Set the Peak Information Rate (PIR) to 4500 Kbps
Display the settings of this example
sysname# conf i g
sysname( conf i g) # t r t cm
sysname( conf i g) # di f f ser v
sysname( conf i g) # t r t cmmode col or - awar e
sysname( conf i g) # t r t cmdscp pr of i l e abc dscp gr een 1 yel l ow 2 r ed 3
sysname( conf i g) # i nt er f ace por t - channel 1
sysname( conf i g- i nt er f ace) # t r t cm
sysname( conf i g- i nt er f ace) # di f f ser v
sysname( conf i g- i nt er f ace) # t r t cmdscp pr of i l e abc
sysname( conf i g- i nt er f ace) # t r t cmci r 4000
sysname( conf i g- i nt er f ace) # t r t cmpi r 4500
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
sysname # show r unni ng- conf i g
Bui l di ng conf i gur at i on. . .
Cur r ent conf i gur at i on:
vl an 1
name 1
nor mal " "
f i xed 1- 28
f or bi dden " "
unt agged 1- 28
i p addr ess def aul t - management 192. 168. 1. 1 255. 255. 255. 0
exi t
t r t cm
t r t cmmode col or - awar e
t r t cmdscp pr of i l e abc dscp gr een 1 yel l ow 2 r ed 3
i nt er f ace por t - channel 1
di f f ser v
t r t cm
t r t cmci r 4000
t r t cmpi r 4500
t r t cmdscp pr of i l e abc
exi t
di f f ser v
sysname #
Ethernet Switch CLI Reference Guide 294
CHAPTER 82
VLAN Commands
Use these commands to configure IEEE 802.1Q VLAN.
See Chapter 83 on page 300 for VLAN IP commands.
82.1 VLAN Overview
A VLAN (Virtual Local Area Network) allows a physical network to be partitioned into
multiple logical networks. Devices on a logical network belong to one group. A device can
belong to more than one group. With VLAN, a device cannot directly talk to or hear from
devices that are not in the same group(s); the traffic must first go through a router.
VLAN is unidirectional; it only governs outgoing traffic.
82.2 VLAN Configuration Overview
1 Use the vl an <vlan-id>command to configure or create a VLAN on the Switch.
The Switch automatically enters config-vlan mode. Use the exi t command when you
are finished configuring the VLAN.
2 Use the i nt er f ace por t - channel <port-list>command to set the VLAN
settings on a port. The Switch automatically enters config-interface mode. Use the pvi d
<vlan-id>command to set the VLAN ID you created for the port-list in the PVID
table. Use the exi t command when you are finished configuring the ports.
sysname ( conf i g) # vl an 2000
sysname ( conf i g- vl an) # name up1
sysname ( conf i g- vl an) # f i xed 5- 8
sysname ( conf i g- vl an) # no unt agged 5- 8
sysname ( conf i g- vl an) # exi t
sysname ( conf i g) # i nt er f ace por t - channel 5- 8
sysname ( conf i g- i nt er f ace) # pvi d 2000
sysname ( conf i g- i nt er f ace) # exi t
Chapter 82 VLAN Commands
Ethernet Switch CLI Reference Guide 295
See Chapter 31 on page 120 for i nt er f ace por t - channel commands.
82.3 Command Summary
The following section lists the commands for this feature.
The following section lists the commands for the ingress checking feature
VLAN ingress checking implementation differs across Switch models.
Table 190 vlan Command Summary
COMMAND DESCRIPTION M P
show vl an Displays the status of all VLANs. E 3
show vl an <vlan-id> Displays the status of the specified VLAN. E 3
show vl an <vlan-id> count er s Displays concurrent incoming packet statistics of the
specified VLAN and refreshes every 10 seconds until you
press the [ESC] button.
E 3
show vl an <vlan-id> i nt er f ace
por t - channel <port-num> count er s
Displays concurrent incoming packet statistics of the
specified port in the specified VLAN and refreshes every 10
seconds until you press the [ESC] button.
E 3
vl an- t ype <802. 1q| por t - based> Specifies the VLAN type. C 13
vl an <vlan-id> Enters config-vlan mode for the specified VLAN. Creates the
VLAN, if necessary.
C 13
f i xed <port-list> Specifies the port(s) to be a permanent member of this VLAN
group.
C 13
no f i xed <port-list> Sets fixed port(s) to normal port(s). C 13
f or bi dden <port-list> Specifies the port(s) you want to prohibit from joining this
VLAN group.
C 13
no f or bi dden <port-list> Sets forbidden port(s) to normal port(s). C 13
i nact i ve Disables the specified VLAN. C 13
no i nact i ve Enables the specified VLAN. C 13
name <name> Specifies a name for identification purposes.
name: 1-64 English keyboard characters
C 13
nor mal <port-list> Specifies the port(s) to dynamically join this VLAN group
using GVRP
C 13
unt agged <port-list> Specifies the port(s) you dont want to tag all outgoing frames
transmitted with this VLAN Group ID.
C 13
no unt agged <port-list> Specifies the port(s) you want to tag all outgoing frames
transmitted with this VLAN Group ID.
C 13
no vl an <vlan-id> Deletes a VLAN. C 13
Chapter 82 VLAN Commands
Ethernet Switch CLI Reference Guide 296
Some models enable or disable VLAN ingress checking on all the ports via the vl an1q
i ngr ess- check command.
Other models enable or disable VLAN ingress checking on each port individually via the
i ngr ess- check command in the config-interface mode.
82.4 Command Examples
This example configures ports 1 to 5 as fixed and untagged ports in VLAN 2000.
This example deletes entry 2 in the static VLAN table.
This example shows the VLAN table.
Table 191 vlan1q ingress-check Command Summary
COMMAND DESCRIPTION M P
show vl an1q i ngr ess- check Displays ingress check settings on the Switch. E 3
vl an1q i ngr ess- check Enables ingress checking on the Switch. The Switch discards
incoming frames on a port for VLANs that do not include this
port in its member set.
C 13
no vl an1q i ngr ess- check Disables ingress checking on the Switch. C 13
Table 192 ingress-check Command Summary
COMMAND DESCRIPTION M P
i nt er f ace por t - channel <port-list> Enters config-interface mode for the specified port(s). C 13
i ngr ess- check Enables ingress checking on the specified ports. The
Switch discards incoming frames for VLANs that do not
include this port in its member set.
C 13
no i ngr ess- check Disables ingress checking on the specified ports. C 13
sysname ( conf i g) # vl an 2000
sysname ( conf i g- vl an) # f i xed 1- 5
sysname ( conf i g- vl an) # unt agged 1- 5
sysname ( conf i g) # no vl an 2
sysname# show vl an
The Number of VLAN: 3
I dx. VI D St at us El ap- Ti me TagCt l
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 1 St at i c 0: 12: 13 Unt agged : 1- 2
Tagged :
2 100 St at i c 0: 00: 17 Unt agged :
Tagged : 1- 4
3 200 St at i c 0: 00: 07 Unt agged : 1- 2
Tagged : 3- 8
Chapter 82 VLAN Commands
Ethernet Switch CLI Reference Guide 297
The following table describes the labels in this screen.
This example enables ingress checking on ports 1-5.
Table 193 show vlan
LABEL DESCRIPTION
The Number of VLAN This field displays the number of VLANs on the Switch.
Idx. This field displays an entry number for each VLAN.
VID This field displays the VLAN identification number.
Status This field displays how this VLAN was added to the Switch.
Dynamic: The VLAN was added via GVRP.
Static: The VLAN was added as a permanent entry
Other: The VLAN was added in another way, such as Multicast VLAN
Registration (MVR).
Elap-Time This field displays how long it has been since a dynamic VLAN was
registered or a static VLAN was set up.
TagCtl This field displays untagged and tagged ports.
Untagged: These ports do not tag outgoing frames with the VLAN ID.
Tagged: These ports tag outgoing frames with the VLAN ID.
sysname ( conf i g) # i nt er f ace por t - channel 1- 5
sysname ( conf i g- vl an) # i ngr ess- check
Chapter 82 VLAN Commands
Ethernet Switch CLI Reference Guide 298
This example displays concurrent incoming packet statistics for VLAN 1.
The following table describes the labels in this screen.
MGS- 3712# show vl an 1 count er s
- - - - - - - - Pr ess ESC t o f i ni sh - - - - - - -
Syst emup t i me: 0: 59: 02
Vl an I nf o Vl an I d. : 1
Packet KBs/ s : 0. 0
Packet s : 2
Mul t i cast : 0
Br oadcast : 2
Tagged : 0
Di st r i but i on 64 : 2
65 t o 127 : 0
128 t o 255 : 0
256 t o 511 : 0
512 t o 1023 : 0
1024 t o 1518 : 0
Gi ant : 0
- - - - - - - - Pr ess ESC t o f i ni sh - - - - - - -
Syst emup t i me: 0: 59: 12
Vl an I nf o Vl an I d. : 1
Packet KBs/ s : 0. 384
Packet s : 10
Mul t i cast : 0
Br oadcast : 10
Tagged : 0
Di st r i but i on 64 : 10
65 t o 127 : 0
128 t o 255 : 0
256 t o 511 : 0
512 t o 1023 : 0
1024 t o 1518 : 0
Gi ant : 0
Table 194 show vlan counters
LABEL DESCRIPTION
System up time This field shows the total amount of time the connection has been up.
VLAN Info This field displays the VLAN ID you are viewing.
Packet
KBs/s This field shows the number kilobytes per second flowing through this
VLAN.
Packets This field shows the number of good packets (unicast, multicast and
broadcast) flowing through this VLAN.
Multicast This field shows the number of good multicast packets flowing through this
VLAN.
Broadcast This field shows the number of good broadcast packets flowing through this
VLAN.
Tagged This field shows the number of VLAN-tagged packets flowing through this
VLAN.
Distribution
Chapter 82 VLAN Commands
Ethernet Switch CLI Reference Guide 299
64 This field shows the number of packets (including bad packets) received
that were 64 octets in length.
65-127 This field shows the number of packets (including bad packets) received
that were between 65 and 127 octets in length.
128-255 This field shows the number of packets (including bad packets) received
that were between 128 and 255 octets in length.
256-511 This field shows the number of packets (including bad packets) received
that were between 256 and 511 octets in length.
512-1023 This field shows the number of packets (including bad packets) received
that were between 512 and 1023 octets in length.
1024-1518 This field shows the number of packets (including bad packets) received
that were between 1024 and 1518 octets in length.
Giant This field shows the number of packets (including bad packets) received
that were between 1519 octets and the maximum frame size.
The maximum frame size varies depending on your switch model. See
Product Specification chapter in your User's Guide.
Table 194 show vlan counters (continued)
LABEL DESCRIPTION
Ethernet Switch CLI Reference Guide 300
CHAPTER 83
VLAN IP Commands
Use these commands to configure the default gateway device and add IP domains for VLAN.
83.1 IP Interfaces Overview
The Switch needs an IP address for it to be managed over the network. The factory default IP
address is 192.168.1.1. The subnet mask specifies the network number portion of an IP
address. The factory default subnet mask is 255.255.255.0.
83.2 Command Summary
The following section lists the commands for this feature.
Table 195 vlan ip address Command Summary
COMMAND DESCRIPTION M P
show vl an <vlan-id> Displays the status of the specified VLAN. E 3
vl an <1- 4094> Enters config-vlan mode for the specified VLAN. Creates the
VLAN, if necessary.
C 13
i p addr ess def aul t -
management dhcp- boot p
Configures the Switch to get the in-band management IP
address from a DHCP server.
C 13
no i p addr ess def aul t -
management dhcp- boot p
Configures the Switch to use the static in-band management
IP address. The Switch uses the default IP address of
192.168.1.1 if you do not configure a static IP address.
C 13
i p addr ess def aul t -
management <ip-address>
<mask>
Sets and enables the in-band management IP address and
subnet mask.
C 13
i p addr ess def aul t -
management dhcp- boot p
r el ease
Releases the in-band management IP address provided by a
DHCP server.
C 13
i p addr ess def aul t -
management dhcp- boot p r enew
Updates the in-band management IP address provided by a
DHCP server.
C 13
i p addr ess <ip-address>
<mask>
Sets the IP address and subnet mask of the Switch in the
specified VLAN.
C 13
i p addr ess <ip-address>
<mask> manageabl e
Sets the IP address and subnet mask of the Switch in the
specified VLAN. Some switch models require that you
execute this command to ensure that remote management
via HTTP, Telnet or SNMP is activated.
C 13
no i p addr ess <ip-address>
<mask>
Deletes the IP address and subnet mask from this VLAN. C 13
Chapter 83 VLAN IP Commands
Ethernet Switch CLI Reference Guide 301
83.3 Command Examples
See Section 3.4 on page 20 for an example of how to configure a VLAN management IP
addressusing IPv4. See Chapter 35 on page 139 for IPv6 VLAN commands.
i p addr ess def aul t - gat eway
<ip-address>
Sets a default gateway IP address for this VLAN. C 13
no i p addr ess def aul t -
gat eway
Deletes the default gateway from this VLAN. C 13
Table 195 vlan ip address Command Summary (continued)
COMMAND DESCRIPTION M P
Ethernet Switch CLI Reference Guide 302
CHAPTER 84
VLAN Mapping Commands
Use these commands to configure VLAN mapping on the Switch. With VLAN mapping
enabled, the Switch can map the VLAN ID and priority level of packets received from a
private network to those used in the service providers network. The Switch discards the
tagged packets that do not match an entry in the VLAN mapping table.
You can not enable VLAN mapping and VLAN stacking at the same time.
84.1 Command Summary
The following section lists the commands for this feature.
Table 196 vlan mapping Command Summary
COMMAND DESCRIPTION M P
no vl an- mappi ng Disables VLAN mapping on the Switch. C 13
no vl an- mappi ng i nt er f ace por t -
channel <port> vl an <1- 4094>
Removes the specified VLAN mapping rule. C 13
no vl an- mappi ng i nt er f ace por t -
channel <port> vl an <1- 4094>
i nact i ve
Enables the specified VLAN mapping rule. C 13
vl an- mappi ng Enables VLAN mapping on the Switch. C 13
vl an- mappi ng name <name>
i nt er f ace por t - channel <port>
vl an <1- 4094> t r ansl at ed- vl an
<1- 4094> pr i or i t y <0- 7>
Creates a VLAN mapping rule. C 13
vl an- mappi ng name <name>
i nt er f ace por t - channel <port>
vl an <1- 4094> t r ansl at ed- vl an
<1- 4094> pr i or i t y <0- 7> i nact i ve
Disables the specified VLAN mapping rule. C 13
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
vl an- mappi ng Enables VLAN mapping on the port(s). C 13
no vl an- mappi ng Disables VLAN mapping on the port(s). C 13
Chapter 84 VLAN Mapping Commands
Ethernet Switch CLI Reference Guide 303
84.2 Command Examples
This example enables VLAN mapping on the Switch and creates a VLAN mapping rule to
translate the VLAN ID from 123 to 234 in the packets received on port 4.
This example enables VLAN mapping on port 4.
sysname# conf i gur e
sysname( conf i g) # vl an- mappi ng
sysname( conf i g) #vl an- mappi ng name t est i nt er f ace por t - channel 4 vl an 123
t r ansl at ed- vl an 234 pr i or i t y 3
sysname( conf i g) #
sysname# conf i gur e
sysname( conf i g) # i nt er f ace por t - channel 4
sysname( conf i g- i nt er f ace) # vl an- mappi ng
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) #
Ethernet Switch CLI Reference Guide 304
CHAPTER 85
VLAN Port Isolation Commands
Use these commands to configure VLAN port isolation on the Switch. VLAN port isolation
allows each port to communicate only with the CPU management port and the uplink ports,
but not to communicate with each other.
85.1 Command Summary
The following section lists the commands for this feature.
Table 197 vlan1q port-isolation Command Summary
COMMAND DESCRIPTION M P
show vl an1q por t - i sol at i on Displays port isolation settings. E 3
vl an1q por t - i sol at i on Enables VLAN port isolation. C 13
no vl an1q por t - i sol at i on Disables VLAN port isolation. C 13
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
no vl an1q por t - i sol at i on Enables VLAN port isolation on the port(s). C 13
vl an1q por t - i sol at i on Disables VLAN port isolation on the port(s). C 13
Ethernet Switch CLI Reference Guide 305
CHAPTER 86
VLAN Stacking Commands
Use these commands to add an outer VLAN tag to the inner IEEE 802.1Q tagged frames that
enter your network.
86.1 Command Summary
The following section lists the commands for this feature.
Table 198 vlan-stacking Command Summary
COMMAND DESCRIPTION M P
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
vl an- st acki ng pr i or i t y <0- 7> Sets the priority of the specified port(s) in port-based VLAN
stacking.
C 13
vl an- st acki ng r ol e
<nor mal | access| t unnel >
Sets the VLAN stacking port roles of the specified port(s).
nor mal : The Switch ignores frames received (or transmitted)
on this port with VLAN stacking tags.
access: the Switch adds the SP TPID tag to all incoming
frames received on this port.
t unnel : (available for Gigabit and faster ports only) for
egress ports at the edge of the service provider's network.
Note: In order to support VLAN stacking on a port,
the port must be able to allow frames of
1526 Bytes (1522 Bytes +4 Bytes for the
second tag) to pass through it.
C 13
vl an- st acki ng SPVI D <1- 4094> Sets the service provider VID of the specified port(s). C 13
vl an- st acki ng t unnel - t pi d
<tpid>
Sets a four-digit hexadecimal number from
0000 to FFFF that the Switch adds in the outer VLAN tag of
the outgoing frames sent on the tunnel port(s).
C 13
no vl an- st acki ng Disables VLAN stacking on the Switch. C 13
no vl an- st acki ng sel ect i ve- qi nq
i nt er f ace por t - channel <port>
cvi d <vlan-id>
Removes the specified selective VLAN stacking rule. C 13
no vl an- st acki ng sel ect i ve- qi nq
i nt er f ace por t - channel <port>
cvi d <vlan-id> i nact i ve
Enables the specified selective VLAN stacking rule. C 13
show vl an- st acki ng Displays VLAN stacking settings. E 3
vl an- st acki ng Enables VLAN stacking on the Switch. C 13
Chapter 86 VLAN Stacking Commands
Ethernet Switch CLI Reference Guide 306
86.2 Command Examples
In the following example figure, both A and B are Service Providers Network (SPN)
customers with VPN tunnels between their head offices and branch offices respectively. Both
have an identical VLAN tag for their VLAN group. The service provider can separate these
two VLANs within its network by adding tag 37 to distinguish customer A and tag 48 to
distinguish customer B at edge device x and then stripping those tags at edge device y as the
data frames leave the network.
Figure 10 Example: VLAN Stacking
vl an- st acki ng <sptpid> Sets the SP TPID (Service Provider Tag Protocol Identifier).
SP TPID is a standard Ethernet type code identifying the
frame and indicating whether the frame carries IEEE 802.1Q
tag information. Enter a four-digit hexadecimal number from
0000 to FFFF.
C 13
vl an- st acki ng sel ect i ve- qi nq
name <name> i nt er f ace por t -
channel <port>cvi d <cvid>spvi d
<spvid> pr i or i t y <0- 7>
Creates a selective VLAN stacking rule.
cvid: 1 - 4094. This is the VLAN tag carried in the packets
from the subscribers.
spvid: 1 - 4094: This is the service providers VLAN ID (the
outer VLAN tag).
C 13
vl an- st acki ng sel ect i ve- qi nq
name <name> i nt er f ace por t -
channel <port>cvi d <cvid>spvi d
<spvid> pr i or i t y <0- 7> i nact i ve
Disables the specified selective VLAN stacking rule. C 13
Table 198 vlan-stacking Command Summary (continued)
COMMAND DESCRIPTION M P
VLAN 24
VLAN 24
SPN
VLAN 24
VLAN 24
Customer B Customer B
Customer A
Customer A
A: 37, 24
B: 48, 24
x y
Chapter 86 VLAN Stacking Commands
Ethernet Switch CLI Reference Guide 307
This example shows how to configure ports 1 and 2 on the Switch to tag incoming frames with
the service providers VID of 37 (ports are connected to customer A network). This example
also shows how to set the priority for ports 1 and 2 to 3.
sysname( conf i g) # vl an- st acki ng
sysname( conf i g) # i nt er f ace por t - channel 1- 2
sysname( conf i g- i nt er f ace) # vl an- st acki ng r ol e access
sysname( conf i g- i nt er f ace) # vl an- st acki ng spvi d 37
sysname( conf i g- i nt er f ace) # vl an- st acki ng pr i or i t y 3
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # exi t
sysname# show vl an- st acki ng
Swi t ch Vl an St acki ng Conf i gur at i on
Oper at i on: act i ve
STPI D: 0x8100
Por t Rol e SPVI D Pr i or i t y
01 access 37 3
02 access 37 3
03 access 1 0
04 access 1 0
05 access 1 0
06 access 1 0
07 access 1 0
08 access 1 0
. . . .
Ethernet Switch CLI Reference Guide 308
CHAPTER 87
VLAN Trunking Commands
Use these commands to decide what the Switch should do with frames that belong to unknown
VLAN groups.
87.1 Command Summary
The following section lists the commands for this feature.
Table 199 vlan-trunking Command Summary
COMMAND DESCRIPTION M P
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
vl an- t r unki ng Enables VLAN trunking on ports connected to other switches
or routers (but not ports directly connected to end users). This
allows frames belonging to unknown VLAN groups to go out
via the VLAN-trunking port.
C 13
no vl an- t r unki ng Disables VLAN trunking on the port(s). C 13
Ethernet Switch CLI Reference Guide 309
CHAPTER 88
VRRP Commands
This chapter explains how to use commands to configure the Virtual Router Redundancy
Protocol (VRRP) on the Switch.
88.1 VRRP Overview
VRRP is a protocol that allows you to configure redundant router connections. The protocol
reduces downtime in case of a single link failure. Multiple routers are connected and one is
elected as the master router. If the master router fails, then one of the backup routers takes over
the routing function within a routing domain.
88.2 Command Summary
The following section lists the commands for this feature.
Table 200 VRRP Command Summary
COMMAND DESCRIPTION M P
r out er vr r p net wor k <ip-address>/ <mask-bits>
vr - i d <1~7> upl i nk- gat eway <ip-address>
Adds a new VRRP network and enters the
VRRP configuration mode.
C 13
name <name> Sets a descriptive name of the VRRP
setting for identification purposes.
C 13
pr i or i t y <1~254> Sets the priority of the uplink-gateway. C 13
i nt er val <1~255> Sets the time interval (in seconds) between
Hello message transmissions.
C 13
pr i mar y- vi r t ual - i p <ip-address> Sets the primary VRRP virtual gateway IP
address.
C 13
no pr i mar y- vi r t ual - i p <ip-address> Resets the primary VRRP virtual gateway
IP address.
C 13
secondar y- vi r t ual - i p <ip-address> Sets the secondary VRRP virtual gateway
IP address.
C 13
no secondar y- vi r t ual - i p Sets the network to use the default
secondary virtual gateway (0.0.0.0).
C 13
no pr i mar y- vi r t ual - i p Resets the network to use the default
primary virtual gateway (interface IP
address).
C 13
i nact i ve Disables the VRRP settings. C 13
no i nact i ve Activates this VRRP. C 13
Chapter 88 VRRP Commands
Ethernet Switch CLI Reference Guide 310
88.3 Command Examples
The following figure shows a VRRP network example with the switches (A and B)
implementing one virtual router VR1 to ensure the link between the host X and the uplink
gateway G. Host X is configured to use VR1 (192.168.1.254) as the default gateway. Switch A
has a higher priority, so it is the master router. Switch B, having a lower priority, is the backup
router.
Figure 11 Example: VRRP
no pr eempt Disables VRRP preemption mode. C 13
pr eempt Enables preemption mode. C 13
exi t Exits from the VRRP command mode. C 13
no r out er vr r p net wor k <ip-address>/ <mask-
bits> vr - i d <1~7>
Deletes VRRP settings. C 13
i nt er f ace r out e- domai n <ip-address>/ <mask-
bits> i p vr r p aut hent i cat i on- key <key>
Sets the VRRP authentication key.
key: Up to 8 alphanumeric characters.
C 13
i nt er f ace r out e- domai n <ip-address>/ <mask-
bits> no i p vr r p aut hent i cat i on- key
Resets the VRRP authentication key. C 13
show r out er vr r p Displays VRRP settings. C 13
Table 200 VRRP Command Summary (continued)
COMMAND DESCRIPTION M P
E
t
h
e
r
n
e
t
VR1
VRID = 1
10.10.1.254
Default Gateway
10.10.1.254
10.10.1.252
10.10.1.253
172.16.1.1
172.16.1.10
A
B
X
Priority = 200
Priority = 100
172.16.1.200
PVID = 100
PVID = 100
PVID = 200
PVID = 200
Chapter 88 VRRP Commands
Ethernet Switch CLI Reference Guide 311
This example shows how to create the IP routing domains and configure the Switch to act as
router A in the topology shown in Figure 11 on page 310.
sysname# conf i g
sysname( conf i g) # vl an 100
sysname( conf i g- vl an) # f i xed 1- 4
sysname( conf i g- vl an) # unt agged 1- 4
sysname( conf i g- vl an) # i p addr ess 10. 10. 1. 252 255. 255. 255. 0
sysname( conf i g- vl an) # exi t
sysname( conf i g) i nt er f ace por t - channel 1- 4
sysname( conf i g- i nt er f ace) # pvi d 100
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # vl an 200
sysname( conf i g- vl an) # f i xed 24- 28
sysname( conf i g- vl an) # unt agged 24- 28
sysname( conf i g- vl an) # i p addr ess 172. 16. 1. 1 255. 255. 255. 0
sysname( conf i g- vl an) # exi t
sysname( conf i g) # i nt er f ace por t - channel 24- 28
sysname( conf i g- i nt er f ace) # pvi d 200
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # r out er vr r p net wor k 10. 10. 1. 252/ 24 vr - i d 1 upl i nk- gat eway
172. 16. 1. 200
sysname( conf i g- vr r p) # name VRRP- net wor kA
sysname( conf i g- vr r p) # pr i or i t y 200
sysname( conf i g- vr r p) # i nt er val 2
sysname( conf i g- vr r p) # pr i mar y- vi r t ual - i p 10. 10. 1. 254
sysname( conf i g- vr r p) # exi t
sysname( conf i g) #
Chapter 88 VRRP Commands
Ethernet Switch CLI Reference Guide 312
This example shows how to create the IP routing domains and configure the Switch to act as
router B in the topology shown in Figure 11 on page 310.
sysname# conf i g
sysname( conf i g) # vl an 100
sysname( conf i g- vl an) # f i xed 1- 4
sysname( conf i g- vl an) # unt agged 1- 4
sysname( conf i g- vl an) # i p addr ess 10. 10. 1. 253 255. 255. 255. 0
sysname( conf i g- vl an) # exi t
sysname( conf i g) i nt er f ace por t - channel 1- 4
sysname( conf i g- i nt er f ace) # pvi d 100
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # vl an 200
sysname( conf i g- vl an) # f i xed 24- 28
sysname( conf i g- vl an) # unt agged 24- 28
sysname( conf i g- vl an) # i p addr ess 172. 16. 1. 10 255. 255. 255. 0
sysname( conf i g- vl an) # exi t
sysname( conf i g) # i nt er f ace por t - channel 24- 28
sysname( conf i g- i nt er f ace) # pvi d 200
sysname( conf i g- i nt er f ace) # exi t
sysname( conf i g) # r out er vr r p net wor k 10. 10. 1. 253/ 24 vr - i d 1 upl i nk- gat eway
172. 16. 1. 200
sysname( conf i g- vr r p) # name VRRP- net wor kB
sysname( conf i g- vr r p) # i nt er val 2
sysname( conf i g- vr r p) # pr i mar y- vi r t ual - i p 10. 10. 1. 254
sysname( conf i g- vr r p) # exi t
sysname( conf i g) #
Ethernet Switch CLI Reference Guide 313
CHAPTER 89
Additional Commands
Use these commands to configure or perform additional features on the Switch.
89.1 Command Summary
The following section lists the commands for this feature.
Table 201 Command Summary: Changing Modes or Privileges
COMMAND DESCRIPTION M P
enabl e Changes the sessions privilege level to 14 and puts the
session in enable mode (if necessary). The user has to
provide the enable password. See Section 2.1.3.1 on page
15.
E 0
enabl e <0- 14> Raises the sessions privilege level to the specified level and
puts the session in enable mode if the specified level is 13 or
14. The user has to provide the password for the specified
privilege level. See Section 2.1.3.2 on page 15.
E 0
di sabl e Changes the sessions priority level to 0 and changes the
mode to user mode. See Section 2.1.3.3 on page 16.
E 13
conf i gur e Changes the mode to config mode. E 13
i nt er f ace por t - channel <port-
list>
Enters config-interface mode for the specified port(s). C 13
mvr <1- 4094> Enters config-mvr mode for the specified MVR (multicast
VLAN registration). Creates the MVR, if necessary.
C 13
vl an <1- 4094> Enters config-vlan mode for the specified VLAN. Creates the
VLAN, if necessary.
C 13
exi t Returns to the previous mode. C 13
l ogout Logs out of the CLI. E 0
Table 202 Command Summary: Additional Enable Mode
COMMAND DESCRIPTION M P
baudr at e <1| 2| 3| 4| 5> Changes the console port speed.
1: 38400 bps
2: 19200 bps
3: 9600 bps
4: 57600 bps
5: 115200 bps
E 13
boot conf i g <index> Restarts the Switch (cold reboot) with the specified
configuration file.
E 13
Chapter 89 Additional Commands
Ethernet Switch CLI Reference Guide 314
boot i mage <1| 2> The Switch supports dual firmware images, ras-0 and ras-1.
Run this command, where <index>is 1 (ras-0) or 2 (ras-1) to
specify which image is updated when firmware is loaded
using the web configurator and to specify which image is
loaded when the Switch starts up.
E 13
cabl e- di agnost i cs <port-list> Performs a physical wire-pair test of the Ethernet connections
on the specified port(s).
E 13
pi ng <ip| host-name> [ vl an <vlan-
id>] [ si ze <0- 1472>] [ - t ]
Sends Ping packets to the specified Ethernet device.
vlan-id: Specifies the VLAN ID to which the Ethernet
device belongs.
si ze <0- 1472>: Specifies the size of the Ping packet.
- t : Sends Ping packets to the Ethernet device indefinitely.
Press [ CTRL] +C to terminate the Ping process.
E 0
pi ng hel p Provides more information about the specified command. E 0
r el oad conf i g [ 1| 2] Restarts the system (warm reboot) with the specified
configuration file.
1: config-1
2: config-2
E 13
r eset sl ot <slot-list> Restarts the card in the selected slot. The card restarts using
the last-saved configuration. Any unsaved changes are lost.
E 13
show al 1ar m- st at us Displays alarm status. E 0
show cpu- ut i l i zat i on Displays the CPU utilization statistics on the Switch. E 0
show cpu- ut i l i zat i on pr ocess Displays the CPU and memory usage of each process. E 0
show except - smac Displays whether the Switch is to drop the packets with an all-
zero source MAC address (00:00:00:00:00:00).
E 13
show har dwar e- moni t or <C| F> This command is not available in all models.
Displays current hardware monitor information with the
specified temperature unit (Celsius C or Fahrenheit F).
E 0
show memor y Displays the memory utilization statistics on the Switch. E 3
show power - sour ce- st at us Displays the status of each power module in the system. E 0
show sf p <port-list> Displays real-time SFP (Small Form Facter Pluggable)
transceiver operating parameters on specified SFP port(s).
The parameters include, for example, module temperature,
module voltage, transmitting and receiving power.
E 3
show i nt er f aces t r anscei ver
<port-list>
Displays real-time SFP (Small Form Facter Pluggable)
transceiver information and operating parameters on
specified SFP port(s). The parameters include, for example,
module temperature, module voltage, transmitting and
receiving power.
E 3
show sl ot Displays general status information about each slot. E 13
show sl ot conf i g Displays what type of card is installed in each slot and its
current operational status.
E 13
show sl ot conf i g <slot-list> Displays detailed information about the specified slots. E 13
show syst em- i nf or mat i on Displays general system information. E 0
show ver si on [ f l ash] Display the version of the currently running firmware on the
Switch. Optionally, display the version of the currently
installed firmware on the flash memory.
E 0
t el net ipv4_address Connects to a specified host using Telnet. E 13
Table 202 Command Summary: Additional Enable Mode (continued)
COMMAND DESCRIPTION M P
Chapter 89 Additional Commands
Ethernet Switch CLI Reference Guide 315
t est i nt er f ace por t - channel
<port-list>
Performs an internal loopback test on the specified ports. The
test returns Passed! or Fai l ed! .
E 13
t r acer out e <ip| host-name> [ vl an
<vlan-id>] [ t t l <1- 255>] [ wai t
<1- 60>] [ quer i es <1- 10>]
Determines the path a packet takes to the specified Ethernet
device.
vl an <vlan-id>: Specifies the VLAN ID to which the
Ethernet device belongs.
t t l <1- 255>: Specifies the Time To Live (TTL) period.
wai t <1- 60>: Specifies the time period to wait.
quer i es <1- 10>: Specifies how many times the Switch
performs the traceroute function.
E 0
t r acer out e hel p Provides more information about the specified command. E 0
wr i t e memor y [ <index>] Saves current configuration in volatile memory to the
configuration file the Switch is currently using or the specified
configuration file.
E 13
Table 203 Command Summary: Additional Configure Mode
COMMAND DESCRIPTION M P
bcp- t r anspar ency Enables Bridge Control Protocol (BCP) transparency on the
Switch.
C 13
def aul t - management <i n-
band| out - of - band>
Sets which traffic flow (in-band or out-of-band) the Switch
sends packets originating from itself (such as SNMP traps) or
packets with unknown source.
C 13
except - smac zer o- smac- dr op Sets the Switch to filter and drop the packets with an all-zero
source MAC address (00:00:00:00:00:00).
C 13
host name <name> Sets the Switchs name for identification purposes.
name: 1-64 printable characters; spaces are allowed if you
put the string in double quotation marks ().
C 13
i nst al l hel p Displays command help information. C 13
i nst al l sl ot <slot-list> t ype
<card-type>
Changes what type of card is in the slot without restarting the
system.
C 13
l ocat or - l ed Turns on the LOCATOR LED on the Switch. By default, the
LED blinks and automatically turns off after 30 minutes.
This helps to locate the Switch that you are managing when
multiple switches are installed in a rack or placed in the same
room.
C 13
l ocat or - l ed <1- 1440> Changes how long (in minutes) the LOCATOR LED blinks for. C 13
mode zynos Changes the CLI mode to the ZyNOS format. C 13
no except - smac zer o- smac- dr op Sets the Switch to allow and forward the packets with an all-
zero source MAC address (00:00:00:00:00:00).
C 13
no i nst al l sl ot <slot> Uninstalls the card in the slot. C 13
no l ocat or - l ed Stops the LOCATOR LED from blinking immediately. C 13
no shut down sl ot <slot-list> Turns on the power to the slot. C 13
shut down sl ot <slot-list> Turns off the power to the slot. C 13
t r anscei ver - ddmt i mer <1 -
4294967>
Sets the duration of the digital diagnostic monitoring (DDM)
timer.
This defines how often (in miliseconds) the Switch sends the
digital diagnostic monitoring (DDM) information via the
installed transceiver(s).
C 13
Table 202 Command Summary: Additional Enable Mode (continued)
COMMAND DESCRIPTION M P
Chapter 89 Additional Commands
Ethernet Switch CLI Reference Guide 316
89.2 Command Examples
This example checks the cable pairs on ports 1 and 4.
The following table describes the labels in this screen.
sysname# cabl e- di agnost i cs 1
Por t Channel Pai r st at us Cabl e l engt h ( m) Di st ance t o f aul t ( m)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 pai r A Open N/ A 0. 00
pai r B Open N/ A 0. 00
pai r C Open N/ A 0. 00
pai r D Open N/ A 0. 00
sysname# cabl e- di agnost i cs 4
Por t Channel Pai r st at us Cabl e l engt h ( m) Di st ance t o f aul t ( m)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 pai r A Ok 5. 55 N/ A
pai r B Ok 5. 55 N/ A
pai r C Ok 5. 55 N/ A
pai r D Ok 5. 55 N/ A
Table 204 Cable-diagnostics
LABEL DESCRIPTION
Port This is the number of the physical Ethernet port on the Switch.
Channel An Ethernet cable usually has four pairs of wires. A 10BASE-T or
100BASE-TX port only use and test two pairs, while a 1000BASE-T port
requires all four pairs.
This displays the descriptive name of the wire-pair in the cable.
Pair status Ok: The physical connection between the wire-pair is okay.
Open: There is no physical connection (an open circuit detected) between
the wire-pair.
Short: There is an short circuit detected between the wire-pair.
Unknown: The Switch failed to run cable diagnostics on the cable
connected this port.
Unsupported: The port is a fiber port or it is not active.
Cable length This displays the total length of the Ethernet cable that is connected to the
port when the Pair status is Ok and the Switch chipset supports this
feature.
This shows N/A if the Pair status is Open or Short. Check the Distance to
fault.
This shows Unsupported if the Switch chipset does not support to show
the cable length.
Distance to fault This displays the distance between the port and the location where the
cable is open or shorted.
This shows N/A if the Pair status is Ok.
This shows Unsupported if the Switch chipset does not support to show
the distance.
Chapter 89 Additional Commands
Ethernet Switch CLI Reference Guide 317
This example sends Ping requests to an Ethernet device with IP address 172.16.37.254.
The following table describes the labels in this screen.
This example shows the current status of the various alarms in the Switch.
The following table describes the labels in this screen.
sysname# pi ng 172. 16. 37. 254
Resol vi ng 172. 16. 37. 254. . . 172. 16. 37. 254
sent r cvd r at e r t t avg mdev max mi n r epl y f r om
1 1 100 0 0 0 0 0 172. 16. 37. 254
2 2 100 0 0 0 0 0 172. 16. 37. 254
3 3 100 10 1 3 10 0 172. 16. 37. 254
Table 205 ping
LABEL DESCRIPTION
sent This field displays the sequence number of the ICMP request the Switch
sent.
rcvd This field displays the sequence number of the ICMP response the Switch
received.
rate This field displays the percentage of ICMP responses for ICMP requests.
rtt This field displays the round trip time of the ping.
avg This field displays the average round trip time to ping the specified IP
address.
mdev This field displays the standard deviation in the round trip time to ping the
specified IP address.
max This field displays the maximum round trip time to ping the specified IP
address.
min This field displays the minimum round trip time to ping the specified IP
address.
reply from This field displays the IP address from which the Switch received the ICMP
response.
sysname# show al ar m- st at us
name st at us suppr essAl ar m al ar mLED
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
VOLTAGE Nor mal No Of f
TEMPERATURE Nor mal No Of f
FAN Nor mal No Of f
POE OVER LOAD Nor mal No Of f
POE SHORT CI RCUI T Nor mal No Of f
POE POWERBOX Nor mal Yes Of f
Table 206 show alarm-status
LABEL DESCRIPTION
name This field displays the name or type of the alarm.
status This field displays the status of the alarm.
Normal: The alarm is off.
Error: The alarm is on.
Chapter 89 Additional Commands
Ethernet Switch CLI Reference Guide 318
This example shows the current and recent CPU utilization.
The following table describes the labels in this screen.
suppressAlarm This field displays whether or not the alarm is inactive.
alarmLED This field displays whether or not the LED for this alarm is on.
sysname# show cpu- ut i l i zat i on
CPU usage st at us:
basel i ne 1715384 t i cks
sec t i cks ut i l sec t i cks ut i l sec t i cks ut i l sec t i cks
ut i l
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 657543 61. 67 1 255118 85. 13 2 394329 77. 01 3 620008
63. 85
4 195580 88. 60 5 791000 53. 89 6 137625 91. 98 7 508456
70. 36
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SNI P - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 207 show cpu-utilization
LABEL DESCRIPTION
baseline This field displays the number of CPU clock cycles per second.
sec This field displays the historical interval.
Interval 0 is the time starting one second ago to the current instant.
Interval 1 is the time starting two seconds ago to one second ago.
Interval 2 is the time starting three seconds ago to two seconds ago.
ticks This field displays the number of CPU clock cycles the CPU was not used
during the interval.
util This field displays the CPU utilization during the interval.
ut i l = [ ( basel i ne - t i cks) / basel i ne] * 100
Table 206 show alarm-status (continued)
LABEL DESCRIPTION
Chapter 89 Additional Commands
Ethernet Switch CLI Reference Guide 319
This example looks at the current sensor readings from various places in the hardware.The
display for your Switch may be different.
The following table describes the labels in this screen.
sysname# show har dwar e- moni t or C
Cust omer Par t
PSU Ser i al Number Number & Revi si on Manuf act ur i ng Fan Ai r Fl ow
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PSU1 DI YD11M00CN 20110124 f r ont - t o- back
PSU2 DI YD11M00DV 20110125 f r ont - t o- back
Temper at ur e Uni t : ( C)
Temper at ur e( %c) Cur r ent Max Mi n Thr eshol d St at us
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CPU 45. 0 45. 0 33. 0 80. 0 Nor mal
MAC 47. 0 47. 0 32. 0 90. 0 Nor mal
PHY1 45. 0 45. 0 31. 0 90. 0 Nor mal
PHY2 45. 0 45. 0 32. 0 90. 0 Nor mal
FAN Speed( RPM) Cur r ent Max Mi n Thr eshol d St at us
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FAN1 9360 15960 9360 500 Nor mal
FAN2 9360 16320 9360 500 Nor mal
FAN3 9360 15720 9360 500 Nor mal
FAN4 9480 15240 9360 500 Nor mal
FAN TRAY Ai r Fl ow St at us
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FAN TRAY 1 f r ont - t o- back Pr esent
FAN TRAY 2 f r ont - t o- back Pr esent
Vol t age( V) Cur r ent Max Mi n Thr eshol d St at us
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
12V_PSU1 11. 737 11. 918 11. 737 +/ - 10% Nor mal
12V_PSU2 11. 676 11. 858 11. 676 +/ - 10% Nor mal
sysname#
Table 208 show hardware-monitor
LABEL DESCRIPTION
Customer Part This displays information on the fan and power module kits installed in the
Switch.
PSU The PSU (Power Supply Unit) is the power module number.
Serial Number This is a unique number that identifies the inserted power module.
Number & Revision This is the customer part number and revision.
Manufacturing This is the date (yyyy-mm-dd) the module was assembled.
Fan Air Flow This displays the power module fan air flow. All fan air flows within a Switch
must be consistent, that is either front-to-back or back-to-front.
Temperature Unit This field displays the unit of measure for temperatures in this screen.
Temperature This field displays the location of the temperature sensors.
Current This field displays the current temperature at this sensor.
Chapter 89 Additional Commands
Ethernet Switch CLI Reference Guide 320
This example displays multicast VLAN configuration on the Switch.
Max This field displays the maximum temperature measured at this sensor.
Min This field displays the minimum temperature measured at this sensor.
Threshold This field displays the upper temperature limit at this sensor.
Status Normal: The current temperature is below the threshold.
Error: The current temperature is above the threshold.
FAN Speed(RPM) This field displays the fans in the Switch. Each fan has a sensor that is
capable of detecting and reporting when the fan speed falls below the
threshold.
Current This field displays the current speed of the fan at this sensor.
Max This field displays the maximum speed of the fan measured at this sensor.
Min This field displays the minimum speed of the fan measured at this sensor. It
displays "<41" for speeds too small to measure. (See the Users Guide to
find out what speeds are too small to measure in your Switch.)
Threshold This field displays the minimum speed at which the fan should work.
Status Normal: This fan is running above the minimum speed.
Error: This fan is running below the minimum speed.
FAN TRAY This is the is the power module number
Air Flow This displays the fan module fan air flow. All fan air flows within a Switch
must be consistent, that is either front-to-back or back-to-front.
Status This displays whether the fan module is inserted (Pr esent ) or not
(Absent ).
Voltage(V) This field displays the various power supplies in the Switch. Each power
supply has a sensor that is capable of detecting and reporting when the
voltage is outside tolerance.
Current This field displays the current voltage at this power supply.
Max This field displays the maximum voltage measured at this power supply.
Min This field displays the minimum voltage measured at this power supply.
Threshold This field displays the percentage tolerance within which the Switch still
works.
Status Normal: The current voltage is within tolerance.
Error: The current voltage is outside tolerance.
sysname> show mul t i cast vl an
Mul t i cast Vl an St at us
I ndex VI D Type
- - - - - - - - - - - - - - - - - - -
1 123 MVR
Table 208 show hardware-monitor (continued)
LABEL DESCRIPTION
Chapter 89 Additional Commands
Ethernet Switch CLI Reference Guide 321
The following table describes the labels in this screen.
This example shows the current status of Power over Ethernet.
The following table describes the labels in this screen.
Table 209 show multicast vlan
LABEL DESCRIPTION
Index This field displays an entry number for the multicast VLAN.
VID This field displays the multicast VLAN ID.
Type This field displays what type of multicast VLAN this is.
MVR: This VLAN is a Multicast VLAN Registration (MVR).
Static: This VLAN is configured via IGMP snooping VLAN in fixed mode.
Dynamic: This VLAN is learned dynamically in auto mode.
See Chapter 29 on page 111 for more information about IGMP snooping
VLAN and IGMP modes.
sysname# show poe- st at us
Tot al Power ( W) : 185. 0
Consumi ng Power ( W) : 0. 0
Al l ocat ed Power ( W) : 0. 0
Remai ni ng Power ( W) : 185. 0
Table 210 show poe-status
LABEL DESCRIPTION
Total Power This field displays the total power the Switch can provide to PoE-enabled
devices.
Consuming Power This field displays the amount of power the Switch is currently supplying to
the PoE-enabled devices.
Allocated Power This field displays the total amount of power the Switch has reserved for
PoE after negotiating with the PoE device(s).
Note: If the management mode is set to Consumption, this
field shows NA.
Remaining Power This field displays the amount of power the Switch can still provide for PoE.
Note: The Switch must have at least 16 W of remaining power
in order to supply power to a PoE device, even if the
PoE device requested less than 16 W.
Chapter 89 Additional Commands
Ethernet Switch CLI Reference Guide 322
This example looks at general system information about the Switch
The following table describes the labels in this screen.
sysname# show syst em- i nf or mat i on
Pr oduct Model : XS3900- 48F
Syst emName : XS3900
Syst emCont act :
Syst emLocat i on :
Syst emup Ti me : 0: 02: 35 ( 3ccc t i cks)
Et her net Addr ess : 00: 19: cb: 00: 00: 02
Boot base Ver si on : V1. 00 | 05/ 15/ 2012
ZyNOS F/ WVer si on : V4. 00( AAEW. 0) b6 | 11/ 29/ 2012
Conf i g Boot I mage : 1
Cur r ent Boot I mage : 1
RomRasSi ze : 5070002
Table 211 show system-information
LABEL DESCRIPTION
Product Model This field displays the model name.
System Name This field displays the system name (or hostname) of the Switch.
System Contact This field displays the name of the person in charge of this Switch. Use the
snmp-server command to configure this. See Chapter 70 on page 261.
System Location This field displays the geographic location of this Switch. Use the snmp-
server command to configure this. See Chapter 70 on page 261.
System up Time This field displays how long the switch has been running since it last started
up.
Ethernet Address This field displays the MAC address of the Switch.
Bootbase Version This field displays the bootbase version the Switch is running.
ZyNOS F/W Version This field displays the firmware version the Switch is running.
RomRasSize This field displays how much ROM is used.
ZyNOS CODE This field displays the ZyNOS operating system version the Switch is using.
Chapter 89 Additional Commands
Ethernet Switch CLI Reference Guide 323
This example displays run-time SFP (Small Form Facter Pluggable) parameters on ports 9 (the
first SFP port 0, with an SFP transceiver installed) and 10 (the second SFP port 1, no SFP
transceiver installed) on the Switch. You can also see the alarm and warning threasholds for
temperature, voltage, transmission bias, transmission and receiving power as shown.
This example displays run-time SFP (Small Form Facter Pluggable) parameters on port 21 on
the Switch. You can also see the alarm and warning threasholds for temperature, voltage,
transmission bias, transmission and receiving power as shown.
This example displays the firmware version the Switch is currently using..
sysname# show sf p 9- 10
SFP : 0
Par t Number : SFP- SX- DDM
Ser i es Number : S081113001132
Revi si on : V1. 0
Tr anscei ver : 1000BASE- SX
Temper at ur e( C) Al ar m( 80. 00 ~ 0. 00) , War ni ng( 75. 00 ~ 5. 00) , Cur r ent ( 38. 00)
Vol t age( V) Al ar m( 3. 50 ~ 3. 10) , War ni ng( 3. 45 ~ 3. 15) , Cur r ent ( 3. 37)
Tx Bi as( mA) Al ar m( 100. 05 ~ 1. 00) , War ni ng( 90. 04 ~ 2. 00) , Cur r ent ( 5. 25)
Tx Power ( dBm) Al ar m( - 2. 99 ~ - 8. 98) , War ni ng( - 3. 49 ~ - 8. 48) , Cur r ent ( - 6. 05)
Rx Power ( dBm) Al ar m( - 2. 99 ~ - 18. 01) , War ni ng( - 3. 49 ~ - 17. 39) , Cur r ent ( - 4. 24)
SFP : 1
Not Avai l abl e
sysname# show i nt er f ace t r anscei ver 21
Tr anscei ver I nf or mat i on
Por t : 21 ( SFP)
Vendor : ZyXEL
Par t Number : SFP- LX- 10- D
Ser i es Number : S081133000074
Revi si on : V1. 0
Dat e Code : 2008- 08- 11
Tr anscei ver : 1000BASE- LX
++ : hi gh al ar m, + : hi gh war n, - : l ow war n, - - : l ow al ar m.
Cur r ent Hi gh ALar m Hi gh War n Low War n Low Al ar m
Thr eshol d Thr eshol d Thr eshol d Thr eshol d
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Temper at ur e( C) ++ 38. 00 - 1. 00 75. 00 5. 00 0. 00
Vol t age( V) 3. 36 3. 50 3. 45 3. 15 3. 10
Tx Bi as( mA) 14. 53 100. 05 90. 04 7. 00 6. 00
Tx Power ( dBm) - 5. 80 - 2. 99 - 3. 49 - 8. 96 - 9. 50
Rx Power ( dBm) + - 3. 36 - 2. 99 - 3. 49 - 20. 50 - 21. 02
sysname#
sysname# show ver si on
Cur r ent ZyNOS ver si on: V3. 80( BBA. 3) b1 | 04/ 17/ 2008
Chapter 89 Additional Commands
Ethernet Switch CLI Reference Guide 324
This example runs an internal loopback test on ports 3-6.
This example displays route information to an Ethernet device with IP address
192. 168. 1. 100.
sysname# t est i nt er f ace por t - channel 3- 6
Test i ng i nt er nal l oopback on por t 3 : Passed!
Et her net Por t 3 Test ok.
Test i ng i nt er nal l oopback on por t 4 : Passed!
Et her net Por t 4 Test ok.
Test i ng i nt er nal l oopback on por t 5 : Passed!
Et her net Por t 5 Test ok.
Test i ng i nt er nal l oopback on por t 6 : Passed!
Et her net Por t 6 Test ok.
sysname> t r acer out e 192. 168. 1. 100
t r acer out e t o 192. 168. 1. 100, 30 hops max, 40 byt e packet
1: 192. 168. 1. 100 ( 10 ms) ( 10 ms) ( 0 ms)
t r acer out e done:
sysname>
325
PART VI
Appendices and
Index of Commands
Default Values (327)
Legal Information (328)
Index of Commands (331)
326
Ethernet Switch CLI Reference Guide 327
APPENDI X A
Default Values
Some commands, particularly no commands, reset settings to their default values. The
following table identifies the default values for these settings.
Table 212 Default Values for Reset Commands
COMMAND DEFAULT VALUE
no aaa aut hent i cat i on enabl e Method 1: enable
Method 2: none
Method 3: none
no aaa aut hent i cat i on l ogi n Method 1: local
Method 2: none
Method 3: none
no aaa account i ng updat e 0 minutes
no ar p i nspect i on f i l t er - agi ng-
t i me
300 seconds
no ar p i nspect i on l og- buf f er
ent r i es
32 messages
no ar p i nspect i on l og- buf f er
l ogs
5 syslog messages
1 second
no r adi us- ser ver <index> IP address: 0.0.0.0
Port number: 1812
Key: blank
no r adi us- account i ng <index> IP address: 0.0.0.0
Port number: 1813
Key: blank
Ethernet Switch CLI Reference Guide 328
APPENDI X B
Legal Information
Copyright
Copyright 2014 by ZyXEL Communications Corporation.
The contents of this publication may not be reproduced in any part or as a whole, transcribed,
stored in a retrieval system, translated into any language, or transmitted in any form or by any
means, electronic, mechanical, magnetic, optical, chemical, photocopying, manual, or
otherwise, without the prior written permission of ZyXEL Communications Corporation.
Published by ZyXEL Communications Corporation. All rights reserved.
Disclaimer
ZyXEL does not assume any liability arising out of the application or use of any products, or
software described herein. Neither does it convey any license under its patent rights nor the
patent rights of others. ZyXEL further reserves the right to make changes in any products
described herein without notice. This publication is subject to change without notice.
Trademarks
ZyNOS (ZyXEL Network Operating System) is a registered trademark of ZyXEL
Communications, Inc. Other trademarks mentioned in this publication are used for
identification purposes only and may be properties of their respective owners.
Certifications
Federal Communications Commission (FCC) Interference Statement
This device complies with Part 15 of FCC rules. Operation is subject to the following two
conditions:
This device may not cause harmful interference.
This device must accept any interference received, including interference that may cause
undesired operations.
Appendix B Legal Information
Ethernet Switch CLI Reference Guide 329
FCC Warning
This device has been tested and found to comply with the limits for a Class A digital switch,
pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable
protection against harmful interference in a commercial environment. This device generates,
uses, and can radiate radio frequency energy and, if not installed and used in accordance with
the instruction manual, may cause harmful interference to radio communications. Operation of
this device in a residential area is likely to cause harmful interference in which case the user
will be required to correct the interference at his own expense.
CE Mark Warning:
This is a class A product. In a domestic environment this product may cause radio interference
in which case the user may be required to take adequate measures.
Taiwanese BSMI (Bureau of Standards, Metrology and Inspection) A Warning:
Notices
Changes or modifications not expressly approved by the party responsible for compliance
could void the user's authority to operate the equipment.
This Class A digital apparatus complies with Canadian ICES-003.
Cet appareil numrique de la classe A est conforme la norme NMB-003 du Canada.
CLASS 1 LASER PRODUCT
APPAREIL A LASER DE CLASS 1
PRODUCT COMPLIES WITH 21 CFR 1040.10 AND 1040.11.
PRODUIT CONFORME SELON 21 CFR 1040.10 ET 1040.11.
Viewing Certifications
Go to http://www.zyxel.com to view this products documentation and certifications.
ZyXEL Limited Warranty
ZyXEL warrants to the original end user (purchaser) that this product is free from any defects
in material or workmanship for a specific period (the Warranty Period) from the date of
purchase. The Warranty Period varies by region. Check with your vendor and/or the
authorized ZyXEL local distributor for details about the Warranty Period of this product.
During the warranty period, and upon proof of purchase, should the product have indications
of failure due to faulty workmanship and/or materials, ZyXEL will, at its discretion, repair or
replace the defective products or components without charge for either parts or labor, and to
whatever extent it shall deem necessary to restore the product or components to proper
Appendix B Legal Information
Ethernet Switch CLI Reference Guide 330
operating condition. Any replacement will consist of a new or re-manufactured functionally
equivalent product of equal or higher value, and will be solely at the discretion of ZyXEL.
This warranty shall not apply if the product has been modified, misused, tampered with,
damaged by an act of God, or subjected to abnormal working conditions.
Note
Repair or replacement, as provided under this warranty, is the exclusive remedy of the
purchaser. This warranty is in lieu of all other warranties, express or implied, including any
implied warranty of merchantability or fitness for a particular use or purpose. ZyXEL shall in
no event be held liable for indirect or consequential damages of any kind to the purchaser.
To obtain the services of this warranty, contact your vendor. You may also refer to the
warranty policy for the region in which you bought the device at http://www.zyxel.com/web/
support_warranty_info.php.
Registration
Register your product online to receive e-mail notices of firmware upgrades and information
at www.zyxel.com for global products, or at www.us.zyxel.com for North American products.
Index of Commands
Ethernet Switch CLI Reference Guide 331
Index of Commands
Use of undocumented commands or misconfiguration can damage the unit
and possibly render it unusable.
[ ci r cui t - i d [ sl ot - por t ] [ vl an] [ host name] [ st r i ng <string>] ] [ r emot e- i d [ mac] [ st r i ng
<string>] ] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
8021p- pr i or i t y <0- 7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
aaa account i ng commands <privilege> st op- onl y t acacs+ [ br oadcast ] . . . . . . . . . . . . . . . . 24
aaa account i ng dot 1x <st ar t - st op| st op- onl y> <r adi us| t acacs+> [ br oadcast ] . . . . . . . . . 25
aaa account i ng exec <st ar t - st op| st op- onl y> <r adi us| t acacs+> [ br oadcast ] . . . . . . . . . . 25
aaa account i ng syst em<r adi us| t acacs+> [ br oadcast ] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
aaa account i ng updat e per i odi c <1- 2147483647> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
aaa aut hent i cat i on enabl e <method1> [ <method2> . . . ] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
aaa aut hent i cat i on l ogi n <method1> [ <method2> . . . ] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
aaa aut hor i zat i on consol e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
aaa aut hor i zat i on dot 1x r adi us . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
aaa aut hor i zat i on exec <r adi us| t acacs+> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
admi n- passwor d [ ci pher ] <pw-string> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
admi n- passwor d <pw-string> <confirm-string> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
al ar m- i ndex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
ar ea <area-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
ar ea <area-id> aut hent i cat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
ar ea <area-id> aut hent i cat i on message- di gest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
ar ea <area-iD> def aul t - cost <0- 16777214> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
ar ea <area-id> name <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
ar ea <area-id> st ub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
ar ea <area-id> st ub no- summar y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
ar ea <area-id> vi r t ual - l i nk <router-id> aut hent i cat i on- key <key> . . . . . . . . . . . . . . . 203
ar ea <area-id> vi r t ual - l i nk <router-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
ar ea <area-id> vi r t ual - l i nk <router- I D> aut hent i cat i on- same- as- ar ea . . . . . . . . . . . . . 204
ar ea <area-id> vi r t ual - l i nk <router-id> message- di gest - key <keyid> md5 <key> . . . . 204
ar ea <area-id> vi r t ual - l i nk <router-id> name <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
ar p agi ng- t i me <60- 1000000> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
ar p i nspect i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
ar p i nspect i on f i l t er - agi ng- t i me <1- 2147483647> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
ar p i nspect i on f i l t er - agi ng- t i me none . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
ar p i nspect i on l og- buf f er ent r i es <0- 1024> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
ar p i nspect i on l og- buf f er l ogs <0- 1024> i nt er val <0- 86400> . . . . . . . . . . . . . . . . . . . . . . . 30
ar p i nspect i on t r ust . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
ar p i nspect i on vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
ar p i nspect i on vl an <vlan-list> l oggi ng [ al l | none| per mi t | deny] . . . . . . . . . . . . . . . . . . . 30
ar p name <name> i p <ip-address> mac <mac-addr> vl an <vlan-id> i nt er f ace por t - channel
<port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
ar p name <name> i p <ip-address> mac <mac-addr> vl an <vlan-id> i nt er f ace por t - channel
<port-list> i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
ar p- l ear ni ng <ar p- r epl y| gr at ui t ous- ar p| ar p- r equest > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
bandwi dt h- cont r ol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
bandwi dt h- l i mi t ci r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
bandwi dt h- l i mi t ci r <rate> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Index of Commands
Ethernet Switch CLI Reference Guide 332
bandwi dt h- l i mi t egr ess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
bandwi dt h- l i mi t egr ess <rate> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
bandwi dt h- l i mi t i ngr ess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
bandwi dt h- l i mi t i ngr ess <rate> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
bandwi dt h- l i mi t pi r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
bandwi dt h- l i mi t pi r <rate> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
baudr at e <1| 2| 3| 4| 5> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
bcp- t r anspar ency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
bmst or m- l i mi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
bmst or m- l i mi t <rate> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
boot conf i g <index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
boot i mage <1| 2> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
bpdu- cont r ol <peer | t unnel | di scar d| net wor k> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
br oadcast - l i mi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
br oadcast - l i mi t <pkt/s> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
cabl e- di agnost i cs <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
cc- i nt er val <100ms| 1s| 10s| 1mi n| 10mi n> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
cl assi f i er <name><[ packet - f or mat <802. 3unt ag| 802. 3t ag| Et her I I unt ag| Et her I I t ag>] [ pr i -
or i t y <0- 7>] [ vl an <vlan-id>] [ et her net - t ype <ether-num| i p| i px| ar p| r ar p| appl e-
t al k| decnet | i pv6>] [ sour ce- mac <src-mac-addr> [ mask <mask>] ] [ sour ce- por t <port-
num>] [ dest i nat i on- mac <dest-mac-addr>[ mask <mask>] ] [ dscp <0- 63>] [ t os <0- 7| any>
<0- 31| any>] [ i pv6- dscp <0- 63>] [ i p- pr ot ocol <protocol-num| t cp| udp| i cmp| egp| os-
pf | r svp| i gmp| i gp| pi m| i psec> [ est abl i sh- onl y] ] [ i pv6- next - header <protocol-
num| t cp| udp| i cmpv6> [ est abl i sh- onl y] ] [ sour ce- i p <src-ip-addr> [ mask- bi t s <mask-
bits>] ] [ i pv6- sour ce- i p <src-ipv6-addr> [ pr ef i x- l engt h <prefix-length>] ] [ sour ce-
socket <socket-num>] [ dest i nat i on- i p <dest-ip-addr> [ mask- bi t s <mask-bits>] ]
[ i pv6- dest i nat i on- i p <dest-ipv6-addr> [ pr ef i x- l engt h <prefix-length>] ] [ dest i na-
t i on- socket <socket-num>] [ i nact i ve] > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
cl ear ar p i nspect i on f i l t er . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
cl ear ar p i nspect i on l og . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
cl ear ar p i nspect i on st at i st i cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
cl ear ar p i nspect i on st at i st i cs vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
cl ear cpu- pr ot ect i on i nt er f ace por t - channel <port-list> cause <ARP| BPDU| I GMP> . . . . 81
cl ear dhcp snoopi ng dat abase st at i st i cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
cl ear et her net cf ml i nkt r ace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
cl ear et her net cf mmep- ccmdb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
cl ear et her net cf mmep- def ect s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
cl ear et her net cf mmi p- ccmdb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
cl ear i gmp- snoopi ng st at i st i cs al l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
cl ear i gmp- snoopi ng st at i st i cs por t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
cl ear i gmp- snoopi ng st at i st i cs syst em . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
cl ear i gmp- snoopi ng st at i st i cs vl an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
cl ear i nt er f ace <port-num> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
cl ear i p ar p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
cl ear i p ar p i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
cl ear i p ar p i p <ip-address> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
cl ear i pv6 ml d snoopi ng- pr oxy st at i st i cs al l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
cl ear i pv6 ml d snoopi ng- pr oxy st at i st i cs por t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
cl ear i pv6 ml d snoopi ng- pr oxy st at i st i cs syst em . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
cl ear i pv6 ml d snoopi ng- pr oxy st at i st i cs vl an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
cl ear i pv6 nei ghbor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
cl ear i pv6 nei ghbor <interface-type> <interface-number> . . . . . . . . . . . . . . . . . . . . . . . . . 147
cl ear l 2pr ot ocol - t unnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
cl ear l l dp r emot e_i nf o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
cl ear l l dp r emot e_i nf o i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . 162
cl ear l l dp st at i st i c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
cl ear l oggi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
cl ear l oopguar d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
cl ear pppoe i nt er medi at e- agent st at i st i cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Index of Commands
Ethernet Switch CLI Reference Guide 333
cl ear pppoe i nt er medi at e- agent st at i st i cs vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . 224
cl ear pr i or i t y- f l ow- cont r ol st at i st i cs i nt er f ace por t - channel <port-list> . . . . . . . . 61
cl ust er <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
cl ust er member <mac> passwor d <password> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
cl ust er name <cluster name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
cl ust er r command <mac> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
conf i gur e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
connect ed- por t <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
copy r unni ng- conf i g hel p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
copy r unni ng- conf i g i nt er f ace por t - channel <port> <port-list> [ <attribute> [ <. . . >] ]
254
copy r unni ng- conf i g sl ot <slot> <slot-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
copy r unni ng- conf i g sl ot <slot> <slot-list> [ bandwi dt h- l i mi t . . . ] . . . . . . . . . . . . . . . 254
copy r unni ng- conf i g t f t p <ip> <remote-file> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
copy t f t p conf i g <index> <ip> <remote-file> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
copy t f t p conf i g mer ge <index> <ip> <remote-file> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
copy t f t p f l ash <ip> <remote-file> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
cpu- pr ot ect i on cause <ARP| BPDU| I GMP> r at e- l i mi t <0- 256> . . . . . . . . . . . . . . . . . . . . . . . . . . 81
cx4- l engt h <0. 5| 1| 3| 5| 10| 15> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
def aul t - management <i n- band| out - of - band> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
dest i nat i on moni t or - por t <port-num> <unt agged| t agged> . . . . . . . . . . . . . . . . . . . . . . . . . . 188
dhcp dhcp- vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
dhcp opt i on pr of i l e <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
dhcp r el ay <vlan-id> hel per - addr ess <remote-dhcp-server1> [ <remote-dhcp-server2>] [ <re-
mote-dhcp-server3>] [ opt i on pr of i l e <name>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
dhcp r el ay <vlan-id> hel per - addr ess <remote-dhcp-server1> [ <remote-dhcp-server2>] [ <re-
mote-dhcp-server3>] [ opt i on] [ i nf or mat i on] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
dhcp r el ay <vlan-id> i nt er f ace por t - channel <port-list> opt i on pr of i l e <name> . . . . 68
dhcp r el ay- br oadcast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
dhcp ser ver <vlan- id> st ar t i ng- addr ess <ip-addr> <subnet-mask> si ze- of - cl i ent - i p- pool
<1- 253> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
dhcp ser ver <vlan-id> st ar t i ng- addr ess <ip-addr> <subnet-mask> si ze- of - cl i ent - i p- pool
<1- 253> [ def aul t - gat eway <ip-addr>] [ pr i mar y- dns <ip-addr>] [ secondar y- dns <ip-
addr>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
dhcp smar t - r el ay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
dhcp smar t - r el ay hel per - addr ess <remote-dhcp-server1> [ <remote-dhcp-server2>] [ <remote-
dhcp-server3>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
dhcp smar t - r el ay i nf or mat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
dhcp smar t - r el ay i nt er f ace por t - channel <port-list> opt i on pr of i l e <name> . . . . . . . . 69
dhcp smar t - r el ay opt i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
dhcp smar t - r el ay opt i on pr of i l e <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
dhcp snoopi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
dhcp snoopi ng dat abase <tftp://host/filename> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
dhcp snoopi ng dat abase t i meout <seconds> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
dhcp snoopi ng dat abase wr i t e- del ay <seconds> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
dhcp snoopi ng l i mi t r at e <pps> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
dhcp snoopi ng t r ust . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
dhcp snoopi ng vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
dhcp snoopi ng vl an <vlan-list> i nf or mat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
dhcp snoopi ng vl an <vlan-list> i nt er f ace por t - channel <port-list> opt i on pr of i l e <name>
73
dhcp snoopi ng vl an <vlan-list> opt i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
dhcp snoopi ng vl an <vlan-list> opt i on pr of i l e <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
di f f ser v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
di f f ser v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
di f f ser v dscp <0- 63> pr i or i t y <0- 7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
di sabl e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
di spl ay aaa <[ aut hent i cat i on] [ aut hor i zat i on] [ ser ver ] > . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
di spl ay user <[ syst em] [ snmp] > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Index of Commands
Ethernet Switch CLI Reference Guide 334
di st ance <10- 255> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
di st ance <10- 255> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
dl f - l i mi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
dl f - l i mi t <pkt/s> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
egr ess set <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
enabl e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
enabl e <0- 14> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
eo- conf er enci ng| st r eami ng- vi deo| vi deo- si gnal i ng> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
er ase r unni ng- conf i g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
er ase r unni ng- conf i g hel p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
er ase r unni ng- conf i g i nt er f ace por t - channel <port-list> [ <attribute> [ <. . . >] ] . . . 254
er r di sabl e det ect cause <ARP| BPDU| I GMP> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
er r di sabl e det ect cause <ARP| BPDU| I GMP> mode <i nact i ve- por t | i nact i ve- r eason| r at e- l i mi -
t at i on> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
er r di sabl e r ecover y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
er r di sabl e r ecover y cause <l oopguar d| ARP| BPDU| I GMP> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
er r di sabl e r ecover y cause <l oopguar d| ARP| BPDU| I GMP> i nt er val <30- 2592000> . . . . . . . . 81
et her net cf m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
et her net cf ml i nkt r ace mac <mac-address> mep <mep-id> ma <ma-index> md <md-index> [ mip-
ccmdb] [ [ t t l <ttl>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
et her net cf ml i nkt r ace r emot e- mep <mep-id>mep <mep-id>ma <ma-index>md <md-index>[ mip-
ccmdb] [ [ t t l <ttl>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
et her net cf ml oopback mac <mac-address> mep <mep-id> ma <ma-index> md <md-index> [ si ze
<0- 1500>] [ count <1- 1024>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
et her net cf ml oopback r emot e- mep <mep-id>mep <mep-id>ma <ma-index>md <md-index>[ si ze
<0- 1500>] [ count <1- 1024>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
et her net cf mma <ma- i ndex> f or mat <vi d| st r i ng| i nt eger > name <ma-name> md <md- i ndex> pr i -
mar y- vl an <1- 4094> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
et her net cf mmanagement - addr ess- domai n i p [ <ip-addr>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
et her net cf mmd <md- i ndex> f or mat <dns| mac| st r i ng> name <md-name> l evel <0- 7> . . . . 46
et her net cf mvi r t ual - mac <mac-addr> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
et her net oam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
et her net oam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
et her net oammode <act i ve| passi ve> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
et her net oamr emot e- l oopback i gnor e- r x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
et her net oamr emot e- l oopback st ar t <port> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
et her net oamr emot e- l oopback st op <port> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
et her net oamr emot e- l oopback suppor t ed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
et her net oamr emot e- l oopback t est <port> [ <number-of-packets> [ <packet-size>] ] . . . 85
et her st at s- i ndex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
et s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
ets traffic-class binding <tc-id0> <tc-id1> <tc-id2> <tc-id3> <tc-id4> <tc-id5> <tc-id6>
<tc-id7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
event-index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
except - smac zer o- smac- dr op . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
exi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
exi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
exi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
exi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
exi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
exi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
exi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
exi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
ext er nal - al ar m<index> name <name_string> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
f e- spq <q0| q1| . . . | q7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
f i xed <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
f l ow- cont r ol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
f or bi dden <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
f r ame- t ype <al l | t agged| unt agged> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Index of Commands
Ethernet Switch CLI Reference Guide 335
gar p j oi n <100- 65535> l eave <200- 65535> l eaveal l <200- 65535> . . . . . . . . . . . . . . . . . . . . . 92
ge- spq <q0| q1| . . . | q7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
gr een- et her net aut o- power - down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
gr een- et her net aut o- power - down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
gr een- et her net eee . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
gr een- et her net eee . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
gr een- et her net shor t - r each . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
gr een- et her net shor t - r each . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
gr oup <name> st ar t - addr ess <ip> end- addr ess <ip> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
gvr p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
hel p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
hi st or y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
historycontrol-index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
host name <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
ht t ps cer t - r egener at i on <r sa| dsa> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
hybr i d- spq <q0| q1| . . . | q7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
hybr i d- spq l owest - queue <q0| q1| . . . | q7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
i d- per mi ssi on < none | chassi s | management | chassi s- management > . . . . . . . . . . . . . . . . 45
i gmp- f i l t er i ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
i gmp- f i l t er i ng pr of i l e <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
i gmp- f i l t er i ng pr of i l e <name> st ar t - addr ess <ip> end- addr ess <ip> . . . . . . . . . . . . . . . 118
i gmp- f l ush . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
i gmp- gr oup- l i mi t ed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
i gmp- gr oup- l i mi t ed number <number> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
i gmp- i mmedi at e- l eave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
i gmp- quer i er - mode <aut o| f i xed| edge> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
i gmp- snoopi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
i gmp- snoopi ng 8021p- pr i or i t y <0- 7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
i gmp- snoopi ng aut hent i cat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
i gmp- snoopi ng aut hent i cat i on- t i meout <0- 3000> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
i gmp- snoopi ng f ast - l eave- t i meout <200- 6348800> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
i gmp- snoopi ng f i l t er i ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
i gmp- snoopi ng f i l t er i ng pr of i l e <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
i gmp- snoopi ng f i l t er i ng pr of i l e <name> st ar t - addr ess <ip> end- addr ess <ip> . . . . . . 111
i gmp- snoopi ng gr oup- l i mi t ed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
i gmp- snoopi ng gr oup- l i mi t ed act i on <deny| r epl ace> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
i gmp- snoopi ng gr oup- l i mi t ed number <number> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
i gmp- snoopi ng host - t i meout <1- 16711450> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
i gmp- snoopi ng l eave- mode <nor mal | i mmedi at e| f ast > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
i gmp- snoopi ng l eave- pr oxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
i gmp- snoopi ng l eave- t i meout <1- 16711450> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
i gmp- snoopi ng l eave- t i meout <200- 6348800> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
i gmp- snoopi ng quer i er . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
i gmp- snoopi ng quer i er - mode <aut o| f i xed| edge> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
i gmp- snoopi ng r epor t - pr oxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
i gmp- snoopi ng r eser ved- mul t i cast - f r ame <dr op| f l oodi ng> . . . . . . . . . . . . . . . . . . . . . . . . . . 112
i gmp- snoopi ng unknown- mul t i cast - f r ame <dr op| f l oodi ng> . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
i gmp- snoopi ng vl an <vlan-id> [ name <name>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
i gmp- snoopi ng vl an mode <aut o| f i xed> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
i ngr ess- check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
i nst al l hel p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
i nst al l sl ot <slot-list> t ype <card-type> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Index of Commands
Ethernet Switch CLI Reference Guide 336
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
i nt er f ace por t - channel <por t - l i st > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
i nt er f ace por t - channel <por t - l i st > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
i nt er f ace r out e- domai n <ip-address>/ <mask-bits> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
i nt er f ace r out e- domai n <ip-address>/ <mask-bits> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
i nt er f ace r out e- domai n <ip-address>/ <mask-bits> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
i nt er f ace r out e- domai n <ip-address>/ <mask-bits> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
i nt er f ace r out e- domai n <ip-address>/ <mask-bits> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
i nt er f ace r out e- domai n <ip-address>/ <mask-bits> i p vr r p aut hent i cat i on- key <key> 310
i nt er f ace r out e- domai n <ip-address>/ <mask-bits> no i p vr r p aut hent i cat i on- key . . . 310
i nt er f ace vl an <1- 4094> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
i nt er f ace vl an <1- 4094> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
interface-id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
i nt er val <1~255> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
i nt r usi on- l ock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
i p addr ess <ip> <mask> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
i p addr ess <ip-address> <mask> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
i p addr ess <ip-address> <mask> manageabl e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
i p addr ess def aul t - gat eway <ip> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
i p addr ess def aul t - gat eway <ip-address> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
i p addr ess def aul t - management <ip-address> <mask> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
i p addr ess def aul t - management dhcp- boot p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
i p addr ess def aul t - management dhcp- boot p r el ease . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
i p addr ess def aul t - management dhcp- boot p r enew . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
Index of Commands
Ethernet Switch CLI Reference Guide 337
i p dvmr p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
i p i gmp <v1| v2| v3> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
i p i gmp l ast - member - quer y- i nt er val <1- 25> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
i p i gmp quer y- i nt er val <1- 65535> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
i p i gmp quer y- max- r esponse- t i me <1- 25> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
i p i gmp r obust ness- var i abl e <2- 255> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
i p l oad- shar i ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
i p l oad- shar i ng <si p| si p- di p> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
i p l oad- shar i ng agi ng- t i me <0- 86400> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
i p l oad- shar i ng di scover - t i me <0- 86400> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
i p name- ser ver <ip> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
i p ospf aut hent i cat i on- key <key> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
i p ospf aut hent i cat i on- same- aa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
i p ospf aut hent i cat i on- same- as- ar ea . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
i p ospf cost <1- 65535> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
i p ospf message- di gest - key <key> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
i p ospf pr i or i t y <0- 255> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
i p pol i cy- r out e <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
i p pol i cy- r out e <name> i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
i p pol i cy- r out e <name> sequence <number> <per mi t | deny> cl assi f i er <classifier> next - hop
<ip-addr> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
i p r i p di r ect i on <Out goi ng| I ncomi ng| Bot h| None> ver si on <v1| v2b| v2m> . . . . . . . . . . . . . 246
i p r out e <ip> <mask> <next-hop-ip> [ met r i c <metric>] [ name <name>] [ i nact i ve] . . . 274
i p sour ce bi ndi ng <mac-addr>vl an <vlan-id><ip>[ i nt er f ace por t - channel <interface-id>]
130
i p sour ce bi ndi ng ar p- f r eeze . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
i p sour ce bi ndi ng ar p- f r eeze i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . 130
i p sour ce bi ndi ng ar p- f r eeze vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
i pmc egr ess- unt ag- vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
i pv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
i pv6 addr ess <ipv6-address>/ <prefix> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
i pv6 addr ess <ipv6-address>/ <prefix> eui - 64 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
i pv6 addr ess <ipv6-address>/ <prefix> l i nk- l ocal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
i pv6 addr ess aut oconf i g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
i pv6 addr ess def aul t - gat eway <gateway-ipv6-address> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
i pv6 addr ess dhcp cl i ent <i a- na> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
i pv6 addr ess dhcp cl i ent <i a- na> [ r api d- commi t ] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
i pv6 addr ess dhcp cl i ent i nf or mat i on r ef r esh mi ni mum<600- 4294967295> . . . . . . . . . . . 140
i pv6 addr ess dhcp cl i ent opt i on <[ dns] [ domai n- l i st ] > . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
i pv6 dhcp r el ay vl an <1- 4094> hel per - addr ess <remote-dhcp-server> . . . . . . . . . . . . . . . 141
i pv6 dhcp r el ay vl an <1- 4094> opt i on i nt er f ace- i d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
i pv6 dhcp r el ay vl an <1- 4094> opt i on r emot e- i d <remote-id> . . . . . . . . . . . . . . . . . . . . . . 141
i pv6 hop- l i mi t <1- 255> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
i pv6 i cmp er r or - i nt er val <0- 2147483647> [ bucket - si ze <1- 200>] . . . . . . . . . . . . . . . . . . . 142
i pv6 ml d snoopi ng- pr oxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
i pv6 ml d snoopi ng- pr oxy 8021p- pr i or i t y <0- 7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
i pv6 ml d snoopi ng- pr oxy f i l t er i ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
i pv6 ml d snoopi ng- pr oxy f i l t er i ng gr oup- l i mi t ed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
i pv6 ml d snoopi ng- pr oxy f i l t er i ng gr oup- l i mi t ed number <number> . . . . . . . . . . . . . . . . . 143
i pv6 ml d snoopi ng- pr oxy f i l t er i ng pr of i l e <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
i pv6 ml d snoopi ng- pr oxy f i l t er i ng pr of i l e <name> st ar t - addr ess <ip> end- addr ess <ip>
143
i pv6 ml d snoopi ng- pr oxy vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
i pv6 ml d snoopi ng- pr oxy vl an <vlan-id> downst r eami nt er f ace por t - channel <port-list>
143
i pv6 ml d snoopi ng- pr oxy vl an <vlan-id> downst r eami nt er f ace por t - channel <port-list>
f ast - l eave- t i meout <2- 16775168> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
i pv6 ml d snoopi ng- pr oxy vl an <vlan-id> downst r eami nt er f ace por t - channel <port-list>
l eave- t i meout <2- 16775168> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Index of Commands
Ethernet Switch CLI Reference Guide 338
i pv6 ml d snoopi ng- pr oxy vl an <vlan-id>downst r eami nt er f ace por t - channel <port-list>mode
<i mmedi at e | nor mal | f ast > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
i pv6 ml d snoopi ng- pr oxy vl an <vlan-id> downst r eamquer y- i nt er val <1000- 31744000> 143
i pv6 ml d snoopi ng- pr oxy vl an <vlan-id> downst r eamquer y- max- r esponse- t i me <1000- 25000>
143
i pv6 ml d snoopi ng- pr oxy vl an <vlan-id> upst r eami nt er f ace por t - channel <port-list> 144
i pv6 ml d snoopi ng- pr oxy vl an <vlan-id>upst r eaml ast - l i st ener - quer y- i nt er val <1- 8387584>
144
i pv6 ml d snoopi ng- pr oxy vl an <vlan-id> upst r eamquer y- i nt er val <1000- 31744000> . . 144
i pv6 ml d snoopi ng- pr oxy vl an <vlan-id> upst r eamquer y- max- r esponse- t i me <1000- 25000>
144
i pv6 ml d snoopi ng- pr oxy vl an <vlan-id> upst r eamr obust ness- var i abl e <1- 25> . . . . . . 144
i pv6 nd dad- at t empt s <0- 600> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
i pv6 nd managed- conf i g- f l ag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
i pv6 nd ns- i nt er val <1000- 3600000> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
i pv6 nd ot her - conf i g- f l ag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
i pv6 nd pr ef i x <ipv6-prefix>/ <prefix-length> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
i pv6 nd pr ef i x <ipv6-prefix>/ <prefix-length> <[ val i d- l i f et i me <0- 4294967295>] [ pr e-
f er r ed- l i f et i me <0- 4294967295>] [ no- aut oconf i g] [ no- onl i nk] [ no- adver t i se] > 146
i pv6 nd r a i nt er val mi ni mum<3- 1350> maxi mum<4- 1800> . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
i pv6 nd r a l i f et i me <0- 9000> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
i pv6 nd r a suppr ess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
i pv6 nd r eachabl e- t i me <1000- 2147483647> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
i pv6 nei ghbor <interface-type> <interface-number> <ipv6-address> <mac-address> . . 148
i pv6 r out e <ipv6-prefix>/ <prefix-length> <next-hop> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
i pv6 r out e <ipv6-prefix>/ <prefix-length><next-hop><interface-type><interface-number>
147
ki ck t cp <session id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
l 2pr ot ocol - t unnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
l 2pr ot ocol - t unnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
l 2pr ot ocol - t unnel cdp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
l 2pr ot ocol - t unnel mac <mac- addr > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
l 2pr ot ocol - t unnel mode <access| t unnel > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
l 2pr ot ocol - t unnel poi nt - t o- poi nt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
l 2pr ot ocol - t unnel poi nt - t o- poi nt l acp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
l 2pr ot ocol - t unnel poi nt - t o- poi nt pagp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
l 2pr ot ocol - t unnel poi nt - t o- poi nt udl d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
l 2pr ot ocol - t unnel st p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
l 2pr ot ocol - t unnel vt p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
l acp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
l acp syst em- pr i or i t y <1- 65535> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
l l dp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
l l dp admi n- st at us <t x- onl y| r x- onl y| t x- r x> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
l l dp basi c- t l v management - addr ess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
l l dp basi c- t l v por t - descr i pt i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
l l dp basi c- t l v syst em- capabi l i t i es . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
l l dp basi c- t l v syst em- descr i pt i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
l l dp basi c- t l v syst em- name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
l l dp dcbx appl i cat i on <et her - t ype><f coe> pr i or i t y <0-7> . . . . . . . . . . . . . . . . . . . . . . . . . . 64
l l dp med l ocat i on ci vi c [ count y <county>] [ ci t y <city>] [ di vi si on <division>]
[ nei ghbor <neighbor>] [ st r eet <street>] [ l eadi ng- st r eet - di r ect i on
<value>] [ t r ai l i ng- st r eet - suf f i x <value>] [ st r eet - suf f i x <value>] [ house- number
<num>] [ house- number - suf f i x <value>] [ l andmar k <landmark>] [ ad-
di t i onal - l ocat i on <value>] [ name <value>] [ zi p- code <value>] [ bui l di ng
<value>] [ uni t <value>] [ f l oor <value>] [ r oom- number <value>]
[ pl ace- t ype <value>] [ post al - communi t y- name <value>] [ post - of f i ce-
box <value>] [ addi t i onal - code <value>] . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
l l dp med l ocat i on coor di nat e [ l at i t ude <nor t h| sout h> <value>] [ l ongi t ude <west | east
> <value>] [ al t i t ude <met er s| f l oor > <value>] [ dat um<WGS84| NAD83- NAVD88| NAD83-
Index of Commands
Ethernet Switch CLI Reference Guide 339
MLLW>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
l l dp med l ocat i on el i n <number> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
l l dp med net wor k- pol i cy <voi ce| voi ce- si gnal i ng| guest - voi ce| guest - voi ce- si gnal -
i ng| sof t phone- voi ce| vi deo- conf er enci ng| st r eami ng- vi deo| vi deo- si gnal i ng>
[ t agged| unt agged] [ vl an <vlan-id>] [ pr i or i t y <priority>] [ dscp <dscp>] . . . . . . 160
l l dp med t opol ogy- change- not i f i cat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
l l dp not i f i cat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
l l dp or g- speci f i c- t l v dot 1 dcbx- appl i cat i on- pr i or i t y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
l l dp or g- speci f i c- t l v dot 1 dcbx- et s- conf i gur at i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
l l dp or g- speci f i c- t l v dot 1 dcbx- pf c- conf i gur at i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
l l dp or g- speci f i c- t l v dot 1 por t - pr ot ocol - vl an- i d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
l l dp or g- speci f i c- t l v dot 1 por t - vl an- i d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
l l dp or g- speci f i c- t l v dot 3 l i nk- aggr egat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
l l dp or g- speci f i c- t l v dot 3 mac- phy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
l l dp or g- speci f i c- t l v dot 3 max- f r ame- si ze . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
l l dp or g- speci f i c- t l v dot 3 power - vi a- mdi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
l l dp or g- speci f i c- t l v med l ocat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
l l dp or g- speci f i c- t l v med net wor k- pol i cy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
l l dp r ei ni t i al i ze- del ay <1- 10> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
l l dp t r ansmi t - del ay <1- 8192> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
l l dp t r ansmi t - hol d <2- 10> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
l l dp t r ansmi t - i nt er val <5- 32768> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
l ocat or - l ed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
l ocat or - l ed <1- 1440> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
l ogi ns user name <name> passwor d [ ci pher ] <password> pr i vi l ege <0-14> . . . . . . . . . . . . 173
l ogout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
l oopguar d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
l oopguar d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
mac-address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
mac- agi ng- t i me <10- 1000000> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
mac- aut hent i cat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
mac- aut hent i cat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
mac- aut hent i cat i on namepr ef i x <name-string> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
mac- aut hent i cat i on passwor d <name-string> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
mac- aut hent i cat i on t i meout <1- 3000> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
mac- f i l t er name <name> mac <mac-addr> vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
mac- f i l t er name <name> mac <mac-addr> vl an <vlan-id> dr op <sr c| dst | bot h> . . . . . . . . 181
mac- f i l t er name <name> mac <mac-addr> vl an <vlan-id> i nact i ve . . . . . . . . . . . . . . . . . . . 181
mac- f l ush [ <port-num>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
mac- f or war d name <name> mac <mac-addr> vl an <vlan-id> i nt er f ace <interface-id> . . 183
mac- f or war d name <name> mac <mac-addr> vl an <vlan-id> i nt er f ace <interface-id> i nact i ve
183
mac- pi nni ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
mac- pi nni ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
mac- t r ansf er dynami c- t o- f i l t er i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . 177
mac- t r ansf er dynami c- t o- f i l t er mac <mac-addr> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
mac- t r ansf er dynami c- t o- f i l t er vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
mac- t r ansf er dynami c- t o- f or war d i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . 178
mac- t r ansf er dynami c- t o- f or war d mac <mac-addr> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
mac- t r ansf er dynami c- t o- f or war d vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
ma- i ndex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
md-index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
medi a- t ype 10g <SFP+| DAC10G> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
mep <mep-id> i nt er f ace por t - channel <port> di r ect i on <up| down> pr i or i t y <0- 7> . . . . 45
mep <mep-id> i nt er f ace por t - channel <port> di r ect i on <up| down> pr i or i t y <0- 7> cc- enabl e
45
mep <mep-id> i nt er f ace por t - channel <port> di r ect i on <up| down> pr i or i t y <0- 7> i nact i ve
45
mep-id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Index of Commands
Ethernet Switch CLI Reference Guide 340
mhf - cr eat i on < none | def aul t | expl i ci t > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
mi r r or . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
mi r r or di r <i ngr ess| egr ess| bot h> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
mi r r or - f i l t er egr ess mac <mac-addr> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
mi r r or - f i l t er egr ess t ype <al l | dest | sr c> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
mi r r or - f i l t er i ngr ess mac <mac-addr> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
mi r r or - f i l t er i ngr ess t ype <al l | dest | sr c> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
mi r r or - por t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
mi r r or - por t <port-num> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
mode <dynami c| compat i bl e> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
mode zynos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
mr st p <tree-index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
mr st p <tree-index> hel l o- t i me <1- 10> maxi mum- age <6- 40> f or war d- del ay <4- 30> . . . . 190
mr st p <tree-index> pr i or i t y <0- 61440> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
mr st p i nt er f ace <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
mr st p i nt er f ace <port-list> edge- por t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
mr st p i nt er f ace <port-list> pat h- cost <1- 65535> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
mr st p i nt er f ace <port-list> pr i or i t y <0- 255> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
mr st p i nt er f ace <port-list> t r ee- i ndex <tree-index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
mst p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
mst p conf i gur at i on- name <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
mst p hel l o- t i me <1- 10> maxi mum- age <6- 40> f or war d- del ay <4- 30> . . . . . . . . . . . . . . . . . . 192
mst p i nst ance <number> i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . 193
mst p i nst ance <number> i nt er f ace por t - channel <port-list> pat h- cost <1- 65535> . . . 193
mst p i nst ance <number> i nt er f ace por t - channel <port-list> pr i or i t y <0- 255> . . . . . . 193
mst p i nst ance <number> pr i or i t y <0- 61440> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
mst p i nst ance <number> vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
mst p i nt er f ace por t - channel <port-list> edge- por t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
mst p max- hop <1- 255> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
mst p r evi si on <0- 65535> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
mul t i cast - f or war d name <name> mac <mac-addr> vl an <vlan-id> i nact i ve . . . . . . . . . . . . 272
mul t i cast - f or war d name <name>mac <mac-addr>vl an <vlan-id>i nt er f ace por t - channel <port-
list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
mul t i cast - l i mi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
mul t i cast - l i mi t <pkt/s> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
mul t i - l ogi n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
mvr <1- 4094> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
mvr <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
name <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
name <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
name <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
name <port-name-string> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
net wor k <ip-addr/bits> ar ea <area-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
no aaa account i ng commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
no aaa account i ng dot 1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
no aaa account i ng exec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
no aaa account i ng syst em . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
no aaa account i ng updat e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
no aaa account i ng updat e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
no aaa aut hent i cat i on enabl e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
no aaa aut hent i cat i on enabl e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
no aaa aut hent i cat i on l ogi n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
no aaa aut hent i cat i on l ogi n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
no aaa aut hor i zat i on consol e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
no aaa aut hor i zat i on dot 1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
no aaa aut hor i zat i on exec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
no ar ea <area-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
no ar ea <area-id> aut hent i cat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
no ar ea <area-id> def aul t - cost . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Index of Commands
Ethernet Switch CLI Reference Guide 341
no ar ea <area-id> st ub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
no ar ea <area-id> st ub no- summar y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
no ar ea <area-id> vi r t ual - l i nk <router-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
no ar ea <area-id> vi r t ual - l i nk <router-id> aut hent i cat i on- key . . . . . . . . . . . . . . . . . . . 204
no ar ea <area-id> vi r t ual - l i nk <router-id> aut hent i cat i on- same- as- ar ea . . . . . . . . . . 204
no ar ea <area-id> vi r t ual - l i nk <router-id> message- di gest - key . . . . . . . . . . . . . . . . . . . 204
no ar p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
no ar p i nspect i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
no ar p i nspect i on f i l t er <mac-addr> vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
no ar p i nspect i on f i l t er - agi ng- t i me . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
no ar p i nspect i on f i l t er - agi ng- t i me . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
no ar p i nspect i on l og- buf f er ent r i es . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
no ar p i nspect i on l og- buf f er ent r i es . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
no ar p i nspect i on l og- buf f er l ogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
no ar p i nspect i on l og- buf f er l ogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
no ar p i nspect i on t r ust . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
no ar p i nspect i on vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
no ar p i nspect i on vl an <vlan-list> l oggi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
no ar p i p <ip-address> mac <mac-addr> vl an <vlan-id> i nact i ve . . . . . . . . . . . . . . . . . . . 27
no ar p i p <ip-address> mac <mac-addr> vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
no ar p- l ear ni ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
no bandwi dt h- cont r ol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
no bandwi dt h- l i mi t ci r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
no bandwi dt h- l i mi t egr ess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
no bandwi dt h- l i mi t i ngr ess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
no bandwi dt h- l i mi t pi r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
no bmst or m- l i mi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
no br oadcast - l i mi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
no cl assi f i er <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
no cl assi f i er <name> i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
no cl ust er . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
no cl ust er member <mac> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
no connect ed- por t <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
no dest i nat i on moni t or - por t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
no dhcp dhcp- vl an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
no dhcp opt i on pr of i l e <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
no dhcp r el ay <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
no dhcp r el ay <vlan-id> i nf or mat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
no dhcp r el ay <vlan-id> i nt er f ace por t - channel <port-list> opt i on . . . . . . . . . . . . . . . . 68
no dhcp r el ay <vlan-id> opt i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
no dhcp r el ay- br oadcast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
no dhcp ser ver <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
no dhcp ser ver <vlan-id> def aul t - gat eway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
no dhcp ser ver <vlan-id> pr i mar y- dns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
no dhcp ser ver <vlan-id> secondar y- dns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
no dhcp smar t - r el ay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
no dhcp smar t - r el ay i nf or mat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
no dhcp smar t - r el ay i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
no dhcp smar t - r el ay opt i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
no dhcp snoopi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
no dhcp snoopi ng dat abase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
no dhcp snoopi ng dat abase t i meout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
no dhcp snoopi ng dat abase wr i t e- del ay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
no dhcp snoopi ng l i mi t r at e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
no dhcp snoopi ng t r ust . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
no dhcp snoopi ng vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
no dhcp snoopi ng vl an <vlan-list> i nf or mat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
no dhcp snoopi ng vl an <vlan-list> i nt er f ace por t - channel <port-list> opt i on . . . . . . 73
no dhcp snoopi ng vl an <vlan-list> opt i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Index of Commands
Ethernet Switch CLI Reference Guide 342
no dhcp snoopi ng vl an <vlan-list> opt i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
no di f f ser v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
no di f f ser v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
no di spl ay aaa <[ aut hent i cat i on] [ aut hor i zat i on] [ ser ver ] > . . . . . . . . . . . . . . . . . . . . . . . . . 77
no di spl ay user <[ syst em] [ snmp] > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
no dl f - l i mi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
no egr ess set <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
no er r di sabl e det ect cause <ARP| BPDU| I GMP> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
no er r di sabl e r ecover y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
no er r di sabl e r ecover y cause <l oopguar d| ARP| BPDU| I GMP> . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
no et her net cf m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
no et her net cf mma <ma-index> md <md- i ndex> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
no et her net cf mmanagement - addr ess- domai n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
no et her net cf mmd <md-index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
no et her net cf mvi r t ual - mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
no et her net oam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
no et her net oam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
no et her net oammode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
no et her net oamr emot e- l oopback i gnor e- r x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
no et her net oamr emot e- l oopback suppor t ed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
no et s t r af f i c- cl ass bi ndi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
no except - smac zer o- smac- dr op . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
no ext er nal - al ar m<index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
no ext er nal - al ar mal l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
no f i xed <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
no f l ow- cont r ol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
no f or bi dden <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
no gr een- et her net aut o- power - down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
no gr een- et her net aut o- power - down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
no gr een- et her net eee . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
no gr een- et her net eee . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
no gr een- et her net shor t - r each . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
no gr een- et her net shor t - r each . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
no gr oup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
no gr oup <name-str> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
no gvr p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
no hybr i d- spq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
no i gmp- f i l t er i ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
no i gmp- f i l t er i ng pr of i l e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
no i gmp- f i l t er i ng pr of i l e <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
no i gmp- f i l t er i ng pr of i l e <name> st ar t - addr ess <ip> end- addr ess <ip> . . . . . . . . . . . . 118
no i gmp- gr oup- l i mi t ed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
no i gmp- i mmedi at e- l eave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
no i gmp- snoopi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
no i gmp- snoopi ng 8021p- pr i or i t y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
no i gmp- snoopi ng aut hent i cat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
no i gmp- snoopi ng aut hent i cat i on- t i meout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
no i gmp- snoopi ng f i l t er i ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
no i gmp- snoopi ng f i l t er i ng pr of i l e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
no i gmp- snoopi ng f i l t er i ng pr of i l e <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
no i gmp- snoopi ng f i l t er i ng pr of i l e <name> st ar t - addr ess <ip> end- addr ess <ip> . . . 112
no i gmp- snoopi ng gr oup- l i mi t ed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
no i gmp- snoopi ng l eave- pr oxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
no i gmp- snoopi ng quer i er . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
no i gmp- snoopi ng r epor t - pr oxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
no i gmp- snoopi ng vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
no i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
no i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
no i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
Index of Commands
Ethernet Switch CLI Reference Guide 343
no i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
no i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
no i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
no i ngr ess- check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
no i nst al l sl ot <slot> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
no i nt er f ace <port-num> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
no i nt r usi on- l ock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
no i p addr ess <ip-address> <mask> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
no i p addr ess def aul t - gat eway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
no i p addr ess def aul t - management dhcp- boot p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
no i p dvmr p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
no i p i gmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
no i p l oad- shar i ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
no i p ospf aut hent i cat i on- key <key> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
no i p ospf aut hent i cat i on- same- aa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
no i p ospf aut hent i cat i on- same- as- ar ea . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
no i p ospf cost <1- 65535> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
no i p ospf message- di gest - key <key> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
no i p ospf pr i or i t y <0- 255> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
no i p pol i cy- r out e <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
no i p pol i cy- r out e <name> i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
no i p pol i cy- r out e <name> sequence <number> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
no i p r out e <ip> <mask> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
no i p r out e <ip> <mask> <next-hop-ip> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
no i p r out e <ip> <mask> <next-hop-ip> i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
no i p r out e <ip> <mask> i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
no i p sour ce bi ndi ng <mac-addr> vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
no i pmc egr ess- unt ag- vl an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
no i pv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
no i pv6 addr ess <ipv6-address>/ <prefix> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
no i pv6 addr ess <ipv6-address>/ <prefix> eui - 64 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
no i pv6 addr ess <ipv6-address>/ <prefix> l i nk- l ocal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
no i pv6 addr ess aut oconf i g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
no i pv6 addr ess def aul t - gat eway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
no i pv6 addr ess dhcp cl i ent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
no i pv6 addr ess dhcp cl i ent [ r api d- commi t ] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
no i pv6 addr ess dhcp cl i ent opt i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
no i pv6 addr ess dhcp cl i ent opt i on <[ dns] [ domai n- l i st ] > . . . . . . . . . . . . . . . . . . . . . . . . . 140
no i pv6 dhcp r el ay vl an <1- 4094> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
no i pv6 dhcp r el ay vl an <1- 4094> opt i on i nt er f ace- i d . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
no i pv6 dhcp r el ay vl an <1- 4094> opt i on r emot e- i d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
no i pv6 hop- l i mi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
no i pv6 ml d snoopi ng- pr oxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
no i pv6 ml d snoopi ng- pr oxy f i l t er i ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
no i pv6 ml d snoopi ng- pr oxy f i l t er i ng gr oup- l i mi t ed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
no i pv6 ml d snoopi ng- pr oxy f i l t er i ng pr of i l e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
no i pv6 ml d snoopi ng- pr oxy f i l t er i ng pr of i l e <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
no i pv6 ml d snoopi ng- pr oxy f i l t er i ng pr of i l e <name> st ar t - addr ess <ip> end- addr ess <ip>
145
no i pv6 ml d snoopi ng- pr oxy vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
no i pv6 ml d snoopi ng- pr oxy vl an <vlan-id> downst r eami nt er f ace por t - channel <port-list>
145
no i pv6 ml d snoopi ng- pr oxy vl an <vlan-id> upst r eami nt er f ace por t - channel <port-list>
145
no i pv6 nd dad- at t empt s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
no i pv6 nd managed- conf i g- f l ag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
no i pv6 nd ns- i nt er val . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
no i pv6 nd ot her - conf i g- f l ag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
no i pv6 nd pr ef i x <ipv6-prefix>/ <prefix-length> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Index of Commands
Ethernet Switch CLI Reference Guide 344
no i pv6 nd r a i nt er val . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
no i pv6 nd r a l i f et i me . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
no i pv6 nd r a suppr ess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
no i pv6 nd r eachabl e- t i me . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
no i pv6 nei ghbor <interface-type> <interface-number> <ipv6-address> . . . . . . . . . . . . . 148
no i pv6 r out e <ipv6-prefix>/ <prefix-length> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
no l 2pr ot ocol - t unnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
no l 2pr ot ocol - t unnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
no l 2pr ot ocol - t unnel cdp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
no l 2pr ot ocol - t unnel poi nt - t o- poi nt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
no l 2pr ot ocol - t unnel poi nt - t o- poi nt l acp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
no l 2pr ot ocol - t unnel poi nt - t o- poi nt pagp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
no l 2pr ot ocol - t unnel poi nt - t o- poi nt udl d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
no l 2pr ot ocol - t unnel st p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
no l 2pr ot ocol - t unnel vt p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
no l acp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
no l l dp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
no l l dp admi n- st at us . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
no l l dp basi c- t l v management - addr ess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
no l l dp basi c- t l v por t - descr i pt i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
no l l dp basi c- t l v syst em- capabi l i t i es . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
no l l dp basi c- t l v syst em- descr i pt i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
no l l dp basi c- t l v syst em- name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
no l l dp dcbx appl i cat i on <et her - t ype > <f coe> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
no l l dp med l ocat i on <ci vi c| coor di nat e| el i n> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
no l l dp med l ocat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
no l l dp med net wor k- pol i cy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
no l l dp med net wor k- pol i cy <voi ce| voi ce- si gnal i ng| guest - voi ce| guest - voi ce- si gnal -
i ng| sof t phone- voi ce| vi d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
no l l dp med t opol ogy- change- not i f i cat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
no l l dp not i f i cat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
no l l dp or g- speci f i c- t l v dot 1 por t - pr ot ocol - vl an- i d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
no l l dp or g- speci f i c- t l v dot 1 por t - vl an- i d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
no l l dp or g- speci f i c- t l v dot 3 l i nk- aggr egat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
no l l dp or g- speci f i c- t l v dot 3 mac- phy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
no l l dp or g- speci f i c- t l v dot 3 max- f r ame- si ze . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
no l l dp or g- speci f i c- t l v dot 3 power - vi a- mdi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
no l ocat or - l ed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
no l oggi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
no l ogi ns user name <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
no l oopguar d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
no l oopguar d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
no mac- aut hent i cat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
no mac- aut hent i cat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
no mac- aut hent i cat i on t i meout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
no mac- f i l t er mac <mac-addr> vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
no mac- f i l t er mac <mac-addr> vl an <vlan-id> i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
no mac- f or war d mac <mac-addr> vl an <vlan-id> i nt er f ace <interface-id> . . . . . . . . . . . 183
no mac- f or war d mac <mac-addr> vl an <vlan-id> i nt er f ace <interface-id> i nact i ve . . 183
no mac- pi nni ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
no mac- pi nni ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
no mep <mep-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
no mep <mep-id> cc- enabl e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
no mep <mep-id> i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
no mi r r or . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
no mi r r or - por t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
no mi r r or - por t <port-num> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
no mr st p <tree-index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
no mr st p i nt er f ace <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Index of Commands
Ethernet Switch CLI Reference Guide 345
no mr st p i nt er f ace <port-list> edge- por t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
no mst p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
no mst p i nst ance <number> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
no mst p i nst ance <number> i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . 193
no mst p i nst ance <number> vl an <1- 4094> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
no mst p i nt er f ace por t - channel <port-list> edge- por t . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
no mul t i cast - f or war d mac <mac-addr> vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
no mul t i cast - f or war d mac <mac-addr> vl an <vlan-id> i nact i ve . . . . . . . . . . . . . . . . . . . . . 272
no mul t i cast - l i mi t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
no mul t i - l ogi n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
no mvr <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
no net wor k <ip-addr/bits> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
no non- quer i er . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
no passi ve- i f ace <ip-addr/bits> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
no passwor d encr ypt i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
no passwor d pr i vi l ege <0-14> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
no pol i cy <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
no pol i cy <name> i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
no por t - access- aut hent i cat or . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
no por t - access- aut hent i cat or <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
no por t - access- aut hent i cat or <port-list> guest - vl an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
no por t - access- aut hent i cat or <port-list> guest - vl an Host - mode . . . . . . . . . . . . . . . . . . . 105
no por t - access- aut hent i cat or <port-list> r eaut hent i cat e . . . . . . . . . . . . . . . . . . . . . . . . . 105
no por t - secur i t y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
no por t - secur i t y <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
no por t - secur i t y <port-list> l ear n i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
no por t - secur i t y <port-list> vl an <vlan-id> addr ess- l i mi t . . . . . . . . . . . . . . . . . . . . . . . 221
no por t - secur i t y <port-list> vl an <vlan-id> addr ess- l i mi t i nact i ve . . . . . . . . . . . . . . 221
no pppoe i nt er medi at e- agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
no pppoe i nt er medi at e- agent f or mat - t ype access- node- i dent i f i er . . . . . . . . . . . . . . . . . . 225
no pppoe i nt er medi at e- agent f or mat - t ype ci r cui t - i d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
no pppoe i nt er medi at e- agent f or mat - t ype i dent i f i er - st r i ng . . . . . . . . . . . . . . . . . . . . . . . 225
no pppoe i nt er medi at e- agent f or mat - t ype i dent i f i er - st r i ng host name . . . . . . . . . . . . . . 225
no pppoe i nt er medi at e- agent f or mat - t ype r emot e- i d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
no pppoe i nt er medi at e- agent t r ust . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
no pppoe i nt er medi at e- agent vl an <vlan-id> f or mat - t ype ci r cui t - i d . . . . . . . . . . . . . . . 224
no pppoe i nt er medi at e- agent vl an <vlan-id> f or mat - t ype r emot e- i d . . . . . . . . . . . . . . . . 224
no pppoe i nt er medi at e- agent vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
no pppoe i nt er medi at e- agent vl an <vlan-list> ci r cui t - i d . . . . . . . . . . . . . . . . . . . . . . . . . 225
no pppoe i nt er medi at e- agent vl an <vlan-list> r emot e- i d . . . . . . . . . . . . . . . . . . . . . . . . . . 224
no pr eempt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
no pr i mar y- vi r t ual - i p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
no pr i mar y- vi r t ual - i p <ip-address> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
no pr i or i t y- f l ow- cont r ol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
no pr i or i t y- f l ow- cont r ol pr i or i t y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
no pr i vat e- vl an <pr i mar y | i sol at ed | communi t y> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
no pr i vat e- vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
no pr i vat e- vl an <vlan-id> i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
no pr i vat e- vl an associ at i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
no pr i vat e- vl an associ at i on <secondary-vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
no pr i vat e- vl an mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
no pr ot ocol - based- vl an et her net - t ype <ether-num| i p| i px| ar p| r ar p| appl et al k| decnet > 235
no pwr i nt er f ace <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
no pwr i nt er f ace <port-list> max- power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
no pwr mi bt r ap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
no r adi us- account i ng <index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
no r adi us- account i ng <index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
no r adi us- ser ver <index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
no r adi us- ser ver <index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
Index of Commands
Ethernet Switch CLI Reference Guide 346
no r ecei ver - por t <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
no r edi st r i but e r i p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
no r edi st r i but e st at i c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
no r emot e- management <index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
no r emot e- management <index>ser vi ce <[ t el net ] [ f t p] [ ht t p] [ i cmp] [ snmp] [ ssh] [ ht t ps] >
242
no r emot e- mep <mep-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
no r mi r r or vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
no r mon al ar mal ar mt abl e <alarm-index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
no r mon event event t abl e <event-index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
no r mon hi st or y hi st or ycont r ol <historycontrol-index> . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
no r mon st at i st i cs et her st at s <et her st at s- index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
no r out er dvmr p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
no r out er i gmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
no r out er ospf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
no r out er r i p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
no r out er vr r p net wor k <ip-address>/ <mask-bits> vr - i d <1~7> . . . . . . . . . . . . . . . . . . . . . 310
no secondar y- vi r t ual - i p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
no ser vi ce- cont r ol f t p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
no ser vi ce- cont r ol ht t p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
no ser vi ce- cont r ol ht t ps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
no ser vi ce- cont r ol i cmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
no ser vi ce- cont r ol snmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
no ser vi ce- cont r ol ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
no ser vi ce- cont r ol t el net . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
no sf l ow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
no sf l ow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
no sf l ow col l ect or <ip-address> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
no sf l ow col l ect or <ip-address> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
no shut down sl ot <slot-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
no smar t - i sol at i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
no snmp t r ap [ options] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
no snmp- ser ver t r ap- dest i nat i on <ip> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
no snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
no snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps aaa . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
no snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps aaa <options> . . . . . . . . . . . . . . . . . 263
no snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps i nt er f ace . . . . . . . . . . . . . . . . . . . . . 264
no snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps i nt er f ace <options> . . . . . . . . . . . 264
no snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps i p . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
no snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps i p <options> . . . . . . . . . . . . . . . . . . 264
no snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps swi t ch . . . . . . . . . . . . . . . . . . . . . . . . 264
no snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps swi t ch <options> . . . . . . . . . . . . . . 264
no snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps syst em . . . . . . . . . . . . . . . . . . . . . . . . 264
no snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps syst em<options> . . . . . . . . . . . . . . 264
no snmp- ser ver user name <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
no sour ce mi r r or - por t <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
no sour ce mi r r or - por t <port-list> di r egr ess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
no sour ce mi r r or - por t <port-list> di r i ngr ess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
no sour ce r ef l ect or - por t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
no sour ce- por t <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
no spanni ng- t r ee . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
no spanni ng- t r ee <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
no spanni ng- t r ee <port-list> edge- por t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
no ssh key <r sa1| r sa| dsa> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
no ssh known- host s <host-ip> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
no ssh known- host s <host-ip> <1024| ssh- r sa| ssh- dsa> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
no st or m- cont r ol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
no subnet - based- vl an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
no subnet - based- vl an dhcp- vl an- over r i de . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
Index of Commands
Ethernet Switch CLI Reference Guide 347
no subnet - based- vl an sour ce- i p <ip> mask- bi t s <mask-bits> . . . . . . . . . . . . . . . . . . . . . . . 278
no summar y- addr ess <ip-address> <mask> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
no sysl og . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
no sysl og ser ver <ip-address> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
no sysl og ser ver <ip-address> i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
no sysl og t ype <type> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
no t acacs- account i ng <index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
no t acacs- ser ver <index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
no t agged <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
no t i me dayl i ght - savi ng- t i me . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
no t i mesync . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
no t r af f i c- cl ass <id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
no t r t cm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
no t r t cm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
no t r t cmdscp pr of i l e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
no t r t cmdscp pr of i l e <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
no t r unk <T1| T2| T3| T4| T5| T6> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
no t r unk <T1| T2| T3| T4| T5| T6> cr i t er i a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
no t r unk <T1| T2| T3| T4| T5| T6> i nt er f ace <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
no t r unk <T1| T2| T3| T4| T5| T6> l acp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
no unt agged <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
no vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
no vl an1q gvr p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
no vl an1q i ngr ess- check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
no vl an1q por t - i sol at i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
no vl an1q por t - i sol at i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
no vl an- mappi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
no vl an- mappi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
no vl an- mappi ng i nt er f ace por t - channel <port> vl an <1- 4094> . . . . . . . . . . . . . . . . . . . . . 302
no vl an- mappi ng i nt er f ace por t - channel <port> vl an <1- 4094> i nact i ve . . . . . . . . . . . . 302
no vl an- st acki ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
no vl an- st acki ng sel ect i ve- qi nq i nt er f ace por t - channel <port> cvi d <vlan-id> . . . . 305
no vl an- st acki ng sel ect i ve- qi nq i nt er f ace por t - channel <port> cvi d <vlan-id> i nact i ve
305
no vl an- t r unki ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
non- quer i er . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
nor mal <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
owner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
passi ve- i f ace <ip-addr/bits> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
passwor d [ ci pher ] <pw-string> [ pr i vi l ege <0-14>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
passwor d encr ypt i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
pi ng <ip| host-name> [ vl an <vlan-id>] [ si ze <0- 1472>] [ - t ] . . . . . . . . . . . . . . . . . . . . . . . 314
pi ng hel p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
pi ng6 <ipv6-address> <[ - i <interface-type> <interface-number>] [ - t ] [ - l <1- 1452>] [ - n
<1- 65535>] [ - s <ipv6-address>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
pol i cy <name> cl assi f i er <classifier-list> <[ vl an <vlan-id>] [ egr ess- por t <port-num>]
[ pr i or i t y <0- 7>] [ bandwi dt h <bandwidth>] [ f or war d- act i on <dr op>] [ queue- act i on
<pr i o- set >] [ out goi ng- epor t ] [ out goi ng- set - vl an] [ r at e- l i mi t ] [ i nact i ve] > 216
pol i cy <name> cl assi f i er <classifier-list> <[ vl an <vlan-id>] [ egr ess- por t <port-
num>] [ pr i or i t y <0- 7>] [ dscp <0- 63>] [ t os <0- 7>] [ bandwi dt h <bandwidth>] [ egr ess- mask
<port-list>] [ out goi ng- packet - f or mat <t agged| unt agged>] [ out - of - pr of i l e- dscp <0-
63>] [ f or war d- act i on <dr op| f or war d| egr essmask>] [ queue- act i on <pr i o- set | pr i o-
queue| pr i o- r epl ace- t os>] [ di f f ser v- act i on <di f f - set - t os| di f f - r epl ace- pr i or i -
t y| di f f - set - dscp>] [ out goi ng- mi r r or ] [ out goi ng- epor t ] [ out goi ng- non- uni cast - ep-
or t ] [ out goi ng- set - vl an] [ met er i ng] [ out - of - pr of i l e- act i on <[ change- dscp] [ dr op] [
f or war d] [ set - dr op- pr ecedence] >] [ i nact i ve] > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
por t - access- aut hent i cat or . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
por t - access- aut hent i cat or <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
por t - access- aut hent i cat or <port-list> guest - vl an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Index of Commands
Ethernet Switch CLI Reference Guide 348
por t - access- aut hent i cat or <port-list> guest - vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . 106
por t - access- aut hent i cat or <port-list> guest - vl an Host - mode Mul t i - host . . . . . . . . . . . 106
por t - access- aut hent i cat or <port-list> guest - vl an Host - mode Mul t i - secur e [ <1- 24>] 106
por t - access- aut hent i cat or <port-list> max- r eq <1- 10> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
por t - access- aut hent i cat or <port-list> qui et - per i od <0- 65535> . . . . . . . . . . . . . . . . . . . . 106
por t - access- aut hent i cat or <port-list> r eaut hent i cat e . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
por t - access- aut hent i cat or <port-list> r eaut h- per i od <1- 65535> . . . . . . . . . . . . . . . . . . . 106
por t - access- aut hent i cat or <port-list> supp- t i meout <30- 65535> . . . . . . . . . . . . . . . . . . . 106
por t - access- aut hent i cat or <port-list> t x- per i od <1- 65535> . . . . . . . . . . . . . . . . . . . . . . . 106
por t - secur i t y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
por t - secur i t y <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
por t - secur i t y <port-list> addr ess- l i mi t <number> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
por t - secur i t y <port-list> l ear n i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
por t - secur i t y <port-list> MAC- f r eeze . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
por t - secur i t y <port-list> vl an <vlan-id> addr ess- l i mi t <number> . . . . . . . . . . . . . . . . . 220
por t - secur i t y <port-list> vl an <vlan-id> addr ess- l i mi t <number> i nact i ve . . . . . . . . 221
pppoe i nt er medi at e- agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
pppoe i nt er medi at e- agent f or mat - t ype access- node- i dent i f i er st r i ng <string> . . . . . 225
pppoe i nt er medi at e- agent f or mat - t ype ci r cui t - i d st r i ng <string> . . . . . . . . . . . . . . . . . 224
pppoe i nt er medi at e- agent f or mat - t ype i dent i f i er - st r i ng host name . . . . . . . . . . . . . . . . . 225
pppoe i nt er medi at e- agent f or mat - t ype i dent i f i er - st r i ng st r i ng <string> opt i on
<s| p| v| sp| sv| pv| spv> del i mi t er <#| . | , | ; | / | | > . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
pppoe i nt er medi at e- agent f or mat - t ype r emot e- i d st r i ng <string> . . . . . . . . . . . . . . . . . . 224
pppoe i nt er medi at e- agent t r ust . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
pppoe i nt er medi at e- agent vl an <vlan-id> f or mat - t ype ci r cui t - i d st r i ng <string> . . 224
pppoe i nt er medi at e- agent vl an <vlan-id> f or mat - t ype r emot e- i d st r i ng <string> . . . 224
pppoe i nt er medi at e- agent vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
pppoe i nt er medi at e- agent vl an <vlan-list> ci r cui t - i d . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
pppoe i nt er medi at e- agent vl an <vlan-list> r emot e- i d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
pr eempt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
pr i mar y- vi r t ual - i p <ip-address> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
pr i or i t y <1~254> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
pr i or i t y- f l ow- cont r ol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
pr i or i t y- f l ow- cont r ol aut o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
pr i or i t y- f l ow- cont r ol pr i or i t y <priority-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
pr i vat e- vl an <pr i mar y | i sol at ed | communi t y> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
pr i vat e- vl an associ at i on <secondary-vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
pr i vat e- vl an mode . . <pr omi scuous | i sol at ed | communi t y> associ at i on <vl an- i d> dot 1q
<t agged | unt agged> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
pr i vat e- vl an name <name> vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
pr i vat e- vl an name <name> vl an <vlan-id> i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
pr i vat e- vl an name <name> vl an <vlan-id> pr omi scuous- por t <port-list> . . . . . . . . . . . . 230
pr i vat e- vl an name <name> vl an <vlan-id> pr omi scuous- por t <port-list> i nact i ve . . . 230
pr ot ocol - based- vl an name <name> et her net - t ype <ether-num| i p| i px| ar p| r ar p| appl et al k| dec-
net > vl an <vlan-id> pr i or i t y <0- 7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
pvi d <1- 4094> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
pwr i nt er f ace <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
pwr i nt er f ace <port-list> max- power <1000- 33000> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
pwr i nt er f ace <port-list> pr i or i t y <cr i t i cal | hi gh| l ow> . . . . . . . . . . . . . . . . . . . . . . . . . . 210
pwr mi bt r ap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
pwr mode <cl assi f i cat i on| consumpt i on> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
pwr usaget hr eshol d <1- 99> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
qos pr i or i t y <0- 7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
queue pr i or i t y <0- 7> l evel <0- 7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
queue pr i or i t y <0- 7> l evel <0- 7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
r adi us- account i ng host <index> <ip> [ acct - por t <socket-number>] [ key [ ci pher ] <key-
string>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
r adi us- account i ng t i meout <1- 1000> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
r adi us- ser ver host <index> <ip> [ aut h- por t <socket-number>] [ key [ ci pher ] <key-string>]
Index of Commands
Ethernet Switch CLI Reference Guide 349
240
r adi us- ser ver mode <i ndex- pr i or i t y| r ound- r obi n> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
r adi us- ser ver t i meout <1- 1000> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
r ecei ver - por t <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
r edi st r i but e r i p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
r edi st r i but e r i p met r i c- t ype <1| 2> met r i c <0- 16777214> . . . . . . . . . . . . . . . . . . . . . . . . . . 204
r edi st r i but e st at i c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
r edi st r i but e st at i c met r i c- t ype <1| 2> met r i c <0- 16777214> . . . . . . . . . . . . . . . . . . . . . . . 205
r el oad conf i g [ 1| 2] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
r emot e- management <index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
r emot e- management <index> st ar t - addr <ip> end- addr <ip> ser vi ce <[ t el net ] [ f t p] [ ht t p]
[ i cmp] [ snmp] [ ssh] [ ht t ps] > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
r emot e- mep <mep-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
r enew dhcp snoopi ng dat abase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
r enew dhcp snoopi ng dat abase <tftp://host/filename> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
r eset cpu- pr ot ect i on i nt er f ace por t - channel <port-list> cause <ARP| BPDU| I GMP> . . . . 81
r eset sl ot <slot-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
r est ar t i pv6 dhcp cl i ent vl an <1- 4094> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
r mi r r or vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
r mon al ar mal ar mt abl e <alarm-index> var i abl e <variable> i nt er val <interval-integer> sam-
pl e- t ype <absol ut e| del t a> st ar t up- al ar m<startup-alarm> r i si ng- t hr eshol d <rising-
integer> <event-index> f al l i ng- t hr eshol d <falling-integer> <event-index> [ owner
<owner>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
r mon al ar mal ar mt abl e <alarm-index> var i abl e <variable> i nt er val <interval-integer> sam-
pl e- t ype <absol ut e| del t a> st ar t up- al ar m<startup-alarm> r i si ng- t hr eshol d <rising-
integer> <event-index> f al l i ng- t hr eshol d <falling-integer> <event-index> [ owner
<owner>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
r mon event event t abl e <event-index>[ l og] [ t r ap <community>] [ owner <owner>] [ descr i pt i on
<description>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
r mon hi st or y hi st or ycont r ol <historycontrol-index> bucket s <1- 65535> i nt er val <1- 3600>
por t - channel <interface-id> [ owner <owner>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
r mon st at i st i cs et her st at s <et her st at s- index> por t - channel <interface-id> [ owner <own-
er>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
r out er dvmr p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
r out er i gmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
r out er ospf <router-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
r out er r i p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
r out er vr r p net wor k <ip-address>/ <mask-bits> vr - i d <1~7> upl i nk- gat eway <ip-address>
309
secondar y- vi r t ual - i p <ip-address> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
ser vi ce- cont r ol consol e <timeout> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
ser vi ce- cont r ol f t p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
ser vi ce- cont r ol f t p <socket-number> <timeout> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
ser vi ce- cont r ol ht t p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
ser vi ce- cont r ol ht t p <socket-number> <timeout> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
ser vi ce- cont r ol ht t ps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
ser vi ce- cont r ol ht t ps <socket-number> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
ser vi ce- cont r ol i cmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
ser vi ce- cont r ol snmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
ser vi ce- cont r ol ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
ser vi ce- cont r ol ssh <socket-number> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
ser vi ce- cont r ol t el net . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
ser vi ce- cont r ol t el net <socket-number> <timeout> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
sf l ow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
sf l ow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
sf l ow col l ect or <ip-address> [ pol l - i nt er val <20- 120>] [ sampl e- r at e <256- 65535>] . 255
sf l ow col l ect or <ip-address> [ udp- por t <udp-port>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
show aaa account i ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
show aaa account i ng commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Index of Commands
Ethernet Switch CLI Reference Guide 350
show aaa account i ng dot 1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
show aaa account i ng exec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
show aaa account i ng syst em . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
show aaa account i ng updat e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
show aaa aut hent i cat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
show aaa aut hent i cat i on enabl e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
show aaa aut hent i cat i on l ogi n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
show aaa aut hor i zat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
show aaa aut hor i zat i on dot 1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
show aaa aut hor i zat i on exec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
show al 1ar m- st at us . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
show ar p i nspect i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
show ar p i nspect i on f i l t er [ <mac-addr>] [ vl an <vlan-id>] . . . . . . . . . . . . . . . . . . . . . . . . . 29
show ar p i nspect i on i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
show ar p i nspect i on l og . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
show ar p i nspect i on st at i st i cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
show ar p i nspect i on st at i st i cs vl an <vl an- l i st > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
show ar p i nspect i on vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
show cl assi f i er [ <name>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
show cl ust er . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
show cl ust er candi dat es . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
show cl ust er member . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
show cl ust er member conf i g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
show cl ust er member mac <mac> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
show cpu- pr ot ect i on i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
show cpu- ut i l i zat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
show cpu- ut i l i zat i on pr ocess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
show dhcp opt i on pr of i l e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
show dhcp r el ay <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
show dhcp ser ver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
show dhcp ser ver <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
show dhcp smar t - r el ay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
show dhcp snoopi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
show dhcp snoopi ng bi ndi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
show dhcp snoopi ng dat abase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
show dhcp snoopi ng dat abase det ai l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
show dhcp snoopi ng opt i on [ vl an <vlan-list>] [ i nt er f ace <port-list>] . . . . . . . . . . . . . 72
show di f f ser v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
show er r di sabl e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
show er r di sabl e det ect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
show er r di sabl e r ecover y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
show et her net cf ml i nkt r ace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
show et her net cf ml ocal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
show et her net cf ml ocal st ack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
show et her net cf ml ocal st ack mep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
show et her net cf ml ocal st ack mep <mep-id> ma <ma-index> md <md-index> . . . . . . . . . . . 46
show et her net cf ml ocal st ack mep <mep-id> ma <ma-index>md <md-index>mep- ccmdb [ r emot e-
mep <mep-id>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
show et her net cf ml ocal st ack mi p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
show et her net cf ml ocal st ack mi p mi p- ccmdb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
show et her net cf mr emot e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
show et her net cf mvi r t ual - mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
show et her net cf mvi r t ual - mac por t <por t - l i st > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
show et her net oamdi scover y <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
show et her net oamst at i st i cs <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
show et her net oamsummar y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
show except - smac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
show ext er nal - al ar m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
show gar p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Index of Commands
Ethernet Switch CLI Reference Guide 351
show gr een- et her net aut o- power - down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
show gr een- et her net eee . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
show gr een- et her net shor t - r each . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
show har dwar e- moni t or <C| F> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
show ht t ps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
show ht t ps cer t i f i cat e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
show ht t ps key <r sa| dsa> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
show ht t ps sessi on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
show i gmp- f i l t er i ng pr of i l e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
show i gmp- snoopi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
show i gmp- snoopi ng f i l t er i ng pr of i l e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
show i gmp- snoopi ng gr oup al l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
show i gmp- snoopi ng gr oup cl i ent < [ vl an <vlan-list>] [ i nt er f ace por t - channel <port-
list>] [ mul t i cast - gr oup <group-address>] > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
show i gmp- snoopi ng gr oup cl i ent al l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
show i gmp- snoopi ng gr oup count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
show i gmp- snoopi ng gr oup i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . 113
show i gmp- snoopi ng gr oup i nt er f ace por t - channel <port-list> count . . . . . . . . . . . . . . . 113
show i gmp- snoopi ng gr oup vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
show i gmp- snoopi ng gr oup vl an <vlan-list> count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
show i gmp- snoopi ng quer i er . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
show i gmp- snoopi ng st at i st i cs i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . 113
show i gmp- snoopi ng st at i st i cs syst em . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
show i gmp- snoopi ng st at i st i cs vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
show i gmp- snoopi ng vl an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
show i nt er f aces <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
show i nt er f aces conf i g <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
show i nt er f aces conf i g <port-list> bandwi dt h- cont r ol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
show i nt er f aces conf i g <port-list> bst or m- cont r ol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
show i nt er f aces conf i g <port-list> egr ess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
show i nt er f aces conf i g <port-list> i gmp- f i l t er i ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
show i nt er f aces conf i g <port-list> i gmp- gr oup- l i mi t ed . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
show i nt er f aces conf i g <port-list> i gmp- i mmedi at e- l eave . . . . . . . . . . . . . . . . . . . . . . . . . 114
show i nt er f aces conf i g <port-list> i gmp- quer y- mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
show i nt er f aces conf i g <port-list> i gmp- snoopi ng f i l t er i ng . . . . . . . . . . . . . . . . . . . . . . 114
show i nt er f aces conf i g <port-list> i gmp- snoopi ng gr oup- l i mi t ed . . . . . . . . . . . . . . . . . . 114
show i nt er f aces conf i g <port-list> i gmp- snoopi ng l eave- mode . . . . . . . . . . . . . . . . . . . . . 114
show i nt er f aces conf i g <port-list> i gmp- snoopi ng quer y- mode . . . . . . . . . . . . . . . . . . . . . 114
show i nt er f aces conf i g <port-list> pr ot ocol - based- vl an . . . . . . . . . . . . . . . . . . . . . . . . . . 234
show i nt er f aces conf i g <port-list> t r t cmdscp pr of i l e . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
show i nt er f aces t r anscei ver <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
show i p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
show i p ar p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
show i p dvmr p gr oup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
show i p dvmr p i nt er f ace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
show i p dvmr p nei ghbor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
show i p dvmr p pr une . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
show i p dvmr p r out e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
show i p i gmp gr oup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
show i p i gmp i nt er f ace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
show i p i gmp mul t i cast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
show i p i gmp t i mer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
show i p i pt abl e al l [ I P| VI D| PORT] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
show i p i pt abl e count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
show i p i pt abl e st at i c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
show i p ospf dat abase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
show i p ospf i nt er f ace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
show i p ospf nei ghbor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
show i p pol i cy- r out e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Index of Commands
Ethernet Switch CLI Reference Guide 352
show i p pol i cy- r out e <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
show i p pol i cy- r out e <name> sequence <number> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
show i p pr ot ocol s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
show i p pr ot ocol s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
show i p r out e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
show i p r out e st at i c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
show i p sour ce bi ndi ng [ <mac-addr>] [ . . . ] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
show i p sour ce bi ndi ng hel p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
show i p t cp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
show i p udp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
show i pv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
show i pv6 <interface-type> <interface-number> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
show i pv6 dhcp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
show i pv6 dhcp vl an <1- 4094> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
show i pv6 ml d snoopi ng- pr oxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
show i pv6 ml d snoopi ng- pr oxy f i l t er i ng pr of i l e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
show i pv6 ml d snoopi ng- pr oxy gr oup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
show i pv6 ml d snoopi ng- pr oxy st at i st i cs i nt er f ace por t - channel <port-list> . . . . . . 145
show i pv6 ml d snoopi ng- pr oxy st at i st i cs syst em . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
show i pv6 ml d snoopi ng- pr oxy st at i st i cs vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . 145
show i pv6 ml d snoopi ng- pr oxy vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
show i pv6 mt u . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
show i pv6 mul t i cast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
show i pv6 nei ghbor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
show i pv6 nei ghbor <interface-type> <interface-number> . . . . . . . . . . . . . . . . . . . . . . . . . . 148
show i pv6 pr ef i x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
show i pv6 pr ef i x <interface-type> <interface-number> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
show i pv6 r out e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
show i pv6 r out e st at i c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
show i pv6 r out er . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
show i pv6 r out er <interface-type> <interface-number> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
show l 2pr ot ocol - t unnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
show l 2pr ot ocol - t unnel i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . 156
show l acp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
show l l dp conf i g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
show l l dp conf i g i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
show l l dp i nf o l ocal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
show l l dp i nf o l ocal i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . 162
show l l dp i nf o r emot e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
show l l dp i nf o r emot e i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . 162
show l l dp st at i st i c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
show l l dp st at i st i c i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . 162
show l oggi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
show l ogi ns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
show l oopguar d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
show mac addr ess- t abl e al l [ <sort>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
show mac addr ess- t abl e count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
show mac addr ess- t abl e mac <mac- addr > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
show mac addr ess- t abl e mul t i cast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
show mac addr ess- t abl e mul t i cast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
show mac addr ess- t abl e por t <port-list> [ <sort>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
show mac addr ess- t abl e st at i c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
show mac addr ess- t abl e vl an <vlan-list> [ <sort>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
show mac- agi ng- t i me . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
show mac- aut hent i cat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
show mac- aut hent i cat i on conf i g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
show mac- pi nni ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
show memor y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
show mi r r or . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Index of Commands
Ethernet Switch CLI Reference Guide 353
show mr st p <tree-index> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
show mst p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
show mst p i nst ance <number> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
show mul t i cast [ vl an] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
show mul t i - l ogi n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
show mvr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
show mvr <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
show poe- st at us . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
show pol i cy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
show pol i cy <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
show por t - access- aut hent i cat or . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
show por t - access- aut hent i cat or <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
show por t - secur i t y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
show por t - secur i t y <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
show power - sour ce- st at us . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
show pppoe i nt er medi at e- agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
show pppoe i nt er medi at e- agent st at i st i c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
show pppoe i nt er medi at e- agent st at i st i c vl an <vlan-list> . . . . . . . . . . . . . . . . . . . . . . . . 225
show pr i or i t y- f l ow- cont r ol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
show pr i or i t y- f l ow- cont r ol st at i st i cs i nt er f ace por t - channel <port-list> . . . . . . . . . 61
show pr i vat e- vl an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
show pr i vat e- vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
show pwr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
show r adi us- account i ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
show r adi us- ser ver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
show r emot e- management [ index] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
show r mi r r or vl an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
show r mi r r or vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
show r mon al ar mal ar mt abl e [ alarm-index] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
show r mon event event t abl e [ event-index] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
show r mon hi st or y hi st or ycont r ol [ i ndex <historycontrol-index>] . . . . . . . . . . . . . . . . . 248
show r mon hi st or y hi st or ycont r ol por t - channel <interface-id> . . . . . . . . . . . . . . . . . . . . 248
show r mon st at i st i cs et her st at s [ i ndex <et her st at s- index>] . . . . . . . . . . . . . . . . . . . . . . 248
show r mon st at i st i cs et her st at s por t - channel <interface-id> . . . . . . . . . . . . . . . . . . . . . 248
show r out er dvmr p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
show r out er i gmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
show r out er ospf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
show r out er ospf ar ea . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
show r out er ospf net wor k . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
show r out er ospf r edi st r i but e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
show r out er ospf summar y- addr ess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
show r out er ospf vi r t ual - l i nk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
show r out er r i p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
show r out er vr r p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
show r unni ng- conf i g [ i nt er f ace por t - channel <port-list> [ <attribute> [ <. . . >] ] ] . . 254
show r unni ng- conf i g hel p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
show r unnni ng- conf i g page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
show ser vi ce- cont r ol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
show sf l ow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
show sf p <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
show sl ot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
show sl ot conf i g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
show sl ot conf i g <slot-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
show smar t - i sol at i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
show snmp- ser ver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
show snmp- ser ver [ user ] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
show spanni ng- t r ee conf i g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
show ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
show ssh key <r sa1| r sa| dsa> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
Index of Commands
Ethernet Switch CLI Reference Guide 354
show ssh known- host s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
show ssh sessi on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
show subnet - vl an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
show syst em- i nf or mat i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
show t acacs- account i ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
show t acacs- ser ver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
show t ech- suppor t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
show t ech- suppor t cpu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
show t ech- suppor t cr ash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
show t ech- suppor t mbuf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
show t ech- suppor t memor y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
show t i me . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
show t i mesync . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
show t r af f i c- cl ass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
show t r t cmdscp pr of i l e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
show t r unk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
show ver si on [ f l ash] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
show vl an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
show vl an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
show vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
show vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
show vl an <vlan-id> count er s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
show vl an <vlan-id> i nt er f ace por t - channel <port-num> count er s . . . . . . . . . . . . . . . . . . 295
show vl an pr i vat e- vl an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
show vl an pr i vat e- vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
show vl an1q gvr p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
show vl an1q i ngr ess- check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
show vl an1q por t - i sol at i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
show vl an- st acki ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
shut down sl ot <slot-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
smar t - i sol at i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
snmp t r ap [ options] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
snmp- ser ver <[ cont act <system-contact>] [ l ocat i on <system-location>] > . . . . . . . . . . . 261
snmp- ser ver get - communi t y [ ci pher ] <property> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
snmp- ser ver set - communi t y [ ci pher ] <property> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
snmp- ser ver t r ap- communi t y [ ci pher ] <property> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
snmp- ser ver t r ap- dest i nat i on <ip> [ udp- por t <socket-number>] [ ver si on <v1| v2c| v3>]
[ user name <name>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps aaa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps aaa <options> . . . . . . . . . . . . . . . . . . . . 263
snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps i nt er f ace . . . . . . . . . . . . . . . . . . . . . . . . 264
snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps i nt er f ace <options> . . . . . . . . . . . . . . 264
snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps i p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps i p <options> . . . . . . . . . . . . . . . . . . . . . 264
snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps swi t ch . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps swi t ch <options> . . . . . . . . . . . . . . . . . 264
snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps syst em . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
snmp- ser ver t r ap- dest i nat i on <ip> enabl e t r aps syst em<options> . . . . . . . . . . . . . . . . . 264
snmp- ser ver user name <name> sec- l evel <noaut h| aut h| pr i v> [ aut h <md5| sha> aut h- passwor d
[ ci pher ] <password>] | [ pr i v <des| aes> pr i v- passwor d [ ci pher ] <password>] gr oup
<group-name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
snmp- ser ver ver si on <v2c| v3| v3v2c> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
sour ce 8021p- pr i or i t y <0 - 7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
sour ce mi r r or - por t <port-list> di r <i ngr ess| egr ess| bot h> . . . . . . . . . . . . . . . . . . . . . . . . 188
sour ce r ef l ect or - por t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
sour ce r ef l ect or - por t <port-num> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
sour ce- por t <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
spanni ng- t r ee . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
Index of Commands
Ethernet Switch CLI Reference Guide 355
spanni ng- t r ee <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
spanni ng- t r ee <port-list> edge- por t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
spanni ng- t r ee <port-list> pat h- cost <1- 65535> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
spanni ng- t r ee <port-list> pr i or i t y <0- 255> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
spanni ng- t r ee hel l o- t i me <1- 10> maxi mum- age <6- 40> f or war d- del ay <4- 30> . . . . . . . . . 266
spanni ng- t r ee hel p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
spanni ng- t r ee mode <RSTP| MRSTP| MSTP> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
spanni ng- t r ee mode <RSTP| MRSTP| MSTP> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
spanni ng- t r ee mode <RSTP| MRSTP| MSTP> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
spanni ng- t r ee pr i or i t y <0- 61440> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
speed- dupl ex <aut o| 10- hal f | 10- f ul l | 100- hal f | 100- f ul l | 1000- f ul l | 1000- aut o| 10000-
f ul l | 40000- f ul l > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
spq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
spq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
ssh <1| 2> <[ user@] dest-ip> [ command </ >] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
ssh known- host s <host-ip> <1024| ssh- r sa| ssh- dsa> <key> . . . . . . . . . . . . . . . . . . . . . . . . . . 270
st or m- cont r ol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
subnet - based- vl an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
subnet - based- vl an dhcp- vl an- over r i de . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
subnet - based- vl an name <name> sour ce- i p <ip> mask- bi t s <mask-bits> sour ce- por t <port>
vl an <vlan-id> pr i or i t y <0- 7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
subnet - based- vl an name <name> sour ce- i p <ip> mask- bi t s <mask-bits> vl an <vlan-id> pr i -
or i t y <0- 7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
subnet - based- vl an name <name> sour ce- i p <ip> mask- bi t s <mask-bits> vl an <vlan-id> pr i -
or i t y <0- 7> i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
summar y- addr ess <ip-address> <mask> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
sync r unni ng- conf i g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
sysl og . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
sysl og ser ver <ip-address> i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
sysl og ser ver <ip-address> l evel <level> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
sysl og t ype <type> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
sysl og t ype <type> f aci l i t y <0- 7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
sysl og t ype commands pr i vi l ege <0- 14> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
t acacs- account i ng host <index> <ip> [ acct - por t <socket-number>] [ key [ ci pher ] <key-
string>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
t acacs- account i ng t i meout <1- 1000> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
t acacs- ser ver host <index> <ip> [ aut h- por t <socket-number>] [ key [ ci pher ] <key-string>]
283
t acacs- ser ver mode <i ndex- pr i or i t y| r ound- r obi n> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
t acacs- ser ver t i meout <1- 1000> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
t agged <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
t ech- suppor t cpu <t hr eshol d> keep <t i me> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
t ech- suppor t mbuf <t hr eshol d> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
t el net ipv4_address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
t est i nt er f ace por t - channel <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
t hr eshol d <ttl-value> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
t i me <hour: min: sec> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
t i me dat e <month/ day/ year> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
t i me dayl i ght - savi ng- t i me . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
t i me dayl i ght - savi ng- t i me end- dat e <week> <day> <month> <oclock> . . . . . . . . . . . . . . . . 57
t i me dayl i ght - savi ng- t i me hel p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
t i me dayl i ght - savi ng- t i me st ar t - dat e <week> <day> <month> <oclock> . . . . . . . . . . . . . . 57
t i me t i mezone <- 1200| . . . | 1200> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
t i mesync <dayt i me| t i me| nt p> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
t i mesync ser ver <address> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
t r acer out e <ip| host-name> [ vl an <vlan-id>] [ t t l <1- 255>] [ wai t <1- 60>] [ quer i es <1- 10>]
315
t r acer out e hel p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
t r af f i c- cl ass <id> schedul er <sp | et s <weight>> [ name <name>] . . . . . . . . . . . . . . . . . . . 63
Index of Commands
Ethernet Switch CLI Reference Guide 356
t r anscei ver - ddmt i mer <1 - 4294967> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
t r t cm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
t r t cm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
t r t cmci r <rate> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
t r t cmdscp gr een <0- 63> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
t r t cmdscp pr of i l e <name> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
t r t cmdscp pr of i l e <name> dscp gr een <0- 63> yel l ow <0- 63> r ed <0- 63> . . . . . . . . . . . . 291
t r t cmdscp r ed <0- 63> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
t r t cmdscp yel l ow <0- 63> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
t r t cmmode <col or - awar e| col or - bl i nd> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
t r t cmpi r <rate> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
t r unk <T1| T2| T3| T4| T5| T6> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
t r unk <T1| T2| T3| T4| T5| T6> cr i t er i a <sr c- mac| dst - mac| sr c- dst - mac| sr c- i p| dst - i p| sr c- dst -
i p> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
t r unk <T1| T2| T3| T4| T5| T6> i nt er f ace <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
t r unk <T1| T2| T3| T4| T5| T6> l acp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
t r unk i nt er f ace <port-list> t i meout <lacp-timeout> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
uni cast - nonuni cast - wei ght <wei ght > <wei ght > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
unknown- mul t i cast - f r ame <dr op| f l oodi ng> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
unt agged <port-list> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
vl an <1- 4094> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
vl an <1- 4094> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
vl an <1- 4094> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
vl an <vlan-id> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
vl an1q gvr p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
vl an1q i ngr ess- check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
vl an1q por t - i sol at i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
vl an1q por t - i sol at i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
vl an- mappi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
vl an- mappi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
vl an- mappi ng name <name> i nt er f ace por t - channel <port> vl an <1- 4094> t r ansl at ed- vl an <1-
4094> pr i or i t y <0- 7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
vl an- mappi ng name <name> i nt er f ace por t - channel <port> vl an <1- 4094> t r ansl at ed- vl an <1-
4094> pr i or i t y <0- 7> i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
vl an- st acki ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
vl an- st acki ng <sptpid> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
vl an- st acki ng pr i or i t y <0- 7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
vl an- st acki ng r ol e <nor mal | access| t unnel > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
vl an- st acki ng sel ect i ve- qi nq name <name>i nt er f ace por t - channel <port>cvi d <cvid>spvi d
<spvid> pr i or i t y <0- 7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
vl an- st acki ng sel ect i ve- qi nq name <name>i nt er f ace por t - channel <port>cvi d <cvid>spvi d
<spvid> pr i or i t y <0- 7> i nact i ve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
vl an- st acki ng SPVI D <1- 4094> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
vl an- st acki ng t unnel - t pi d <tpid> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
vl an- t r unki ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
vl an- t ype <802. 1q| por t - based> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
vl an- t ype <802. 1q| por t - based> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
wei ght <wt1> <wt2> . . . <wt8> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
wf q . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
wf q . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
wr i t e memor y [ <index>] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
wr r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
wr r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
wr r <wt1> <wt2> . . . <wt8> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238