Yamaha SWP2-10SMF, SWP2-10MMF User Manual

Yamaha L2 Switch
SWP2 series (SWP2-10SMF, SWP2-10MMF)
Command Reference
Rev.2.03.06
2 | Command Reference | TOC

Contents

Preface: Introduction ............................................................................................11
Chapter 1: How to read the command reference ...............................................12
1.1 Applicable firmware revision .....................................................................................................................12
1.3 Interface names ...........................................................................................................................................
1.4 Input syntax for commands starting with the word "no" ............................................................................13
Chapter 2: How to use the commands .................................................................14
2.1 Operation via console .................................................................................................................................14
2.2 Operation via configuration (config) files ..................................................................................................16
2.3 Login ...........................................................................................................................................................17
2.4 Command input mode ................................................................................................................................17
2.5 Keyboard operations when using the console ............................................................................................18
2.6 Commands that start with the word "show" ...............................................................................................20
12
2.1.1 Access from a console terminal ...................................................................................................14
2.1.2 Access from a TELNET client ....................................................................................................14
2.1.3 Access from an SSH client ..........................................................................................................15
2.1.4 Console terminal/VTY settings ...................................................................................................15
2.2.1 Access from a TFTP client ..........................................................................................................16
2.2.2 Reading/writing a configuration file ...........................................................................................16
2.4.1 Command input mode basics .......................................................................................................17
2.4.2 individual configuration mode ....................................................................................................18
2.4.3 Command prompt prefix .............................................................................................................18
2.4.4 Executing commands of a different input mode ..........................................................................18
2.5.1 Basic operations for console input ..............................................................................................19
2.5.2 Command help .............................................................................................................................19
2.5.3 Input command completion and keyword candidate list display ................................................20
2.5.4 Entering command abbreviations ................................................................................................20
2.5.5 Command history ........................................................................................................................20
2.6.1 Modifiers .....................................................................................................................................20
Chapter 3: Configuration .....................................................................................22
3.1 Manage setting values ................................................................................................................................22
3.2 Default setting values .................................................................................................................................22
Chapter 4: Maintenance and operation functions .............................................28
4.1.1 Set password for unnamed user ...................................................................................................28
4.1.2 Set administrator password ..........................................................................................................28
4.1.3 Encrypt password ........................................................................................................................29
4.1.4 Allow login with special password ..............................................................................................29
4.2 User account maintenance ..........................................................................................................................30
4.2.1 Set user password ........................................................................................................................30
4.2.2 Show login user information .......................................................................................................31
4.2.3 Set banner ....................................................................................................................................32
4.3 Configuration management ........................................................................................................................33
4.3.1 Save running configuration .........................................................................................................33
4.3.2 Save running configuration .........................................................................................................33
4.3.3 Save certain functions to the backup configuration ....................................................................33
4.3.4 Show the running configuration ..................................................................................................34
Command Reference | TOC | 3
4.3.5 Show startup configuration ..........................................................................................................35
4.3.6 Show backup configuration .........................................................................................................35
4.3.7 Erase startup configuration ..........................................................................................................36
4.3.8 Erase backup of certain functions ................................................................................................36
4.4 Manage boot information ...........................................................................................................................36
4.4.1 Show boot information ................................................................................................................36
4.4.2 Clear boot information ................................................................................................................37
4.5.1 Show inventory information ........................................................................................................
4.5.2 Show operating information ........................................................................................................38
4.5.3 Show currently-executing processes ...........................................................................................39
4.5.4 Show technical support information ............................................................................................39
4.6 Time management ......................................................................................................................................40
4.6.1 Set clock manually ......................................................................................................................40
4.6.2 Set time zone ...............................................................................................................................40
4.6.3 Show current time ........................................................................................................................41
4.6.4 Set NTP server .............................................................................................................................41
4.6.5 Synchronize time from NTP server (one-shot update) ................................................................42
4.6.6 Synchronize time from NTP server (update interval) .................................................................42
4.6.7 Show NTP server time synchronization settings .........................................................................43
4.7 Terminal settings ........................................................................................................................................43
4.7.1 Move to line mode (console terminal) .........................................................................................43
4.7.2 Set VTY port and move to line mode (VTY port) ......................................................................44
4.7.3 Set terminal login timeout ...........................................................................................................44
4.7.4 Change the number of lines displayed per page for the terminal in use ......................................45
4.7.5 Set the number of lines displayed per page on the terminal ........................................................45
4.8 Management ...............................................................................................................................................46
4.8.1 Set management VLAN ..............................................................................................................46
4.9 SYSLOG .....................................................................................................................................................46
4.9.1 Set log notification destination (SYSLOG server) ......................................................................46
4.9.2 Set log output level (debug) ........................................................................................................47
4.9.3 Set log output level (informational) ............................................................................................47
4.9.4 Set log output level (error) ..........................................................................................................47
4.9.5 Set log console output .................................................................................................................48
4.9.6 Back up log ..................................................................................................................................48
4.9.7 Clear log ......................................................................................................................................48
4.9.8 Show log ......................................................................................................................................49
4.10.1 Set host that receives SNMP notifications ................................................................................49
4.10.2 Set notification type to transmit ................................................................................................50
4.10.3 Set system contact .....................................................................................................................51
4.10.4 Set system location ....................................................................................................................52
4.10.5 Set SNMP community ...............................................................................................................52
4.10.6 Set SNMP view .........................................................................................................................53
4.10.7 Set SNMP group ........................................................................................................................53
4.10.8 Set SNMP user ..........................................................................................................................54
4.10.9 Show SNMP community information .......................................................................................55
4.10.10 Show SNMP view settings ......................................................................................................56
4.10.11 Show SNMP group settings .....................................................................................................56
4.10.12 Show SNMP user settings .......................................................................................................56
4.11 RMON ......................................................................................................................................................57
4.11.1 Set RMON function ...................................................................................................................57
37
4 | Command Reference | TOC
4.12 Telnet server .............................................................................................................................................65
4.13 Telnet client ..............................................................................................................................................67
4.14 TFTP server ..............................................................................................................................................68
4.15 HTTP server .............................................................................................................................................69
4.16 SSH server ................................................................................................................................................73
4.17 SSH client .................................................................................................................................................78
4.18 LLDP ........................................................................................................................................................79
4.11.2 Set RMON Ethernet statistical information group ....................................................................57
4.11.3 Set RMON history group ...........................................................................................................58
4.11.4 Set RMON event group .............................................................................................................59
4.11.5 Set RMON alarm group
4.11.6 Show RMON function status .....................................................................................................62
4.11.7 Show RMON Ethernet statistical information group status ......................................................63
4.11.8 Show RMON history group status ............................................................................................63
4.11.9 Show RMON event group status ...............................................................................................63
4.11.10 Show RMON alarm group status ............................................................................................64
4.11.11 Clear counters of the RMON Ethernet statistical information group ......................................64
4.12.1 Start Telnet server and change listening port number ...............................................................65
4.12.2 Show Telnet server settings .......................................................................................................65
4.12.3 Set host that can access the Telnet server ..................................................................................66
4.12.4 Restrict access to the TELNET server according to the IP address of the client ......................66
4.13.1 Start Telnet client ......................................................................................................................67
4.13.2 Enable Telnet client ...................................................................................................................67
4.14.1 Start TFTP server and change listening port number ................................................................68
4.14.2 Show TFTP server settings ........................................................................................................68
4.14.3 Set hosts that can access the TFTP server .................................................................................69
4.15.1 Start HTTP server and change listening port number ...............................................................69
4.15.2 Start secure HTTP server and change listening port number ....................................................70
4.15.3 Show HTTP server settings .......................................................................................................70
4.15.4 Set hosts that can access the HTTP server ................................................................................71
4.15.5 Restrict access to the HTTP server according to the IP address of the client ...........................71
4.15.6 Web GUI display language .......................................................................................................72
4.15.7 Set log-in timeout time for HTTP server ...................................................................................72
4.16.1 Start SSH server and change listening port number ..................................................................73
4.16.2 Show SSH server settings ..........................................................................................................74
4.16.3 Set host that can access the SSH server .....................................................................................74
4.16.4 Set client that can access the SSH server ..................................................................................74
4.16.5 Generate SSH server host key ...................................................................................................75
4.16.6 Clear SSH server host key .........................................................................................................76
4.16.7 Show SSH server public key .....................................................................................................76
4.16.8 Set SSH client alive checking ....................................................................................................77
4.17.1 Start SSH client .........................................................................................................................78
4.17.2 Enable SSH client ......................................................................................................................79
4.17.3 Clear SSH host information .......................................................................................................79
4.18.1 Enable LLDP function ...............................................................................................................79
4.18.2 Set system description ...............................................................................................................80
4.18.3 Set system name ........................................................................................................................80
4.18.4 Create LLDP agent ....................................................................................................................81
4.18.5 Set automatic setting function by LLDP ...................................................................................81
4.18.6 Set LLDP transmission/reception mode ....................................................................................82
4.18.7 Set type of management address ...............................................................................................82
4.18.8 Set basic management TLVs .....................................................................................................83
.............................................................................................................60
Command Reference | TOC | 5
4.18.9 Set IEEE-802.1 TLV .................................................................................................................83
4.18.10 Set IEEE-802.3 TLV ...............................................................................................................84
4.18.11 Set LLDP-MED TLV ..............................................................................................................84
4.18.12 Set LLDP frame transmission interval ....................................................................................85
4.18.13 Set LLDP frame transmission interval for high speed transmission period ............................85
4.18.14 Set time from LLDP frame transmission stop until re-initialization .......................................86
4.18.15 Set multiplier for calculating time to live (TTL) of device information .................................86
4.18.16 Set number of LLDP frames transmitted during the high speed transmission period .............
4.18.17 Set maximum number of connected devices manageable by a port ........................................87
4.18.18 Show interface status ...............................................................................................................87
4.18.19 Show information for connected devices of all interfaces ......................................................90
4.18.20 Clear LLDP frame counters .....................................................................................................91
4.19 L2MS (Layer 2 management service) settings .........................................................................................92
4.19.1 Set L2MS control frame transmit/receive .................................................................................92
4.19.2 Show L2MS information ...........................................................................................................92
4.20 Snapshot ...................................................................................................................................................93
4.20.1 Set snapshot function .................................................................................................................93
4.20.2 Set whether to include terminals in the snapshot comparison ...................................................93
4.20.3 Create snapshot ..........................................................................................................................94
4.20.4 Delete snapshot ..........................................................................................................................94
4.21 Firmware update .......................................................................................................................................94
4.21.1 Set firmware update site ............................................................................................................94
4.21.2 Execute firmware update ...........................................................................................................95
4.21.3 Set firmware download timeout duration ..................................................................................95
4.21.4 Allow revision-down .................................................................................................................96
4.21.5 Show firmware update function settings ...................................................................................96
4.21.6 Set firmware update reload time ................................................................................................96
4.22.1 Set host name .............................................................................................................................97
4.22.2 Reload system ............................................................................................................................97
4.22.3 Initialize settings ........................................................................................................................98
4.22.4 Set default LED mode ...............................................................................................................98
4.22.5 Show LED mode .......................................................................................................................98
4.22.6 Show DIP switches status ..........................................................................................................99
4.22.7 Show port error LED status .......................................................................................................99
86
Chapter 5: Interface control ..............................................................................100
5.1 Interface basic settings .............................................................................................................................100
5.1.1 Set description ...........................................................................................................................100
5.1.2 Shutdown ...................................................................................................................................100
5.1.3 Set speed and duplex mode .......................................................................................................100
5.1.4 Set MRU ....................................................................................................................................101
5.1.5 Set cross/straight automatic detection .......................................................................................102
5.1.6 Set EEE ......................................................................................................................................102
5.1.7 Show EEE capabilities ..............................................................................................................103
5.1.8 Show EEE status ........................................................................................................................103
5.1.9 Set port mirroring ......................................................................................................................104
5.1.10 Show port mirroring status ......................................................................................................105
5.1.11 Show interface status ...............................................................................................................106
5.1.12 Show brief interface status ......................................................................................................108
5.1.13 Show frame counter .................................................................................................................109
5.1.14 Clear frame counters ................................................................................................................111
5.1.15 Show SFP+ module status .......................................................................................................111
6 | Command Reference | TOC
5.2 Link aggregation .......................................................................................................................................112
5.3 Port authentication ....................................................................................................................................122
5.4 Port security ..............................................................................................................................................139
5.1.16 Set SFP+ module optical reception level monitoring ..............................................................112
5.2.1 Set static logical interface ..........................................................................................................112
5.2.2 Show static logical interface status ............................................................................................113
5.2.3 Set LACP logical interface ........................................................................................................113
5.2.4 Show LACP logical interface status ..........................................................................................114
5.2.5 Set LACP system priority order ................................................................................................116
5.2.6 Show LACP system priority ......................................................................................................
5.2.7 Set LACP timeout ......................................................................................................................117
5.2.8 Clear LACP frame counters ......................................................................................................118
5.2.9 Show LACP frame counter .......................................................................................................118
5.2.10 Set load balance function rules ................................................................................................118
5.2.11 Show protocol status of LACP logical interface .....................................................................119
5.2.12 Set LACP port priority order ...................................................................................................121
5.3.1 Configuring the IEEE 802.1X authentication function for the entire system ...........................122
5.3.2 Configuring the MAC authentication function for the entire system ........................................122
5.3.3 Configuring the Web authentication function for the entire system .........................................123
5.3.4 Set operation mode for the IEEE 802.1X authentication function ............................................123
5.3.5 Set for forwarding control on an unauthenticated port for IEEE 802.1X authentication ..........124
5.3.6 Set the EAPOL packet transmission count ................................................................................124
5.3.7 Set the MAC authentication function ........................................................................................125
5.3.8 Set MAC address format during MAC authentication ..............................................................125
5.3.9 Set the Web authentication function ..........................................................................................126
5.3.10 Set host mode ..........................................................................................................................126
5.3.11 Set re-authentication ................................................................................................................127
5.3.12 Set dynamic VLAN .................................................................................................................128
5.3.13 Set the guest VLAN .................................................................................................................128
5.3.14 Suppression period settings following failed authentication ...................................................129
5.3.15 Set reauthentication interval ....................................................................................................129
5.3.16 Set the reply wait time for the RADIUS server overall ...........................................................130
5.3.17 Set supplicant reply wait time .................................................................................................130
5.3.18 Set RADIUS server host ..........................................................................................................131
5.3.19 Set the reply wait time for each RADIUS server ....................................................................131
5.3.20 Set number of times to resend requests to RADIUS server ....................................................132
5.3.21 Set RADIUS server shared password ......................................................................................132
5.3.22 Set time of RADIUS server usage prevention .........................................................................133
5.3.23 Show port authentication information .....................................................................................133
5.3.24 Show supplicant information ...................................................................................................134
5.3.25 Show statistical information ....................................................................................................135
5.3.26 Clear statistical information ....................................................................................................135
5.3.27 Show RADIUS server setting information ..............................................................................136
5.3.28 Settings for redirect destination URL following successful Web authentication ....................136
5.3.29 Clear the authentication state ...................................................................................................137
5.3.30 Setting the time for clearing the authentication state (system) ................................................137
5.3.31 Setting the time for clearing the authentication state (interface) .............................................138
5.3.32 Set EAP pass through ..............................................................................................................138
5.4.1 Set port security function ...........................................................................................................139
5.4.2 Register permitted MAC addresses ...........................................................................................139
5.4.3 Set operations used for security violations ................................................................................139
5.4.4 Show port security information .................................................................................................140
117
Command Reference | TOC | 7
5.5 Error detection function ............................................................................................................................140
5.5.1 Set automatic recovery from errdisable state ............................................................................140
5.5.2 Show error detection function information ...............................................................................141
Chapter 6: Layer 2 functions .............................................................................142
6.1 FDB (Forwarding Data Base) ...................................................................................................................142
6.1.1 Set MAC address acquisition function ......................................................................................142
6.1.2 Set dynamic entry ageing time ..................................................................................................142
6.1.3 Clear dynamic entry ..................................................................................................................143
6.1.4 Set static entry ...........................................................................................................................143
6.1.5 Show MAC address table ..........................................................................................................144
6.2 VLAN .......................................................................................................................................................145
6.2.1 Move to VLAN mode ................................................................................................................145
6.2.2 Set VLAN interface ...................................................................................................................145
6.2.3 Set private VLAN ......................................................................................................................146
6.2.4 Set secondary VLAN for primary VLAN .................................................................................147
6.2.5 Set access port (untagged port) ..................................................................................................147
6.2.6 Set associated VLAN of an access port (untagged port) ...........................................................148
6.2.7 Set trunk port (tagged port) .......................................................................................................148
6.2.8 Set associated VLAN for trunk port (tagged port) ....................................................................149
6.2.9 Set native VLAN for trunk port (tagged port) ...........................................................................150
6.2.10 Set private VLAN port type ....................................................................................................151
6.2.11 Set private VLAN host port .....................................................................................................
6.2.12 Set promiscuous port for private VLAN .................................................................................152
6.2.13 Set voice VLAN ......................................................................................................................153
6.2.14 Set CoS value for voice VLAN ...............................................................................................154
6.2.15 Set DSCP value for voice VLAN ............................................................................................154
6.2.16 Set multiple VALN group .......................................................................................................155
6.2.17 Set name of multiple VLAN group .........................................................................................155
6.2.18 Show VLAN information ........................................................................................................156
6.2.19 Show private VLAN information ............................................................................................156
6.2.20 Show multiple VLAN group setting information ....................................................................157
6.3 STP (Spanning Tree Protocol) ..................................................................................................................157
6.3.1 Set spanning tree for the system ................................................................................................157
6.3.2 Set forward delay time ...............................................................................................................158
6.3.3 Set maximum aging time ...........................................................................................................158
6.3.4 Set bridge priority ......................................................................................................................159
6.3.5 Set spanning tree for an interface ..............................................................................................159
6.3.6 Set spanning tree link type ........................................................................................................160
6.3.7 Set interface BPDU filtering .....................................................................................................160
6.3.8 Set interface BPDU guard .........................................................................................................161
6.3.9 Set interface path cost ................................................................................................................162
6.3.10 Set interface priority ................................................................................................................162
6.3.11 Set edge port for interface .......................................................................................................163
6.3.12 Show spanning tree status .......................................................................................................163
6.3.13 Show spanning tree BPDU statistics .......................................................................................165
6.3.14 Clear protocol compatibility mode ..........................................................................................167
6.3.15 Move to MST mode .................................................................................................................167
6.3.16 Generate MST instance ...........................................................................................................167
6.3.17 Set VLAN for MST instance ...................................................................................................168
6.3.18 Set priority of MST instance ...................................................................................................168
6.3.19 Set MST region name ..............................................................................................................169
6.3.20 Set revision number of MST region ........................................................................................169
151
8 | Command Reference | TOC
6.4 Loop detection ..........................................................................................................................................174
Chapter 7: Layer 3 functions .............................................................................178
7.1 IPv4 address management ........................................................................................................................178
7.2 IPv4 route control .....................................................................................................................................181
7.3 ARP ..........................................................................................................................................................183
7.4 IPv4 ping ..................................................................................................................................................184
7.5 IPv6 address management ........................................................................................................................186
7.6 IPv6 route control .....................................................................................................................................188
7.7 Neighbor cache .........................................................................................................................................190
7.8 IPv6 ping ..................................................................................................................................................191
7.9 DNS client ................................................................................................................................................192
6.3.21 Set MST instance for interface ................................................................................................170
6.3.22 Set interface priority for MST instance ...................................................................................170
6.3.23 Set interface path cost for MST instance .................................................................................171
6.3.24 Show MST region information ................................................................................................171
6.3.25 Show MSTP information .........................................................................................................172
6.3.26 Show MST instance information .............................................................................................173
6.4.1 Set loop detection function (system) .........................................................................................174
6.4.2 Set loop detection function (interface) ......................................................................................174
6.4.3 Set port blocking for loop detection ..........................................................................................175
6.4.4 Reset loop detection status ........................................................................................................176
6.4.5 Show loop detection function status ..........................................................................................176
7.1.1 Set IPv4 address ........................................................................................................................178
7.1.2 Show IPv4 address ....................................................................................................................178
7.1.3 Automatically set IPv4 address by DHCP client .......................................................................179
7.1.4 Show DHCP client status ..........................................................................................................180
7.1.5 Set auto IP function ...................................................................................................................180
7.2.1 Set static IPv4 route ...................................................................................................................181
7.2.2 Show IPv4 Forwarding Information Base .................................................................................182
7.2.3 Show IPv4 Routing Information Base .......................................................................................
7.2.4 Show summary of the route entries registered in the IPv4 Routing Information Base .............183
7.3.1 Show ARP table ........................................................................................................................183
7.3.2 Clear ARP table .........................................................................................................................183
7.3.3 Set static ARP entry ...................................................................................................................184
7.3.4 Set ARP timeout ........................................................................................................................184
7.4.1 IPv4 ping ...................................................................................................................................184
7.4.2 Check IPv4 route .......................................................................................................................185
7.5.1 Set IPv6 .....................................................................................................................................186
7.5.2 Set IPv6 address ........................................................................................................................186
7.5.3 Set RA for IPv6 address ............................................................................................................187
7.5.4 Show IPv6 address ....................................................................................................................187
7.6.1 Set IPv6 static route ...................................................................................................................188
7.6.2 Show IPv6 Forwarding Information Base .................................................................................188
7.6.3 Show IPv6 Routing Information Base .......................................................................................189
7.6.4 Show summary of the route entries registered in the IPv6 Routing Information Base .............189
7.7.1 Set static neighbor cache entry ..................................................................................................190
7.7.2 Show neighbor cache table ........................................................................................................190
7.7.3 Clear neighbor cache table ........................................................................................................191
7.8.1 IPv6 ping ...................................................................................................................................191
7.8.2 Check IPv6 route .......................................................................................................................192
7.9.1 Set DNS lookup function ...........................................................................................................192
7.9.2 Set DNS server list ....................................................................................................................193
182
Command Reference | TOC | 9
7.9.3 Set default domain name ...........................................................................................................193
7.9.4 Set search domain list ................................................................................................................194
7.9.5 Show DNS client information ...................................................................................................194
Chapter 8: IP multicast control .........................................................................196
8.1 IP multicast basic settings ........................................................................................................................196
8.1.1 Enable/disable function to transmit IGMP/MLD query when topology changes .....................196
8.1.2 Set processing method for unknown multicast frames ..............................................................196
8.2 IGMP snooping ........................................................................................................................................197
8.2.1 Set enable/disable IGMP snooping ...........................................................................................197
8.2.2 Set IGMP snooping fast-leave ...................................................................................................197
8.2.3 Set multicast router connection destination ...............................................................................198
8.2.4 Set query transmission function ................................................................................................198
8.2.5 Set IGMP query transmission interval ......................................................................................199
8.2.6 Set TTL value verification function for IGMP packets .............................................................
8.2.7 Set IGMP version ......................................................................................................................200
8.2.8 Show multicast router connection port information ..................................................................201
8.2.9 Show IGMP group membership information ............................................................................201
8.2.10 Show an interface's IGMP-related information .......................................................................202
8.2.11 Clear IGMP group membership entries ...................................................................................202
8.3 MLD snooping ..........................................................................................................................................203
8.3.1 Enable/disable MLD snooping ..................................................................................................203
8.3.2 Set MLD snooping fast-leave ....................................................................................................203
8.3.3 Set multicast router connection destination ...............................................................................204
8.3.4 Set query transmission function ................................................................................................204
8.3.5 Set MLD query transmission interval ........................................................................................205
8.3.6 Set MLD version .......................................................................................................................205
8.3.7 Show multicast router connection port information ..................................................................206
8.3.8 Show MLD group membership information .............................................................................206
8.3.9 Show an interface's MLD-related information ..........................................................................207
8.3.10 Clear MLD group membership entries ....................................................................................208
199
Chapter 9: Traffic control ..................................................................................209
9.1 ACL ..........................................................................................................................................................209
9.1.1 Generate IPv4 access list ...........................................................................................................209
9.1.2 Add comment to IPv4 access list ...............................................................................................211
9.1.3 Apply IPv4 access list ...............................................................................................................211
9.1.4 Generate IPv6 access list ...........................................................................................................212
9.1.5 Add comment to IPv6 access list ...............................................................................................213
9.1.6 Apply IPv6 access list ...............................................................................................................213
9.1.7 Generate MAC access list .........................................................................................................214
9.1.8 Add comment to MAC access list .............................................................................................215
9.1.9 Apply MAC access list ..............................................................................................................216
9.1.10 Show generated access list ......................................................................................................217
9.1.11 Clear counters ..........................................................................................................................217
9.1.12 Show access list applied to interface .......................................................................................217
9.1.13 Set VLAN access map and move to VLAN access map mode ...............................................218
9.1.14 Set access list for VLAN access map ......................................................................................218
9.1.15 Set VLAN access map filter ....................................................................................................219
9.1.16 Show VLAN access map .........................................................................................................219
9.1.17 Show VLAN access map filter ................................................................................................219
9.2 QoS (Quality of Service) ..........................................................................................................................220
9.2.1 Enable/disable QoS ...................................................................................................................220
10 | Command Reference | TOC
9.3 Flow control ..............................................................................................................................................252
9.4 Storm control ............................................................................................................................................254
9.2.2 Set default CoS ..........................................................................................................................220
9.2.3 Set trust mode ............................................................................................................................221
9.2.4 Show status of QoS function setting .........................................................................................222
9.2.5 Show QoS information for interface .........................................................................................222
9.2.6 Show egress queue usage ratio ..................................................................................................224
9.2.7 Set CoS - egress queue ID conversion table ..............................................................................224
9.2.8 Set DSCP - egress queue ID conversion tabl ............................................................................225
9.2.9 Set port priority order ................................................................................................................226
9.2.10 Specify egress queue of frames transmitted from the switch itself .........................................226
9.2.11 Generate class map (traffic category conditions) ....................................................................227
9.2.12 Associate class map .................................................................................................................228
9.2.13 Set traffic classification conditions (access-list) .....................................................................228
9.2.14 Set traffic classification conditions (CoS) ...............................................................................229
9.2.15 Set traffic classification conditions (TOS precedence) ...........................................................229
9.2.16 Set traffic classification conditions (DSCP) ............................................................................230
9.2.17 Set traffic classification conditions (Ethernet Type) ...............................................................230
9.2.18 13.2.22 Set traffic classification conditions (VLAN ID) ........................................................231
9.2.19 Set traffic classification conditions (VLAN ID range) ............................................................
9.2.20 Show class map information ...................................................................................................232
9.2.21 Generate policy map for received frames ................................................................................233
9.2.22 Apply policy map for received frames ....................................................................................233
9.2.23 Set pre-marking (CoS) .............................................................................................................234
9.2.24 Set pre-marking (TOS precedence) .........................................................................................235
9.2.25 Set pre-marking (DSCP) ..........................................................................................................236
9.2.26 Set individual policers (single rate) .........................................................................................236
9.2.27 Set individual policers (twin rate) ...........................................................................................238
9.2.28 Set remarking of individual policers .......................................................................................239
9.2.29 Generate aggregate policer ......................................................................................................240
9.2.30 Set aggregate policer (single rate) ...........................................................................................241
9.2.31 Set aggregate policer (twin rate) ..............................................................................................241
9.2.32 Set remarking of aggregate policers ........................................................................................242
9.2.33 Show aggregate policers ..........................................................................................................244
9.2.34 Apply aggregate policer ..........................................................................................................244
9.2.35 Show metering counters ..........................................................................................................245
9.2.36 Clear metering counters ...........................................................................................................245
9.2.37 Set egress queue (CoS-Queue) ................................................................................................246
9.2.38 Set egress queue (DSCP-Queue) .............................................................................................246
9.2.39 Show policy map information .................................................................................................247
9.2.40 Show map status ......................................................................................................................249
9.2.41 Set egress queue scheduling ....................................................................................................250
9.2.42 Set traffic shaping (individual port) ........................................................................................250
9.2.43 Set traffic-shaping (queue units) .............................................................................................251
9.3.1 Set flow control (IEEE 802.3x PAUSE send/receive) (system) ................................................252
9.3.2 Set flow control (IEEE 802.3x PAUSE send/receive) (interface) .............................................252
9.3.3 Show flow control operating status ...........................................................................................253
9.4.1 Set storm control ........................................................................................................................254
9.4.2 Show storm control reception upper limit .................................................................................254
231
Preface

