Fujitsu XG700 - Switch User Manual

P3N1-E051-02ENZ0
XG700
User's Guide
2/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
Preface
You have purchased the XG700, a compact, 12-port 10 Gigabit Ethernet layer 2 switch that achieves unsurpassed standards of high throughput and low-latency performance. This guide describes the XG700 functions, installation procedures, configuration operations, and maintenance procedures and should be read and understood before you start using your XG700.
June, 2006
Linux is a registered trademark or trademark of Linus Torvalds in the United States and/or other countries.
All Rights Reserved, Copyright © PFU LIMITED 2005-2006
3/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
About this Manual
This section describes target readers, contents, notations, etc. of this guide.
Target Readers and Required Knowledge
This guide has been written for administrators, who are in charge of network construction, maintenance, and management. To use this guide, the following knowledge is required.
Basic knowledge of networks, the Internet, and intranet Basic knowledge of system security
This guide omits explanations of network protocol terms.
Contents
This guide to the XG700 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 XG700
Describes the management of the XG700.
Chapter 7. Troubleshooting
Describes how to solve problems in the XG700.
Appendix A. Event Logs
Describes the contents of messages reported by the XG700 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 XG700 related manuals. Use these manuals as necessary.
XG700 Series Hardware Guide
Describes the hardware of the XG700.
Symbols Used in This Guide
The symbols used in this guide have the following meanings.
indicates useful information related to using the XG700.
indicates precautions which must be taken when using the XG700.
indicates supplementary information.
indicates related matters such as operation procedures, etc.
4/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
Contents
Preface .........................................................................................................................................................................2
About this Manual.......................................................................................................................................................3
Contents ......................................................................................................................................................................4
Chapter 1 Features and Functions ......................................................................................................................9
1.1 Features ............................................................................................................................................................10
Chapter 2 Using the CLI......................................................................................................................................11
2.1 Overview of the CLI...........................................................................................................................................12
2.1.1 Operating Environment for CLI ...................................................................................................................12
2.1.2 Command Modes and Mode Switching ......................................................................................................13
2.1.3 startup-config and running-config................................................................................................................15
2.2 Using the CLI.....................................................................................................................................................16
2.2.1 How to Enter Commands ............................................................................................................................16
2.2.2 Context-Sensitive Help................................................................................................................................16
2.2.3 Command Completion.................................................................................................................................17
2.2.4 Command Abbreviation...............................................................................................................................17
2.2.5 Command-Line Error Messages .................................................................................................................17
2.2.6 Scrolling Down or Up a Line or a Page .......................................................................................................17
2.2.7 Command History........................................................................................................................................18
2.2.8 Aborting Command .....................................................................................................................................18
2.2.9 No Form of Commands...............................................................................................................................18
2.2.10 Filtering show Command Output...............................................................................................................19
2.2.11 Redirecting show Command Output .........................................................................................................19
2.2.12 Displaying using monitor Command .........................................................................................................20
Chapter 3 Installation ..........................................................................................................................................21
3.1 Workflow to Prepare the XG700........................................................................................................................22
3.1.1 Setting Up Serial Interface ..........................................................................................................................22
3.1.2 Configure Management LAN Interface........................................................................................................23
3.1.3 Telnet Connection via Management LAN Interface (Optional)....................................................................23
3.1.4 SNMP Configuration (Optional)...................................................................................................................23
3.2 10GBASE-CX4 Cable Connection ....................................................................................................................24
3.2.1 Rx Signal Equalizer.....................................................................................................................................24
3.2.2 Precautions During Linkup ..........................................................................................................................24
Chapter 4 Functions and Procedures for Setting Functions ..........................................................................25
4.1 Basic Switch Functions......................................................................................................................................26
4.1.1 Switching Mode ...........................................................................................................................................26
4.1.2 MAC Address Table Management...............................................................................................................26
4.1.3 Jumbo Frame Support ................................................................................................................................27
4.1.4 Flow Control ................................................................................................................................................27
4.1.5 Storm Control ..............................................................................................................................................28
4.1.6 Port Security................................................................................................................................................28
4.1.7 Ingress Rate Control ...................................................................................................................................28
4.2 Port Mirroring.....................................................................................................................................................29
4.3 Link Pass Through.............................................................................................................................................30
4.4 Link Aggregation................................................................................................................................................31
4.4.1 Configuring Link Aggregation ......................................................................................................................32
4.4.2 Frame Distribution Methods in Link Aggregation ........................................................................................33
4.4.3 The Number of Ports That Require Linkup .................................................................................................33
4.4.4 Notes on Link Aggregation ..........................................................................................................................34
4.5 Uplink Filter........................................................................................................................................................35
4.6 Spanning Tree Protocol (STP)...........................................................................................................................38
4.6.1 Port Roles Based on Spanning Tree ...........................................................................................................39
4.6.2 Spanning Tree Protocol Port States ............................................................................................................39
4.6.3 Configuring Spanning Tree..........................................................................................................................40
4.7 VLAN .................................................................................................................................................................41
5/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
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
Chapter 5 Command Reference .........................................................................................................................55
5.1 About Command Reference ..............................................................................................................................56
5.1.1 Command System.......................................................................................................................................56
5.1.2 Configuration of Command Reference........................................................................................................57
5.2 Management LAN Interface Configuration Commands ....................................................................................58
5.2.1 management-lan ip......................................................................................................................................58
5.2.2 management-lan dns-server .......................................................................................................................59
5.2.3 management-lan domain ............................................................................................................................60
5.2.4 hostname.....................................................................................................................................................61
5.2.5 remote-host .................................................................................................................................................62
5.3 Serial/telnet Configuration Commands..............................................................................................................64
5.3.1 terminal pager .............................................................................................................................................64
5.3.2 line...............................................................................................................................................................64
5.3.3 baud-rate .....................................................................................................................................................65
5.3.4 terminal timeout...........................................................................................................................................65
5.3.5 telnet-sever..................................................................................................................................................66
5.3.6 terminal window...........................................................................................................................................66
5.4 System Basic Operation Commands ................................................................................................................67
5.4.1 enable..........................................................................................................................................................67
5.4.2 disable .........................................................................................................................................................67
5.4.3 configure terminal........................................................................................................................................68
5.4.4 exit...............................................................................................................................................................68
5.4.5 logout...........................................................................................................................................................69
5.4.6 do.................................................................................................................................................................69
5.4.7 help..............................................................................................................................................................70
5.4.8 password .....................................................................................................................................................70
5.4.9 reset.............................................................................................................................................................71
5.4.10 system shutdown.......................................................................................................................................71
5.4.11 date............................................................................................................................................................72
5.4.12 date set......................................................................................................................................................72
5.4.13 date timezone............................................................................................................................................73
5.4.14 date summer-time .....................................................................................................................................74
5.4.15 ping............................................................................................................................................................76
5.4.16 enable password .......................................................................................................................................77
5.4.17 banner .......................................................................................................................................................78
5.4.18 ntp-server ..................................................................................................................................................79
5.5 Configuration File Operation Command............................................................................................................80
5.5.1 copy running-config startup-config ..............................................................................................................80
5.5.2 show running-config ....................................................................................................................................80
5.5.3 show running-config (redirect).....................................................................................................................81
5.5.4 show startup-config .....................................................................................................................................82
5.5.5 show startup-config (redirect)......................................................................................................................83
5.5.6 copy    startup-config...............................................................................................................................84
5.5.7 dir/ls.............................................................................................................................................................86
5.5.8 delete...........................................................................................................................................................87
5.5.9 rename ........................................................................................................................................................88
5.5.10 tftp get........................................................................................................................................................89
5.5.11 tftp put ........................................................................................................................................................90
5.6 Switch Basic Configuration Commands ............................................................................................................91
6/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
5.6.1 clear bridge mac-address-table...................................................................................................................91
5.6.2 show bridge .................................................................................................................................................92
5.6.3 show bridge mac-address-table ..................................................................................................................93
5.6.4 bridge forward-mode ...................................................................................................................................94
5.6.5 bridge jumbo-frame .....................................................................................................................................95
5.6.6 bridge learn-mode .......................................................................................................................................96
5.6.7 bridge mac-address-table............................................................................................................................97
5.6.8 bridge mac-address-table filter....................................................................................................................99
5.6.9 bridge aging-time.......................................................................................................................................101
5.7 Link Aggregation Configuration Commands....................................................................................................102
5.7.1 show link-aggregation ...............................................................................................................................102
5.7.2 link-aggregation.........................................................................................................................................105
5.7.3 lacp system-priority ...................................................................................................................................107
5.7.4 lacp port-priority.........................................................................................................................................108
5.8 Uplink Filter Commands ..................................................................................................................................109
5.8.1 show uplink................................................................................................................................................109
5.8.2 uplink-domain ............................................................................................................................................ 110
5.8.3 downlink allowed uplink-domain................................................................................................................112
5.9 Switch Port Configuration Commands ............................................................................................................113
5.9.1 show interface ...........................................................................................................................................113
5.9.2 shutdown (Administrator exec mode)........................................................................................................116
5.9.3 clear violation ............................................................................................................................................116
5.9.4 interface port .............................................................................................................................................117
5.9.5 flowcontorol ...............................................................................................................................................118
5.9.6 storm-control .............................................................................................................................................119
5.9.7 suppress-address-learning........................................................................................................................119
5.9.8 shutdown (Interface edit mode).................................................................................................................120
5.9.9 shutdown (Global configuration mode) .....................................................................................................120
5.9.10 port-security.............................................................................................................................................121
5.9.11 link-pass-through .....................................................................................................................................122
5.9.12 ingress-bandwidth ...................................................................................................................................123
5.9.13 multicast-forwarding ................................................................................................................................124
5.9.14 link-signal-tune ........................................................................................................................................125
5.9.15 link-signal-force-tune...............................................................................................................................126
5.10 Spanning Tree Protocol (STP) Configuration Commands.............................................................................127
5.10.1 show spanning-tree.................................................................................................................................127
5.10.2 spanning-tree ..........................................................................................................................................132
5.10.3 spanning-tree protocol.............................................................................................................................132
5.10.4 spanning-tree priority...............................................................................................................................133
5.10.5 spanning-tree hello-time..........................................................................................................................134
5.10.6 spanning-tree max-age ...........................................................................................................................135
5.10.7 spanning-tree forward-time .....................................................................................................................136
5.10.8 spanning-tree port-priority .......................................................................................................................137
5.10.9 spanning-tree port-path-cost ...................................................................................................................138
5.10.10 spanning-tree path-cost-default ............................................................................................................139
5.10.11 spanning-tree portfast............................................................................................................................140
5.10.12 spanning-tree portfast bpdu-guard........................................................................................................141
5.10.13 spanning-tree portfast errdisable-timeout .............................................................................................142
5.10.14 spanning-tree portfast bpdu-filter ..........................................................................................................143
5.11 Virtual LAN (VLAN) Setup Commands ..........................................................................................................144
5.11.1 show vlan.................................................................................................................................................144
5.11.2 vlan..........................................................................................................................................................145
5.11.3 port-vlan-id...............................................................................................................................................146
5.11.4 vlan-member allowed ..............................................................................................................................147
5.11.5 user-vlan-protocol-id................................................................................................................................148
5.11.6 ingress-filter no-vlan-member-frame .......................................................................................................149
5.11.7 ingress-filter tagged-frame.......................................................................................................................149
5.11.8 ingress-filter untagged-frame...................................................................................................................150
5.11.9 vlan-statistics collection ...........................................................................................................................151
5.12 QoS Setup Commands..................................................................................................................................152
5.12.1 show qos .................................................................................................................................................152
5.12.2 qos default-priority...................................................................................................................................153
5.12.3 qos-map priority.......................................................................................................................................153
5.12.4 bridge diffserv-tos....................................................................................................................................154
7/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
5.13 Port Mirroring Setup Commands...................................................................................................................155
5.13.1 show mirror..............................................................................................................................................155
5.13.2 mirror .......................................................................................................................................................156
5.14 IGMP Snooping Setup Commands ...............................................................................................................157
5.14.1 show ip snooping.....................................................................................................................................157
5.14.2 ip snooping protocol ................................................................................................................................159
5.14.3 ip snooping vlan ......................................................................................................................................160
5.14.4 ip snooping vlan max-group ....................................................................................................................161
5.14.5 ip snooping vlan mrouter.........................................................................................................................162
5.14.6 ip snooping vlan group-member-interval.................................................................................................163
5.14.7 ip snooping vlan fast-leave......................................................................................................................164
5.14.8 ip snooping vlan last-member-interval ....................................................................................................165
5.14.9 ip snooping vlan send-query-count .........................................................................................................166
5.14.10 ip snooping vlan querier ........................................................................................................................167
5.15 Statistics Commands.....................................................................................................................................168
5.15.1 monitor traffic-bytes.................................................................................................................................169
5.15.2 monitor traffic-counts...............................................................................................................................171
5.15.3 monitor framesize-traffic-counts..............................................................................................................173
5.15.4 monitor qos-priority-traffic-bytes..............................................................................................................175
5.15.5 monitor qos-priority-traffic-counts............................................................................................................176
5.15.6 monitor vlan-traffic-bytes.........................................................................................................................177
5.15.7 monitor vlan-traffic-counts.......................................................................................................................178
5.15.8 monitor dataflow ......................................................................................................................................179
5.15.9 monitor error............................................................................................................................................181
5.15.10 show statistics traffic-bytes....................................................................................................................183
5.15.11 show statistics traffic-counts..................................................................................................................184
5.15.12 show statistics framesize-traffic-counts.................................................................................................185
5.15.13 show statistics qos-priority-traffic-bytes ................................................................................................186
5.15.14 show statistics qos-priority-traffic-counts ..............................................................................................187
5.15.15 show statistics vlan-traffic-bytes............................................................................................................188
5.15.16 show statistics vlan-traffic-counts..........................................................................................................189
5.15.17 show statistics dataflow.........................................................................................................................190
5.15.18 show statistics error...............................................................................................................................191
5.15.19 clear statistics........................................................................................................................................192
5.16 SNMP Setup Commands ..............................................................................................................................193
5.16.1 show snmp-server ...................................................................................................................................193
5.16.2 snmp-server location ...............................................................................................................................194
5.16.3 snmp-server contact................................................................................................................................195
5.16.4 snmp-server access ................................................................................................................................196
5.16.5 snmp-server trap .....................................................................................................................................197
5.17 RMON Setup Commands..............................................................................................................................198
5.17.1 show rmon...............................................................................................................................................198
5.17.2 rmon collection history ............................................................................................................................200
5.17.3 rmon alarm ..............................................................................................................................................201
5.17.4 rmon event ..............................................................................................................................................202
5.18 System Operation Display Commands .........................................................................................................204
5.18.1 show system status .................................................................................................................................204
5.18.2 show system information.........................................................................................................................206
5.19 System Maintenance Commands .................................................................................................................208
5.19.1 clear log...................................................................................................................................................208
5.19.2 show log ..................................................................................................................................................209
5.19.3 log send...................................................................................................................................................210
5.19.4 save maintenance ...................................................................................................................................211
5.19.5 show maintenance ..................................................................................................................................211
5.19.6 tftp put-maintenance................................................................................................................................212
5.19.7 clear maintenance...................................................................................................................................213
5.19.8 update-system.........................................................................................................................................214
5.19.9 boot-system.............................................................................................................................................216
Chapter 6 Managing the XG700........................................................................................................................217
6.1 Verifying XG700 Operations............................................................................................................................218
6.1.1 Verifying Hardware Status.........................................................................................................................218
6.1.2 Verifying System Status ............................................................................................................................220
6.1.3 Reviewing Log Messages .........................................................................................................................220
8/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
6.2 Uploading/Downloading Configuration File .....................................................................................................223
6.2.1 Preparing the TFTP Server .......................................................................................................................223
6.2.2 Uploading Configuration File.....................................................................................................................223
6.2.3 Downloading Configuration File ................................................................................................................223
6.3 Updating Firmware ..........................................................................................................................................224
6.3.1 Updating Firmware....................................................................................................................................224
6.3.2 Selecting Firmware....................................................................................................................................225
6.4 Extracting of Maintenance Information............................................................................................................226
6.4.1 Procedure for Extracting Maintenance Information when a System Failure/Subsystem Failure Occurred
...................................................................................................................................................................226
6.4.2 Procedure for Extracting Maintenance Information when a System Loop has Occurred.........................227
6.4.3 Procedure for Extracting Maintenance Information when an XG700 Malfunction Occurs........................227
Chapter 7 Troubleshooting...............................................................................................................................228
7.1 Restoring Factory Defaults..............................................................................................................................229
7.1.1 Resetting startup-config to Factory Defaults.............................................................................................229
7.1.2 Selecting Firmware....................................................................................................................................229
7.1.3 Restoring Factory Defaults........................................................................................................................230
Appendix A Event Logs....................................................................................................................................232
A.1 Overview of Event Logs.............................................................................................................................232
A.2 List of Event Logs ......................................................................................................................................233
A.2.1 env (Supervisory Control: 0-999)...........................................................................................................233
A.2.2 kernel (Basic XG700 Control: 1000-1999).............................................................................................234
A.2.3 kernel (Layer 2 Basic Control: 2000-2999)............................................................................................235
A.2.4 npm (Network Protocol Control: 3000-3299) .........................................................................................240
A.2.5 clim (Basic CLI Control: 3300-3999)......................................................................................................243
A.2.6 xgsh (CLI Command History: 4000-4499) .............................................................................................244
A.2.7 rstp (Rapid Spanning Tree Control: 4500-4999)....................................................................................244
A.2.8 lacp (LACP Control: 5000-5499)............................................................................................................245
A.2.9 sys (Maintenance Support Function: 7400-7499)..................................................................................246
A.2.10 update (Firmware Update: 7500-7999)..............................................................................................247
A.2.11 snmp (SNMP Control: 8500-8599).....................................................................................................249
A.2.12 ntp (NTP Control: 8600-8699)............................................................................................................250
A.3 Message Format for Forwarding syslog ....................................................................................................251
Appendix B SNMP Traps ..................................................................................................................................252
Appendix C List of MIBs...................................................................................................................................253
Index.........................................................................................................................................................................263
9/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
Chapter 1 Features and Functions
This chapter describes the features and functions of the XG700.
10/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
1.1 Features
The XG700 is a compact, 12-port 10 Gigabit Ethernet Layer 2 switch, which provides the world's highest level throughput and least delay. Special features of the XG700 are shown below:
Item Function Features
Throughput 240Gbit/s Latency 450ns Switching mode Either store-and-forward or cut-through is selectable. MAC address learning table size
8192 entries
MAC address learning SVL (Shared VLAN Learning), IVL (Independent VLAN Learning),
user selectable. Jumbo frame support Up to 15KB. Flow control IEEE802.3x compliant pause frame control. Possible to specify flow
control options for each port: send/receive or receive only. Storm control Detects the broadcast storm status to prevent the traffic from
overflowing the network and avoid degrading overall system
performance. Port security Possible to restrict port access based on a source MAC address. Ingress rate control Supports by-port ingress rate control. Port mirroring Possible to monitor the incoming/outgoing traffic by port mirroring.
Basic Switch Functions
Link pass through Possible to synchronize the link state of a monitored port with the
link state of a single or multiple ports. Link aggregation (Static and LACP)
Possible to increase bandwidth and redundancy. (Up to 6 ports for
each link).
Also supports IEE802.3ad LACP.
Scalability
Uplink Filter Filtering multicast, broadcast and unlearned unicast frames from
leaf nodes to uplink. Possible to configure fat tree using several XG
series.
Redundancy IEEE802.1D STP,
IEEE802.1w RSTP
Possible to make redundant and loop-free network using Rapid
Spanning Tree Protocol (upward compatible with Spanning Tree
Protocol). IEEE802.1Q VLAN Max. 128 groups. Filtering Ingress/egress filtering
VLAN support
Multiple VLAN Possible to create multiple Tag-based VLAN, with user VLAN tag
identifier.
QoS IEEE802.1p QoS
DiffServ
Supports output queue priority control based on VLAN priority or
DSCP (DiffServ Code Point) of IPv4/IPv6.
Multi-cast support IGMP snooping Prevents unnecessary forwarding of multicast traffic to ports to
reduce unnecessary multicast traffic. Traffic statistics Possible to analyze traffic and errors, using traffic statistics. Network Management SNMP agent Can be used in conjunction with an SNMP manager, supporting
MIBs, including Standard MIB, Bridge MIB, and RMON MIB. Console by serial/management LAN
The security of the XG700 is maintained from the serial interface or
dedicated management LAN interface that is independent from the
10 Gigabit ports.
Operation management
CLI Allows the user to provide environment settings and operation
management using command line interface (CLI).
11/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
Chapter 2 Using the CLI
This chapter describes how to use the command line interface (CLI) to operate the XG700.
12/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
2.1 Overview of the CLI
This section describes how to use the command line interface (CLI) for the XG Series.
2.1.1 Operating Environment for CLI
There are two ways to access the XG700 to run commands. Up to 4 terminal sessions can access the XG700 concurrently.
Serial connection
Connect to the serial port of the XG700 using RS232C cable. The available terminal type is VT100. When initially connecting a terminal to the XG700, configure the serial port on the client side as shown below.
Item Setting value
Baud rate 9600 bps (can be changed) Character size 8 bit Parity None Stop bits 1 bit Flow control None Emulation VT100 Character set ASCII Line feed code Transmission: CR (carriage return) only
Reception: LF is added
The baud rate can be changed to one of 9600, 19200, 38400 and 57600 (bps) using the "baud-rate" command.
Remote connection via management LAN port
Connect a terminal to the management LAN port of the XG700 using a telnet client (TCP port of 23 is used for the default telnet connection). The following tables list the factory defaults.
Management LAN Interface initial settings
Item Setting value
IP address None (must be set when using the management
LAN)
Subnet address None (must be set when using the management
LAN)
Telnet server initial settings
Item Setting value
Use telnet Disable (can be changed) Port number 23(TCP) Emulation VT100/VT200/xterm BackSpace key Delete Character set ASCII
To use the remote connection via management LAN port, use the "management-lan ip" command to configure the management LAN port for the XG700 and use the "telnet-server" command to enable the telnet service. VT100, VT200, and xterm can be used as a terminal.
13/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
2.1.2 Command Modes and Mode Switching
The following table shows a hierarchy of command modes and mode switching.
Command Modes and Prompt Text
(host name for XG700: xg)
Outline
Operator class The initial-level operating mode entered upon logging into the
system.
Operator EXEC mode
Prompt: xg>
Allows access to commands that have no effect on the switch operations. With the XG700, this mode is mainly used to view its status. The prompt changes to "xg>".
Administrator class To enter this level, use the "enable" command in the operator class
or type the administrator's authentication password.
Administrator EXEC mode Prompt: xg#
Allows users to perform operations that are related to the system management of the XG700, such as date/time setting and firmware update, in addition to those operations that are performed in the operator EXEC mode. The prompt changes to "xg#".
Global configuration mode
Prompt: xg(config)#
To switch to the global configuration mode, enter the "configure terminal" command in the administrator EXEC mode. This mode allows the user to define the environment settings for the XG700 that are to be saved in a configuration file. The prompt changes to "xg(config)#".
Interface edit mode
Prompt: xg(config-if)# or xg(config-agg)#
To enter the interface edit mode, enter the "interface" command in the global configuration mode. This mode allows the user to configure each port of the switch. The interface edit mode is represented by prompt "xg(config-if)#", while the edit mode for a port that is created with link aggregation function is represented by prompt "xg(config-agg)#".
Terminal edit mode
Prompt: xg(config-line)#
To enter the serial terminal edit mode, enter the "line console" command in the global configuration mode. The prompt changes to "xg(config-line)#". Baud rate of the serial terminal and screen display size can be set.
14/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
Entering a specific command allows switching from one mode to another. Entering the "exit" command will always take you back to the previous mode. Entering "end" command or pressing [Ctrl] and [Z] simultaneously in the global configuration, interface edit or terminal edit mode allows you to enter the administrator EXEC mode. An example is given below.
Login: admin password: ********
xg> enable
xg# configure terminal
xg(config)# interface port 1
xg(config-if)# exit
xg(config)# exit
xg# copy running-config startup-config
xg# exit
Switch to operator EXEC mode by performing a login operation. By default, the login username is "admin" and password "password".
Use the "enable" command to switch to administrator EXEC mode.
Use the "configure terminal" command to switch to global configuration mode. Use the "interface" command to switch to interface edit mode.
Use the "exit" command to return to global configuration mode.
Use the "exit" command to return to administrator EXEC mode.
Copy the current configuration file in memory to the startup-config in the nonvolatile memory. User is logged out and session is disconnected.
Multiple users can use the operator and administrator EXEC modes concurrently. (Up to 4 terminals) Only one terminal can switch to one of either global configuration, interface edit and terminal edit modes. It is not
possible for multiple terminals to simultaneously switch to global configuration mode.
15/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
2.1.3 startup-config and running-config
The XG700 configuration information is saved to startup-config and running-config files. This section describes the functions of the startup-config and running-config files.
startup-config
Startup-config is the configuration file that stores the environment settings that are enabled upon XG700 startup. The startup-config is saved in non-volatile memory and read the next time the XG700 begins to be used for the initial settings on the operating environment.
running-config
Running-config is a file stored in volatile memory that represents the operating environment of the system on which the XG700 is currently running. The information stored in the running-config will be lost when the system is restarted. To reflect the system configuration that is active in the current running-config the next time the system is started, use the "copy" command to save them to the startup-config file.
xg# copy running-config startup-config
The contents of the startup-config and running-config match immediately after the XG700 is started.
How to upload startup-config and running-config
To download the configuration information that was uploaded to the TFTP server as startup-config, run the "copy" command.
xg# show running-config | tftp HOST REMOTE-FILE
or
xg# show startup-config | tftp HOST REMOTE-FILE
How to download startup-config
To download the configuration information that was uploaded to the TFTP server as startup-config, run the "copy" command.
xg# copy tftp HOST REMOTE-FILE startup-config
To enable the settings downloaded to startup-config, restart the XG700 using the "reset" command.
Be sure to upload the contents of the startup-config file to a TFTP server because the contents will be
overwritten.
Refer to "Uploading/Downloading Configuration File
" for details on uploading and downloading
configuration.
16/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
2.2 Using the CLI
2.2.1 How to Enter Commands
Command Entry Format
Separate each command, subcommand and argument with a single space.
<command> <subcommand> <argument 1> <argument 2> ... (" " indicates a space.)
xg(config)# management-interface ip 192.168.1.10/24 default-gw 192.168.1.150 xg(config)# management-interface dns-server 192.168.1.150
Characters that can be entered:
Any letter (A-Z, a-z) and digit (0-9)
Space (ASCII code: 0x20)
Symbols: !, ". #, $, %, `, ', (, ), _, -, ~, ^, ¥, {, }, :, +, ,, ., @, =, [, ], &, *, ;, /, ?, |, >
Command and option separators are recognized by one or more space characters (ASCII code: 0x20). Enclose a parameter in quotes if it contains a blank space. The commands are not case-sensitive. Note that some entries (password, etc.) are case-sensitive.
2.2.2 Context-Sensitive Help
Entering a question mark "?" during command entry displays a list of commands available for each command mode. You can also get a list of any command's associated keywords and parameters with the context-sensitive help.
A list of commands that are available in the current mode
Entering a question mark "?" at the system prompt displays a list of commands and brief descriptions available for the current command mode.
xg # ? Exec commands: boot-system Select system to restart clear Reset functions configure Enter configuration mode copy Copy from one file to another date Display or set current date-time delete Delete local files dir Display local files :
(The rest is omitted.)
xg# _
Word help
If you type a question mark "?" in the middle of a command name, the CLI lists possible command completions that forward-match the letters you have typed. The prompt will show the letters that you typed. You only have to type in the rest of the letters to complete the command entry.
xg # co? Exec commands: configure Enter configuration mode copy Copy from one file to another xg# co_
The CLI lists all possible commands that begin with "co".
A list of options that are available in the current entry position
If you type a question mark "?" following a space after typing a command name, the CLI lists the names of commands that can be entered at the current option position. For option 2 and 3 positions, the CLI also lists options that can be entered at these positions. The prompt will show the letters that you typed. You only have to type in the rest of the letters to complete the command entry.
xg# configure ? terminal Configure from the terminal
xg# configure _
CLI lists possible options that follow the "configure" command.
The <cr> symbol appears in the list to indicate that you can execute the command without entering any subsequent options. Parameters enclosed in square brackets can be omitted and, therefore, the <cr> symbol does not appear.
17/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
2.2.3 Command Completion
If you enter part of a command or option and press the [Tab] key, the CLI displays the remaining command or option characters.
xg# con<TAB>
xg# configure _
For example, the only command that begins with "con" is "configure", so the CLI completes the command name as "configure". If you press the [TAB] key, the CLI lists all possible command or option names.
xg# con<TAB> configure copy xg# co_
Since there are two commands that begin with "co" - "configure" and "copy" - the CLI lists these two.
2.2.4 Command Abbreviation
Commands and options can be abbreviated to the minimum number of characters as long as command or option names are unique and forward-match the entered letters.
xg# con t
For example, you can abbreviate the "configure" command to "con" because "configure" is the only command that begins with "con", and "terminal" to "t" because "terminal" is the only command that begins with "t".
2.2.5 Command-Line Error Messages
The table below shows error messages that appear when you incorrectly enter a command. The "configure terminal" command is used as an example below:
Error Message Explanation
xg# co t % Ambiguous command: "co t"
You did not enter enough characters for the CLI to recognize the command. Re-enter the correct command string.
xg# configure % Incomplete command.
You did not enter all of the options or values required by this command entry. Set all necessary options and values.
xg# configure aerminal ^ % Invalid input detected at '^' marker
You entered a command improperly. A caret symbol (^) indicates the incorrect entry. Change incorrect entries and execute the command again.
xg# coc? % Unrecognized command
You typed part of a command that is not found with the context-sensitive help. Re-enter the correct command string.
2.2.6 Scrolling Down or Up a Line or a Page
When the information displayed by a command is wider than the console screen, a "--More--" prompt is displayed at the bottom of the screen and the CLI waits for a user entry.
xg# show running-config ! interface port 0
: :
(The rest is omitted.)
:
--More--
Scrolling Up a Line
To scroll up one line, press the [Enter] key.
Scrolling Up a Page
To scroll up one page, press the [Space] bar.
Finishing Displaying
To finish displaying, press the [q] or [Q] key.
The following table shows the combinations of shortcut keys, function keys or the [Ctrl] key used to edit commands.
18/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
Combinations of keys Description
"" or [Ctrl] + [P]
Recalls the previous command.
"" or [Ctrl] + [N]
Recalls the next command.
"" or [Ctrl] + [B]
Moves the cursor back one character.
"" or [Ctrl] + [F]
Moves the cursor forward one character. [Home] or [Ctrl]+[A] Moves the cursor to the first character in line. [End] or [Ctrl]+[E] Moves the cursor to the last character in line. [Esc] + [B] Moves the cursor back one word (to the beginning of a
parameter). [Esc] + [F] Moves the cursor forward one word (to the beginning of a
parameter). [Backspace] Erases the character to the left of the cursor and moves the
cursor back one character. [Delete] or [Ctrl]+[D] Deletes the character to the right of the cursor. [Ctrl]+[W] Records the character to the left of the cursor before
deleting. [Ctrl]+[U] Records the command line before deleting. [Ctrl]+[K] Records all characters to the left of the cursor before
deleting. [Ctrl]+[Y] Pastes a string recorded by [Ctrl]+[W], [U] or [K]. [Ctrl]+[L] Erases the current screen. [Ctrl]+[C] Runs command result and aborts output. [Enter], [Ctrl]+[J], or [Ctrl]+[M] Completes a command entry. [Ctrl]+[T] Transposes the character located at the cursor with the
character to the left of the cursor.
If any of the above key combinations or command completion using the [TAB] key does not take effect, VT100, VT200 or xterm may not be selected for the terminal type.
2.2.7 Command History
Command history is a function that records command lines you have entered so that you can reuse them. It is useful for repeatedly entering the same command line or for entering a similar command.
To display the previous command line in the history:
Press the up arrow key or [Ctrl]+[P] to recall the previous command in the history to the prompt. Repeat the key sequence to recall successively older commands.
To display a more recent command line:
Press the down arrow key or [Ctrl]+[N] to bring up the next line from the command history to the prompt. Repeat the key sequence to bring up successively more recent commands.
To list the command history:
Use the "show history" command to view the list of commands saved in the history: For each login up to 100 lines of command history can be registered.
2.2.8 Aborting Command
An executing command can be aborted by pressing the [Ctrl]+[C]. Note that this key sequence may not be effective for some commands.
2.2.9 No Form of Commands
Almost every configuration command has a no form. In general, the no form is used to cancel the settings with a configuration command or restore default values. Type "no" before entering a command name. For details of parameters and meanings that differ depending on commands, refer to " Command Reference".
19/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
2.2.10 Filtering show Command Output
This function allows you to filter show command outputs to extract the lines that satisfy specific conditions (filter for strings). This function is useful in excluding unnecessary information from a large amount of output. To use it, a "show" command must be followed by a keyword (pipe (|), begin, include or exclude) and a regular expression (filtering condition).
Syntax
show       | {begin | include | exclude} regular-expression
Keyword for filtering output Meaning
begin
Begins output starting at the first line that matches given regular expression parameters.
exclude
Displays output lines that do not contain those lines that match given regular expression parameters.
include
Displays output lines that match given regular expression parameters.
xg# show history | begin 2 ...skipping 2 configure terminal 3 show running-config 4 show history 5 show history | begin 2
xg# show history | exclude 2 1 enable 3 show users 4 show history
xg# show history | include 2 2 configure terminal 5 show history | begin 2
Regular expressions are case sensitive. For example, if you enter "| exclude strings", lines that include "String" are output, but those that include "strings" are not.
2.2.11 Redirecting show Command Output
You can redirect the output of "show" commands to a file in volatile memory using ">" or "| redirect".
Syntax (To redirect the output of a show command to a file in volatile memory:)
show       > FILE-NAME show       | redirect FILE-NAME
FILE-NAME
Specify a file name in the volatile memory to which the output of the command is redirected.
"| tftp" allows you to directly redirect the output of a show command to a file in a TFTP server.
Syntax (To directly redirect the output of a show command to a file in a TFTP server:)
show       | tftp HOST REMOTE-FILE  HOST
Specify a host name or IP address of the TFTP server.
REMOTE-FILE
Specify the file name in the TFTP server to which the output of the command is redirected.
In the following example, the current startup-config is redirected as filename "startup_09302005", the running-config file is redirected as filename "running_09302005", and system information is redirected as filename "system_09302005". The results of the redirection are confirmed with the "ls" command. Then, using the "tftp" command, each of these files is moved to the TFTP server.
xg# show startup-config > startup_09302005 xg# show running-config > running_09302005 xg# show system information > system_09302005 xg# ls
(ls command output)
Update-time File-size File-name
- 2005/09/30 11:57:27 872 system_09302005
- 2005/09/30 11:54:01 2,310 startup_09302005
- 2005/09/30 11:55:58 2,437 running_09302005 xg# tftp put remote-host1 startup_09302005 restore_startup_09302005
xg# tftp put remote-host1 running_09302005 restore_running_09302005 xg# tftp put remote-host1 system_09302005 restore_system_09302005
In the following example, show command output is directly redirected to TFTP server "remote-host1" using "| tftp".
xg# show startup-config | tftp remote-host1 restore_ startup_09302005 xg# show running-config | tftp remote-host1 restore_running_09302005 xg# show system information | tftp remote-host1 restore_system_09302005
20/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
2.2.12 Displaying using monitor Command
For screens that are displayed using the monitor screen, you can perform operations, such as update and move, via specific keys. The following table shows the keys used to perform screen-related operations.
Displayed item Meaning
ESC:exit Press the [Esc] key to close the monitor screen. F:refresh Press the [F] or [f] key to refresh the screen. U:page up Press the [U] or [u] key to scroll up to the previous page.
If the current page contains all lines, this item will not appear.
D:page down Press the [U] or [u] key to scroll up to the next page.
If the current page contains all lines, this item does not appear.
L:page left Press the [L] or [l] key to scroll the screen to the left.
If the current page contains all columns, this item will not appear.
R:page right Press the [R] or [r] key to scroll the screen to the right.
If the current page contains all columns, this item will not appear.
21/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
Chapter 3 Installation
This chapter describes the installation procedures for the XG700. Refer to "Using the CLI
" for details on using CLI.
Refer to "Command Reference" for details on commands.
22/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
3.1 Workflow to Prepare the XG700
This section describes the procedures to setup the XG700
1. Prepare an operation terminal
Prepare a terminal for the configuration.
2. Setting Up Serial Interface
Connect the XG700 and terminal with an RS232C cable. The initial setting of baud rate is 9,600bps.
3. Turn on the XG700 to start the system.
Turn on the terminal and the XG700 to start the system.
4. Configure Management LAN Interface
The initial setting of management LAN interface is disabled. To use the following functions, set up the management LAN interface.
Telnet connection
SNMP manager connection
System log transmission
Time synchronization using an NTP server
Configuration file upload/download
Firmware update
Collection of maintenance information
5. Telnet Connection via Management LAN Interface (Optional)
The initial setting of the Telnet connection via management LAN interface is disabled. Enable telnet connection if necessary.
6. SNMP Configuration (Optional)
The initial setting of SNMP agent configuration is not set. Set the SNMP configuration as needed.
7. This is the end of the preparation procedure
Proceed to setting switches.
3.1.1 Setting Up Serial Interface
Connect the XG700 and terminal with an RS232C cable. The initial setting of baud rate is 9,600bps. Refer to "Operating Environment for CLI
" for details on settings.
For serial interface settings, only baud rate can be changed. To change the serial interface settings, carry out the following procedure.
Command Task
xg login: admin Password: ********
Log in to the XG700 frame the serial terminal. The default user name is "admin". The default password is "password".
xg> enable
Switch to administrator EXEC mode.
xg# configure terminal
Switch to global configuration mode.
xg(config)# line console
Switch to serial terminal edit mode.
xg(config-line)# baud-rate {9600 | 19200 | 38400 | 57600}
Change serial baud rate. The baud rate is changed after the logout.
xg(config-line)# exit
Exit to global configuration mode.
xg(config)# terminal timeout console MINUTES
(Optional) Set a monitoring period (in minutes) during which the serial connection remains idle.
xg(config-line)# exit
Exit to global configuration mode.
xg(config)# exit
Exit to administrator EXEC mode.
23/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
3.1.2 Configure Management LAN Interface
The management LAN interface is initially disabled. To use the following functions, configure the management LAN interface.
Telnet connection
SNMP manager connection
System log transmission
Time synchronization using an NTP server
Configuration file upload/download
Firmware update
Collection of maintenance information
To configure the management LAN interface, carry out the following procedure.
Command Task
xg login: admin Password: ********
Log in to the XG700 from the serial terminal. The default user name is "admin". The default password is "password."
xg> enable
Switch to administrator EXEC mode.
xg# configure terminal
Switch to global configuration mode.
xg(config)# management-lan ip A.B.C.D/M [ default-gw A.B.C.D]
Set the IP address, subnet, and default gateway of the management LAN interface.
xg(config)# management-lan dns-server A.B.C.D
(Optional) Set up DNS servers. Up to 4 DNS servers can be set up. Priority is assigned to DNS servers in the order they are defined. To change their order, delete them using no command before doing so.
xg(config)# management-lan domain DOMAIN-NAME
(Optional) Set the name of the network domain.
xg(config)# remote-host A.B.C.D HOST-NAME
(Optional) Register the remote host name and IP address with the associated table. This allows you to specify a remote IP address using a host name without relying on a DNS server.
xg(config)# exit
Exit to administrator EXEC mode.
3.1.3 Telnet Connection via Management LAN Interface (Optional)
The "Telnet server function" via management LAN interface is initially disabled. To set up Telnet connection, carry out the following procedure in the administrator EXEC mode.
Command Task
xg# configure terminal
Switch to global configuration mode.
xg(config)# telnet-server
Enable Telnet connection,
xg(config)# terminal timeout vty <0-60>
(Optional) Set a monitoring period (in minutes) during which the Telnet connection remains idle.
xg(config)# exit
Exit to administrator EXEC mode.
3.1.4 SNMP Configuration (Optional)
To operate in conjunction with an SNMP manager, the SNMP agent must be configured. To configure the SNMP agent, carry out the following procedures in the administrator EXEC mode.
Command Task
xg# configure terminal
Switch to global configuration mode.
xg(config)# hostname HOST-NAME xg(config)# snmp-server location SYSTEM-LOCATION xg(config)# snmp-server contact SYSTEM-CONTACT
Set the system name (HOST-NAME), system's location (SYSTEM-LOCATION), and contact (SYSTEM-CONTACT).
xg(config)# snmp-server access host {A.B.C.D|HOSTNAME} community COMMUNITY-NAME
Set the IP address (host name) from which the SNMP manager can access the host and community name.
xg(config)# snmp-server trap host {A.B.C.D|HOSTNAME} community COMMUNITY-NAME [protocol {v1|v2c}]
Set the IP address (host name) of the host that is notified of SNMP traps and community name, if SNMP trap notification is enabled.
xg(config)# exit
Exit to administrator EXEC mode.
24/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
3.2 10GBASE-CX4 Cable Connection
The switch chip installed in this device is incorporated with an equalizer that optimizes Rx signals. The use of up to 15m of cable becomes possible by using this function.
3.2.1 Rx Signal Equalizer
The equalizer incorporated in the switch chip installed in this device automatically optimizes Rx signals. Optimization is performed every time a signal is detected. The optimization of Rx signals makes the use of 15m of cable possible.
3.2.2 Precautions During Linkup
It takes about 15 seconds to complete signal optimization, and then link becomes up.
25/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
Chapter 4 Functions and Procedures for Setting
Functions
This chapter describes the functions of the XG700 and how to set the functions. Refer to "Operating Environment for CLI
" for details on using CLI.
Refer to "Command Reference" for details on commands.
26/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
4.1 Basic Switch Functions
This section describes the basic switch functions.
4.1.1 Switching Mode
The XG700 provides the following two switching modes.
Store-and-forward switching mode
After the XG700 has finished receiving a frame, it checks the FCS (Frame Check Sequence) and performs a validity check (on packet size, etc.) before forwarding the frame. If the switch receives a frame with an error frame, it discards it.
Cut-through switching mode
The XG700 transmits the frame to the destination as soon as the first 64 bytes of the frame are received with no errors. Since the XG700 starts transmitting the frame before it has received the entire frame, this mode allows forwarding at low latency.
To change the switching modes, carry out the following procedures in the administrator EXEC mode.
Command Task
xg# configure terminal
Switch to global configuration mode.
xg(config)# bridge forward-mode {cut-through | store-and-forward }
xg(config)# no bridge forward-mode
Select the cut-through (or store-and-forward) for the switching mode.
xg(config)# exit
Exit to administrator EXEC mode.
4.1.2 MAC Address Table Management
MAC address table is a database used for managing the association between address information and destination ports. The XG700 can learn up to 8912 entries of MAC addresses.
MAC address table management
The XG700 has two management methods for MAC address table management.
SVL(Shared VLAN Learning)
The XG700 learns MAC addresses common to all VLANs. Different VLAN with identical MAC addresses are treated as identical entries.
IVL(Independent VLAN Learning)
The XG700 learns MAC addresses separately for each VLAN. Identical MAC addresses with different VLANs
are treated as separate entries. To change the MAC address table management modes, carry out the following procedures in the management EXEC mode.
Command Task
xg# configure terminal
Switch to the global configuration mode.
xg(config)# bridge learn-mode { ivl | svl }
xg(config)# no bridge learn-mode
Select IVL or SVL for the MAC address table management mode.
xg(config)# exit
Exit to administrator EXEC mode.
xg# copy running-config startup-config
Save the current settings of the XG700 to nonvolatile memory.
xg# reset
If the MAC address table management mode is changed, the new setting becomes enables after the XG700 is restarted.
Dynamic MAC address learning
The XG700 dynamically learns MAC addresses from a received frame. If MAC addresses are not uploaded for a period by the aging function, they will be removed frame MAC address table. To disable the dynamic learning, carry out the following procedures in the administrator EXEC mode.
Command Task
xg# configure terminal
Switch to global configuration mode.
xg(config)# interface port 1 2 3
xg(config)# interface port range 1 3
Switch to the interface edit mode for the port for which you want to change the configuration. In this example, the global interface configuration mode is selected for ports 1 through 3.
xg(config-if)# suppress-address-learning
xg(config-if)# no suppress-address-learning
Disable (or enable) the dynamic MAC address learning.
xg(config-if)# exit
Exit to global configuration mode.
xg(config)# exit
Exit to administrator EXEC mode.
27/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
Static unicast address
By registering a unicast MAC address to which a frame is forwarded with the MAC address table, you can forward a specific unicast frame to a specified port. Static unicast addresses are not subject to MAC address removal controlled by aging function. To register, change or delete a static unicast address, carry out the following procedures in the administrator EXEC mode.
Command Task
xg# configure terminal
Switch to global configuration mode.
xg(config)# bridge mac-address-table static MAC [vlan <1-4094>] {[port <1-12>] | [agg-port <1-6>]}
xg(config)# no bridge mac-address-table static MAC [vlan <1-4094>]
Register a static unicast address and destination port with the MAC address table (or remove them from it).
xg(config)# exit
Exit to administrator EXEC mode.
Static multicast address
By registering a multicast MAC address to which a frame is forwarded with the MAC address table, you can forward a specific multicast frame to a designated port. To register, change or delete a multicast address, carry out the following procedures in the administrator EXEC mode.
Command Task
xg# configure terminal
Switch to global configuration mode.
xg(config)# bridge mac-address-table static MAC [vlan <1-4094>] [port <1-12> [<1-12>    ]] [agg-port <1-6> [<1-6>   ]]
xg(config)# no bridge mac-address-table static MAC [vlan <1-4094>]
Register (or remove) a static multicast address table and destination port. For a multicast MAC address, multiple ports can be specified.
xg(config)# exit
Exit to administrator EXEC mode.
4.1.3 Jumbo Frame Support
The XG700 can transmit jumbo frames of up to 15KB (15360 bytes). To configure jumbo frame support, carry out the following procedure in the administrator EXEC mode.
Command Task
xg# configure terminal
Switch to global configuration mode.
xg(config)# bridge jumbo-frame [{9216 | 12288 | 15360}]
xg(config)# no bridge jumbo-frame
Enable (or disable) jumbo frame support.
xg(config)# exit
Exit to administrator EXEC mode.
If the maximum jumbo frame size is set to 15360, flow control is set to "only-receive" and unable to be set to
"send-receive".
4.1.4 Flow Control
Flow control is a function to prevent frame loss when the receive buffer in the switch overflows due to temporary traffic overload by using a PAUSE frame. When XG700 has received a PAUSE frame, it temporarily stops sending frames at the receive port. If space in the receive buffer runs out, it is possible to restrict frame transmission from the connected device by sending a PAUSE frame. For each port, it is possible to select whether or not to send a PAUSE frame. Select the mode depending on whether the destination can control a PAUSE frame. To change the flow control mode, carry out the following procedures in the administrator EXEC mode.
Command Task
xg# configure terminal
Switch to global configuration mode.
xg(config)# interface port 1 2 3
xg(config)# interface port range 1 3
Switch to the interface edit mode for the port for which you want to change the flow control mode. In this example, the global interface configuration mode is selected for ports 1 through 3.
xg(config-if)# flowcontorol { only-receive | send-receive }
Set the flow control mode.
xg(config-if)# exit
Exit to global configuration mode.
xg# exit
Exit to administrator EXEC mode.
If the maximum jumbo frame size is set to 15360, flow control is set to "only-receive" and unable to be set to
"send-receive".
28/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
4.1.5 Storm Control
The XG700 discards broadcast frames when the number of received broadcast frames is over a given threshold to prevent unnecessary waste of bandwidth due to retained broad cast frames on the network. This function is called "Storm Control". For each port, it is possible to configure storm control. When broadcast frames are discarded by Storm Control, error logs are output, after which storm control logging is disabled. To re-enabled logging, violations must be cleared with "clear violation". To configure Storm Control, carry out the following procedures in the administrator EXEC mode.
Command Task
xg# configure terminal
Switch to global configuration mode.
xg(config)# interface port 1 2 3
xg(config)# interface port range 1 3
Switch to the interface edit mode for the port for which you want to change the flow control mode. In this example, the global interface configuration mode is selected for ports 1 though 3.
xg(config-if)# storm-control
Enable storm control.
xg(config-if)# exit
Exit to global configuration mode.
xg# exit
Exit to administrator EXEC mode.
4.1.6 Port Security
Port security blocks connections attempted by unregistered hosts. When a host MAC address is registered, the XG700 receives only those frames that use permitted MAC addresses as source address. For each port, it is possible to configure port security. To register a MAC address for a host, use the "bridge mac-address-table static". The port to which the host is connected must be registered as a member port. In Independent VLAN Learning mode, this must be done for all VLANs that permit transmission. Either of the following two modes can be specified for a security-violating (unregistered) frame the XG700 receives.
Restrict mode
Filters violating frames only, forwarding permitted frames.
Shutdown mode
Filters all frames upon reception of a violating frame.
Once a security violation is detected, an error log is recorded. No further detection of a violating frame will cause an error log to be recorded until security violations are reset by "clear violation". To configure Port Security, carry out the following procedures in the administrator EXEC mode.
Command Task
xg# configure terminal
Switch to global configuration mode.
xg(config)# interface port 1 2 3
xg(config)# interface port range 1 3
Switch to the interface edit mode for the port for which you want to change the flow control mode. In this example, the global interface configuration mode is selected for ports 1 though 3.
xg(config-if)# port-security violation {restrict | shutdown}
Enable Port Security.
xg(config_if)# clear violation
Clear security violations.
xg(config-if)# exit
Exit to global configuration mode.
xg# exit
Exit to administrator EXEC mode.
4.1.7 Ingress Rate Control
It is possible to set ingress rate limiting value for each port in approximately 40Mbps increments. To set an ingress rate limiting value, carry out the following procedures in the administrator EXEC mode.
Command Task
xg# configure terminal
Switch to global configuration mode.
xg(config)# interface port 1 2 3
xg(config)# interface port range 1 3
Switch to the interface edit mode for the port for which you want to change the flow control mode. In this example, the global interface configuration mode is selected for ports 1 though 3.
xg(config-if)# ingress-bandwidth <40-10000>
Specify an ingress rate limiting value.
xg(config-if)# exit
Exit to global configuration mode.
xg# exit
Exit to administrator EXEC mode.
The ingress rate is measured at 100us time intervals. Should burst transfer take place at intervals of 100us or over, the ingress rate the XG700 actually allows may be less than the specified value.
29/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
4.2 Port Mirroring
It is possible to monitor the traffic by mirroring the frames sent or received by a port. To configure Port Mirroring, carry out the following procedure in the administrator EXEC mode.
Command Task
xg# configure terminal
Switch to global configuration mode.
xg(config)# mirror monitored-port <1-12> [rx-mirroring-port <1-12>] [tx-mirroring-port <1-12>]
Configure the ports to be monitored and mirror ports.
xg(config)# exit
Exit to administrator EXEC mode.
xg# show mirror
View the status of port mirroring.
30/266
A
ll Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
4.3 Link Pass Through
Link Pass Through is a function that monitors the status of a link for a specified port and notifies the device connected to a port (to which a link status notification is sent) of the link status of a monitored port by synchronizing the monitored port with the link status of that port.
This function allows the XG700 to notify the port to which link status notification is sent of a link fault if it is detected in a monitored port. Link pass through indicates the link fault status to the other port by sending a remote fault (RF) signal, as prescribed in IEEE802.3ae LFS (Link Fault Signaling). When the link status of the monitored port is restored to normal, the other port is also restored to normal, the network line having been recovered. To configure Link Pass Through, carry out the following procedure in the administrator EXEC mode.
Command Task
xg# configure terminal
Switch to global configuration mode.
xg(config)# link-pass-through { monitored-port <1-12> | monitored-agg-port <1-6>} [domino-port <1-12> [<1-12>   ]] [domino-agg-port <1-6> [<1-6>   ]]
Set the relationship between the ports to be monitored and ports to which link status notification is sent.
xg(config)# exit
Exit to administrator EXEC mode.
Loading...
+ 236 hidden pages