Fujitsu XG2000 User Manual 2

XG2000 series
User's Guide
P3N1-E202-01ENZ0
XG2000 series User's Guide
You have purchased the XG2000 series, a compact, 20-port 10 Gigabit Ethernet layer 2 switch that achieves unsurpassed standards of high throughput and low-latency performance. This guide describes the XG2000 series (XG2000 / XG2000R / XG2000C / XG2000CR) functions, installation procedures, configuration operations, and maintenance procedures and should be read and understood before you start using your XG2000 series.
Linux is a registered trademark or trademark of Linus Torvalds in the United States and/or other countries.
All Rights Reserved, Copyright © PFU LIMITED 2009

Preface

March, 2009
2/315
XG2000 series User's Guide

About this Manual

This section describes target readers, contents, notations, etc. of this guide.

Target Readers and Required Knowledge

This guide was written for administrators, who are in charge of network construction, maintenance, and management. To use this guide, the following knowledge is required.
z Basic knowledge of networks, the Internet, and intranets z Basic knowledge of system security
This guide omits explanations of network protocol terms.

Contents

This guide to the XG2000 series is composed of the following chapters.
Chapter 1. Features and Functions
Describes the features and functions.
Chapter 2. Using the CLI
Describes operating environment of CLI and how to operate CLI.
Chapter 3. Installation
Describes the necessary installation procedures.
Chapter 4. Functions and Procedures for Setting Functions
Describes how to use the console screen.
Chapter 5. Command References
Describes how to use the commands.
Chapter 6. Managing the Device
Describes the management of the device.
Chapter 7. Troubleshooting
Describes how to solve problems in the device.
Appendix A. Event Logs
Describes the contents of messages reported by the device and actions to be taken for each message.
Appendix B. SNMP Traps
Describes message format of SNMP traps.
Appendix C. List of MIBs
Describes the list of MIBs supported by the SNMP agent

Related Manuals

The following are XG2000 series related manuals. Use these manuals as necessary.
z XG2000 Series Hardware Guide
Describes the hardware of the XG2000 series.

Symbols Used in This Guide

The symbols used in this guide have the following meanings.
indicates useful information related to using the XG2000 series.
indicates precautions to take when using the XG2000 series.
indicates supplementary information.
indicates related matters such as operation procedures, etc.
3/315
XG2000 series User's Guide

Contents