Introduction

Unauthorized reproduction of this document in part or in whole is prohibited.
The contents of this document are subject to change without notice. Yamaha disclaims all responsibility for any damages caused by loss of data or other problems resulting from the use of this
• product. The warranty is limited to this physical product itself. Please be aware of these points.
The information contained in this document has been carefully checked and is believed to be reliable. However, if you find some of the contents to be missing or have questions regarding the contents, please contact us.
Ethernet is a registered trademark of Fuji Xerox Corporation.
Microsoft and Windows are registered trademarks of Microsoft Corporation USA in the United States and in other countries.
12 | Command Reference | How to read the command reference
Chapter 1

How to read the command reference

1.1 Applicable firmware revision

This command reference applies to firmware Yamaha L2 Switch SWP2 of Rev.2.03.06. For the latest firmware released after printing of this command reference, manuals, and items that differ, access the following URL and see the information in the WWW server.
https://www.yamaha.com/proaudio/

1.2 How to read the command reference

This command reference describes the commands that you enter from the console of the Yamaha L2 Switch SWP2.
Each command is described by a combination of the following items.
Explains the command input syntax. Key input can use either uppercase or lowercase characters.
Command names are shown in bold (Bold face).
[Syntax]
[Keywords]
[Parameters]
[Default setting] Indicates the factory-set state of the command.
[Input mode] Indicates the modes in which the command can be executed.
[Description] Explains the command.
[Notes]
[Examples] Provides specific examples of the command.
The parameter portion is shown in italic (Italic face).
Keywords are shown in normal characters.
Parameters that can be omitted are enclosed in square brackets ( [ ] ).
Explains the type and significance of keywords that can be specified for the command.
Explains the type and significance of parameters that can be specified for the command.
Explains points that you should be aware of when using the command.

1.3 Interface names

In the command input syntax, interface names are used to specify each interface of the switch. The following interface names are handled by the SWP2.
Interface type Prefix Description Examples
Used to specify a physical
LAN/SFP+ port port
VLAN interface vlan
static logical interface sa
LACP logical interface po
port. Specify "1" + "." + "port number" after the port number.
Used to specify a VLAN. Specify vlan followed by the "VLAN ID".
Used to specify link aggregation that combines multiple LAN/SFP+ port. Specify sa or po followed by "logical interface ID".
To specify LAN port #1: port1.1
To specify VLAN #1: vlan1
To specify static logical interface #1: sa1
To specify LACP logical interface #2: po2
Command Reference | How to read the command reference | 13

1.4 Input syntax for commands starting with the word "no"

Many commands also have a form in which the command input syntax starts with the word no. If you use a syntax that with begins with the word no, the settings of that command are deleted and returned to the default value, unless explained otherwise.
14 | Command Reference |

How to use the commands

Chapter 2
How to use the commands
The SWP2 lets you perform command operations in the following two ways.
Type of operation Method of operation Description
Operation via console
Operation via a config file
This chapter explains how to use each method.
Access from a console terminal
Access from a TELNET client Access from a SSH client
File transfer via TFTP
File transfer via GUI operation
Issue commands one by one to interactively make settings or perform operations.
A file containing a set of necessary commands (called a configuration or "config" file) is used to specify multiple settings, or to obtain multiple settings from the SWP2, in a single operation.