Preface .........................................................................................................................................................................2
About this Manual.......................................................................................................................................................3
Contents ......................................................................................................................................................................4
Chapter 1 Features and Functions ....................................................................................................................10
1.1 Features ............................................................................................................................................................11
Chapter 2 Using the CLI......................................................................................................................................12
2.1 Overview of the CLI...........................................................................................................................................13
2.1.1 Operating Environment for the CLI .............................................................................................................13
2.1.2 Command Modes and Mode Switching ......................................................................................................14
2.1.3 startup-config and running-config................................................................................................................16
2.2 Using the CLI.....................................................................................................................................................17
2.2.1 How to Enter Commands ............................................................................................................................17
2.2.2 Context-Sensitive Help................................................................................................................................17
2.2.3 Command Completion.................................................................................................................................18
2.2.4 Command Abbreviation...............................................................................................................................18
2.2.5 Command-Line Error Messages .................................................................................................................18
2.2.6 Scrolling Down or Up a Line or a Page .......................................................................................................18
2.2.7 Command History........................................................................................................................................19
2.2.8 Aborting Command .....................................................................................................................................19
2.2.9 No Form of Commands...............................................................................................................................19
2.2.10 Filtering show Command Output...............................................................................................................20
2.2.11 Redirecting show Command Output .........................................................................................................20
2.2.12 Using the monitor Command ....................................................................................................................21
Chapter 3 Installation..........................................................................................................................................22
3.1 Workflow for Initial Setup of the Device.............................................................................................................23
3.1.1 Setting Up the Serial Interface ....................................................................................................................23
3.1.2 Configure Management LAN Interface........................................................................................................24
3.1.3 Telnet Connection via the Management LAN Interface (Optional)..............................................................24
3.1.4 SSH Connection via the Management LAN Interface (Optional)................................................................25
3.1.5 SNMP Configuration (Optional)...................................................................................................................25
Chapter 4 Switch Functions and their Configuration......................................................................................26
4.1 Basic Switch Functions......................................................................................................................................27
4.1.1 Switching Mode ...........................................................................................................................................27
4.1.2 MAC Address Table Management...............................................................................................................27
4.1.3 Jumbo Frame Support ................................................................................................................................28
4.1.4 Flow Control ................................................................................................................................................28
4.1.5 Storm Control ..............................................................................................................................................29
4.1.6 Port Security................................................................................................................................................29
4.1.7 Ingress Rate Control ...................................................................................................................................29
4.2 Port Mirroring.....................................................................................................................................................30
4.3 Link Pass Through.............................................................................................................................................31
4.4 Link Aggregation................................................................................................................................................32
4.4.1 Configuring Link Aggregation ......................................................................................................................33
4.4.2 Frame Distribution Methods in Link Aggregation ........................................................................................34
4.4.3 The Number of Ports That Require Linkup .................................................................................................34
4.4.4 Notes on Link Aggregation ..........................................................................................................................35
4.5 Uplink Filter........................................................................................................................................................36
4.6 Spanning Tree Protocol (STP)...........................................................................................................................39
4.6.1 Port Roles Based on Spanning Tree ...........................................................................................................40
4.6.2 Spanning Tree Protocol Port States ............................................................................................................40
4.6.3 Configuring Spanning Tree..........................................................................................................................40
4/315
XG2000 series User's Guide
4.7 VLAN .................................................................................................................................................................41
4.7.1 Port-Based VLAN........................................................................................................................................41
4.7.2 Tag-Based (IEEE802.1Q) VLAN .................................................................................................................42
4.7.3 Multiple VLAN..............................................................................................................................................43
4.8 Quality of Service (QoS)....................................................................................................................................46
4.9 IGMP Snooping .................................................................................................................................................47
4.9.1 Registering Group Members .......................................................................................................................48
4.9.2 Removing Group Members .........................................................................................................................49
4.9.3 Managing Group Members .........................................................................................................................50
4.9.4 IGMP Querier ..............................................................................................................................................51
4.9.5 Configuring IGMP Snooping........................................................................................................................52
4.10 Network Management .....................................................................................................................................53
4.10.1 Traffic Statistics..........................................................................................................................................53
4.10.2 SNMP Agent..............................................................................................................................................54
4.10.3 RMON .......................................................................................................................................................54
4.11 RADIUS/TACACS+ authentication ..................................................................................................................55
4.11.1 RADIUS Attributes .....................................................................................................................................55
4.11.2 TACACS+ Attributes ..................................................................................................................................55
4.11.3 Configuring RADIUS/TACACS+ ................................................................................................................56
Chapter 5 Command Reference.........................................................................................................................57
5.1 About Command Reference ..............................................................................................................................58
5.1.1 Command System.......................................................................................................................................58
5.1.2 Configuration of Command Reference........................................................................................................59
5.2 Management LAN Interface Configuration Commands ....................................................................................60
5.2.1 show remote-host........................................................................................................................................60
5.2.2 management-lan ip......................................................................................................................................61
5.2.3 management-lan dns-server .......................................................................................................................62
5.2.4 management-lan domain ............................................................................................................................63
5.2.5 hostname.....................................................................................................................................................64
5.2.6 remote-host .................................................................................................................................................65
5.3 Serial/Telnet/SSH Configuration Commands ....................................................................................................67
5.3.1 terminal pager .............................................................................................................................................67
5.3.2 line...............................................................................................................................................................67
5.3.3 baud-rate .....................................................................................................................................................68
5.3.4 terminal timeout...........................................................................................................................................68
5.3.5 telnet-server ................................................................................................................................................69
5.3.6 ssh-server....................................................................................................................................................69
5.3.7 ssh-auto-key-generation .............................................................................................................................69
5.3.8 show ssh-host-key.......................................................................................................................................70
5.3.9 show ssh-rhost-key .....................................................................................................................................70
5.3.10 clear ssh-rhost-key ....................................................................................................................................71
5.3.11 generate ssh-host-key ...............................................................................................................................71
5.3.12 terminal window.........................................................................................................................................72
5.4 System Basic Operation Commands ................................................................................................................73
5.4.1 enable..........................................................................................................................................................73
5.4.2 show history ................................................................................................................................................74
5.4.3 disable .........................................................................................................................................................74
5.4.4 configure terminal........................................................................................................................................75
5.4.5 exit...............................................................................................................................................................75
5.4.6 logout / quit..................................................................................................................................................76
5.4.7 do.................................................................................................................................................................76
5.4.8 help..............................................................................................................................................................77
5.4.9 show account ..............................................................................................................................................77
5.4.10 account......................................................................................................................................................78
5.4.11 password (Operator EXEC mode).............................................................................................................79
5.4.12 password (Administrator EXEC mode) .....................................................................................................80
5.4.13 reset ..........................................................................................................................................................81
5.4.14 system shutdown.......................................................................................................................................81
5.4.15 date ...........................................................................................................................................................82
5.4.16 date set......................................................................................................................................................82
5.4.17 date timezone............................................................................................................................................83
5.4.18 date summer-time .....................................................................................................................................84
5.4.19 ping............................................................................................................................................................86
5/315
XG2000 series User's Guide
5.4.20 enable password .......................................................................................................................................87
5.4.21 banner .......................................................................................................................................................88
5.4.22 ntp-server ..................................................................................................................................................89
5.5 RADIUS/TACACS+............................................................................................................................................90
5.5.1 show authentication.....................................................................................................................................90
5.5.2 aaa authentication login ..............................................................................................................................91
5.5.3 show radius .................................................................................................................................................92
5.5.4 radius-server host........................................................................................................................................93
5.5.5 radius-server key.........................................................................................................................................94
5.5.6 radius-server timeout...................................................................................................................................95
5.5.7 show tacacs.................................................................................................................................................96
5.5.8 tacacs-server host .......................................................................................................................................97
5.5.9 tacacs-server key ........................................................................................................................................98
5.6 Configuration File Operation Commands..........................................................................................................99
5.6.1 copy running-config startup-config ..............................................................................................................99
5.6.2 show running-config ....................................................................................................................................99
5.6.3 show running-config (redirect)...................................................................................................................100
5.6.4 show startup-config ...................................................................................................................................103
5.6.5 show startup-config (redirect)....................................................................................................................104
5.6.6 copy    startup-config.............................................................................................................................107
5.6.7 dir/ls...........................................................................................................................................................110
5.6.8 delete......................................................................................................................................................... 111
5.6.9 rename ...................................................................................................................................................... 11 2
5.6.10 tftp get......................................................................................................................................................113
5.6.11 scp get .....................................................................................................................................................115
5.6.12 tftp put......................................................................................................................................................117
5.6.13 scp put.....................................................................................................................................................118
5.7 Switch Basic Configuration Commands ..........................................................................................................120
5.7.1 clear bridge mac-address-table.................................................................................................................120
5.7.2 show bridge ...............................................................................................................................................121
5.7.3 show bridge mac-address-table ................................................................................................................122
5.7.4 bridge forward-mode .................................................................................................................................123
5.7.5 bridge jumbo-frame ...................................................................................................................................124
5.7.6 bridge learn-mode .....................................................................................................................................125
5.7.7 bridge mac-address-table..........................................................................................................................126
5.7.8 bridge mac-address-table filter..................................................................................................................128
5.7.9 bridge aging-time.......................................................................................................................................129
5.8 Link Aggregation Configuration Commands....................................................................................................130
5.8.1 show link-aggregation ...............................................................................................................................130
5.8.2 link-aggregation.........................................................................................................................................134
5.8.3 lacp system-priority ...................................................................................................................................136
5.8.4 lacp port-priority.........................................................................................................................................137
5.8.5 link-aggregation load-balance ip-hash-selection.......................................................................................137
5.9 Uplink Filter Commands ..................................................................................................................................138
5.9.1 show uplink................................................................................................................................................138
5.9.2 uplink-domain ............................................................................................................................................139
5.9.3 downlink allowed uplink-domain................................................................................................................141
5.10 Switch Port Configuration Commands ..........................................................................................................142
5.10.1 show interface .........................................................................................................................................142
5.10.2 show port-description ..............................................................................................................................145
5.10.3 shutdown (Administrator exec mode)......................................................................................................146
5.10.4 clear violation ..........................................................................................................................................146
5.10.5 interface port ...........................................................................................................................................147
5.10.6 description ...............................................................................................................................................148
5.10.7 flowcontrol ...............................................................................................................................................149
5.10.8 storm-control ...........................................................................................................................................150
5.10.9 suppress-address-learning......................................................................................................................150
5.10.10 shutdown (Interface edit mode).............................................................................................................151
5.10.11 shutdown (Global configuration mode)..................................................................................................151
5.10.12 port-security...........................................................................................................................................152
5.10.13 link-pass-through...................................................................................................................................153
5.10.14 ingress-bandwidth .................................................................................................................................154
5.10.15 multicast-forwarding ..............................................................................................................................155
6/315
XG2000 series User's Guide
5.11 Spanning Tree Protocol (STP) Configuration Commands.............................................................................156
5.11.1 show spanning-tree .................................................................................................................................156
5.11.2 spanning-tree...........................................................................................................................................161
5.11.3 spanning-tree priority...............................................................................................................................162
5.11.4 spanning-tree hello-time ..........................................................................................................................163
5.11.5 spanning-tree max-age............................................................................................................................164
5.11.6 spanning-tree forward-time......................................................................................................................165
5.11.7 spanning-tree port-priority .......................................................................................................................166
5.11.8 spanning-tree port-path-cost ...................................................................................................................166
5.11.9 spanning-tree path-cost-default...............................................................................................................167
5.11.10 spanning-tree portfast............................................................................................................................168
5.11.11 spanning-tree portfast bpdu-guard ........................................................................................................169
5.11.12 spanning-tree portfast errdisable-timeout..............................................................................................169
5.11.13 spanning-tree portfast bpdu-filter...........................................................................................................170
5.12 Virtual LAN (VLAN) Setup Commands..........................................................................................................171
5.12.1 show vlan ................................................................................................................................................171
5.12.2 vlan..........................................................................................................................................................172
5.12.3 Interface vlan...........................................................................................................................................173
5.12.4 egress......................................................................................................................................................174
5.12.5 port-vlan-id ..............................................................................................................................................175
5.12.6 vlan-member allowed ..............................................................................................................................176
5.12.7 user-vlan-protocol-id................................................................................................................................177
5.12.8 ingress-filter no-vlan-member-frame .......................................................................................................177
5.12.9 ingress-filter tagged-frame ......................................................................................................................178
5.12.10 ingress-filter untagged-frame ................................................................................................................178
5.12.11 vlan-statistics collection .........................................................................................................................179
5.13 QoS Setup Commands..................................................................................................................................180
5.13.1 show qos .................................................................................................................................................180
5.13.2 qos default-priority...................................................................................................................................181
5.13.3 qos-map priority.......................................................................................................................................181
5.13.4 bridge diffserv-tos....................................................................................................................................182
5.13.5 qos egress-scheduling ............................................................................................................................183
5.13.6 qos bandwidth .........................................................................................................................................184
5.14 Port Mirroring Setup Commands...................................................................................................................185
5.14.1 show mirror..............................................................................................................................................185
5.14.2 mirror .......................................................................................................................................................186
5.15 IGMP Snooping Setup Commands ...............................................................................................................187
5.15.1 show ip snooping.....................................................................................................................................187
5.15.2 ip snooping protocol ................................................................................................................................189
5.15.3 ip snooping vlan ......................................................................................................................................190
5.15.4 ip snooping vlan max-group ....................................................................................................................191
5.15.5 ip snooping vlan mrouter.........................................................................................................................192
5.15.6 ip snooping vlan group-member-interval.................................................................................................193
5.15.7 ip snooping vlan fast-leave......................................................................................................................194
5.15.8 ip snooping vlan last-member-query-interval ..........................................................................................195
5.15.9 ip snooping vlan send-query-count .........................................................................................................196
5.15.10 ip snooping vlan querier ........................................................................................................................197
5.15.11 ip snoop .................................................................................................................................................198
5.15.12 ip snooping max-group..........................................................................................................................199
5.15.13 ip snooping mrouter...............................................................................................................................200
5.15.14 ip snooping group-member-interval ......................................................................................................201
5.15.15 ip snooping fast-leave ...........................................................................................................................202
5.15.16 ip snooping last-member-interval..........................................................................................................203
5.15.17 ip snooping send-query-count...............................................................................................................204
5.15.18 ip snooping querier................................................................................................................................205
5.16 Statistics Commands.....................................................................................................................................206
5.16.1 monitor traffic-bytes.................................................................................................................................207
5.16.2 monitor traffic-counts...............................................................................................................................209
5.16.3 monitor framesize-traffic-counts..............................................................................................................211
5.16.4 monitor qos-priority-traffic-bytes..............................................................................................................213
5.16.5 monitor qos-priority-traffic-counts............................................................................................................215
5.16.6 monitor vlan-traffic-bytes.........................................................................................................................217
5.16.7 monitor vlan-traffic-counts.......................................................................................................................218
5.16.8 monitor dataflow ......................................................................................................................................219
7/315
XG2000 series User's Guide
5.16.9 monitor error............................................................................................................................................221
5.16.10 show statistics traffic-bytes....................................................................................................................223
5.16.11 show statistics traffic-counts..................................................................................................................224
5.16.12 show statistics framesize-traffic-counts.................................................................................................225
5.16.13 show statistics qos-priority-traffic-bytes ................................................................................................226
5.16.14 show statistics qos-priority-traffic-counts ..............................................................................................227
5.16.15 show statistics vlan-traffic-bytes............................................................................................................228
5.16.16 show statistics vlan-traffic-counts..........................................................................................................229
5.16.17 show statistics dataflow.........................................................................................................................230
5.16.18 show statistics error...............................................................................................................................231
5.16.19 clear statistics........................................................................................................................................232
5.17 SNMP Setup Commands ..............................................................................................................................233
5.17.1 show snmp-server ...................................................................................................................................233
5.17.2 snmp-server location ...............................................................................................................................234
5.17.3 snmp-server contact................................................................................................................................235
5.17.4 snmp-server access ................................................................................................................................236
5.17.5 snmp-server trap .....................................................................................................................................237
5.18 RMON Setup Commands..............................................................................................................................238
5.18.1 show rmon...............................................................................................................................................238
5.18.2 rmon collection history ............................................................................................................................240
5.18.3 rmon alarm ..............................................................................................................................................241
5.18.4 rmon event ..............................................................................................................................................243
5.19 System Operation Display Commands .........................................................................................................245
5.19.1 show system status .................................................................................................................................245
5.19.2 show system information.........................................................................................................................247
5.19.3 show optical-module sensor....................................................................................................................249
5.20 System Maintenance Commands .................................................................................................................250
5.20.1 clear log...................................................................................................................................................250
5.20.2 show log ..................................................................................................................................................251
5.20.3 log send...................................................................................................................................................252
5.20.4 save maintenance ...................................................................................................................................253
5.20.5 show maintenance ..................................................................................................................................253
5.20.6 tftp put-maintenance................................................................................................................................254
5.20.7 scp put-maintenance...............................................................................................................................256
5.20.8 clear maintenance...................................................................................................................................258
5.20.9 update-system.........................................................................................................................................259
5.20.10 boot-system...........................................................................................................................................263
Chapter 6 Managing the Device.......................................................................................................................264
6.1 Verifying the Device Operations......................................................................................................................265
6.1.1 Verifying Hardware Status.........................................................................................................................265
6.1.2 Verifying System Status ............................................................................................................................268
6.1.3 Reviewing Log Messages .........................................................................................................................268
6.2 Uploading/Downloading a Configuration File ..................................................................................................271
6.2.1 Preparing the remote Server.....................................................................................................................271
6.2.2 Uploading a Configuration File..................................................................................................................271
6.2.3 Downloading a Configuration File .............................................................................................................271
6.3 Updating Firmware ..........................................................................................................................................272
6.3.1 Updating Firmware....................................................................................................................................272
6.3.2 Selecting Firmware....................................................................................................................................273
6.4 Extracting of Maintenance Information............................................................................................................274
6.4.1 Procedure for Extracting Maintenance Information when a System /Subsystem Failure Occurred.........274
6.4.2 Procedure for Extracting Maintenance Information when an endless System Loop Occurred ................275
6.4.3 Procedure for Extracting Maintenance Information when a Malfunction Occurs......................................275
Chapter 7 Troubleshooting...............................................................................................................................276
7.1 Restoring Factory Defaults..............................................................................................................................277
7.1.1 Resetting startup-config to Factory Defaults.............................................................................................277
7.1.2 Selecting the Alternate Firmware Image...................................................................................................277
7.1.3 Restoring Factory Defaults........................................................................................................................278
8/315
Loading...
+ 17 hidden pages