2.1 Operation via console

2.1.1 Access from a console terminal

Use an RJ-45/DB-9 console cable when making settings from a terminal that is connected to the CONSOLE port of SWP2.
If you are using a computer as a console terminal (serial terminal), you'll need a terminal program to control the computer's serial (COM) port. Set the communication settings of the console terminal as follows.
Setting item Value
Baud rate 9600bps
Data 8-bit
Parity none
Stop bit 1-bit
Flow control Xon/Xoff
For settings related to the console terminal, use the line con command to move to line mode.

2.1.2 Access from a TELNET client

You can use a TELNET client on a computer to connect to the TELNET server of the SWP2 and control it. In order to make settings using TELNET, you must first set up a connection environment (IP network) and then make TELNET server settings.
The IP address settings of the SWP2 are as follows.
The default IPv4 address setting is ip address dhcp for VLAN #1. To change the IPv4 address, use the ip address command.
The TELNET server settings of the SWP2 are as follows.
With the default settings of the TELNET server function, it runs on the default port (TCP port 23) and allows access only from VLAN #1 (vlan0.1).
To change the reception port number, use the telnet-server command.
Access to the TELNET server can be controlled in VLAN units, and can be specified by the telnet-server interface command.
A virtual communication port by which a TELNET client connects is called a "virtual terminal (VTY: Virtual TYpewriter) port." The maximum number of simultaneous TELNET client connections depends on the number of VTY ports of the SWP2. The VTY ports of the SWP2 are as follows.
With the default VTY port settings, eight VTY ports (ID: 0--7) can be used.
To check the number of VTY ports, use the show running-config | include line vty command.
To change the number of VTY ports, use the line vty command. (maximum 8 (ID: 0--7))
To make VTY port settings, use the line vty command to specify the target VTY port, and then move to line mode. ID management for virtual terminal ports is handled within the SWP2, but since login session and ID assignments depend on the connection timing, you should normally make the same settings for all VTY ports.
Command Reference | How to use the commands | 15

2.1.3 Access from an SSH client

You can use an SSH client on a computer to connect to the SSH server of the SWP2 and control it. In order to make settings using SSH, you must first set up a connection environment (IP network) and then make SSH server settings.
The IP address settings of the SWP2 are as follows.
The default IPv4 address setting is ip address dhcp for VLAN #1. To change the IPv4 address, use the ip address command.
The following settings on the SWP2 must be made beforehand when accessing from an SSH client.
Generate a host key on the SSH server using the ssh-server host key generate command.
Enable the SSH server functions using the ssh-server command.
Register the user name and password using the username command.
The SSH server settings of the SWP2 are as follows.
Access to an SSH server can be controlled for each VLAN, and is set using the ssh-server interface command.
Note that the following functions are not supported.
SSH protocol version 1
User authentication aside from password authentication (host response authentication, public key authentication, challenge­response authentication, GSSAPI authentication)
Port forwarding (X11/TCP forwarding)
Gateway Ports (Port relay)
Permitting blank passwords
A virtual communication port by which an SSH client connects is called a "virtual terminal (VTY: Virtual TYpewriter) port." The maximum number of simultaneous SSH client connections depends on the number of VTY ports of the SWP2. The VTY ports of the SWP2 are as follows.
With the default VTY port settings, eight VTY ports (ID: 0--7) can be used.
To check the number of VTY ports, use the show running-config | include line vty command.
To change the number of VTY ports, use the line vty command. (maximum 8 (ID: 0--7))
To make VTY port settings, use the line vty command to specify the target VTY port, and then move to line mode. ID management for virtual terminal ports is handled within the SWP2, but since login session and ID assignments depend on the connection timing, you should normally make the same settings for all VTY ports.

2.1.4 Console terminal/VTY settings

The SWP2 lets you make the following settings for console terminals and VTY.
1. Timeout duration interpreted as no operation
2. Number of lines shown in one page of the terminal screen
Setting item Content of setting
Specifies the time after which the login session is forcibly ended when there has been no key input from the terminal.
Timeout duration interpreted as no operation
Number of lines shown in one page of the terminal screen
With the default setting, the session is forcibly disconnected after ten minutes. To make this setting, use the exec-timeout command of the line mode; this takes effect from the next session.
Specifies the number of lines shown on one page of the terminal screen. This can be set as 0--512 lines/page, and the default setting is 24 lines/page. When displaying in this state, 23 lines are displayed, then "--­More---" is displayed and the system waits for key input. There are two types of this setting, and they are applied to the system starting with the upper type.
1) unprivileged EXEC mode terminal length command
2) global configuration mode service terminal-length command
Setting 1) is a function that temporarily applies to the user
16 | Command Reference | How to use the commands
Setting item Content of setting

2.2 Operation via configuration (config) files

A file containing a set of needed commands is called a configuration (config) file.
The settings that have been made on the SWP2 can be read as a configuration file by a host on the LAN via TFTP. A configuration file on the host can also be loaded into the SWP2 to specify its settings.
A configuration file contains all the settings for the entire unit; it is not possible to partially read or write only the settings for a specific area. The configuration file is a text file consisting of ASCII + line-return (CRLF or LF).
The commands and parameters in a configuration file must be in the correct syntax. If the syntax or content are incorrect, that content is ignored and is not applied to operation.

2.2.1 Access from a TFTP client

In order to transfer a configuration file via TFTP, you must first set up a connection environment (IP network) and then make TFTP server settings.
The IP address settings of the SWP2 are as follows.
The default IPv4 address setting is ip address dhcp for VLAN #1. To change the IPv4 address, use the ip address command.
The TFTP server settings of the SWP2 are as follows.
With the default settings of the TFTP server function, it is running on the default port (UDP port 69) and does not allow access from anywhere.
To change the reception port number, use the tftp-server command.
Access to the TFTP server can be controlled in VLAN units, and can be specified by the tftp-server interface command. Specify the VLAN ID for which access is allowed.
who is using the terminal, and is applied as soon as the command is executed. Setting 2) applies starting with the next session.

2.2.2 Reading/writing a configuration file

Reading/writing a configuration file is performed by executing a TFTP command from the host on the LAN. The following configuration files are read or written.
Config file
Applicable config file Description Remarks
running-config Setting values for current operation
startup-config for USER mode Saved setting values
startup-config for DANTE mode Saved setting values
The command syntax used depends on the OS of that host (TFTP client). Keep the following points in mind when executing commands.
IP address of theSWP2
Use "binary mode" as the transmission mode.
Specify the following as the remote path of the configuration file read (GET) or write (PUT) destination.
Remote path Applicable config file Load (GET) Save (PUT) Automatic restart
config running-config -
config0
startup-config for USER mode
-
Setting values when starting up with DIP switch #1 ON
Setting values when starting up with DIP switch #1 OFF
config1
reconfig
If an administrator password is set on the SWP2, you must specify the administrator password after the remote path in the format "/PASSWORD".
startup-config for DANTE mode
startup-config for USER mode
- -
-
Command Reference | How to use the commands | 17
If you PUT (write) with "config" specified as the remote path, the changes are added or overwritten to the current operating settings. Settings that you do not add or change will remain as the current operating settings. Since the setting values are not saved, you must use the write command etc. if you want to save them.
If you want to start operation in USER mode with a completely new config file, specify "reconfig" as the remote path. After updating startup-config, the unit restarts automatically, and begins operating with the new settings.
The encrypted password (password 8 or enable password 8 command format) is not applied to the settings even if it is
• PUT to running-config via TFTP. And, users are not actually registered when making settings for users that include encrypted passwords (username command).

2.3 Login

When the SWP2 has finished starting up, a login screen is displayed.
If a user is configured, enter the user name and password. If a user is not configured, omit the user name by pressing the Enter key, and enter the login password instead to log in as an unknown user.
When authentication is successful, the command prompt appears. Since no user password is specified with the default settings, you will be able to log in without a password.
Login screen
Username: Password:
Console screen following login
SWP2 Rev.2.03.01 (Fri Sep 7 00:00:00 2018) Copyright (c) 2018 Yamaha Corporation. All Rights Reserved.
SWP2>

2.4 Command input mode

2.4.1 Command input mode basics

In order to change the settings of the SWP2 or to reference the status, you must move to the appropriate command input mode and then execute the command. Command input mode is divided into hierarchical levels as shown below, and the commands that can be entered in each mode are different. By noting the prompt, the user can see which mode they are currently in.
18 | Command Reference | How to use the commands
The basic commands related to moving between command input modes are described below. For commands that move from global configuration mode mode to individual configuration mode, refer to "individual configuration mode."
exit command
logout command
enable command
disable command
configure terminal command
end command

2.4.2 individual configuration mode

individual configuration mode is the overall name for the mode in which you can make detailed settings for specific items such as LAN/SFP+ port, VLAN interface, and QoS. To enter individual configuration mode, issue the command for transitioning to the respective mode from global configuration mode.
On SWP2, individual configuration mode contains the following modes. Some of the modes within individual configuration mode have a hierarchy. For example, policy map mode → policy map class mode.
individual configuration mode Transition command Prompt
interface mode interface command SWP2(config-if)#
line mode line con command
line vty command
VLAN mode vlan database command SWP2(config-vlan)#
VLAN access map mode vlan access-map command SWP2(config-vlan-access-map)#
MST mode
class map mode class-map command SWP2(config-cmap)#
policy map mode policy-map command SWP2(config-pmap)#
policy map class mode class command SWP2(config-pmap-c)#
LLDP agent mode lldp-agent command SWP2(lldp-agent)#
spanning-tree mst configuration
command
SWP2(config-line)#
SWP2(config-mst)#

2.4.3 Command prompt prefix

he command prompt prefix indicates the host name. In the default state, the host name is the model name "SWP2". This indication can be changed by using the hostname command to specify the host name. In cases where multiple SWP2 units are used, management will be easier if separate names are assigned to each switch.
Changing the host name
SWP2(config)# hostname Switch-012 Switch-012(config)#

2.4.4 Executing commands of a different input mode

Because the commands that can be used on the SWP2 differ depending on the mode, you must transition to the mode in which a command can be executed before you execute that command. The do command is provided as a way to avoid this requirement.
By using the do command you can execute priviledged EXEC mode commands from any configuration mode. This allows you to reference the current configuration or save settings from any configuration mode without having to transition to priviledged EXEC mode.
However, since the completion function cannot be used with do, you must enter the command that follows either in its full spelling or in its abbreviated form.
Entry in full spelling
SWP2(config)#do show running-config
Entry in abbreviated form
SWP2(config)#do sh ru

2.5 Keyboard operations when using the console

2.5.1 Basic operations for console input

The SWP2 allows the following operations in the command line.
Moving the cursor
Keyboard operation Description and notes
Move right one character
Move left one character
Command Reference | How to use the commands | 19
Press Esc, then F
Press Esc, then B
Deleting an input character
Keyboard operation Description and notes
Press Esc, then D
Other
Move right one word (move to the character following the end of the word at the cursor location)
Move left one word (move to the first character of the word at the cursor location)
Ctrl + A Move to the beginning of the line
Ctrl + E Move to the end of the line
Backspace
Ctrl + H
Ctrl + D
Ctrl + K Delete from the cursor position until the end of the line
Ctrl + U Delete all characters that are being entered
Delete the character at the left of the cursor
Delete the character at the cursor. If this operation is performed when the command line is empty, the result is the same as the exit command.
Delete from the cursor position until immediately before the first space
Keyboard operation Description and notes
Exchange the character at the cursor position with the
Ctrl + T
Ctrl + C
Ctrl + Z
preceding character. If the cursor is at the end of the line, exchange the preceding character with the character that precedes it.
In unprivileged EXEC mode and priviledged EXEC mode, discard the command being entered and move to the next line. In individual configuration mode, discard the command line being entered and move to priviledged EXEC mode. Command processing that is currently being executed will be stopped. (ex: ping command)
Move from individual configuration mode to priviledged EXEC mode. This is the same operation as the end command.

2.5.2 Command help

By entering '?' in the command line you can search for the available commands or parameters.
SWP2#show vlan ? <1-4094> VLAN id access-map Show VLAN Access Map brief VLAN information for all bridges (static and dynamic) filter Show VLAN Access Map Filter private-vlan private-vlan information
SWP2#show vlan
20 | Command Reference | How to use the commands

2.5.3 Input command completion and keyword candidate list display

If you press the "Tab" key while entering a command in the console, the command name is completed. If you press the "Tab" key after entering a keyword, a list of keyword candidates that can be entered next is shown. The same operation can also be performed by pressing the "Ctrl + I" key.
Command name completion
SWP2#con "press the <Tab>key" ↓ SWP2#configure
Keyword candidate list display
SWP2(config)#vlan "press the <Tab> key" access-map database filter SWP2(config)#vlan

2.5.4 Entering command abbreviations

When you enter commands or parameters in abbreviated form, and the characters you entered can be recognized unambiguously as a command or parameter, that command is executed.
Example of entering a command abbreviation (show running-config)
SWP2# sh run

2.5.5 Command history

By using the command history function, you can easily re-execute a command that you previously input, or partially modify a previously input command and re-execute it. Command history is shown as a history that is common to all modes.
Operation is shown below.
Keyboard operation Description and notes
Ctrl + P
Ctrl + N
Move backward through command history
Move forward through command history

2.6 Commands that start with the word "show"

2.6.1 Modifiers

Modifiers send the information produced by the show command through a filter, restricting the content that is shown in the screen and making it easier for you to see the desired information.
The SWP2 provides the following three modifiers for the show command.
Modifiers Description
include
grep
Output only the lines that include the specified character string
exclude
Modifiers can be used only one at a time. You cannot specify more than one modifier.
(Example) Using
SWP2#show running-config | grep vlan1 interface vlan1 http-server interface vlan1 telnet-server interface vlan1
(Example) Using
SWP2# show spanning-tree | include Role % po1: Port Number 505 - Ifindex 4601 - Port Id 0x81f9 - Role Disabled - State Discarding % port1.1: Port Number 905 - Ifindex 5001 - Port Id 0x8389 - Role Disabled -
show running-config to view information that includes VLAN #1 (vlan1).
show spanning-tree to view information that includes Role.
Output only the lines that do not include the specified character string
Command Reference | How to use the commands | 21
State Forwarding % port1.2: Port Number 906 - Ifindex 5002 - Port Id 0x838a - Role Disabled ­State Forwarding % port1.3: Port Number 907 - Ifindex 5003 - Port Id 0x838b - Role Disabled ­State Forwarding % port1.4: Port Number 908 - Ifindex 5004 - Port Id 0x838c - Role Disabled ­State Forwarding % port1.6: Port Number 910 - Ifindex 5006 - Port Id 0x838e - Role Disabled ­State Forwarding % port1.7: Port Number 911 - Ifindex 5007 - Port Id 0x838f - Role Disabled ­State Forwarding % port1.8: Port Number 912 - Ifindex 5008 - Port Id 0x8390 - Role Disabled ­State Forwarding % port1.9: Port Number 913 - Ifindex 5009 - Port Id 0x8391 - Role Disabled ­State Forwarding % port1.10: Port Number 914 - Ifindex 5010 - Port Id 0x8392 - Role Disabled ­State Forwarding
22 | Command Reference | Configuration
Chapter 3

Configuration

3.1 Manage setting values

The SWP2 uses the following configurations to manage its settings.
Types of configuration Description
Running configuration (running-config)
Startup configuration (startup-config)
Backup configuration (backup-config)
Default configuration (default-config)
The start-up flow for the SWP2 system is as follows.
1. Reference DIP switch #1 and determine the CONFIG mode
If DIP switch #1 is up (OFF), start up in DANTE mode
If DIP switch #1 is down (ON), start up in USER mode
2. Determine the startup configuration for each CONFIG mode
For DANTE mode
Use the default configuration that was selected according to the settings of DIP switches #2/#3
For USER mode
If a startup configuration for USER mode exists, use the corresponding data
If a startup configuration for USER mode does not exist, use the default configuration that was selected according to the settings of DIP switches #2/#3.
3. Load the startup configuration into RAM as the running configuration
If a backup configuration exists in DANTE mode, overwrite the corresponding data onto the running configuration
If commands etc. are used to modify the settings while the SWP2 is running, the modified settings are immediately reflected in the running configuration. After modifying the running configuration, executing the write or copy command in USER mode will update the startup configuration. In DANTE mode, executing the backup-config command will update the backup configuration. If you restart without saving the content that was specified or modified, the settings or modifications are lost. Please be aware of this.
Setting values currently used for operation. Managed in RAM.
In USER mode, setting values saved in Flash ROM. In DANTE mode, the same setting values as the default configuration.
Setting values for some functions saved in DANTE mode. Managed in Flash ROM.
Default setting values. Managed in Flash ROM. Created based on the VLAN preset that is selected by the settings of DIP switches #2/#3 at start-up.
User operations that can be performed
Note Save to startup configuration (in USER mode) Save some functions to backup configuration (in DANTE mode)
Note Update by running configuration (in USER mode)
Update by running configuration (in DANTE mode)
No operations possible

3.2 Default setting values

On the SWP2, the VLAN preset specified by DIP switches #2/#3 will be the default setting values. The VLAN preset types for DIP switch #2/#3 settings are as follows.
DIP switch #2/#3 settings
Setting position
#2 #3
Up (OFF) Up (OFF)
VLAN preset type
Normal
Command Reference | Configuration | 23
Setting position
#2 #3
Down (ON) Up (OFF)
Up (OFF) Down (ON) B
Down (ON) Down (ON) C
The common setting values and presets are shown first, and then the specific to the presets setting values are shown.
Settings common to all presets (system-wide)
Category Setting item Default value
Console timeout 600 sec
Terminal settings
Password
Time management
Number of VTYs 8
Number of lines displayed 24
Login password of no user none
Administrator password none
Password encryption not encrypted
Time zone UTC (±0)
NTP server none
VLAN preset type
A
NTP update cycle once per hour
RMON Behavior enabled
firmware-update url http://
Download URL
Firmware update
Allow revision-down don't allow
Timeout 300 sec
Behavior disabled
LLDP
Automatically set function disabled
Behavior enabled (can not change)
L2MS
Role slave (can not change)
Debug level log output OFF
Information level log output ON
SYSLOG
Error level log output ON
SYSLOG server none
Telnet server status run
Telnet server access allow only VLAN #1
www.rtpro.yamaha.co.jp/firmware/ revision-up/swp2.bin
SSH server status do not run
Access control
Maintenance VLAN VLAN interface VLAN #1
L2 switching
TFTP server status do not run
HTTP server status run
HTTP server access allow only VLAN #1
Secure HTTP server status do not run
Automatic MAC address learning enabled
Automatic MAC address learning aging time
300 sec
24 | Command Reference | Configuration
Category Setting item Default value
DNS cliant Behavior enabled
Spanning tree enabled
Proprietary loop detection enabled
QoS enabled
Traffic control
Web GUI Language setting English
Settings common to all models and presets (LAN/SFP+ port)
Category Setting item Default value
Common setting
L2MS L2MS filter depends on preset
L2 switching
QoS DSCP - transmission queue ID conversion table
Flow control (IEEE 802.3x) disabled
Speed/duplex mode setting auto
Cross/straight automatic detection enabled
MRU 1,522 Byte
Port description none
EEE disabled
Port Mode depends on preset
Associated VLAN ID depends on preset
Spanning tree depends on preset
Proprietary loop detection enabled
DSCP: 8 → transmission queue: 2 Other than above → transmission queue: 0
QoS trust mode DSCP
Traffic control
Default settings for the Normal VLAN preset of the SWP2 (entire system)
Category Setting item Default setting values
IP multicast control
SWP2's VLAN preset Normal settings (LAN/SFP+ port)
Interface L2MS Filter LAG(Static) Port Mode VLAN STP
port1.1 Disable - Access 1(default) -
port1.2 Disable - Access 1(default) -
port1.3 Disable - Access 1(default) -
port1.4 Disable - Access 1(default) -
port1.5 Disable - Access 1(default) -
port1.6 Disable - Access 1(default) -
port1.7 Disable - Access 1(default) -
Flow control (IEEE 802.3x) disabled
Storm control disabled
Function to transmit IGMP/MLD query when topology changes
Enabled (wait time 5 sec)
port1.8 Disable - Access 1(default) -
port1.9 Disable - Access 1(default) -
port1.10 Disable - Access 1(default) -
port1.11 Disable - Access 1(default)
Command Reference | Configuration | 25
Interface L2MS Filter LAG(Static) Port Mode VLAN STP
port1.12 Disable - Access 1(default)
SWP2's VLAN preset Normal settings (VLAN interface)
VLAN #1(for Dante and Control)
IPv4 Address: DHCP
IGMP Snooping: Enable
Querier : Enable
Query Interval : 30 sec
Fast-Leave : Disable
Check TTL : Disable
Default settings for the Normal VLAN preset A of the SWP2 (entire system)
Category Setting item Default setting values
IP multicast control
SWP2's VLAN preset A settings (LAN/SFP+ port)
Interface L2MS Filter LAG(static) Port Mode VLAN STP
port1.1 Disable - Access 1(default) -
port1.2 Disable - Access 1(default) -
port1.3 Disable - Access 1(default) -
port1.4 Disable - Access 1(default) -
port1.5 Disable - Access 2 -
port1.6 Disable - Access 2 -
port1.7 Disable - Access 1(default) -
port1.8 Disable - Access 1(default) -
port1.9 Disable - Access 2 -
port1.10 Disable - Access 2 -
port1.11 Disable
port1.12 Disable
Function to transmit IGMP/MLD query when topology changes
sa1 Trunk 1(native), 2
Enabled (wait time 5 sec)
SWP2's VLAN preset A settings (VLAN interface)
VLAN #1(for Dante)
IPv4 Address: DHCP
IGMP Snooping: Enable
Querier : Enable
Query Interval : 30 sec
Fast-Leave : Disable
Check TTL : Disable
VLAN #2(for Control)
IGMP Snooping: Disable
Default settings for the Normal VLAN preset B of the SWP2 (entire system)
Category Setting item Default setting values
IP multicast control
SWP2's VLAN preset B settings (LAN/SFP+ port)
Interface L2MS Filter LAG(static) Port Mode VLAN STP
port1.1 Disable - Access 1(default) -
port1.2 Disable - Access 1(default) -
Function to transmit IGMP/MLD query when topology changes
Enabled (wait time 5 sec)
26 | Command Reference | Configuration
Interface L2MS Filter LAG(static) Port Mode VLAN STP
port1.3 Disable - Access 1(default) -
port1.4 Disable - Access 1(default) -
port1.5 Disable - Access 2 -
port1.6 Disable - Access 2 -
port1.7 Disable - Access 1(default) -
port1.8 Disable - Access 2 -
port1.9 Disable
port1.10 Disable
port1.11 Disable
port1.12 Disable
SWP2's VLAN preset B settings (VLAN interface)
VLAN #1(for Dante) IPv4 Address: DHCP
IGMP Snooping: Enable
Querier : Enable
Query Interval : 30 sec
Fast-leave : Disable
Check TTL : Disable
VLAN #2(for Control)
IGMP Snooping: Disable
SWP2's VLAN preset C settings (LAN/SFP+ port)
Interface L2MS Filter LAG(static) Port Mode VLAN STP
port1.1 Disable - Access 1(default) -
port1.2 Disable - Access 1(default) -
port1.3 Disable - Access 1(default) -
sa1 Trunk 1(native), 2
sa2 Trunk 1(native), 2
port1.4 Enable - Access 2 -
port1.5 Enable - Access 2 -
port1.6 Enable - Access 2 -
port1.7 Disable - Access 1(default) -
port1.8 Disable - Access 1(default) -
port1.9 Enable - Access 2 -
port1.10 Enable - Access 2 -
port1.11 Disable - Access 1(default) -
port1.12 Enable - Access 2 -
SWP2's VLAN preset C settings (VLAN interface)
VLAN #1(for Dante)
IPv4 Address: DHCP
IGMP Snooping: Enable
Querier : Enable
Query Interval : 30 sec
Fast-leave : Disable
Check TTL : Disable
VLAN #2(for Control)
IGMP Snooping: Enable
Querier : Enable
Query Interval : 30 sec
Fast-leave : Disable
Check TTL : Disable
Command Reference | Configuration | 27
28 | Command Reference |

Maintenance and operation functions

Chapter 4
Maintenance and operation functions

4.1 Passwords

4.1.1 Set password for unnamed user

[Syntax]
password password
no password
[Parameter]
password : Login password for unnamed user
Single-byte alphanumeric characters, and symbols other than the single-byte characters '|', '>', and '?' (32 characters or less)
The first character must be a single-byte alphanumeric character
[Initial value]
no password
[Input mode]
global configuration mode
[Description]
Sets the password for logging in as an unnamed user.
If this command is executed with the "no" syntax, the unnamed user password for logging is deleted.
[Note]
If the password was encrypted by the password-encryption command, it is shown in the configuration in the form "password 8 password."
The user cannot enter the password in this form when making configuration settings from the command line.
[Example]
Specify user1234 as the unnamed user password.
SWP2(config)#password user1234
Delete the unnamed user password.
SWP2(config)#no password

4.1.2 Set administrator password

[Syntax]
enable password password
no enable password
[Parameter]
password : Administrator password
Single-byte alphanumeric characters, and symbols other than the single-byte characters '|', '>', and '?' (32 characters or less)
The first character must be a single-byte alphanumeric character
[Initial value]
no enable password
[Input mode]
global configuration mode
Command Reference | Maintenance and operation functions | 29
[Description]
Specifies the administrator password needed to enter priviledged EXEC mode.
If this command is executed with the "no" syntax, the administrator password is deleted.
[Note]
If the password was encrypted by the password-encryption command, it is shown in the configuration in the form "enable password 8 password."
The user cannot enter the password in this form when making configuration settings from the command line.
[Example]
Specify admin1234 as the administrator password.
SWP2(config)#enable password admin1234
Delete the administrator password.
SWP2(config)#no enable password

4.1.3 Encrypt password

[Syntax]
password-encryption switch no password-encryption
[Parameter]
switch : Set password encryption
Setting value Description
enable Encrypt
disable Don't encrypt
[Initial value]
password-encryption disable
[Input mode]
global configuration mode
[Description]
Enables password encryption.
If this is enabled, the password entered by the password command, the enable paassword command, and the username command are saved in the configuration in an encrypted form.
If this command is executed with the "no" syntax, password encryption is disabled, and the password entered by the password command, the enable paassword command, and the username command are saved in the configuration as plaintext.
[Note]
If password encryption is changed from disabled to enabled, previously-entered passwords are converted from plaintext to an encrypted form; however if it is changed from enabled to disabled, previously-encrypted passwords in a configuration file do not return to plaintext.
[Example]
Enables password encryption.
SWP2(config)#password-encryption enable
Disabled password encryption.
SWP2(config)#no password-encryption

4.1.4 Allow login with special password

[Syntax]
force-password switch no force-password
30 | Command Reference | Maintenance and operation functions
[Parameter]
switch : Allow login by special password
Setting value Description
enable Allow
disable Don't allow
[Initial value]
force-password enable
[Input mode]
global configuration mode
[Description]
Enable login with special password.
If this is enabled, only when logging in from a serial console, it is possible to log in using "w,lXlma" (lowercase W, comma, lowercase L, uppercase X, and lowercase L, M, and A) instead of the specified user password.
If you login with the special password, you will be in priviledged EXEC mode.
If this command is executed with the "no" syntax, login with the special password is disabled.
[Example]
Enable login with special password.
SWP2(config)#force-password enable
Disable login with special password.
SWP2(config)#no force-password

4.2 User account maintenance

4.2.1 Set user password

[Syntax]
username username [privilege privilege] [password password]
no username username
[Keyword]
privilege : Specifies the user's privileges
password : Specifies the user's password
[Parameter]
username : User name
Single-byte alphanumeric characters (32 characters or less)
privilege : Whether to grant privilege
Setting value Description
on
off
password : User's login password
Password input is not requested when moving to privileged EXEC mode
Access to Web GUI is allowed with administrator privileges
Password input is requested when moving to privileged EXEC mode
Access to Web GUI is allowed with guest
Loading...
+ 230 hidden pages