Fujitsu Xg Series P3Nk 4452 01Enzd Users Manual User’s Guide

2015-01-25

: Fujitsu Fujitsu-Xg-Series-P3Nk-4452-01Enzd-Users-Manual-218572 fujitsu-xg-series-p3nk-4452-01enzd-users-manual-218572 fujitsu pdf

Open the PDF directly: View PDF PDF.
Page Count: 614

DownloadFujitsu Fujitsu-Xg-Series-P3Nk-4452-01Enzd-Users-Manual- XG Series User’s Guide  Fujitsu-xg-series-p3nk-4452-01enzd-users-manual
Open PDF In BrowserView PDF
User’s Guide
Introduction

P3NK-4452-01ENZ0

       Series
User's Guide

XG Series User's Guide

Preface
You have purchased the XG series, a compact, layer 2 switch that achieves unsurpassed
standards of high throughput and low-latency performance.
This guide describes the XG series (XG0224 / XG0448 / XG2600) functions, installation procedures, configuration operations, and maintenance procedures and should be read and understood before you start using your XG series.
First edition: February 2011

This manual contains the technology regulated by "Foreign Exchange and Foreign Trade Control Law."
Therefore when this manual is exported or provided to a nonresident, the appropriate permission based on this law is
required.
Screenshots are used according to the guidelines provided by Microsoft Corporation.
Copyright FUJITSU LIMITED 2011

2

XG Series User’s Guide

Contents

Contents
Preface ................................................................................................................................................................2
Organization and Usage of This Manual ..........................................................................................................16
Target Readers and Required Knowledge ............................................................................................................... 16
Areas Covered .......................................................................................................................................................... 16
Trademark Notification in This Manual .................................................................................................................. 17
How the Manuals for This Device Are Organized .................................................................................................. 18

End User's License Agreement .........................................................................................................................19

Chapter 1
1.1

Features and Functions......................................................................... 22

Hardware Specifications ........................................................................................................................23
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5

1.2

Software Specifications .........................................................................................................................30
1.2.1
1.2.2
1.2.3

Chapter 2
2.1

Overview of the CLI ..............................................................................................................................38
Operating Environment for the CLI ......................................................................................................... 38
Command Modes and Mode Switching ................................................................................................... 39
2.1.2.1 Command Operation Procedure ............................................................................................... 39
2.1.2.2 Executable commands .............................................................................................................. 42

Using the CLI .........................................................................................................................................43
2.2.1

2.2.2
2.2.3

Chapter 3
3.1

Software Specifications ............................................................................................................................ 30
Initial Values ............................................................................................................................................ 32
System Maximum Values ........................................................................................................................ 34

Using the CLI .......................................................................................... 37

2.1.1
2.1.2

2.2

Switch Specifications ............................................................................................................................... 23
Option ....................................................................................................................................................... 25
10/100/1000BASE-T Port Specifications ................................................................................................ 28
USB Port Specifications ........................................................................................................................... 29
Console Port Specifications ..................................................................................................................... 29

Using the Shell Function .......................................................................................................................... 43
2.2.1.1 Command execution function .................................................................................................. 43
2.2.1.2 Entry editing function .............................................................................................................. 43
2.2.1.3 Command name autocomplete function .................................................................................. 44
2.2.1.4 Command argument autocomplete function ............................................................................ 46
2.2.1.5 Abbreviated command entry function ...................................................................................... 46
2.2.1.6 Command alias function .......................................................................................................... 46
2.2.1.7 Configuration hierarchy function ............................................................................................. 47
2.2.1.8 Time of command execution display function ......................................................................... 48
2.2.1.9 Command history function ....................................................................................................... 48
2.2.1.10 List of shell key bindings ......................................................................................................... 52
Error Messages Common to All Commands ........................................................................................... 53
Characters that can be entered ................................................................................................................. 54

Installation .............................................................................................. 55

Workflow for Initial Setup of the Device ..............................................................................................56
3.1.1
3.1.2
3.1.3

Configure LAN Interface ......................................................................................................................... 57
Telnet Connection via the LAN Interface (Optional) .............................................................................. 57
SNMP Configuration (Optional) .............................................................................................................. 58

3

XG Series User’s Guide

Chapter 4
4.1

Contents

Switch Functions and their Configuration........................................... 59

Basic Switch Functions ..........................................................................................................................61
4.1.1
4.1.2
4.1.3
4.1.4
4.1.5
4.1.6

4.2
4.3
4.4

Port Mirroring ........................................................................................................................................65
Link Down Relay ...................................................................................................................................66
Link Aggregation ...................................................................................................................................67
4.4.1
4.4.2
4.4.3
4.4.4

4.5

Registering Group Members .................................................................................................................... 78
Removing Group Members ...................................................................................................................... 79
Managing Group Members ...................................................................................................................... 80
IGMP Querier .......................................................................................................................................... 81
Configuring IGMP Snooping ................................................................................................................... 82

Network Management ............................................................................................................................83
4.9.1
4.9.2
4.9.3

Chapter 5
5.1

Port-Based VLAN .................................................................................................................................... 74
Tag-Based (IEEE802.1Q) VLAN ............................................................................................................ 75

Quality of Service (QoS) .......................................................................................................................76
IGMP Snooping .....................................................................................................................................77
4.8.1
4.8.2
4.8.3
4.8.4
4.8.5

4.9

Port Roles Based on Spanning Tree ......................................................................................................... 72
Spanning Tree Protocol Port States ......................................................................................................... 72
Configuring Spanning Tree ...................................................................................................................... 73

VLAN ....................................................................................................................................................74
4.6.1
4.6.2

4.7
4.8

Configuring Link Aggregation ................................................................................................................. 68
Frame Distribution Methods in Link Aggregation .................................................................................. 69
The Number of Ports That Require Linkup ............................................................................................. 70
Notes on Link Aggregation ...................................................................................................................... 70

Spanning Tree Protocol (STP) ...............................................................................................................71
4.5.1
4.5.2
4.5.3

4.6

Switching Mode (XG2600) ...................................................................................................................... 61
MAC Address Table Management .......................................................................................................... 62
Jumbo Frame Support .............................................................................................................................. 63
Flow Control ............................................................................................................................................ 63
Storm Control ........................................................................................................................................... 63
Egress Rate Control (XG2600 Only) ....................................................................................................... 64

Traffic Statistics ....................................................................................................................................... 83
SNMP Agent ............................................................................................................................................ 83
RMON ...................................................................................................................................................... 84

Command Reference ............................................................................. 85

Port Information Settings .......................................................................................................................89
5.1.1

Ethernet Common Information ................................................................................................................ 90
5.1.1.1 forwardingmode ....................................................................................................................... 90
5.1.1.2 ether use ................................................................................................................................... 91
5.1.1.3 ether media ............................................................................................................................... 92
5.1.1.4 ether mode ................................................................................................................................ 93
5.1.1.5 ether duplex .............................................................................................................................. 94
5.1.1.6 ether mdi .................................................................................................................................. 95
5.1.1.7 ether flowctl ............................................................................................................................. 96
5.1.1.8 ether type .................................................................................................................................. 97
5.1.1.9 ether vlan tag .......................................................................................................................... 100
5.1.1.10 ether vlan untag ...................................................................................................................... 101
5.1.1.11 ether egress permission .......................................................................................................... 102
5.1.1.12 ether loopdetect use ................................................................................................................ 102
5.1.1.13 ether loopdetect frame ............................................................................................................ 103
5.1.1.14 ether startup ............................................................................................................................ 104

4

XG Series User’s Guide

5.1.2
5.1.3

5.1.4

5.1.5

5.1.6

5.1.7
5.1.8

5.1.9

5.1.10

5.2

Contents

5.1.1.15 ether recovery limit ................................................................................................................ 105
5.1.1.16 ether downrelay port .............................................................................................................. 106
5.1.1.17 ether downrelay recovery mode ............................................................................................. 107
5.1.1.18 ether downrelay recovery cause ............................................................................................. 108
5.1.1.19 ether description ..................................................................................................................... 109
5.1.1.20 linkaggregation algorithm ...................................................................................................... 110
5.1.1.21 linkaggregation mode ............................................................................................................. 111
5.1.1.22 linkaggregation type ............................................................................................................... 112
5.1.1.23 linkaggregation collecting minimum ..................................................................................... 113
5.1.1.24 linkaggregation icmpwatch address ....................................................................................... 114
5.1.1.25 linkaggregation icmpwatch interval ....................................................................................... 115
5.1.1.26 linkaggregation downrelay port ............................................................................................. 116
5.1.1.27 linkaggregation downrelay recovery mode ............................................................................ 117
5.1.1.28 linkaggregation downrelay recovery cause ............................................................................ 118
5.1.1.29 linkaggregation description .................................................................................................... 119
5.1.1.30 backup mode .......................................................................................................................... 120
5.1.1.31 backup standby ....................................................................................................................... 121
MAC Information .................................................................................................................................. 122
5.1.2.1 ether mac storm ...................................................................................................................... 122
STP Information ..................................................................................................................................... 124
5.1.3.1 ether stp use ............................................................................................................................ 124
5.1.3.2 ether stp domain cost .............................................................................................................. 125
5.1.3.3 ether stp domain priority ........................................................................................................ 126
5.1.3.4 ether stp force-version ............................................................................................................ 127
LLDP Information .................................................................................................................................. 128
5.1.4.1 ether lldp mode ....................................................................................................................... 128
5.1.4.2 ether lldp info ......................................................................................................................... 129
5.1.4.3 ether lldp vlan ......................................................................................................................... 131
5.1.4.4 ether lldp notification ............................................................................................................. 131
Filter Information ................................................................................................................................... 132
5.1.5.1 ether macfilter ........................................................................................................................ 132
5.1.5.2 ether macfilter move .............................................................................................................. 136
QoS Information .................................................................................................................................... 137
5.1.6.1 ether qos aclmap ..................................................................................................................... 137
5.1.6.2 ether qos aclmap move ........................................................................................................... 142
5.1.6.3 ether qos priority .................................................................................................................... 143
5.1.6.4 ether qos mode ....................................................................................................................... 144
5.1.6.5 ether qos prioritymap ............................................................................................................. 145
LACP Information ................................................................................................................................. 146
5.1.7.1 ether lacp port-priority ........................................................................................................... 146
ether L3 Monitor Information ................................................................................................................ 147
5.1.8.1 ether icmpwatch address ........................................................................................................ 147
5.1.8.2 ether icmpwatch interval ........................................................................................................ 148
ether SNMP Information ........................................................................................................................ 149
5.1.9.1 ether snmp trap linkdown ....................................................................................................... 149
5.1.9.2 ether snmp trap linkup ............................................................................................................ 150
ether output rate control information ..................................................................................................... 151
5.1.10.1 ether ratecontrol ..................................................................................................................... 151

LACP Information Settings .................................................................................................................152
5.2.1

LACP Information ................................................................................................................................. 152
5.2.1.1 lacp system-priority ................................................................................................................ 152
5.2.1.2 lacp bpdu ................................................................................................................................ 153

5

XG Series User’s Guide

5.3

VLAN Information Settings ................................................................................................................154
5.3.1

5.3.2

5.3.3

5.3.4

5.4

VLAN Common Information ................................................................................................................. 154
5.3.1.1 vlan name ............................................................................................................................... 154
5.3.1.2 vlan protocol .......................................................................................................................... 155
5.3.1.3 vlan forward ........................................................................................................................... 158
5.3.1.4 vlan description ...................................................................................................................... 159
IGMP Snooping Information ................................................................................................................. 160
5.3.2.1 vlan igmpsnoop router ........................................................................................................... 160
5.3.2.2 vlan igmpsnoop querier .......................................................................................................... 161
5.3.2.3 vlan igmpsnoop source ........................................................................................................... 162
5.3.2.4 vlan igmpsnoop proxy ............................................................................................................ 163
Filter Information ................................................................................................................................... 164
5.3.3.1 vlan macfilter ......................................................................................................................... 164
5.3.3.2 vlan macfilter move ............................................................................................................... 169
5.3.3.3 vlan ip6filter ........................................................................................................................... 170
5.3.3.4 vlan ip6filter move ................................................................................................................. 172
QoS Information .................................................................................................................................... 173
5.3.4.1 vlan qos aclmap ...................................................................................................................... 173
5.3.4.2 vlan ip6qos aclmap ................................................................................................................. 178
5.3.4.3 vlan ip6qos aclmap move ....................................................................................................... 180

MAC Information ................................................................................................................................181
5.4.1

5.5

Contents

MAC Information .................................................................................................................................. 181
5.4.1.1 mac learning ........................................................................................................................... 181
5.4.1.2 mac age .................................................................................................................................. 182

LAN Information Settings ...................................................................................................................183
5.5.1

5.5.2

5.5.3
5.5.4
5.5.5

IPv4 Related Information ....................................................................................................................... 183
5.5.1.1 lan description ........................................................................................................................ 183
5.5.1.2 lan ip address .......................................................................................................................... 184
5.5.1.3 lan ip route ............................................................................................................................. 185
5.5.1.4 lan ip filter .............................................................................................................................. 186
5.5.1.5 lan ip filter move .................................................................................................................... 191
5.5.1.6 lan ip dscp .............................................................................................................................. 192
5.5.1.7 lan ip dscp move .................................................................................................................... 196
5.5.1.8 lan ip arp static ....................................................................................................................... 197
IPv6 Related Information ....................................................................................................................... 198
5.5.2.1 lan ip6 use .............................................................................................................................. 198
5.5.2.2 lan ip6 ifid .............................................................................................................................. 198
5.5.2.3 lan ip6 address ........................................................................................................................ 199
5.5.2.4 lan ip6 ra mode ....................................................................................................................... 199
5.5.2.5 lan ip6 route ........................................................................................................................... 200
5.5.2.6 lan ip6 filter ............................................................................................................................ 201
5.5.2.7 lan ip6 filter move .................................................................................................................. 203
5.5.2.8 lan ip6 dscp ............................................................................................................................ 204
5.5.2.9 lan ip6 dscp move .................................................................................................................. 206
VLAN Related Information ................................................................................................................... 207
5.5.3.1 lan vlan ................................................................................................................................... 207
LLMNR Related Information ................................................................................................................ 208
5.5.4.1 lan llmnr use ........................................................................................................................... 208
Management LAN port IPv4 Related Information ................................................................................ 209
5.5.5.1 oob ip address ......................................................................................................................... 209
5.5.5.2 oob ip route ............................................................................................................................ 210

6

XG Series User’s Guide

5.5.6

5.5.7

5.6

IGMP Snooping Information ................................................................................................................. 228
5.10.1.1 igmpsnoop use ........................................................................................................................ 228
5.10.1.2 igmpsnoop localgroup ............................................................................................................ 228
5.10.1.3 igmpsnoop unknown flooding ............................................................................................... 229

Loop Detection Information Settings ..................................................................................................230
5.11.1

5.12

LLDP Information .................................................................................................................................. 225
5.9.1.1 lldp send interval .................................................................................................................... 225
5.9.1.2 lldp send hold ......................................................................................................................... 226
5.9.1.3 lldp reinit delay ...................................................................................................................... 226
5.9.1.4 lldp notification interval ......................................................................................................... 227

IGMP Snooping Information Settings .................................................................................................228
5.10.1

5.11

STP Information ..................................................................................................................................... 217
5.8.1.1 stp mode ................................................................................................................................. 217
5.8.1.2 stp age .................................................................................................................................... 218
5.8.1.3 stp delay ................................................................................................................................. 219
5.8.1.4 stp hello .................................................................................................................................. 220
5.8.1.5 stp bpdu .................................................................................................................................. 221
5.8.1.6 stp domain priority ................................................................................................................. 222
5.8.1.7 stp config_id ........................................................................................................................... 223
5.8.1.8 stp domain vlan ...................................................................................................................... 223
5.8.1.9 stp max-hops .......................................................................................................................... 224

LLDP Information Settings .................................................................................................................225
5.9.1

5.10

QoS Information .................................................................................................................................... 216
5.7.1.1 qos cosmap ............................................................................................................................. 216

STP Information ..................................................................................................................................217
5.8.1

5.9

IPv4 Related Information ....................................................................................................................... 215
5.6.1.1 ip arp age ................................................................................................................................ 215

QoS Information Settings ....................................................................................................................216
5.7.1

5.8

Management LAN port IPv6 Related Information ................................................................................ 211
5.5.6.1 oob ip6 use ............................................................................................................................. 211
5.5.6.2 oob ip6 ifid ............................................................................................................................. 211
5.5.6.3 oob ip6 address ....................................................................................................................... 212
5.5.6.4 oob ip6 ra mode ...................................................................................................................... 212
5.5.6.5 oob ip6 route .......................................................................................................................... 213
Management LAN port LLMNR Related Information .......................................................................... 214
5.5.7.1 oob llmnr use .......................................................................................................................... 214

IPv4 Related Information .....................................................................................................................215
5.6.1

5.7

Contents

Loop Detection Information ................................................................................................................... 230
5.11.1.1 loopdetect use ......................................................................................................................... 230
5.11.1.2 loopdetect portdisable ............................................................................................................ 231
5.11.1.3 loopdetect portblock ............................................................................................................... 231
5.11.1.4 loopdetect interval .................................................................................................................. 232
5.11.1.5 loopdetect recovery ................................................................................................................ 232

ACL Information Settings ...................................................................................................................233
5.12.1

ACL Information .................................................................................................................................... 233
5.12.1.1 acl mac ................................................................................................................................... 233
5.12.1.2 acl vlan ................................................................................................................................... 234
5.12.1.3 acl ip ....................................................................................................................................... 235
5.12.1.4 acl ip6 ..................................................................................................................................... 237
5.12.1.5 acl tcp ..................................................................................................................................... 238
5.12.1.6 acl udp .................................................................................................................................... 239
5.12.1.7 acl icmp .................................................................................................................................. 240
5.12.1.8 acl description ........................................................................................................................ 241

7

XG Series User’s Guide

5.13

AAA Information Settings ...................................................................................................................242
5.13.1
5.13.2

5.13.3

5.14

Group ID Information ............................................................................................................................ 243
5.13.1.1 aaa name ................................................................................................................................. 243
AAA User Information .......................................................................................................................... 244
5.13.2.1 aaa user id ............................................................................................................................... 244
5.13.2.2 aaa user password ................................................................................................................... 245
5.13.2.3 aaa user user-role ................................................................................................................... 246
RADIUS Information Settings ............................................................................................................... 247
5.13.3.1 aaa radius service ................................................................................................................... 247
5.13.3.2 aaa radius auth source ............................................................................................................ 248
5.13.3.3 aaa radius auth message-authenticator ................................................................................... 249
5.13.3.4 aaa radius client server-info auth secret ................................................................................. 250
5.13.3.5 aaa radius client server-info auth address .............................................................................. 251
5.13.3.6 aaa radius client server-info auth port .................................................................................... 252
5.13.3.7 aaa radius client server-info auth deadtime ............................................................................ 253
5.13.3.8 aaa radius client server-info auth priority .............................................................................. 254
5.13.3.9 aaa radius client server-info auth source ................................................................................ 255
5.13.3.10 aaa radius client retry ............................................................................................................. 256
5.13.3.11 aaa radius client security ........................................................................................................ 256

Password Information ..........................................................................................................................257
5.14.1
5.14.2
5.14.3
5.14.4
5.14.5

5.15

Contents

password format ..................................................................................................................................... 257
password admin set ................................................................................................................................ 258
password user set ................................................................................................................................... 260
password aaa .......................................................................................................................................... 261
password authtype .................................................................................................................................. 261

Device Information Settings ................................................................................................................262
5.15.1

SNMP Information ................................................................................................................................. 262
5.15.1.1 snmp service ........................................................................................................................... 262
5.15.1.2 snmp agent contact ................................................................................................................. 262
5.15.1.3 snmp agent sysname ............................................................................................................... 263
5.15.1.4 snmp agent location ............................................................................................................... 263
5.15.1.5 snmp agent address ................................................................................................................ 264
5.15.1.6 snmp agent engineid ............................................................................................................... 264
5.15.1.7 snmp manager ........................................................................................................................ 265
5.15.1.8 snmp trap coldstart ................................................................................................................. 266
5.15.1.9 snmp trap linkdown ................................................................................................................ 266
5.15.1.10 snmp trap linkup ..................................................................................................................... 267
5.15.1.11 snmp trap authfail ................................................................................................................... 267
5.15.1.12 snmp trap newroot .................................................................................................................. 268
5.15.1.13 snmp trap topologychange ..................................................................................................... 268
5.15.1.14 snmp trap noserror ................................................................................................................. 269
5.15.1.15 snmp trap lldpremtableschange .............................................................................................. 269
5.15.1.16 snmp rmon .............................................................................................................................. 270
5.15.1.17 snmp user name ...................................................................................................................... 270
5.15.1.18 snmp user address .................................................................................................................. 271
5.15.1.19 snmp user notification ............................................................................................................ 272
5.15.1.20 snmp user auth ....................................................................................................................... 273
5.15.1.21 snmp user priv ........................................................................................................................ 274
5.15.1.22 snmp user write ...................................................................................................................... 275
5.15.1.23 snmp user read ....................................................................................................................... 276
5.15.1.24 snmp user notify ..................................................................................................................... 277
5.15.1.25 snmp view subtree .................................................................................................................. 278

8

XG Series User’s Guide

5.15.2

5.15.3

5.15.4

5.15.5

5.15.6

5.15.7
5.15.8

Contents

System Log Information ........................................................................................................................ 280
5.15.2.1 syslog server address .............................................................................................................. 280
5.15.2.2 syslog server pri ..................................................................................................................... 281
5.15.2.3 syslog pri ................................................................................................................................ 282
5.15.2.4 syslog facility ......................................................................................................................... 282
5.15.2.5 syslog security ........................................................................................................................ 283
5.15.2.6 syslog dupcut .......................................................................................................................... 283
5.15.2.7 syslog command-logging ....................................................................................................... 284
5.15.2.8 syslog header .......................................................................................................................... 284
5.15.2.9 syslog source address ............................................................................................................. 285
Automatic Time Setting Information .................................................................................................... 286
5.15.3.1 time auto server ...................................................................................................................... 286
5.15.3.2 time auto interval ................................................................................................................... 287
5.15.3.3 time zone ................................................................................................................................ 287
5.15.3.4 time summer-time .................................................................................................................. 288
ProxyDNS Information .......................................................................................................................... 290
5.15.4.1 proxydns domain .................................................................................................................... 290
5.15.4.2 proxydns domain move .......................................................................................................... 292
5.15.4.3 proxydns address .................................................................................................................... 293
5.15.4.4 proxydns address move .......................................................................................................... 294
5.15.4.5 proxydns unicode ................................................................................................................... 294
Host Database Information .................................................................................................................... 295
5.15.5.1 host name ............................................................................................................................... 295
5.15.5.2 host ip address ........................................................................................................................ 295
5.15.5.3 host ip6 address ...................................................................................................................... 296
Schedule Information ............................................................................................................................. 297
5.15.6.1 schedule at .............................................................................................................................. 297
5.15.6.2 schedule syslog ...................................................................................................................... 298
Filter/QoS Resource Information ........................................................................................................... 299
5.15.7.1 resource filter distribution ...................................................................................................... 299
Other ....................................................................................................................................................... 300
5.15.8.1 addact ..................................................................................................................................... 300
5.15.8.2 watchdog service .................................................................................................................... 301
5.15.8.3 consoleinfo ............................................................................................................................. 301
5.15.8.4 telnetinfo ................................................................................................................................ 302
5.15.8.5 mflag ...................................................................................................................................... 302
5.15.8.6 dumpswitch ............................................................................................................................ 303
5.15.8.7 sysname .................................................................................................................................. 303
5.15.8.8 serverinfo ftp .......................................................................................................................... 304
5.15.8.9 serverinfo ftp ip6 .................................................................................................................... 304
5.15.8.10 serverinfo ftp filter ................................................................................................................. 305
5.15.8.11 serverinfo ftp filter move ....................................................................................................... 306
5.15.8.12 serverinfo ftp filter default ..................................................................................................... 306
5.15.8.13 serverinfo sftp ........................................................................................................................ 307
5.15.8.14 serverinfo sftp ip6 .................................................................................................................. 308
5.15.8.15 serverinfo telnet ...................................................................................................................... 308
5.15.8.16 serverinfo telnet ip6 ............................................................................................................... 309
5.15.8.17 serverinfo telnet filter ............................................................................................................. 309
5.15.8.18 serverinfo telnet filter move ................................................................................................... 310
5.15.8.19 serverinfo telnet filter default ................................................................................................. 310
5.15.8.20 serverinfo ssh ......................................................................................................................... 311
5.15.8.21 serverinfo ssh ip6 ................................................................................................................... 312
5.15.8.22 serverinfo ssh filter ................................................................................................................. 313
5.15.8.23 serverinfo ssh filter move ....................................................................................................... 314

9

XG Series User’s Guide

Contents

5.15.8.24 serverinfo ssh filter default .................................................................................................... 314
5.15.8.25 serverinfo http ........................................................................................................................ 315
5.15.8.26 serverinfo http ip6 .................................................................................................................. 315
5.15.8.27 serverinfo http filter ............................................................................................................... 316
5.15.8.28 serverinfo http filter move ...................................................................................................... 317
5.15.8.29 serverinfo http filter default ................................................................................................... 317
5.15.8.30 serverinfo dns ......................................................................................................................... 318
5.15.8.31 serverinfo dns ip6 ................................................................................................................... 318
5.15.8.32 serverinfo dns filter ................................................................................................................ 319
5.15.8.33 serverinfo dns filter move ...................................................................................................... 320
5.15.8.34 serverinfo dns filter default .................................................................................................... 320
5.15.8.35 serverinfo sntp ........................................................................................................................ 321
5.15.8.36 serverinfo sntp ip6 .................................................................................................................. 321
5.15.8.37 serverinfo sntp filter ............................................................................................................... 322
5.15.8.38 serverinfo sntp filter move ..................................................................................................... 323
5.15.8.39 serverinfo sntp filter default ................................................................................................... 323
5.15.8.40 serverinfo time ip tcp ............................................................................................................. 324
5.15.8.41 serverinfo time ip6 tcp ........................................................................................................... 324
5.15.8.42 serverinfo time ip udp ............................................................................................................ 325
5.15.8.43 serverinfo time ip6 udp .......................................................................................................... 325
5.15.8.44 serverinfo time filter ............................................................................................................... 326
5.15.8.45 serverinfo time filter move ..................................................................................................... 326
5.15.8.46 serverinfo time filter default .................................................................................................. 327

5.16

Login banner Settings ..........................................................................................................................328
5.16.1

5.17

Login banner Information ...................................................................................................................... 328
5.16.1.1 login banner telnet .................................................................................................................. 328
5.16.1.2 login banner ftp ...................................................................................................................... 328
5.16.1.3 login banner ssh ..................................................................................................................... 329
5.16.1.4 login banner description ......................................................................................................... 329

Mode and Terminal Operation Commands .........................................................................................330
5.17.1

5.17.2

5.17.3

Mode Operation Commands .................................................................................................................. 330
5.17.1.1 admin ...................................................................................................................................... 330
5.17.1.2 su ............................................................................................................................................ 331
5.17.1.3 exit .......................................................................................................................................... 332
5.17.1.4 configure ................................................................................................................................ 333
5.17.1.5 end .......................................................................................................................................... 334
5.17.1.6 quit ......................................................................................................................................... 334
5.17.1.7 top ........................................................................................................................................... 335
5.17.1.8 up ............................................................................................................................................ 335
5.17.1.9 ! .............................................................................................................................................. 336
Terminal Operation Commands ............................................................................................................. 337
5.17.2.1 terminal pager ........................................................................................................................ 337
5.17.2.2 terminal window .................................................................................................................... 340
5.17.2.3 terminal charset ...................................................................................................................... 340
5.17.2.4 terminal prompt ...................................................................................................................... 341
5.17.2.5 terminal timestamp ................................................................................................................. 342
5.17.2.6 terminal bell ........................................................................................................................... 343
5.17.2.7 terminal logging ..................................................................................................................... 344
5.17.2.8 show terminal ......................................................................................................................... 345
Command Execution History ................................................................................................................. 346
5.17.3.1 show logging command ......................................................................................................... 346
5.17.3.2 clear logging command .......................................................................................................... 348

10

XG Series User’s Guide

5.17.4

5.17.5

5.18

System Operations and Display Commands .......................................................................................... 353
5.18.1.1 show system information ....................................................................................................... 353
5.18.1.2 show system status ................................................................................................................. 354
5.18.1.3 show tech-support .................................................................................................................. 361
5.18.1.4 show logging error ................................................................................................................. 361
5.18.1.5 clear logging error .................................................................................................................. 365
5.18.1.6 show logging syslog ............................................................................................................... 365
5.18.1.7 clear logging syslog ............................................................................................................... 366
5.18.1.8 clear statistics ......................................................................................................................... 366
5.18.1.9 show date ................................................................................................................................ 367
5.18.1.10 date ......................................................................................................................................... 367
5.18.1.11 rdate ........................................................................................................................................ 368
5.18.1.12 reset ........................................................................................................................................ 368

Configuration Display, Delete and Operation Commands ..................................................................369
5.19.1

5.19.2
5.19.3

5.19.4

5.20

Command Alias ...................................................................................................................................... 349
5.17.4.1 alias ........................................................................................................................................ 349
5.17.4.2 show alias ............................................................................................................................... 350
5.17.4.3 clear alias ................................................................................................................................ 350
Command Output ................................................................................................................................... 351
5.17.5.1 more ....................................................................................................................................... 351
5.17.5.2 tail ........................................................................................................................................... 352

System Operations and Display Commands ........................................................................................353
5.18.1

5.19

Contents

Configuration Display Commands ......................................................................................................... 369
5.19.1.1 show candidate-config ........................................................................................................... 369
5.19.1.2 show running-config .............................................................................................................. 370
5.19.1.3 show startup-config ................................................................................................................ 370
5.19.1.4 diff .......................................................................................................................................... 371
Configuration Delete Commands ........................................................................................................... 372
5.19.2.1 delete ...................................................................................................................................... 372
Configuration Operation Commands ..................................................................................................... 373
5.19.3.1 load ......................................................................................................................................... 373
5.19.3.2 save ......................................................................................................................................... 374
5.19.3.3 commit ................................................................................................................................... 375
5.19.3.4 commit try time ...................................................................................................................... 376
5.19.3.5 commit try cancel ................................................................................................................... 377
5.19.3.6 discard .................................................................................................................................... 378
File Operation Commands ..................................................................................................................... 379
5.19.4.1 dir ........................................................................................................................................... 379
5.19.4.2 copy ........................................................................................................................................ 380
5.19.4.3 remove .................................................................................................................................... 381
5.19.4.4 rename .................................................................................................................................... 381
5.19.4.5 format ..................................................................................................................................... 382

Ethernet Counter, Log, Statistics, and Status Display and Clear Operation Commands ....................383
5.20.1

5.20.2

Ethernet Counter, Log, Statistics, and Status Display Commands ........................................................ 383
5.20.1.1 show ether .............................................................................................................................. 383
5.20.1.2 show ether brief ...................................................................................................................... 387
5.20.1.3 show ether statistics ............................................................................................................... 389
5.20.1.4 show ether media-info ............................................................................................................ 408
5.20.1.5 show ether utilization ............................................................................................................. 410
5.20.1.6 show ether queue .................................................................................................................... 412
Ethernet Counter, Log, and Statistics Clear Commands ........................................................................ 414
5.20.2.1 clear ether statistics ................................................................................................................ 414

11

XG Series User’s Guide

5.21

USB connection Counter, Log, Statistics, and Status Display and Clear Operation Commands ........415
5.21.1

5.22

5.22.2

5.25.2

5.26.2

IPv4 Routing Table Entry Display Commands ...................................................................................... 431
5.26.1.1 show ip route .......................................................................................................................... 431
5.26.1.2 show ip route summary .......................................................................................................... 433
5.26.1.3 show ip route kernel ............................................................................................................... 434
IPv6 Routing Table Entry Display Commands ...................................................................................... 436
5.26.2.1 show ipv6 route ...................................................................................................................... 436
5.26.2.2 show ipv6 route summary ...................................................................................................... 438
5.26.2.3 show ipv6 route kernel ........................................................................................................... 439
5.26.2.4 show ipv6 ra default-router-list .............................................................................................. 441
5.26.2.5 show ipv6 ra prefix-list .......................................................................................................... 442

Packet Statistics Display and Clear Operation Commands .................................................................443
5.27.1
5.27.2
5.27.3
5.27.4

5.28

ARP Entry Display Commands ............................................................................................................. 428
5.25.1.1 show arp ................................................................................................................................. 428
ARP Entry Clear Commands ................................................................................................................. 430
5.25.2.1 clear arp .................................................................................................................................. 430

Routing Table Entry Display Commands ............................................................................................431
5.26.1

5.27

Interface Counter, Log, Statistics, and Status Display Commands ....................................................... 424
5.24.1.1 show interface ........................................................................................................................ 424
5.24.1.2 show interface brief ................................................................................................................ 426
5.24.1.3 show interface summary ........................................................................................................ 427

ARP Entry Display and Clear Operation Commands ..........................................................................428
5.25.1

5.26

M1 port Status Display command .......................................................................................................... 423
5.23.1.1 show oob ................................................................................................................................ 423

Interface Counter, Log, Statistics, and Status Display Commands .....................................................424
5.24.1

5.25

LACP Counter, Log, Statistics, and Status Display Commands ........................................................... 419
5.22.1.1 show lacp ................................................................................................................................ 419
5.22.1.2 show lacp statistics ................................................................................................................. 421
LACP Counter, Log, Statistics, and Status Clear Commands ............................................................... 422
5.22.2.1 clear lacp statistics ................................................................................................................. 422

M1 port Status Display command .......................................................................................................423
5.23.1

5.24

USB connection Counter, Log, and Statistics Clear Commands ........................................................... 415
5.21.1.1 show usb hcd status ................................................................................................................ 415
5.21.1.2 show usb storage status .......................................................................................................... 416

LACP Counter, Log, Statistics, and Status Display and Clear Operation Commands ........................419
5.22.1

5.23

Contents

IPv4 Packet Statistics Display Commands ............................................................................................ 443
5.27.1.1 show ip traffic ........................................................................................................................ 443
IPv4 Packet Statistics Clear Commands ................................................................................................ 446
5.27.2.1 clear ip traffic ......................................................................................................................... 446
IPv6 Packet Statistics Display Commands ............................................................................................ 447
5.27.3.1 show ipv6 traffic .................................................................................................................... 447
IPv6 Packet Statistics Clear Commands ................................................................................................ 450
5.27.4.1 clear ipv6 traffic ..................................................................................................................... 450

Bridge Counter, Log, Statistics, and Status Display and Clear Operation Commands .......................451
5.28.1
5.28.2
5.28.3

5.28.4

Bridge Counter, Log, Statistics, and Status Display Commands ........................................................... 451
5.28.1.1 show bridge ............................................................................................................................ 451
Bridge Counter, Log, Statistics, and Status Clear Commands ............................................................... 453
5.28.2.1 clear bridge ............................................................................................................................. 453
Spanning Tree Counter, Log, Statistics, and Status Display Commands .............................................. 454
5.28.3.1 show spanning-tree ................................................................................................................ 454
5.28.3.2 show spanning-tree instance .................................................................................................. 467
Spanning Tree Counter, Log, Statistics, and Status Clear Commands .................................................. 479
5.28.4.1 clear spanning-tree statistics .................................................................................................. 479

12

XG Series User’s Guide

5.29

LLDP Counter, Log, Statistics, and Status Display and Clear Operation Commands ........................480
5.29.1

5.29.2

5.30

5.33.2

5.36.2

NETTIME (time/sntp) Statistics Display Commands ........................................................................... 509
5.36.1.1 show nettime status ................................................................................................................ 509
5.36.1.2 show nettime statistics ........................................................................................................... 510
NETTIME (time/sntp) Statistics Clear Commands ............................................................................... 513
5.36.2.1 clear nettime statistics ............................................................................................................ 513

ProxyDNS Statistics Display and Clear Operation Commands ..........................................................514
5.37.1
5.37.2

5.38

AAA Status Display Commands ............................................................................................................ 508
5.35.1.1 show aaa radius client server-info .......................................................................................... 508

NETTIME (time/sntp) Server and Client Statistics Display and Clear Operation Commands ...........509
5.36.1

5.37

Loopdetection Counter, Log, Statistics, and Status Display Commands ............................................... 506
5.34.1.1 show loopdetect ...................................................................................................................... 506

AAA Status Display and Clear Operation Commands ........................................................................508
5.35.1

5.36

IGMP Snooping Counter, Log, Statistics, and Status Display Commands ........................................... 499
5.33.1.1 show igmpsnoop brief ............................................................................................................ 499
5.33.1.2 show igmpsnoop mrouter ....................................................................................................... 500
5.33.1.3 show igmpsnoop reporter ....................................................................................................... 501
5.33.1.4 show igmpsnoop statistics ...................................................................................................... 502
IGMP Snooping Counter, Log, Statistics, and Status Clear Commands ............................................... 504
5.33.2.1 clear igmpsnoop statistics ...................................................................................................... 504
5.33.2.2 clear igmpsnoop group ........................................................................................................... 505

Loopdetection Counter, Log, Statistics, and Status Display and Clear Operation Commands ...........506
5.34.1

5.35

SSH Counter, Log, Statistics, and Status Display Commands .............................................................. 497
5.32.1.1 show ssh server key ................................................................................................................ 497

IGMP Snooping Counter, Log, Statistics, and Status Display and Clear Operation Commands ........499
5.33.1

5.34

COS Queue Counter, Log, Statistics, and Status Display Commands .................................................. 495
5.31.1.1 show qos cosmap ................................................................................................................... 495
5.31.1.2 show qos prioritymap ............................................................................................................. 496

SSH Counter, Log, Statistics, and Status Display Commands ............................................................497
5.32.1

5.33

VLAN Counter, Log, Statistics, and Status Display Commands ........................................................... 492
5.30.1.1 show vlan ............................................................................................................................... 492
5.30.1.2 show vlan brief ....................................................................................................................... 494

QoS Counter, Log, Statistics, and Status Display Commands ............................................................495
5.31.1

5.32

LLDP Counter, Log, Statistics, and Status Display Commands ............................................................ 480
5.29.1.1 show lldp ................................................................................................................................ 480
5.29.1.2 show lldp summary ................................................................................................................ 486
5.29.1.3 show lldp neighbors ............................................................................................................... 486
5.29.1.4 show lldp statistics ................................................................................................................. 489
LLDP Counter, Log, Statistics, and Status Clear Commands ............................................................... 491
5.29.2.1 clear lldp neighbors ................................................................................................................ 491
5.29.2.2 clear lldp statistics .................................................................................................................. 491

VLAN Counter, Log, Statistics, and Status Display Commands ........................................................492
5.30.1

5.31

Contents

ProxyDNS Statistics Display Commands .............................................................................................. 514
5.37.1.1 show proxydns statistics ......................................................................................................... 514
ProxyDNS Statistics Clear Commands .................................................................................................. 516
5.37.2.1 clear proxydns statistics ......................................................................................................... 516

SNMP Statistics Display and Clear Operation Commands .................................................................517
5.38.1
5.38.2

SNMP Statistics Display Commands ..................................................................................................... 517
5.38.1.1 show snmp statistics ............................................................................................................... 517
SNMP Statistics Clear Commands ........................................................................................................ 519
5.38.2.1 clear snmp statistics ............................................................................................................... 519

13

XG Series User’s Guide

5.39

Contents

Ethernet L3 Monitor Function Counter, Log, Statistics,
and Status Display and Clear Operation Commands ...........................................................................520
5.39.1

5.39.2

5.40

Login Information Operations and Display Commands ......................................................................523
5.40.1
5.40.2

5.41

5.42.2

Managing the Device............................................................................ 547

Verifying the Device Operations .........................................................................................................548
6.1.1
6.1.2
6.1.3

6.2

Other Commands ................................................................................................................................... 537
5.47.1.1 ping ......................................................................................................................................... 537
5.47.1.2 traceroute ................................................................................................................................ 539
5.47.1.3 telnet ....................................................................................................................................... 541

Effect by "commit" Command Execution ...........................................................................................543

Chapter 6
6.1

I’m here Commands ............................................................................................................................... 536
5.46.1.1 iamhere ................................................................................................................................... 536

Other Commands .................................................................................................................................537
5.47.1

5.48

USB Port Control Commands ................................................................................................................ 535
5.45.1.1 usbctl ...................................................................................................................................... 535

I’m here Commands .............................................................................................................................536
5.46.1

5.47

RADIUS Control Commands ................................................................................................................ 534
5.44.1.1 radius recovery ....................................................................................................................... 534

USB Port Control Commands ..............................................................................................................535
5.45.1

5.46

Ethernet Port Control Commands .......................................................................................................... 532
5.43.1.1 offline ..................................................................................................................................... 532
5.43.1.2 online ...................................................................................................................................... 533

RADIUS Control Commands ..............................................................................................................534
5.44.1

5.45

Trace Show Commands ......................................................................................................................... 529
5.42.1.1 show trace ssh ........................................................................................................................ 529
Trace Clear Commands .......................................................................................................................... 531
5.42.2.1 clear trace ssh ......................................................................................................................... 531

Ethernet Port Control Commands ........................................................................................................532
5.43.1

5.44

Socket Status Display Commands ......................................................................................................... 526
5.41.1.1 show socket ............................................................................................................................ 526

Trace Show and Clear Operation Commands ......................................................................................529
5.42.1

5.43

Login Information Display Commands ................................................................................................. 523
5.40.1.1 show users .............................................................................................................................. 523
Login Information Operation Commands .............................................................................................. 525
5.40.2.1 clear line ................................................................................................................................. 525

Socket Status Display Commands .......................................................................................................526
5.41.1

5.42

Ethernet L3 Monitor Function Counter, Log, Statistics, and Status Display Commands ..................... 520
5.39.1.1 show icmpwatch ..................................................................................................................... 520
5.39.1.2 show icmpwatch statistics ...................................................................................................... 521
Ethernet L3 Monitor Function Counter, Log, Statistics, and Status Clear Commands ......................... 522
5.39.2.1 clear icmpwatch statistics ....................................................................................................... 522

Verifying Hardware Status ..................................................................................................................... 548
Verifying System Status ......................................................................................................................... 556
Reviewing Log Messages ...................................................................................................................... 557
6.1.3.1 Format of System Log Message ............................................................................................. 557
6.1.3.2 Reviewing Error Logs ............................................................................................................ 558

Saving/Restoring Configuration Information ......................................................................................561
6.2.1
6.2.2
6.2.3

Saving/restoring configuration information using FTP ......................................................................... 561
Saving/restoring configuration information using a Compact Flash Card ............................................ 564
Saving/restoring configuration information using USB memory .......................................................... 565

14

XG Series User’s Guide

6.3

Contents

Updating Firmware ..............................................................................................................................568
6.3.1
6.3.2
6.3.3

6.4

Actions When Firmware Update Failes (Backup Firm Function) .......................................................574
6.4.1
6.4.2

6.5

Chapter 7

Troubleshooting ................................................................................... 578

SNMP Traps ...................................................................................... 581

Trap List ................................................................................................................................................................. 581

Appendix B
B.1
B.2
B.3

Procedure for Extracting Maintenance Information when a System/Subsystem Failure Occurred ...... 577

To Return to the Initial Shipment Settings (Initializing Switch Configuration) ..................................579

Appendix A
A.1

Preparing the Device .............................................................................................................................. 574
Updating the Firmware .......................................................................................................................... 576

Extracting of Maintenance Information ...............................................................................................577
6.5.1

7.1

Updating Firmware Using FTP .............................................................................................................. 568
Updating Firmware Using CompactFlash card ...................................................................................... 570
Updating Firmware Using USB memory ............................................................................................... 572

List of MIBs....................................................................................... 582

Standard MIB Definitions ...................................................................................................................................... 582
Fujitsu Extension MIB ........................................................................................................................................... 599
IEEE802.1MIB ...................................................................................................................................................... 601

Index........................................................................................................................... 608

15

XG Series User's Guide

Organization and Usage of 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.
•

Basic knowledge of networks, the Internet, and intranets

•

Basic knowledge of system security
This guide omits explanations of network protocol terms.

Areas Covered
This guide to the XGseries is composed of the following chapters.
Chapter Titles

Contents

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 Switch Functions and their
Configuration

Describes how to use the console screen.

Chapter 5 Command Reference

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 SNMP Traps

Describes message format of SNMP traps.

Appendix B List of MIBs

Describes the list of MIBs supported by the SNMP agent

About the Symbols
The symbols used in this guide have the following meanings.

Hint
Precautions
Note

Reference
Available Model

Indicates useful information for using this device.
Indicates precautions that must be taken when using this device.
Indicates additional information to complement operating instructions.
Indicates related matters such as operation procedures, etc.
Indicates the available model name when using functions of this device.

Warning

Indicates warning matters related to the Product Liability (P.L.) Law. Please follow them
when using this device.

Caution

Indicates cautionary notes related to the Product Liability (P.L.) Law. Please follow them
when using this device.

16

XG Series User's Guide

Trademark Notification in This Manual
Microsoft, MS-DOS, Windows, Windows NT, Windows Server and Windows Vista are registered trademarks of the
Microsoft Corporation in the USA and other countries.
Adobe and Reader are trademarks or registered trademarks of Adobe Systems Incorporated in the USA and other countries.
Netscape is a trademark of Netscape Communications Corporation in the USA.
UNIX is a registered trademark of Open Group in the USA and other countries.
Other company names and product names in this manual are trademarks or registered trademarks of their respective companies.

Abbreviated Product Names
The product names used in this manual are abbreviated as follows.
Product name
®

Description in this manual

®

Microsoft Windows XP Professional operating system

Windows® XP

Microsoft® Windows® XP Home Edition operating system
Microsoft® Windows® Millennium Edition operating system

Windows® Me

Microsoft® Windows® 98 operating system

Windows® 98

Microsoft® Windows® 95 operating system

Windows® 95

Microsoft® Windows® 2000 Server Network operating system

Windows® 2000

Microsoft® Windows® 2000 Professional operating system
Microsoft® Windows NT® Server network operating system Version 4.0

Windows NT® 4.0

Microsoft® Windows NT® Workstation operating system Version 4.0
Microsoft® Windows Server® 2003, Standard Edition

Windows Server® 2003

Microsoft® Windows Server® 2003 R2, Standard Edition
Microsoft® Windows Server® 2003, Enterprise Edition
Microsoft® Windows Server® 2003 R2, Enterprise Edition
Microsoft® Windows Server® 2003, Datacenter Edition
Microsoft® Windows Server® 2003 R2, Datacenter Edition
Microsoft® Windows Server® 2003, Web Edition
Microsoft® Windows Server® 2003, Standard x64 Edition
Microsoft® Windows Server® 2003 R2, Standard x64 Edition
Microsoft® Windows Server® 2003, Enterprise x64 Edition
Microsoft® Windows Server® 2003 R2, Enterprise x64 Edition
Microsoft® Windows Server® 2003, Enterprise Edition for Itanium-based systems
Microsoft® Windows Server® 2003, Datacenter x64 Edition
Microsoft® Windows Server® 2003 R2, Datacenter x64 Edition
Microsoft® Windows Vista® Ultimate operating system

Windows Vista®

Microsoft® Windows Vista® Business operating system
Microsoft® Windows Vista® Home Premium operating system
Microsoft® Windows Vista® Home Basic operating system
Microsoft® Windows Vista® Enterprise operating system

17

XG Series User's Guide

How the Manuals for This Device Are Organized
The following are XG series related manuals. Use these manuals as necessary.
Manual Name

Description

Safety and Installation Guide

This manual describes the safety and installation.

Hardware Guide

Describes the hardware of the XG.

User’s Guide (This manual)

This manual describes a variety of operations and procedures, including the
installation and maintenance of the XG Series.

18

XG Series User's Guide

End User's License Agreement
#

@(#)COPYRIGHT 8.2 (Berkeley) 3/21/94

All of the documentation and software included in the 4.4BSD and 4.4BSD-Lite Releases is copyrighted by The Regents of the
University of California.
Copyright 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights
reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following
conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product
includes software developed by the University of California, Berkeley and its contributors.
4. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
The Institute of Electrical and Electronics Engineers and the American National Standards Committee X3, on Information
Processing Systems have given us permission to reprint portions of their documentation.
In the following statement, the phrase "this text" refers to portions of the system documentation.
Portions of this text are reprinted and reproduced in electronic form in the second BSD Networking Software Release, from IEEE
Std 1003.1-1988, IEEE Standard Portable Operating System Interface for Computer Environments (POSIX), copyright C 1988 by
the Institute of Electrical and Electronics Engineers, Inc. In the event of any discrepancy between these versions and the original
IEEE Standard, the original IEEE Standard is the referee document.
In the following statement, the phrase "This material" refers to portions of the system documentation.
This material is reproduced with permission from American National Standards Committee X3, on Information Processing
Systems. Computer and Business Equipment Manufacturers Association (CBEMA), 311 First St., NW, Suite 500, Washington, DC
20001-2178. The developmental work of Programming Language C was completed by the X3J11 Technical Committee.

19

XG Series User's Guide

The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as
representing official policies, either expressed or implied, of the Regents of the University of California.

Copyright © 1989 Regents of the University of California. All rights reserved.
Redistribution and use in source and binary forms are permitted provided that the above copyright notice and this paragraph are
duplicated in all such forms and that any documentation, advertising materials, and other materials related to such distribution and
use acknowledge that the software was developed by the University of California, Berkeley. The name of the University may not
be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
PURPOSE.

Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved.
License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD5 Message-Digest
Algorithm" in all material mentioning or referencing this software or this function.
License is also granted to make and use derivative works provided that such works are identified as "derived from the RSA Data
Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing the derived work.
RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this
software for any particular purpose. It is provided "as is" without express or implied warranty of any kind.
These notices must be retained in any copies of any part of this documentation and/or software.

Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) All rights reserved.
This package is an SSL implementation written by Eric Young (eay@cryptsoft.com).
The implementation was written so as to conform with Netscapes SSL.
This library is free for commercial and non-commercial use as long as the following conditions are aheared to. The following
conditions apply to all code found in this distribution, be it the RC4, RSA, lhash, DES, etc., code; not just the SSL code. The SSL
documentation included with this distribution is covered by the same copyright terms except that the holder is Tim Hudson
(tjh@cryptsoft.com).
Copyright remains Eric Young's, and as such any Copyright notices in the code are not to be removed.If this package is used in a
product, Eric Young should be given attribution as the author of the parts of the library used.This can be in the form of a textual
message at program startup or in documentation (online or textual) provided with the package.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following
conditions are met:
1. Redistributions of source code must retain the copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution.

20

XG Series User's Guide

3. All advertising materials mentioning features or use of this software must display the following acknowledgement:"This
product includes cryptographic software written by Eric Young (eay@cryptsoft.com)" The word 'cryptographic' can be left out if
the rouines from the library being used are not cryptographic related:-).
4. If you include any Windows specific code (or a derivative thereof) from the apps directory (application code) you must include
an acknowledgement:"This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Copyright (c) 1999 The OpenSSL Project. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following
conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software must display the following acknowledgment: "This product
includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)"
4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to endorse or promote products derived from this
software without prior written permission. For written permission, please contact licensing@OpenSSL.org.
5. Products derived from this software may not be called "OpenSSL" nor may "OpenSSL" appear in their names without prior
written permission of the OpenSSL Project.
6. Redistributions of any form whatsoever must retain the following acknowledgment: "This product includes software developed
by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)"
THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY EXPRESSED OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR ITS
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

21

Chapter 1
Features and
Functions

This chapter describes the features and functions of the device.

1.1

1.2

Hardware Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
1.1.1

Switch Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

1.1.2

Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

1.1.3

10/100/1000BASE-T Port Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

1.1.4

USB Port Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

1.1.5

Console Port Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

Software Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
1.2.1

Software Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

1.2.2

Initial Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

1.2.3

System Maximum Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

XG Series User's Guide

1.1

Chapter 1 Features and Functions

Hardware Specifications

This section explains the Hardware specifications for the device.

1.1.1

Switch Specifications
: supported, –: Not supported
item
model name

specification
XG0224

XG0448

XG2600

Interface
Console Port
specifications

RS232C

number of ports

1

Baud rate (bps)

9600

connector

RJ45 8-pin Modular

ETHER port
specifications

IEEE802.3

10BASE-T interface







100BASE-T interface







1000BASE-T interface





–

number of ports
10/100BASE-TX
10/100/1000BASE-T

–

1 (Management Port)

24
Port 21 to 24 are 10/100/
1000Base-T and SFP combo
ports.

48
Port 45 to 48 are 10/100/
1000Base-T and SFP combo
ports. (*1)

–

10M







100M







1000M





–

Baud rate (bps)

connector

RJ45 8-pin Modular

cable length (maximum) (m)

100

SFP port
specifications
number of ports

IEEE802.3
4
Port 21 to 24 are 10/100/
1000Base-T and SFP combo
ports. (*2)

connector

–
–

4
Port 45 to 48 are 10/100/
1000Base-T and SFP combo
ports. (*1, *2)

20-pin SFP

–

specifications

–

IEEE802.3

number of ports

–

26

SFP+ Slot (*3)

connector
CompactFlash Slot

20-pin SFP+
–



–

USB port
specifications

–

USB2.0 Compliance

number of ports

–

1

connector

–

Expansion Slot

4-pin USB

1

2 (*1)

23

–

Hardware Specifications

XG Series User's Guide

Chapter 1 Features and Functions

item
model name

specification
XG0224

XG0448

Power Voltage/Frequencys
Power code

for 3-pin socket (grounded) (125V13A)

Power cable length (m)
Maximum power consumption (W)
Dimensions (mm) (W×D×H)
Maximum weight (kg)
Ambient noise (dB)
Temperature/Humidity (°C/%RH)

XG2600

AC100V-240V (50/60Hz)
AC:for 3-pin socket
(grounded) (125V13A)

3.0
67

133.1

111

441×388×44

441×430×44

430×600×43.5

5.5

7.0
45 or less

13
55 or less

Temperature condition: operating:0 to 40, storage:0 to 50
Humidity condition:operating:15 to 85, storage:8 to 90

*1)

When the network traffic between port1 to 24, 51, 52 and port25 to 50 exceeds 24Gbps, transfer speeds underrun
Wire speed.

*2)

100BASE-FX, 1000BASE-SX, 1000BASE-LX, 1000BASE-ZX, 1000BASE-BX-D, 1000BASE-BX-U SFP SFP
modules are available.

*3)

10GBASE-SR, 10GBASE-LR SFP+ modules are available.

24

Hardware Specifications

XG Series User's Guide

1.1.2

Chapter 1 Features and Functions

Option
CLASS 1 LASER PRODUCT

SFP Module
Available Model

100BASE-FX
1000BASE-SX
1000BASE-LX
1000BASE-ZX

XG0224 / XG0448

1000BASE-BX-D 
1000BASE-BX-U

item

specification

Vendor PN
Vendor Name

HFBR-5710L

FTLF8519P2BNL

HFCT-5710L

SCP6P44-F7-BMH

AGILENT
TECHNOLOGIES

FINISAR

AGILENT
TECHNOLOGIES

SUMITOMO ELECTRIC

Interface
specifications

IEEE802.3z
(1000BASE-SX Interface)

IEEE802.3z
(1000BASE-LX Interface)

Baud rate (bps)

1000M

connector

LC connector

stressed receiver
sensitivity
cable length
(maximum)

-17dBm or more

-20dBm or more

-19.5dBm or more

500m (MMF:50µm),
300m (MMF:62.5µm)

550m (MMF:50µm,
62.5µm),
5km (SMF:10µm)

550m (MMF:50µm,
62.5µm),
10km (SMF:10µm)

EN608251:1994+A1+A2

IEC60825-1:2001

(*3)
CLASS 1 LASER
PRODUCT
specifications

EN60825-1:1994+A11,
EN60825-2:1994+A1

EN608251:1994+A11+A2,
EN60825-2:2004

item

specification

Vendor PN
Vendor Name

SCP6P94-F7-BMH

SBP6F54-F1-BN-49

SBP6F54-F1-BT-31

HFBR-57E0P

SUMITOMO ELECTRIC

SUMITOMO ELECTRIC

SUMITOMO ELECTRI

ABAGO
TECHNOLOGIES

–
(1000BASE-ZX
Interface)

IEEE802.3ah
(1000BASE-BX-D
Interface)

IEEE802.3ah
(1000BASE-BX-U
Interface)

IEEE802.3u
(100BASE-FX
Interface)

Interface
specifications

Baud rate (bps)

1000M

100M

connector

LC connector

stressed receiver
sensitivity
cable length
(maximum)
(*3)
CLASS 1 LASER
PRODUCT
specifications

*1)

-24dBm or more

-21dBm or more

-31dBm or more

70km (SMF:10µm)

20km (SMF:10µm)

2km (MMF:50µm)

IEC60825-1:2001

EN608251:1994+A1+A2

Please make sure to use 1000BASE-BX-D SFP module and 1000BASE-BX-U SFP module in pairs.

25

Hardware Specifications

XG Series User's Guide

Chapter 1 Features and Functions

*2)

Applicable to XG0224 only.

*3)

Cable length (maximum) is under the condition that the stressed receiver sensitivity satisfy the permissible level.

CLASS 1 LASER PRODUCT

SFP+ Module
Available Model

XG0448 / XG2600

10GBASE-SR / LR

item

specification

Vendor PN
Vendor Name

FTLX8571D3BCL

FTLX1471D3BCL

FINISAR

FINISAR

Interface
specifications

IEEE802.3ae (10GBASE-SR)

IEEE802.3ae (10GBASE-LR)

Baud rate (bps)

10G

connector

LC connector

stressed receiver
sensitivity
cable length (maximum)

-7.5dBm or more

-10.3dBm or more

300m (MMF:50µm)

10km (SMF:10µm)

(*)
CLASS 1 LASER
PRODUCT specifications

EN60825-1:1994+A1+A2, EN60825-2:2004

*) Cable length (maximum) is under the condition that the stressed receiver sensitivity satisfy the permissible level.

Precautions
Cable length is as follows depending on the specifications of optical fiber cables.
Type
MMF

Core / Clad diameter
62.5/125µm

50/125µm

Minimum transmission band

cable length (maximum) (m)

160MHz/km

26

200MHz/km

33

400MHz/km

66

500MHz/km

82

2000MHz/km

300

Please use the most appropriate cable according to the environment of the installed place.

26

Hardware Specifications

XG Series User's Guide

Chapter 1 Features and Functions

SFP+ Expansion Card
Available Model

XG0224 / XG0448

item

specification

Type name

SJ10GSFPZ

Interface (ETHER)
specifications

IEEE802.3ae (10GBASE-R Interface)

number of ports

2

Baud rate (bps)

10G

connector

SFP connector

CX4 Expansion Card
Available Model

XG0224 / XG0448

item

specification

Type name

SJ10GCX4Z

Interface (ETHER)
specifications

IEEE802.3ak (10GBASE-CX4 Interface)

number of ports

2

Baud rate (bps)

10G

connector

16pin, CX4connector

cable length (maximum)
(m)

15

Compact Flash Card
Available Model

XG0224

item

specification

Capacity (MBytes)

256

Power Cable (100V)
Available Model

All models

item
cable length (m)

specification
3

27

Hardware Specifications

XG Series User's Guide

1.1.3

Chapter 1 Features and Functions

10/100/1000BASE-T Port Specifications

Available Model

All models

8

1

connector is RJ45 8 pin

•

XG0224 / XG0448
–: Not supported
Signal name
(XG0224: 1 to 24 port)
(XG0448: 1 to 48 port)

Pin numbering

10/100BASE-TX

•

1000BASE-T

MDI

MDI-X

MDI

MDI-X

1

TD+

RD+

TP0+

TP1+

2

TD-

RD-

TP0-

TP1-

3

RD+

TD+

TP1+

TP0+

4

–

–

TP2+

TP3+

5

–

–

TP2-

TP3-

6

RD-

TD-

TP1-

TP0-

7

–

–

TP3+

TP2+

8

–

–

TP3-

TP2-

XG2600
–: Not supported
Signal name
Pin numbering

10/100BASE-TX
MDI

1

TD+

2

TD-

3

RD+

4

–

5

–

6

RD-

7

–

8

–

28

Hardware Specifications

XG Series User's Guide

1.1.4

Chapter 1 Features and Functions

USB Port Specifications

Available Model

1

2

3

XG0448 / XG2600

4

Pin numbering

Signal name

1

VBUS

2

D-

3

D+

4

GND

1.1.5

Console Port Specifications

Available Model

1

All models

8

connector is RJ45 8 pin
A straight cable is used.

–: Not supported
Pin numbering

Signal name

in / out

Content

1

–

–

–

2

ER

out

data terminal ready

3

TD

out

send data

4

GND

–

ground

5

GND

–

ground

6

RD

in

receive data

7

–

–

–

8

–

–

–

29

Hardware Specifications

XG Series User's Guide

1.2

Chapter 1 Features and Functions

Software Specifications

This section explains the software specifications for the device.

1.2.1

Software Specifications
❍: Supported, –: Not supported
Features

Item

XG0224

XG0448

XG2600

Store and
Forward

Store and
Forward

Selectable

Port VLAN

❍

❍

❍

Tag VLAN

❍

❍

❍

Protocol VLAN

❍

❍

❍

❍

❍

❍

Static

❍

❍

❍

LACP

❍

❍

❍

Back up port

❍

❍

❍

STP

❍

❍

❍

MSTP

❍

❍

❍

RSTP

❍

❍

❍

Forwarding Mode
VLAN

Link Down Relay
Link aggregation

STP

LLDP

❍

❍

❍

LLMNR

❍

❍

❍

strict

❍

❍

❍

DRR

–

–

❍

WRR

❍

❍

–

❍

❍

❍

IPv4 TOS (ip precedence)

❍
(with the use of
ACL)

❍
(with the use of
ACL)

❍
(with the use of
ACL (*1))

IPv6 TC

❍
(with the use of
ACL)

❍
(with the use of
ACL)

–

IPv4 DSCP

❍
(with the use of
ACL)

❍
(with the use of
ACL)

❍
(with the use of
ACL (*1))

IPv6 DSCP

❍
(with the use of
ACL)

❍
(with the use of
ACL)

–

QoS
QoS sending algorithm

Assign the priority to the queue
CoS

30

Software Specifications

XG Series User's Guide

Chapter 1 Features and Functions

Features

Item

XG0224

XG0448

XG2600

COS (user priority)

❍
(with the use of
ACL)

❍
(with the use of
ACL)

–

IPv4 TOS (ip precedence)

❍
(with the use of
ACL)

❍
(with the use of
ACL)

❍
(with the use of
ACL (*1))

IPv4 DSCP

❍
(with the use of
ACL)

❍
(with the use of
ACL)

❍
(with the use of
ACL (*1))

IPv6 DSCP

❍
(with the use of
ACL)

❍
(with the use of
ACL)

–

IP/MAC filtering

❍

❍

❍ (*1)

Log in password

❍

❍

❍

Application filtering (per application server)

❍

❍

❍

IPv4 filter

❍
(with the use of
ACL)

❍
(with the use of
ACL)

❍
(with the use of
ACL)

IPv6 filter

❍
(with the use of
ACL)

❍
(with the use of
ACL)

–

❍

❍

❍

Loop detection

❍

❍

❍

Broadcast/multicast storm control

❍

❍

❍

MAC table flash

❍

❍

–

Port mirroring

❍

❍

❍

ether L3 watch

❍

❍

❍

Output rate control

–

–

❍

❍

❍

❍

❍

❍

❍

DNS server

❍

❍

❍

DNS relaying

❍

❍

❍

URL filtering

❍

❍

❍

❍

❍

❍

Rewrite the priority

Security

RADIUS client

Routing
IPv4
Static
Multicast
IGMP snoop (v1, v2)
ProxyDNS

SNMP Agent (v1, v2c, v3)
Means of configuration
telnet

❍

❍

❍

ssh

❍

❍

❍

Serial (CLI)

❍

❍

❍

WWW browser (Web UI)

❍

❍

❍

31

Software Specifications

XG Series User's Guide

Chapter 1 Features and Functions

Features

Item

XG0224

XG0448

XG2600

System logging

❍

❍

❍

Error logging

❍

❍

❍

Automated time adjustment

❍

❍

❍

Scheduling

❍

❍

❍

Compact flash

❍

–

–

USB memory

–

❍

❍

Logging

*1) For the packets which applied MAC/IP filter, QoS function with the use of ACL become void.

1.2.2

Initial Values
–: Not supported
Features

Item

XG0224

XG0448

XG2600

Port information
ETHER port

1-20

21-24

–

Autodetect

25-26

49-52

1-26

Manage
ment port

–

10Gbps
(Fixed)

10/
100Mbps
(Autodetect)

Auto-detect

–

Fullduplex
(Fixed)

Autodetect

Auto-detect

–

–

MDI
(Fixed)

1-44

45-48

–

–

Autodetect

Auto-detect

–

Auto-detect

–

Copper/Fiber

Full/half duplex

MDI/MDI-X
Flow control

VLAN

tx: OFF, rx: ON

tx: OFF
(Fixed)
rx: ON
(Fixed)

VID 1 (no tag)

–

Protocol VLAN
Predefined protocol

IPv4, IPv6, FNA

Link aggregation
Load balancing algorithm

tx MAC address XOR rx MAC address

Back up port
Port selection scheme

Master ports preferred

STP information
STP operating mode
LLDP
LLMNR

STP used

Disabled

Disabled

Used

Enabled (lan 0,vlan1)

Loop detection

Disabled

Broadcast/Multicast storm control

Disabled

Egress Rate Control

–

IGMP snoop

Disabled

Enabled

Disabled
Disabled

32

Software Specifications

XG Series User's Guide

Chapter 1 Features and Functions

Item

Features
XG0224

XG0448

XG2600

IP interface

oob Interface
(Management
port):enable IPv6,
enable LLMNR

lan0 Interface:enable IPv6, enable LLMNR

RADIUS client

Disabled

Password information
User name

admin

Password

None

ACL information

None

ProxyDNS information

None

SNMP

Disabled

telnet/SSH auto logoff

5 min.

Console auto logoff

8 hour

Web browser auto logoff

10min (Fixed)

System log information
Sending to the Server

Disabled

Facility

23 (local7)

Priority

error, warn, info

Security

proxydns

Automatically current time Set

Disabled

Schedule information

None

Host database information

None

Compact flash dump

Disabled

USB memory dump

–

–
Disabled

33

–

Software Specifications

XG Series User's Guide

1.2.3

Chapter 1 Features and Functions

System Maximum Values
–: Not supported
Features

Item

XG0224

XG0448

XG2600

16000

32000

16000

Bridge information
# of blocks registered (*1)
# of static blocks registered

400

VLAN definition
# of VLANs (*2)

4094

# of Protocol VLAN

unlimited

16 VLAN

User defined Protocol VLAN

8

Link aggregation
# of member ports

8

# of groups

10

13

26

10

13

26

13

Back up ports
# of groups
STP information
# of MSTP instances

16

# of neighbor LLDP device information (*3)

26+364

52+728

26+364

MAC filters
IPv4

128 (per device)
(*4)

64 (per device)
(*8)

IPv6

128 (per device)
(*5)

–

COS (user priority)

128 (per device)
(*6)

–

IPv4 TOS (ip precedence)

128 (per device)
(*6)

64 (per device)
(*8)

IPv4 DSCP

128 (per device)
(*6)

64 (per device)
(*8)

Assign the priority to the queue

128 (per device)
(*6)

64 (per device)
(*8)

IPv6 DSCP

128 (per device)
(*7)

–

Assign the priority to the queue

128 (per device)
(*7)

–

# of address group

4

–

# of VLAN for every address group

50

–

200

2000

1

tx: 1, rx: 1 (*9)

Rewrite the priority
IPv4

IPv6

MAC table Flushing

IGMP snoop
# of multicast group addresses registered
Port mirroring
Target port

34

Software Specifications

XG Series User's Guide

Chapter 1 Features and Functions

Features

Item

XG0224

XG0448

# of ARPs registered

XG2600

8000

static

200

–

# of IPv4 interfaces

100

100 (*10)

# of IPv6 interfaces

100

100 (*10)

RA information (IPv6)
# of interface receiving RA

2

# of Default Router for every interface

4

# of IPv6 prefix for every interface

4

# of Neighbor Cache entry

8000

Routing table (IPv4)
# of routes registered

200

# of static routes registered

200

Routing table (IPv6)
# of routes registered

200

# of RA routes registered

1

# of static routes registered

200

IP filtering information
IPv4

128 (per device)
(*4)

64 (per device)
(*8)

IPv6

128 (per device)
(*5)

–

IPv4

128 (per device)
(*6)

64 (per device)
(*8)

IPv6

128 (per device)
(*7)

–

800

300

DSCP rewrite information

# of ACL definitions
# of host database definitions

100

AAA information
# of groups

10

# of defined authenticated users

1000

# of defined RADIUS servers

4

ProxyDNS

50

SNMP information
# of max. SNMP managers registered

8

# of simultaneously connected telnet/ssh/WWW browser clients (*11)

8

System logging
# of displayed system log records

1024 or more

Max. # of system log servers registered

3

Automated time adjustment
Max. # of SNTP servers registered

4

# of schedules defined

20

Application filtering information (per application server)

30

*1) Includes own entries of the device and static entries.
*2) Includes system use of VLANs (number of ether ports + 1).

35

Software Specifications

XG Series User's Guide

Chapter 1 Features and Functions

*3) First, the maximum number of neighbor LLDP device information is 15 times of the number of total ports including
1G and 10G. (XG0224: 390, XG0448: 780, XG2600: 390)
Second, each port including 1G and 10G must have at least one LLDP information. (XG0224: 26, XG0448: 52,
XG2600: 26)
The remaining number of neighbor LLDP device information can be distributed to any ports. (XG0224: 364,
XG0448: 728, XG2600: 364)
*4) Total number of MAC filter (IPv4) and IPv4 filter definitions.
*5) Total number of MAC filter (IPv6) and IPv6 filter definitions.
*6) Total number of Rewrite the priority (IPv4) and IPv4 DSCP rewrite definitions.
*7) Total number of Rewrite the priority (IPv6) and IPv6 DSCP rewrite definitions.
*8) The total number of MAC filter, IPv4 filter, MAC QoS and IPv4 DSCP rewrite definitions may be reduced as the
number of ACL rules increase.
*9) Same port can't be used as a target port for tx and for rx.
*10) Includes Management Port Interface (oob).
*11) 4 sessions for Telnet, 1session fot WWW (http), 1session for console, 1session for ftp, 1session for ssh (sftp).

36

Software Specifications

Chapter 2
Using the CLI

This chapter describes how to use the command line interface (CLI) to operate the device.

2.1

2.2

Overview of the CLI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
2.1.1

Operating Environment for the CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

2.1.2

Command Modes and Mode Switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

Using the CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
2.2.1

Using the Shell Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

2.2.2

Error Messages Common to All Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53

2.2.3

Characters that can be entered . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54

XG Series User's Guide

2.1

Chapter 2 Using the CLI

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 the CLI

There are two ways to access the device to run commands.
•

Serial connection
Connect to the serial port of the device using RS232C cable via RJ45conversion cable.
The available terminal emulation type is VT100.
When initially connecting a terminal to the device, configure the serial port on the client side as shown below.
Item

•

Setting value

Baud rate

9600 bps

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

Remote connection via LAN port
Connect a terminal or host computer using a telnet client to the management LAN port of the device TCP port of 23
Is used for the default telnet connection
The following tables list the factory defaults.
Management-LAN [XG2600] and LAN Interface initial settings
Item

Setting value

IP address

None (must be set before using the LAN interface)

Subnet address

None (must be set before using the LAN interface)

Telnet server initial settings
Item

Setting value

Use telnet

Enable

Port number

23 (TCP)

Emulation

VT100/VT200/xterm

BackSpace key

Delete

Character set

ASCII

To use the remote connection via the management-LAN port, use the "oob ip" command to configure the managementLAN port for the device as below. [XG2600]
XG2600(config)# oob ip 192.168.1.1/24 3
XG2600(config)# commit
XG2600(config)# save

To use the remote connection via the LAN port 1, use the "lan ip" command to configure the management-LAN port

38

Overview of the CLI

XG Series User's Guide

Chapter 2 Using the CLI

for the device as below.
XG2600(config)#
XG2600(config)#
XG2600(config)#
XG2600(config)#
XG2600(config)#

ether 1 vlan untag 1
lan 0 vlan 1
lan 0 ip 192.168.1.1/24 3
commit
save

A VT100, VT200, or xterm can be used as a terminal.

2.1.2

Command Modes and Mode Switching

The following table shows a hierarchy of command modes and mode switching.

2.1.2.1 Command Operation Procedure
The flow of system operation via command execution is as follows:
1) Login to the device.
2) Run an operation command to manage system operations.
3) Run a configure command to move to configuration mode.
4) Run a configuration command to set candidate configuration (candidate-config).
5) Run a commit command to apply the candidate configuration as a running configuration (running-config).
6) Run a save command to save the candidate configuration as a startup configuration (startup-config).
7) Run an exit or similar command to return to operation mode.
8) Repeat steps 2) through 7)
9) Run an exit command to log out.
Reference " Login to the device" (pg.40), "2.1.2.2 Executable commands" (pg.42)

Login 
user name

Operation mode

user
exit

User
class

Configuration mode
admin / su
exit / !

Admin
class

configure
exit / ! / end / quit

Admin
class

admin
exit
Operation command 

Operation command
Configuration command

Running configuration
(running-config)

commit
load

Candidate configuration
(candidate-config)
save

reset / Reconnect power

39

load

Startup configuration
(startup-config)

Overview of the CLI

XG Series User's Guide

Chapter 2 Using the CLI

Login to the device
When you connect to the device via a console port, telnet, or ssh connection (*1), a login prompt like the following one
appears:
Login:
Enter user name (*1)
Password:
Enter password.
 weak admin’s password:set the password (*2)
#
Commands can be run. (*3)
By entering the user name and password, you can run commands.
Only the administrator can log into the system for the first time. For the first time, enter "admin" for the user name, and
press ENTER for the password.
*1) For ssh connections, "Login:" does not appear. Specify the user name at the ssh client.
*2) This message warns you that system security is weak because the password is not set. This message will not appear
after you set a password with 8 or more alphanumeric characters and symbols.
*3) The model name is also shown in the prompt by default. When a prompt character string is configured, the configured
prompt is displayed.

User name and password
The user name and password are different for the administrator and general users.
•

User name
The username for the administrator is "admin" and the user name for the general user is "user" (fixed user names).
By using a password aaa command and specifying use of AAA user information (aaa user id command) or RADIUS
server user information as the login user information, you can add user names as an administrator or general user.

•

Password
No password is configured by default. Be sure to configure the password when you log into the system for the first
time. Use the password admin set command to configure the administrator password and the password user set
command to configure the general user password. When configuring password aaa command settings, set the
administrator and user passwords in the AAA user information stored in the system (aaa user password command) or in
the user information for the RADIUS server.
Reference "5.14 Password Information" (pg.257)

40

Overview of the CLI

XG Series User's Guide

Chapter 2 Using the CLI

Privilege classes (admin class and user class)
Two privilege classes are available; admin class (login as admin) and user class (login as user).
•

admin class
All commands can be run.
However, admin commands and su commands cannot be run because it is not necessary to run them in admin class.

•

user class
Only a portion of operation commands can be run. Configuration commands cannot be run. You can run an admin
command to transfer to admin class.

If a password aaa command has been used to specify use of the AAA user information (aaa user id command) or RADIUS
server user information as the login user information, the user name privilege class is determined as follows:
•

When using RADIUS server
Determined according to the Filter-ID attribute information configured in the RADIUS server.
RADIUS attribute (number)
Filter-ID (11)

•

Setting
For admin class

: ”administrator”

For user class

: ”user”

When using user information on the device
Determined according to aaa user user-role command settings.

Use modes (operation mode and configuration mode)
Two use modes are available; operation mode and configuration mode.
•

Operation mode
Only operation commands can be run.

•

Configuration mode
Both configuration commands and operation commands can be run.

The use mode immediately after logging into the system is operation mode.
The table below displays user names and corresponding passwords, as well as privilege class and use mode after login.
Login user
name

Default password
information

Password configuration
command

Login privilege
class

Login use mode

admin

None
(blank) (Hit ENTER)

password admin set

admin class

Operation mode

user

Not set
(login not possible [*])

password user set

user class

Operation mode

*) To log into the system as user, configure password information for the user.

41

Overview of the CLI

XG Series User's Guide

Chapter 2 Using the CLI

2.1.2.2 Executable commands
Command execution is restricted according to the following conditions:
•

Command type

•

Privilege class

•

Use mode
Reference

" Privilege classes (admin class and user class)" (pg.41),
" Use modes (operation mode and configuration mode)" (pg.41)

Command type (operation commands and configuration commands)
Two command types are available; operation commands and configuration commands.
Since the use mode after logging into the system is operation mode, you can only run operation commands.
By running a configure command, the use mode changes to configuration mode and you will be able to run configuration
commands as well as operation commands.
However, since you cannot run a configure command in user class, run an admin command to change to admin class before
running the configure command.
The following table lists command types and functions.
Command type

Command function

Operation command

Display and manipulate device status, operation status, and
network status, display or delete stored information, etc.

Configuration command

Operating information settings and network configuration,
etc.

The following table lists commands and operations.
Command

Operation

Configuration command

Sets to candidate configuration (candidate-config).
These are basically not reflected in running operations; however, as in password
information configuration, there are commands to reflect settings immediately.

commit command

The candidate configuration is reflected in the running configuration (runningconfig) and active operations change.
Reference
Reference

"5.48 Effect by "commit" Command Execution" (pg.543)

save command

Saves candidate configuration to startup configuration (startup-config).

Run reset command or reconnect
power

Applies candidate configuration to the running configuration.

show candidate-config command

Displays candidate configuration settings.

show running-config command

Displays active configuration settings.

show startup-config command

Displays startup configuration settings.

delete command

Deletes configuration settings.

Precautions
If you run a reset command or reconnect power without first running a save command, the running configuration and
candidate configuration will return to the state they were in before running a configuration command.

42

Overview of the CLI

XG Series User's Guide

Chapter 2 Using the CLI

2.2

Using the CLI

2.2.1

Using the Shell Function

The shell function supports the following features in order to assist command entry:
•

Command execution function

•

Entry editing function

•

Command name autocomplete function

•

Command argument autocomplete function

•

Abbreviated command entry function

•

Command alias function

•

Configuration hierarchy function

•

Time of command execution display function

•

Command history function

The following describes each function.

2.2.1.1 Command execution function
The command execution function allows you to enter a command string and hit ENTER or RETURN to run the command.
You can enter ASCII characters, EUC kanji, or Shift JIS kanji characters for the command string.
To enter a kanji character, specify its code using a terminal charset command.
The maximum length of a command string is 1,022 characters (including the prompt string) for ASCII characters. A single
kanji character is equivalent to two ASCII characters.

2.2.1.2 Entry editing function
The entry editing function allows you to move the cursor, insert or delete characters, and delete, cut, and paste words
within an entered command string.
Refer to "2.2.1.10 List of shell key bindings" (pg.52) for keys used with the entry editing function.
The entry editing function uses the VT100 terminal escape sequence to move the cursor and perform other functions.
When cursor movement or other functions do not work correctly, check that the terminal software being used supports
VT100 terminal emulation. In addition, if the screen display is not set to 24 lines and 80 columns, use the terminal window
command to configure the screen correctly.
Reference "2.2.1.10 List of shell key bindings" (pg.52)

43

Using the CLI

XG Series User's Guide

Chapter 2 Using the CLI

2.2.1.3 Command name autocomplete function
The command name autocomplete function allows you to display a list of command names without entering anything by
pressing the TAB key or CTRL + I. In addition, if you press the TAB key or CTRL + I after entering part of a command,
the command string will be automatically completed. Automatically completed character strings differ depending on
conditions.
The following table details autocomplete operations for entered characters.
Command name beginning with entered characters

Operation

When nothing is entered

A list of all command names is displayed.

When a single command applies

The applicable command name is automatically completed
along with a single blank character.

When multiple commands apply, with the same string
following the entered characters

The identical character string portion is completed.

When multiple commands apply, with different strings
following the entered characters

A list of possible commands is displayed.

When no command applies

Nothing is displayed.

When you use autocomplete without entering anything, a list of commands with the command-type lines shown below is
displayed.
•

--Exec commandsOperation commands and alias commands

•

-- Exec commands (config mode)-Operation commands and aliases for configuration mode

•

--Config commands-Configuration commands

•

--Config commands (current directory)-Configuration command arguments (when the configuration hierarchy function is enabled and you are not in the top
hierarchy)

The command name autocomplete function works differently according to the number of times you hit the TAB key or
CTRL + I.
The table below lists the autocomplete operation for each number of times the TAB key or CTRL + I are hit.
Note that descriptions are displayed in Japanese (kanji characters). If they are not displayed correctly, use a terminal
charset command to specify a kanji character code which is displayed correctly.
Number of times the TAB
key or CTRL + I are hit

Operation

One time

A list of command names is displayed or the entered command string is automatically
completed.

Two times

Command and argument names corresponding to the use mode and their descriptions are
displayed.
In operation mode, the operation command names and descriptions, and the names of
commands registered using an alias command as well as their registration content are
displayed.
In configuration mode when the configuration hierarchy function is disabled, the
configuration command names and their descriptions are displayed.
In configuration mode, when the configuration hierarchy function is enabled and you are at
the top hierarchy level, the configuration command names and descriptions are displayed.
In configuration mode, when the configuration hierarchy function is enabled and you are not
at the top hierarchy level, the command argument names available for the current hierarchy
level and their descriptions are displayed.

44

Using the CLI

XG Series User's Guide

Chapter 2 Using the CLI

Number of times the TAB
key or CTRL + I are hit
Three times

Operation
Command forms are displayed.
In operation mode, simplified command forms are displayed.
In configuration mode, when the configuration hierarchy function is disabled, simplified
command forms are displayed.
In configuration mode, when the configuration hierarchy function is enabled and you are at
the top hierarchy level, simplified command forms are displayed.
In configuration mode, when the configuration hierarchy function is enabled and you are not
at the top hierarchy, command forms for the current hierarchy level and simplified command
forms are displayed.

Four times

Returns to the operation for hitting the TAB key or CTRL + I one time.

45

Using the CLI

XG Series User's Guide

Chapter 2 Using the CLI

2.2.1.4 Command argument autocomplete function
While entering configuration command arguments, the command argument autocomplete function allows you to display a
list of arguments and candidate arguments without entering anything by pressing the TAB key or CTRL + I. In addition, if
you press the TAB key or CTRL + I after entering part of an argument, the remaining character string will be automatically
completed.
The argument autocomplete function works differently according to the number of times you hit the TAB key or CTRL + I.
The table below lists the autocomplete operation for each number of times the TAB key or CTRL + I are hit.
Note that descriptions are displayed in Japanese (kanji characters). If they are not displayed correctly, use a terminal
charset command to specify a kanji character code which is displayed correctly.
Number of times the TAB
key or CTRL + I are hit

Operation

One time

A list of arguments and argument candidates is displayed or the entered argument
string is autocompleted.

Two times

Descriptions of arguments and argument candidates are displayed.

Three times

The command syntax following the current argument is displayed.

Four times

Returns to the operation for hitting the TAB key or CTRL + I one time.

This works in the same way as command name autocomplete.

Note

For some command arguments, you can specify multiple arguments separated by a comma (,), or specify a range of values
delimited by a hyphen (-). The argument autocomplete function assumes that all arguments allow specifying multiple arguments
and value range, and if you autocomplete an argument after entering "," or "-", all the argument candidates will be given.

2.2.1.5 Abbreviated command entry function
The abbreviated command entry function allows you to run a command with its name and argument entered only partway.
For each command name and command argument entered, the command name autocomplete and command argument
autocomplete are performed and the command is executed. When there are multiple candidates, enter characters until
candidates are narrowed to one, and then execute the command. If you execute the command while there are still multiple
candidates, the command is not autocompleted and an error occurs.

2.2.1.6 Command alias function
The command alias function allows you to register a command name and its argument(s) as a single command.
Use the alias command to register, delete, and display command aliases.
Note that commands registered with a command alias cannot be autocompleted by the abbreviated command entry
function, and you must enter the complete command name and arguments when registering them.When a command alias is
registered correctly, it will be included for command name and argument autocomplete.

46

Using the CLI

XG Series User's Guide

Chapter 2 Using the CLI

2.2.1.7 Configuration hierarchy function
The configuration hierarchy function interprets common portions of executed configuration command names and
arguments as a hierarchy level, and allows you to move between hierarchy levels.
When you execute a configuration command and the command completes successfully, in general the portion from the
command name to the argument two arguments before an argument specifying a variable value becomes a hierarchy level.
This may differ depending on the command.
Ex.)
(argument with variable value)
(configure)# lan 0 ip address 192.168.0.1/24 3
(Move hierarchy level to the argument two before the variable value argument)
(configure-lan-0-ip)#
Even in cases where an error occurs because the number of arguments is less than required, the configuration hierarchy
function assumes the entered command name and arguments to be a hierarchy level. Depending on the command, even if
arguments are incorrect the configuration hierarchy function may judge that there are not enough arguments and interpret
the entry as a hierarchy level. The portion assumed to be a hierarchy level is displayed at the command prompt. However,
if you have used a terminal prompt command to change the entry prompt string to exclude the configuration hierarchy, it is
not displayed.
After moving to a hierarchy level, you can only enter command arguments following the current level to execute the
command. When the number of arguments is still not enough, a further hierarchy level is displayed. When you have
omitted an optional argument, without moving to another hierarchy level the command is executed correctly, following
which you will move to a higher hierarchy level. Be sure to enter optional arguments as a group. To execute a command
other than at the hierarchy level you have moved to, enter it beginning with the command name.
However, in a hierarchy level for an argument which allows for arbitrary character strings, any strings other than the
commands below will be entered as configuration command arguments. To enter one of the following commands as an
argument for a configuration command, move to a higher level, and then enter so that strings matching these commands
are the second argument or following.
exit, !, end, quit, up, top, delete, show, clear, commit, discard, save, load, reset,
Comment line beginning with #
Ex.)
(configure)# acl 0 ip
(Moves to another level because there are not enough arguments.)
(configure-acl-0-ip)# any
(Moves to another level because there are not enough arguments.)
(configure-acl-0-ip-any)# any (Moves to higher level because command can complete successfully
without specifying an optional argument.)
(configure-acl-0)#
If you run the show command with no arguments after moving hierarchy levels, a list of configuration commands for that
level and following is displayed.
You can move to a higher hierarchy level or to the top level using an up command or top command respectively.
The configuration hierarchy function is disabled by default. Even when it has been enabled, this function is disabled after
you log out of the system. In this case, no message is displayed to indicate that the function has been disabled.
The following explains how to enable and disable the configuration hierarchy function.
•

To enable the configuration hierarchy function: Press CTRL + O in configuration mode.
The following message is displayed and the configuration hierarchy function is enabled. Information which has been
partially entered will not be discarded.
 The configuration directory mode is enabled. To disable, type Ctrl+G.

47

Using the CLI

XG Series User's Guide

•

Chapter 2 Using the CLI

To disable the configuration hierarchy function: Press CTRL + G.
The following message is displayed and the configuration hierarchy function is disabled. Information which has been
partially entered will be discarded.
 The configuration directory mode is disabled.

A command execution example is shown below.

z Command
# configure
(config)# lan 0 ip address 192.168.1.1/24 3
(config-lan-0-ip)#
(config-lan-0-ip)# show
address 192.168.1.1/24 3
service server
info address 192.168.1.100/24 32
(config-lan-0-ip)# save
(config-lan-0-ip)# top
(config)#

(Change to configuration mode.)
(Run configuration command.)
(Hierarchy level is displayed at the command prompt.)
(Display configuration following the current level.)

(Enter the command name and run the command.)
(Move to the top level.)

2.2.1.8 Time of command execution display function
The time of command execution display function allows you to display the time when the execution of a command starts.
This function is useful when a command execution log is being recorded during operations.
To enable the time of command execution display function, use the terminal timestamp command.
Although you can check command execution time with the show logging command, execution time is only displayed for
commands recorded in the command execution history. You can also use the terminal prompt command to display the date
and time in the prompt string However, this is not the time when a command was executed but the time when the prompt
was displayed.

2.2.1.9 Command history function
The command history function allows you to record command execution history and re-execute commands using this
history. You can also redisplay commands and replace commands in the history.
You can set the number of lines in the command history using a terminal logging command.
Note

You can also press CTRL + P and CTRL + N to sequentially display the command history items, and re-execute or re-edit and
execute a displayed command.

Reference

"2.2.1.10 List of shell key bindings" (pg.52)

The following explains how to re-execute and redisplay commands.
You can use the history specifier and display specifier together with command character string replacement.

48

Using the CLI

XG Series User's Guide

Chapter 2 Using the CLI

Re-executing commands
You can enter a history specifier at the beginning of the command string to re-execute the command. The command will be
executed after the command string for re-execution is displayed. In addition, command history and history numbers can be
viewed with the history command. Note that you can enter the history specifier only once at the beginning of the command
line. Any history specifiers entered thereafter will be treated as normal characters.
History specifier

Operation

!!

Re-execute the last command run.

! history number

Re-execute the command with the specified history number.

!-number in history

Re-execute the command run the specified number of commands before in the history.
Ex.) !-3 (The third command from the newest in the history is re-executed.)

! string

The last run command beginning with the specified string is re-executed.
Ex.) !net (The last run command beginning with "net" is re-executed.)

When you enter a string following the history specifier, it will be added to end of the command string invoked from the
history.
The following shows an example.

z Command
# show ip route
(The execution results of show ip route are displayed.)
(Add "all" to the last command and execute it.)
# !! all
show ip route all
(Display the command string to re-execute.)
(The execution results of show ip route all are displayed.)

Redisplaying commands
You can redisplay a previously run command by entering a display specifier (:p) following a history specifier. Note that the
displayed command is not re-executed yet.
Since the displayed command string is recorded as a new command history item, you can re-execute it by entering !! after
checking the command string.
Display specifier
:p

Operation
Redisplays a command.
Ex.) !net:p (The last run command beginning with "net" is redisplayed.)

When you enter a string following the display specifier, it will be added to end of the command string invoked from the
history.
A command execution example is shown below.

z Command
# show ip route
(The execution results of show ip route are displayed.)
# !!:p all
show ip route al

(Add "all" to the last command executed and display it.)
(Display the command string.)

# !!
(Re-execute the previous command.)
show ip route all
(Display the command string to re-execute.)
(The execution results of show ip route all are displayed.)

49

Using the CLI

XG Series User's Guide

Chapter 2 Using the CLI

Replacing the last command string
By entering a replacement specifier (^), replacement target string, and replacement string at the beginning of a command
string, you can re-execute the last command with the specified string replaced with a new string.
If no replacement string is specified, the target string will be deleted.
The table below lists specifiers and operations. (A: replacement target string, B: replacement string, C: additional string)
Command

Operation

^A^B^

Replace A with B and execute the command string.

^A^B^:p

Replace A with B and display the command string.

^A^B^C

Replace A with B, add C to the command string, and execute it.

^A^B^:pC

Replace A with B, add C to the command string, and display it.

^A^^

Delete A and execute the command string.

^A^^:p

Delete A and display the command string.

^A^^C

Delete A, add C to the command string, and execute it.

^A^^:pC

Delete A, add C to the command string, and display it.

A command execution example is shown below.

z Command
# show running-config lan 0 ip address
(Display the IP address for lan 0.)
# ^addr^rout^:p
show running-config lan 0 ip routess

(Replace addr with rout and display the command string.)

# ^ess^e^
(replace ess with e and execute the command string.)
show running-config lan 0 ip route
(Display the command and execute it.)
(Display the static route information for lan 0.)

50

Using the CLI

XG Series User's Guide

Chapter 2 Using the CLI

Replacing command strings
By entering a single-replacement specifier (:s) or all-replacement specifier (:gs) following a history specifier and
replacement specifier, you can replace the target string and re-execute the command string.
A single-replacement specifier replaces the first matching string only, while an all-replacement specifier replaces all
matching strings.
The replacement target string and replacement string are specified as with string replacement for the preceding command;
however, arbitrary characters (@, #, %, &, ~, =, _, etc.) may be used as delimiters. You can successively enter a singlereplacement specifier, all-replacement specifier, and display specifier.
The table below lists specifiers and operations. This example uses "/" as a delimiter.
(A: replacement target string, B: replacement string, C: additional string)
Command

Operation

:s/A/B/

Replace only the first instance of A with B and execute the command string.

:ps/A/B/

Replace only the first instance of A with B and display the command string.

:s/A/B/C

Replace only the first instance of A with B, add C to the command string, and execute it.

:ps/A/B/C

Replace only the first instance of A with B, add C to the command string, and display it.

:gs/A/B/

Replace all instances of A with B and execute the command string.

:pgs/A/B/

Replace all instances of A with B and display the command string.

:gs/A/B/C

Replace all instances of A with B, add C to the command string, and execute it.

:pgs/A/B/C

Replace all instances of A with B, add C to the command string, and display it.

:s/A//

Delete only the first instance of A and execute the command string.

:ps/A//

Delete only the first instance of A and display the command string.

:s/A//C

Delete only the first instance of A, add C to the command string, and execute it.

:ps/A//C

Delete only the first instance of A, add C to the command string, and display it.

:gs/A//

Delete all instances of A and execute the command string.

:pgs/A//

Delete all instances of A and display the command string.

:gs/A//C

Delete all instances of A, add C to the command string, and execute it.

:pgs/A//C

Delete all instances of A, add C to the command string, and display it.

:s/A1/B1/:gs/A2/B2/:p

Replace only the first instance of A1 with B1, replace all instances of A2 with B2, and display the
command string.

A command execution example is shown below.

z Command
# lan 0 ip address 192.168.0.1/24 3
# !!:gs/0/1/:p
(Replace all instances of 0 with 1 and display the command string.)
lan 1 ip address 192.168.1.1/24 3
# !!
(Re-execute the last command to run.)
lan 1 ip address 192.168.1.1/24 3

Note

When entering a command with the command history function, you can omit the last delimiter (/, ^, etc.) at the end of the
command line. However, when the last delimiter is omitted, you cannot specify a display specifier (:p), additional history
specifier, or additional string.

51

Using the CLI

XG Series User's Guide

Chapter 2 Using the CLI

2.2.1.10 List of shell key bindings
The following table shows the key bindings for using the shell.
Key combination
(note)

Single
key

Ctrl+A
Ctrl+B

Operation
Moves the cursor to the top.

← (Note)

Moves the cursor to the left by one character.

Ctrl+C

Interrupts input.

Ctrl+D

Deletes one character if any are input.
Logs off if there are no characters entered.

Ctrl+E
Ctrl+F

Moves the cursor to the end.
→ (Note)

Ctrl+G

Moves the cursor to the right by one character.
Disables the configuration hierarchy function.

Ctrl+H

BS

BACKSPACE
Moves the cursor one character to the left deleting one character.

Ctrl+I

Tab

Autocomplete/displays autocomplete candidate list/displays argument descriptions/
displays argument syntax

Ctrl+J

Return

Input complete

Ctrl+K

Cuts from the cursor position to the end.

Ctrl+L

Updates the screen.

Ctrl+M
Ctrl+N

Input complete
↓ (Note)

Ctrl+O
Ctrl+P

Shows the next history item.
Enables the configuration hierarchy function.

↑ (Note)

Shows the previous history item.

Ctrl+R

Redisplays input.

Ctrl+T

Converts one character.

Ctrl+U

Cuts from the cursor position to the top.

Ctrl+W

Cuts from the cursor position one word to the left.

Ctrl+X

Cuts from the cursor position to the top.

Ctrl+Y

Paste

ESC Ctrl+H

ESC BS

ESC Ctrl+I

ESC TAB

Cuts from the cursor position one word to the left.
Displays argument description.

ESC Ctrl+K

Cuts from the cursor position one word to the right.

ESC b

Moves the cursor to the left by one word.

ESC f

Moves the cursor to the right by one word.

ESC n

Shows the next history item beginning with the string prior to the cursor position.

ESC p

Shows the previous history item beginning with the string prior to the cursor position.

ESC <

Shows the oldest history item.

ESC >

Shows the newest history item.

Notes)
•

"Ctrl+α" indicates pressing CTRL and α at the same time.

•

"ESC α" indicates pressing ESC followed by α.

•

The arrow keys (↑,↓,← ,→ ) do not work properly on the hyper terminal. Use key combinations instead.

•

When using with terminal software or telnet commands, some key combinations with CTRL may not work. Refer to
the terminal software or telnet command manual to configure the device so that so that key combinations with CTRL
work properly.

52

Using the CLI

XG Series User's Guide

2.2.2

Chapter 2 Using the CLI

Error Messages Common to All Commands

The table below lists error messages common to all commands and displayed when autocompleting or executing
commands.
Note that the argument position shown in these error messages indicates the place of the erroneous argument, counted from
the command name as "1."
Common error message
 Command name: Unknown command

Meaning
An unknown command.
Cannot be executed in the current use mode.
Cannot be executed with the current privilege class.

 Command name: Operation not permitted

Execution of this command is not permitted.

: 0: missing argument

The argument specification is insufficient.

: 0: too many argument(s)

The argument specification is excessive.

: Argument position: format error

The argument syntax is not correct.
Unknown command for configuration hierarchy.

: Argument position: value out of range

The argument value is out of the valid range (too small, too large,
too long, etc.).

: Argument position: lack of table

The number of arguments has reached the defined upper limit.

: Argument position: no such table

Specified definition cannot be found.

: Argument position: duplicate value

Already defined.

: Argument position: fail to request

Could not execute the command.

: Argument position: unique password

Not a unique password.
Cannot be changed from the unique format.

: detected HARD ERROR, cannot execute

Cannot execute the command due to a hardware error.

53

Using the CLI

XG Series User's Guide

2.2.3

Chapter 2 Using the CLI

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 as one or more space characters (ASCII code: 0x20).
Don't enclose a parameter in quotes (") but for instructions to use quotes (") to contain a blank space.
The commands are case-sensitive.

54

Using the CLI

Chapter 3
Installation

This chapter describes the installation procedures for the device.
Reference

3.1

Refer to "chapter 2 Using the CLI" (pg.37) for details on using the CLI.
Refer to "chapter 5 Command Reference" (pg.85) for details on commands.

Workflow for Initial Setup of the Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
3.1.1

Configure LAN Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

3.1.2

Telnet Connection via the LAN Interface (Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

3.1.3

SNMP Configuration (Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58

XG Series User's Guide

3.1

Chapter 3 Installation

Workflow for Initial Setup of the Device

This section describes the procedures to setup the device.
1) Prepare a terminal
Prepare a terminal for the initial configuration.
2) "Besic Setting Up"
Connect the device and terminal with an RS232C cable. The band rate setting is 9,600 bps.
To configure the Device basically, carry out the following procedure.
Command

Task

Login:admin
Password:

Login to the device from the serial terminal. The user name is
"admin". The default password is not set.

XG2600# configure

Switch to Configuration mode.

XG2600(config)# sysname HOST-NAME

Set the device name (HOST-NAME).

XG2600(config)# time zone -0500

Set time zone.

XG2600(config)# date YYYY/MM/DD.hh:mm:ss

Set date and time.

XG2600(config)# password admin set
Password:
Retype password:

Set the password for user "admin".
Type password.
Retype password.

XG2600(config)# save

Save the configuration.

XG2600(config)# reset

Reset the device.

3) Turn on the device to start the system.
Turn on the terminal and the device to start the system.
4) "Configure LAN Interface"
The initial setting of the LAN interface is for only IPv6 link-local address.
To use the following functions, set up the LAN interface:
- Telnet connection
- SNMP manager connection
- System log transmission
- Time synchronization using an NTP/SNTP server
- Configuration file upload/download
- Firmware update
- Collection of maintenance information
5) "Telnet Connection via the LAN Interface (Optional)"
The initial setting of the Telnet connection via the management LAN interface is disabled.
Enable telnet connection if necessary.
6) "SNMP Configuration (Optional)"
Initially, the SNMP agent configuration is not set.
Set the SNMP configuration as needed.
7) This is the end of the preparation procedure
Proceed with configuring the switch.

56

Workflow for Initial Setup of the Device

XG Series User's Guide

3.1.1

Chapter 3 Installation

Configure LAN Interface

The initial setting of the LAN interface is for only IPv6 link-local address.
To use the following functions, configure the LAN interface.
•

Telnet connection

•

SNMP manager connection

•

System log transmission

•

Time synchronization using an NTP/SNTP server

•

Configuration file upload/download

•

Firmware update

•

Collection of maintenance information

To configure the LAN interface, carry out the following procedure.
Command

Task

Login:admin
Password:

Login to the device from the serial terminal. The user name is

XG2600# configure

Switch to Configuration mode.

XG2600(config)# oob ip address A.B.C.D/M 3

Set the IP address, subnet, and default gateway of the LAN interface
for management port. (XG2600 only)

XG2600(config)# lan 0 ip address A.B.C.D/M 3
XG2600(config)# lan 0 vlan 1

Set the IP address, subnet, and default gateway of the LAN interface
for VLAN ID 1.

XG2600(config)# proxydns domain 0 any * any
static A.B.C.D

(Optional)
Set up DNS servers.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

3.1.2

"admin". Type the password for uset "admin".

Telnet Connection via the LAN Interface (Optional)

The "Telnet server function" is initially enabled.
The telnet session timeout period is initially 5 minutes.
To change the telnet session timeout period, carry out the following procedure in "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# telnetinfo autologout 30m

Set the Telnet session timeout period (30 minutes).
If the Telnet session timeout period expires the telne connection is
terminated.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

57

Workflow for Initial Setup of the Device

XG Series User's Guide

3.1.3

Chapter 3 Installation

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 "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# snmp service on

Enable SNMP function.

XG2600(config)# snmp agent contact SYSTEMCONTAC

Set the swith's contact (SYSTEM-CONTACT).

XG2600(config)# snmp agent location SYSTEMLOCATION

Set the swith's location (SYSTEM-LOCATION).

XG2600(config)# snmp agent address A.B.C.D

Set the SNMP agent address. This setting is also used for the local
address at trap transmission.
Make sure to set it when using the SNMP agent function

XG2600(config)# snmp manager 0 A.B.C.D
COMMUNIT-YNAME v2c disable

Set the IP address (host name) of the SNMP manager, the community name, sending SNMPv2 traps, and disabling writing. if the SNMP
trap notification is enabled.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

XG2600# configure

Switch to Configuration mode.

XG2600(config)# snmp service on

Enable SNMP function.

58

Workflow for Initial Setup of the Device

Chapter 4
Switch
Functions and
their Configuration

This chapter describes the functions of the device and how to configure them.
Reference

4.1

Refer to "2.1.1 Operating Environment for the CLI" (pg.38) for details on using the CLI.
Refer to "chapter 5 Command Reference" (pg.85) for details on commands.

Basic Switch Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
4.1.1

Switching Mode (XG2600) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

4.1.2

MAC Address Table Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62

4.1.3

Jumbo Frame Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

4.1.4

Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

4.1.5

Storm Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

4.1.6

Egress Rate Control (XG2600 Only). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64

4.2

Port Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65

4.3

Link Down Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

4.4

Link Aggregation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67

4.5

4.6

4.7

4.4.1

Configuring Link Aggregation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

4.4.2

Frame Distribution Methods in Link Aggregation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69

4.4.3

The Number of Ports That Require Linkup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

4.4.4

Notes on Link Aggregation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

Spanning Tree Protocol (STP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
4.5.1

Port Roles Based on Spanning Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72

4.5.2

Spanning Tree Protocol Port States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72

4.5.3

Configuring Spanning Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73

VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
4.6.1

Port-Based VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74

4.6.2

Tag-Based (IEEE802.1Q) VLAN. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

Quality of Service (QoS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76

4.8

4.9

IGMP Snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
4.8.1

Registering Group Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

4.8.2

Removing Group Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

4.8.3

Managing Group Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

4.8.4

IGMP Querier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81

4.8.5

Configuring IGMP Snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82

Network Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
4.9.1

Traffic Statistics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83

4.9.2

SNMP Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83

4.9.3

RMON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84

XG Series User's Guide

4.1

Chapter 4 Switch Functions and their Configuration

Basic Switch Functions

This section describes the basic switch functions.

4.1.1

Switching Mode (XG2600)

XG2600 provides the following two switching modes.
XG0224 and XG0448 provide store-and-forward switching modes only.
•

Store-and-forward switching mode
After the device finishes 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 device transmits the frame to the destination as soon as the first 64 bytes of the frame are received with no errors.
Since the device starts transmitting the frame before it receives the entire frame, this mode allows forwarding at low
latency.

To change the switching modes, carry out the following procedures in "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# forwardingmode cut-through

Select the (cut-through) for the switching mode.

XG2600(config)# forwardingmode store-and-forward

Select the (store-and-forward) for the switching mode.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

61

Basic Switch Functions

XG Series User's Guide

4.1.2

Chapter 4 Switch Functions and their Configuration

MAC Address Table Management

The MAC address table is a database used for managing the association between address information and destination ports.
XG0224 and XG2600 can learn up to 16000 entries of MAC addresses.
XG0448 can learn up to 32000 entries of MAC addresses.
•

Dynamic MAC address learning
The device dynamically learns MAC addresses from received frames. If MAC addresses are not refreshed before the
aging time expires, they will be removed frame MAC address table.
To disable the dynamic learning, carry out the following procedures in "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# mac learning off

Disable the dynamic MAC address learning.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

To change aging time period of MAC address learning table, carry out the following procedures in "admin" Operation
mode..
Command

•

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# mac age 1000

Change aging time period of MAC address learning table.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

Static unicast address
By registering a unicast MAC address with the MAC address table, unicast frames are forwarded to a specified port.
Static unicast addresses are not subject to MAC address removal controlled by the aging function.
To register, change or delete a static unicast address, carry out the following procedures in "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# vlan  forward 
 

Register a static unicast address, destination port and vlan with
the MAC address table (or remove them from it).

XG2600(config)# delete vlan  forward
XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

62

Basic Switch Functions

XG Series User's Guide

4.1.3

Chapter 4 Switch Functions and their Configuration

Jumbo Frame Support

The device can transmit jumbo frames of up to 9KB (9216 bytes). (XG0224,XG0448)
The device can transmit jumbo frames of up to 16KB (16128 bytes). (XG2600)

4.1.4

Flow Control

Flow control is a function that prevents frame loss when the receive buffer in the switch overflows due to temporary traffic
overload by using a PAUSE frame.
When the device receives a PAUSE frame, it temporarily stops sending frames at the receive port. If the receive buffer
overflows, 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 responds to a PAUSE frame or not.
To change the flow control mode, carry out the following procedures in "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# ether 1-3 flowctl off on

Set the flow control mode disable send flow control packets and
enable receive flow control packets.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

4.1.5

Storm Control

The device discards broadcast/multicast frames when the number of received broadcast frames are over a given threshold
to prevent unnecessary waste of bandwidth due to retained broadcast frames on the network. This function is called "Storm
Control".
For each port, it is possible to configure storm control.
When broadcast/multicast frames are discarded by storm control, system logs are output.
To configure storm control, carry out the following procedures in "admin" Operation mode.
•

XG2600
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# ether 1-5 mac storm 7000000k
8000000k discard

Enable storm control, set broadcast threshold 7000000k bps,
multicast threshold 8000000k bps, and set "discard" when
broadcast and multicast traffic exceeds the threshold.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

63

Basic Switch Functions

XG Series User's Guide

•

Chapter 4 Switch Functions and their Configuration

XG0224/XG0448
Command

Task

XG0224# configure

Switch to Configuration mode.

XG0224(config)# ether 1-5 mac storm 20000000
discard close

Enable storm control, set threshold 20000000 pps, set "discard"
when broadcast traffic exceeds the threshold, set "close" when
multicast traffic exceeds the threshold.

XG0224(config)# commit

Apply the configuration.

XG0224(config)# save

Save the configuration.

XG0224(config)# exit

Switch to Operation mode.

4.1.6

Egress Rate Control (XG2600 Only)

It is possible to set an egress rate-limiting value for each port in approximately 40Mbps increments.
To set an egress rate-limiting value, carry out the following procedures in "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# ether 1-5 ratecontrol 8000m

Specify an egress rate limiting value by 8000M bps for port 1-5.

64

Basic Switch Functions

XG Series User's Guide

4.2

Chapter 4 Switch Functions and their Configuration

Port Mirroring

It is possible to monitor the traffic by mirroring the frames sent or received by a port to another port.
Multiple ports may not be mirrored to one port. However, multiple ports may be mirrored.
To configure port mirroring, carry out the following procedure in "admin" Operation mode.
•

XG2600
Command

•

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# ether 10 type mirror 0 1 rx

Configure the port 10 to be destination port and the receive
frames of the source port (port 1) are mirrored.

XG2600(config)# ether 11 type mirror 0 2 tx

Configure the port 11 to be destination port and the send frames
of the source port (port 2) are mirrored.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

XG0224/XG0448
Command

Task

XG0224# configure

Switch to Configuration mode.

XG0224(config)# ether 10 type mirror 0 1 both

Configure the port 10 to be destination port and the receive/send
frames of the source port (port 1) are mirrored.

XG0224(config)# ether 10 type mirror 10 2 tx

Configure the port 10 to be destination port and the send frames
of the source port (port 2) are mirrored.

XG0224(config)# commit

Apply the configuration.

XG0224(config)# save

Save the configuration.

XG0224(config)# exit

Switch to Operation mode.

65

Port Mirroring

XG Series User's Guide

4.3

Chapter 4 Switch Functions and their Configuration

Link Down Relay

Link Down Relay is a function that monitors the status of a specified port link, if a link down detected the device notifies
the device force to link down the relay port.
(1)When Link Down Relay is not used
(1)

(3)

(2)

Link
LinkUp
Up

Link
LinkDown
Down

(4)

XG

XG

Link
LinkUp
Up

(2)When Link Down Relay is used
(3)

(2)

(1)

Link Down Relay

Link
LinkDown
Down
(1)

(4)

XG

XG

The
Theother
otherend
endbecomes
becomes
link
linkdown
downwhen
whenaalink
linkfault
fault
isisdetected.
detected.

(2)

(3)

XG

(4)

XG

Link Down Relay

Link Down Relay

The
Theother
otherend
endbecomes
becomes
link
linkdown
downwhen
whenaalink
link
fault
faultisisdetected.
detected.

Link Down Relay

To configure Link Down Relay, carry out the following procedure in "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# ether 10 downrelay port 11,12

Set port 11,12 go linkdown when the port 10 linkdown.

XG2600(config)# ether 10 downrelay recovery mode
auto

Set port 11,12 go linkup when the port 10 linkup.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

66

Link Down Relay

XG Series User's Guide

4.4

Chapter 4 Switch Functions and their Configuration

Link Aggregation

Link aggregation is a function that combines multiple ports into a single logical link. A set of ports that comprise a logical
link are called an aggregation group.
Link aggregation provides:
•

Increased bandwidth
By grouping multiple physical ports into a single logical link (an aggregation group), network traffic (data sent and
received) will be balanced across the physical ports, thereby providing increased bandwidth.

•

Redundancy
Multiplexing ports allows uninterrupted network operations should one of the multiple links fail. Since the link status
of the logical aggregation groups remains unchanged, there are no fluctuations in network traffic, the effect of a fault
having been minimized.

Up to 10 ports can be used to create a single link aggregation group using link aggregation. Up to 10 aggregation groups
can be created.

XG

XG
Aggregation
Aggregation Group
Group

Aggregation
Aggregation Group
Group
Physical
Physical Port
Port

Physical
Physical Port
Port

Physical
Physical Port
Port

Physical
Physical Port
Port

The communication

Bandwidth is

can be continued

Physical
Physical
Port
Port
is
is down.
down.

expanded by

Physical
Physical Port
Port

bundling the
physical port.

even though one
physical port is
down.

XG

XG

Link Aggregation

67

Link Aggregation

XG Series User's Guide

4.4.1

Chapter 4 Switch Functions and their Configuration

Configuring Link Aggregation

Either static or dynamic (also known as LACP) configuration can be selected for Link Aggregation.
•

Static configuration
Configures aggregation groups statically.

•

LACP
Configures link aggregation using Link Aggregation Control Protocol (LACP). The LACP is a switch-to-switch
control protocol that enables dynamic configuration of aggregation groups and is standardized by the IEEE802.3ad.
The LACP facilitates load balancing across the individual links aggregated between the devices connected.
Either "active" or "passive" LACP mode can be selected.
- active
The device starts LACP negotiation. Since the active mode allows the reception of LACP control frames, it is
possible to direct the device in "active" mode.
- passive
The device responds to LACP control frames but does not start LACP negotiation.

To configure static link aggregation, carry out the following procedure in "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# ether 1-8 type linkaggregation 1

Set port 1-8 to be linkaggregation group 1.

XG2600(config)# linkaggregation 1 mode static

Set linkaggregation group 1 to be static.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

To configure LACP link aggregation, carry out the following procedure in "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# ether 1-8 type linkaggregation 1

Set port 1-8 to be linkaggregation group 1.

XG2600(config)# ether 11-18 type linkaggregation 2

Set port 11-18 to be linkaggregation group 2.

XG2600(config)# linkaggregation 1 mode active

Set linkaggregation group 1 to be active.

XG2600(config)# linkaggregation 2 mode passive

Set linkaggregation group 2 to be passive.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

68

Link Aggregation

XG Series User's Guide

4.4.2

Chapter 4 Switch Functions and their Configuration

Frame Distribution Methods in Link Aggregation

How frames are distributed across physical ports that make up an aggregation group are determined by the contents of a
frame (source and destination MAC addresses).
There are 6 ways to specify how frames are distributed:
•

Frame distribution based on destination MAC address (da-mac)
The destination port is determined based on the destination MAC address of the frames.

•

Frame distribution based on source MAC address (sa-mac)
The destination port is determined based on the source MAC address of the frames.

•

Frame distribution based on destination and source MAC addresses (both-mac)
The destination port is determined based on the destination and source MAC addresses of the frames.

•

Frame distribution based on destination IP address (da-ip)
The destination port is determined based on the destination IP address of the frames.

•

Frame distribution based on source IP address (sa-ip)
The destination port is determined based on the source IP address of the frames.

•

Frame distribution based on destination and source IP addresses (both-ip)
The destination port is determined based on the destination and source IP addresses of the frames.

To set a distribution method, carry out the following procedure in "admin" Operation mode.
Command
XG2600# configure

Task
Switch to Configuration mode.

XG2600(config)# ether 1-8 type linkaggregation 1

Set port 1-8 to be linkaggregation group 1.

XG2600(config)# linkaggregation 1 algorithm both-mac

Set linkaggregation group 1 uses frame distribution based on
destination and source IP address.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

69

Link Aggregation

XG Series User's Guide

4.4.3

Chapter 4 Switch Functions and their Configuration

The Number of Ports That Require Linkup

It is possible to specify the number of ports that enable a linkup state for an aggregation group. If the number of active
ports that make up an aggregation group in a linkup state is less than the specified number of ports, the aggregation group
changes to a linkdown state.
•

For static link aggregation
If the number of ports that make up an aggregation group in a linkup state no longer satisfies the specified number of
ports, the aggregation group changes to a linkdown state.

•

For LACP link aggregation
If the number of ports that make up an established LACP aggregation group changes, the aggregation group reverts to
a linkdown state.

To set the number of ports in the aggregation group, carry out the following procedure in "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# ether 1-8 type linkaggregation 1

Set port 1-8 to be linkaggregation group 1.

XG2600(config)# linkaggregation 1 collecting minimum 3 Set the minimum number of member ports for aggregation group
1 to 3.
XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

4.4.4

Notes on Link Aggregation

•

No link aggregation can be used if the half-duplex link mode has been set by the "ether duplex" command.

•

All ports in the link aggregation group must be set with the same link speed.

•

All ports in the link aggregation group must be set to belong to the same VLAN.

•

Specify the link aggregation group in sequential ports.
No link aggregation can be used for the non-sequentially numbered port configuration.
The member ports of a link aggregation group must be specified to have the sequentially numbered ports.

•

If the Ethernet port type has been set as a link aggregation port and if the definition conflict as described above has
occurred, the relevant port is not linked up and it cannot be used. Change the settings by referring to the log messages.

70

Link Aggregation

XG Series User's Guide

4.5

Chapter 4 Switch Functions and their Configuration

Spanning Tree Protocol (STP)

The Spanning Tree Protocol (STP) is a function that prevents loops from occurring on a network. It is also possible to
provide network redundancy by intentionally creating a loop.
STP exclusively uses only one active path between network devices, and shuts out other paths, to avoid network loops. An
active path is selected by comparing path costs defined on each path. After the comparison, the lowest cost path will be
selected. If the selected path becomes disabled, STP will activate the lowest cost path amongst the paths remaining.
The device supports IEEE802.1w RSTP (Rapid Spanning Tree Protocol). The RSTP is upward compatible with
IEEE802.1D STP (Spanning Tree Protocol) and serves as a STP if the destination device only supports STP.
Route Switch

Switch A

Switch B
Switch Priority = 20

Switch Priority = 10
Path Cost = 10

Blocking port

15
=
st
Co
ss
Pa

Route port

Path Cost =

Path Cost =

Designated port

15

20
Forwarding pass
Blocking pass

Path Cost = 10
Switch Priority = 40

Switch Priority = 30

Switch D

Switch C

Physical Topology

Route Switch

Switch A

th

Co

st

=

20

Pa

th

C

os

t

=

10

Pa

Switch C

Switch B

Route
Path Cost = 20

Path Cost =

Route
Path Cost = 10

15
Switch D
Route
Path Cost = 25

Logical Topology by STP

71

Spanning Tree Protocol (STP)

XG Series User's Guide

4.5.1

Chapter 4 Switch Functions and their Configuration

Port Roles Based on Spanning Tree

RSTP assigns one of these port roles to individual ports:
•

Root port
Provides the best path (lowest cost) when the switch forwards packets to the root switch.

•

Designated port
Connects to the designated switch toward the leaves of the spanning tree. The port specified connecting to the
designated port serves as a root port.

•

Alternate Port
The alternative port with the second lowest path cost. In the event that the root port goes to a linkdown state, the
alternate port serves as the root port. It does not always send or receive frames while in the blocking state.

•

Backup Port
Provides an alternative path to that specified. In the event that the specified port goes into a linkdown state, the backup
port serves as the new designated port. It does not always send or receive frames while it is in the blocking state.

•

Disabled Port
Disabled port, it does not send or receive any frames.

4.5.2

Spanning Tree Protocol Port States

The port states defined by the STP are:
•

Discard
The port is in a "discarding state. BPDUs are only received.

•

Learn
The port is in a "learning" state. A port in the learning state learns the destination MAC address of the received frames
but does not participate in frame forwarding.

•

Forward
The port is ready to transmit data traffic.

The STP states "blocking" and "listening" have been merged into a unique RSTP "discarding" state. The correspondence
between STP port states and RSTP port states are shown below.
Display Format

STP (IEEE802.1D)

RSTP (IEEE802.1w)

Discard

Blocking

Discarding

Discard

Listening

Discarding

Learn

Learning

Learning

Forward

Forwarding

Forwarding

72

Spanning Tree Protocol (STP)

XG Series User's Guide

4.5.3

Chapter 4 Switch Functions and their Configuration

Configuring Spanning Tree

To configure the spanning tree protocol, carry out the following procedure in "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# stp mode stp

Enable Spanning Tree Protocol.

XG2600(config)# stp domain 0 priority (0-61440)

Configure Spanning Tree Protocol parameters on the device.

XG2600(config)# stp hello (1s-10s)

•

XG2600(config)# stp age (6s-40s)

•

Hello time

XG2600(config)# stp delay (4s-30s)

•

Maximum aging time (max-age)

•

Forward delay time (forward-time)

Switch priority

XG2600(config)# ether 1-8 stp use on

Enable Spanning Tree Protocol on port 1-8.

XG2600(config)# ether 9-20 stp use off

Disable Spanning Tree Protocol on port 9-20.

XG2600(config)# ether 1-8 stp domain 0 priority (0-240) Configure the following parameters related to the spanning tree
topology:
XG2600(config)# ether 1-8 stp domain 0 cost
(1-200000000)

•

Port priority

•

Path cost

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

73

Spanning Tree Protocol (STP)

XG Series User's Guide

4.6

Chapter 4 Switch Functions and their Configuration

VLAN

VLAN (Virtual LAN) is a technology that divides a single network into virtually separated networks.
VLANs are separate logical networks within one physical network. A VLAN capable switch can change and define new
LAN network configurations without changing physical cable connections. This creates a flexible and extensible network
system.
The device provides for port-based or Tag-based (IEEE802.1Q) VLANs.

4.6.1

Port-Based VLAN

Port-based VLAN is a method for configuring VLAN membership on a port basis. Forwarding is based on the destination
MAC addresses and related port.

Segment 3 (VLAN30)

Segment 1 (VLAN10)

VLAN10 consists
of Port 1, 2, 3

1

5

2

6

3

7

4

8

VLAN20 consists

VLAN30 consists

of Port 5, 6, 7

of port 4, 8

Segment 2 (VLAN20)

Port Base VLAN

To configure a port-based VLAN, carry out the following procedures in "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# ether 1-3 vlan untag 10

Set the default port VLAN ID 10 for port 1-3.

XG2600(config)# ether 5-7 vlan untag 20

Set the default port VLAN ID 20 for port 5-7.

XG2600(config)# ether 4,8 vlan untag 30

Set the default port VLAN ID 30 for port 4,8.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

74

VLAN

XG Series User's Guide

4.6.2

Chapter 4 Switch Functions and their Configuration

Tag-Based (IEEE802.1Q) VLAN

Tag-based VLAN is a method of configuring VLANs so that the frame forwarding decision is based on a tag in the MAC
header identifying the VLAN membership. 4 bytes of additional data in the header, called a VLAN tag, identifies the
VLAN frame ownership. Using a VLAN tag enables configuring a single physical link that shares multiple VLANs.
The device’s tag-based VLAN function is based on the IEEE 802.1Q standard.
The following figure shows an Ethernet frame format including a VLAN tag as specified by the IEEE 802.1Q standard.

DA
(6 )

SA
(6)

TYPE
TYPE
LENGTH
LENGTH
(2)
(2)

VLAN tag
(4)

2 bytes

Protocol
Protocoldata
data(IP
(IPPacket,
Packet,etc.)/
etc.)/
LLC,SNAP
LLC,SNAP

2 bytes

TPID
0x8100

TCI

User
Priority

CFI

VLAN ID

3 bit

1 bit

12 bit

TPID (Tag Protocol Identifier) (0x8100)
TCI (Tag Control Information)
User Priority(3bit): Priority of Frames (Higher priority to larger number from 0 to 7)
CFI (Canonical Format Indicator)(1bit): ”1” when RIF field exists. Normally “0”.
VLAN ID(12bit):VLAN identifier (0 to 4095. 0 and 4095 are reserved ID)

Tag VLAN Frame Format

To configure a tag-based VLAN, carry out the following procedures in "admin" Operation mode.
Command
XG2600# configure

Task
Switch to Configuration mode.

XG2600(config)# ether 1-8 vlan tag 100-300

Set the tag-based VLAN ID 100-300 for port 1-8.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

75

VLAN

XG Series User's Guide

4.7

Chapter 4 Switch Functions and their Configuration

Quality of Service (QoS)

The device provides Quality of Service (QoS) that is based on the IEEE802.1p standard.
The device QoS determines the priority of frames at the ingress side using VLAN tag (including priority tag) or a port's
default priority. Their priorities are mapped to 8 output queues.
The queues are processed in the order of the QoS priority precedence.
The device priorities available are:
•

Default priority
Set a default priority of 0 to 7 for each port.
For frames whose priority was not set (VLAN-untagged frames), the default priority is assigned according to the value
of the frame.

•

Mapping to output queues
The device is equipped with 8 output queues with different levels (0 to 7). Frames are transmitted in order of output
queue priority.
Each priority is mapped to a specified output queue.

To set the default priority and output queue mapping, carry out the following procedure in "admin" Operation mode.
•

XG2600
Command

•

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# ether 1-8 qos priority (0-7)

Set a default priority for frames whose priority was not set
(VLANuntagged frame) when received.

XG2600(config)# ether 1-8 qos prioritymap (0-7) (0-7)

Set the level of output queue to map to each frame that has a
priority value.

XG2600(config)# save

Save the configuration.

XG2600(config)# reset

Reset the device.

XG0224/XG0448
Command

Task

XG0224# configure

Switch to Configuration mode.

XG0224(config)# ether 1-8 qos priority (0-7)

Set a default priority for frames whose priority was not set
(VLANuntagged frame) when received.

XG0224(config)# qos cosmap (0-7) (0-7)

Set the level of output queue to map to each frame that has a
priority value.

XG0224(config)# save

Save the configuration.

XG2600(config)# reset

Reset the device.

76

Quality of Service (QoS)

XG Series User's Guide

4.8

Chapter 4 Switch Functions and their Configuration

IGMP Snooping

IP multicast is often used to distribute multimedia data, including video and voice, over a network.
A layer 2 switch floods multicast frames, absorbing unnecessary network bandwidth. A layer 3 switch that supports
Internet Group Management Protocol (IGMP) manages multicast groups using IGMP packets. The device controls how IP
multicast packets are forwarded to required ports by monitoring IGMP packets generated by layer 3 switches, thereby
preventing unnecessary flooding. This function is called "IGMP Snooping".
The device supports IGMP snooping for IGMP v1/v2.

Multicast Server

Multicast Server

Multicast Router

Multicast Router
Transfer
Transfer only
only to
to
the
the required
required
ports
ports

Flooding
Flooding to
to all
all
ports
ports

Layer 2
Switch

XG

Terminal

Layer 2
Switch

Terminal

IGMP Snooping

IGMP No Snooping

IGMP Snooping

77

IGMP Snooping

XG Series User's Guide

4.8.1

Chapter 4 Switch Functions and their Configuration

Registering Group Members

On receiving an IGMP Report message, the device registers a multicast MAC address to the IGMP snooping control table
for the port that received the IGMP Report message and the connecting multicast router port.
Multicast Router
VLAN 10
Port 8

XG

MAC
IGMPAddress
snoopingTable
Control Table
Port

VLAN

IGMP
IGMP Report
Report
: 0100.5E01.0203
MAC
MAC
0100.5E01.0203
Destination
IP :: 239.1.2.3
Destination
Source
IP IP : 239.1.2.3
192.168.10.20
Group IP
IP
: 239.1.2.3
Group

VLAN(RouterPort)
0100.0501.0203 Group
1, 8 IP

Port 1

Port 2

Terminal 1

(MAC address)

239.1.2.3 (01:00:05:01:02:03)

10 (8)

Port

Reporter

1

192.168.10.20

Port 3

Terminal 3

Terminal 2

Registering Group Members
Note

• The device can register multicast groups up to a maximum value (Reference "1.2.3 System Maximum Values" (pg.34)).
Multicast packets that cannot be registered are those flooding all ports belonging to the same VLAN.
• If "igmpsnoop unknown flooding off" command is set, Multicast packets that cannot be registered are those not flooding all
ports belonging to the same VLAN (XG0224, XG0448).

The following figure shows the relationship between the registered IP multicast address and the multicast MAC address.
MAC addresses that are registered with IGMP snooping are between 0100.5E00.0000 and 0100.5E7F.FFFF. An IP
multicast address is 32 bits. The first 4 bits are always 1110 followed by 28 bits that represent the IP multicast address
information. Of these 28 bits, the lower order 23 bits are mapped to a MAC address and the data in the higher order 5 bits
is not used.
Therefore 32 IP multicast addresses are mapped to the same single MAC address.
IP Multicast Address

239.

1110

1111

1. 2. 3

0 0000001

00000010

00000011

Class D
5 Bit Loss

Lower 23 Bit Mapping

Reserved for IPv4 Multicast
00000001

00000000

Multicast MAC Address

01011110

0

0000001

00000010

00000011

00 11 00 00 .. 55 EE 0 1 . 0 2 0 3

Multicast Address

78

IGMP Snooping

XG Series User's Guide

4.8.2

Chapter 4 Switch Functions and their Configuration

Removing Group Members

The group members registered by IGMP snooping are removed under the following status.
•

If after receiving an IGMP Report message for group registration, the group member interval expires before the device
receives another IGMP Report message, the switch removes the host from the group member. The setting for the group
member interval is 260 seconds.

•

If an IGMP Leave message is sent from a host, the multicast router sends out an IGMP Specific Query (GSQ) message
to determine whether that the host has left the group.

•

If after receiving the IGMP Leave message, the last member interval expires before the device receives another IGMP
Report message, the switch removes the host from the group member. The setting for the last member interval is 2
seconds.
Multicast Router
VLAN 10
Port 8

IGMP
IGMP Leave
Leave

XG

IGMPAddress
snoopingTable
Control Table
MAC

: 0100.5E00.0002
MAC
MAC
: 0100.5E00.0002
Destination IP : 224.0.0.2
Destination IP : 224.0.0.2
Source IP
: 192.168.10.20
: 239.1.2.3
Group IP

Group IP

VLAN

Port

VLAN(RouterPort)
0100.0501.0203 Group
1, 8 IP

: 239.1.2.3

Port 1

Port

Reporter

1

192.168.10.20

Port 3

Port 2

Terminal 1

(MAC address)

239.1.2.3 (01:00:05:01:02:03)

10 (8)

Terminal 2

Terminal 3

Removing Group Members (1)
IGMP
IGMP Specific
Specific Query
Query

Multicast Router

MAC
:: 0100.5E01.0203
MAC
0100.5E01.0203
Destination
Destination IP
IP :: 239.1.2.3
239.1.2.3
Group
:: 239.1.2.3
Group IP
IP
239.1.2.3

VLAN 10
Port 8

XG

MAC
IGMPAddress
snoopingTable
Control Table
VLAN

Port

VLAN(RouterPort)
0100.0501.0203 Group
1, 8 IP

Port 1

Terminal 1

(MAC address)

239.1.2.3 (01:00:05:01:02:03)

10 (8)

Port

Reporter

1

192.168.10.20

Port 3

Port 2

Terminal 3

Terminal 2

Removing Group Members (2)
Note

The registered Multicast Group IP is not detete form the IGMP snooping Control Table automatically.
Please use "clear igmpsnoop group" command to delete it.

79

IGMP Snooping

XG Series User's Guide

4.8.3

Chapter 4 Switch Functions and their Configuration

Managing Group Members

When network congestion causes Leave message loss or there is a host that uses IGMPv1, the multicast router does not
receive Leave messages. The multicast router sends out an IGMP General Query message to all hosts (IP address:
224.0.0.1) at intervals (query interval) to determine membership information.
Upon reception of an IGMP General Query message, the host, a member of the group, returns an IGMP Report message to
maintain membership in the group.
IGMP
IGMP General
General Query
Query

Multicast Router

MAC
:: 0100.5E01.0001
MAC
0100.5E01.0001
Destination
Destination IP
IP :: 224.0.0.1
224.0.0.1
Group
:: 0.0.0.0
Group IP
IP
0.0.0.0

VLAN 10
Port 8

MAC
IGMPAddress
snoopingTable
Control Table
Port

VLAN

VLAN(RouterPort)
0100.0501.0203 Group
1, 8 IP

XG

10 (8)

Port 1

Terminal 1

Port 2

(MAC address)

239.1.2.3 (01:00:05:01:02:03)

Port

Reporter

1

192.168.10.20

Port 3

Terminal 3

Terminal 2

Managing Group Members

In consideration of General Query or Report message loss caused by network congestion, since RFC 2236 defines the
default query interval for multicast routers as 125 seconds, this device uses 126 seconds for the group member interval
when it works as a Querier.

80

IGMP Snooping

XG Series User's Guide

4.8.4

Chapter 4 Switch Functions and their Configuration

IGMP Querier

In a typical network configuration, the multicast router periodically sends out an IGMP General Query message to
determine if any of the hosts on the network are members of any multicast groups. Receiving a response from a host
ascertains its membership in a multicast group.
IGMP Querier is a function that acts as a proxy for a multicast router when one is not available in a network segment to
send an IGMP General Query message to all hosts.
The Query interval is 126 seconds.

Multicast Server

XG

IGMP Querier

IGMP
IGMP General
General Query
Query
MAC
:: 0100.5E01.0001
MAC
0100.5E01.0001
Destination
Destination IP
IP :: 224.0.0.1
224.0.0.1
Group
:: 0.0.0.0
Group IP
IP
0.0.0.0
Port 1

Terminal 1

Port 2

Terminal 2

Port 3

Terminal 3

IGMP Querier

Upon reception of an IGMP Leave message, the device sends an IGMP Specific Query (GSQ) message to determine that
the host is interested in leaving the group.
If an IGMP Specific Query message is sent 2 times and the host does not respond with an IGMP Report message, that host
is removed.
Note

•

Generally, IGMP Querier uses "0.0.0.0" for the source IP address when sending a Query message.
Since some client software does not return a response for a Query message with the source IP address being set
to "0.0.0.0", it is recommended that an address other than "0.0.0.0" be used.

•

If a multicast router exists on the network segment, the device does not send Query message even if IGMP
Querier is valid.

81

IGMP Snooping

XG Series User's Guide

4.8.5

Chapter 4 Switch Functions and their Configuration

Configuring IGMP Snooping

To configure IGMP snooping, carry out the following procedure in "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# igmpsnoop use on

Enable global IGMP snooping on the device.

XG2600(config)# vlan 10 igmpsnoop router yes 15,16

Specify the multicast router port statically with VLAN.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

To enable IGMP query, carry out the following procedure in "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)# igmpsnoop use on

Enable global IGMP snooping on the device.

XG2600(config)# vlan 20 igmpsnoop querier on

Specify the Querier operation mode if no multicast router exists.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

82

IGMP Snooping

XG Series User's Guide

Chapter 4 Switch Functions and their Configuration

4.9

Network Management

4.9.1

Traffic Statistics

The device can display traffic statistics to analyze network operations such as traffic bytes, errors, etc.
The following are the Traffic Statistics the device provides.
•

Displays traffic information on outgoing and incoming frames for each port.

•

Displays traffic information on incoming frames by frame size range for each port.

•

Displays traffic information on incoming frames for each VLAN.

•

Displays incoming traffic information by QoS priority for each port.

•

Displays information related to data flow for each port.

•

Displays information about errors that occur during transmission/reception for each port.

To display traffic statistics, monitor and show commands are provided.
•

"show ether utilization" command
Display the usage ratio (or utilization) information of Ethernet physical ports.

•

"show ether statistics" (show ether statistics detail) command
Display the statistics of Ethernet physical ports.

4.9.2

SNMP Agent

SNMP (Simple Network Management Protocol) is a protocol that monitors and manages devices on a network.
The device supports the SNMP (v1/v2c/v3) function to collect management information blocks (MIBs) from a remote
network manager (SNMP manager).
For the MIBs supported, refer to Appendix B. The device can be configured for up to 16 SNMP managers and up to 16
SNMP trap destinations (8 for v1/v2c, 8 for v3).
To configure the SNMP agent, carry out the following procedures in "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)#snmp service on

Enable SNMP function.

XG2600(config)#snmp agent contact
SYSTEM-CONTAC

Set the swith's contact (SYSTEM-CONTACT).

XG2600(config)#snmp agent location
SYSTEM-LOCATION

Set the swith's location (SYSTEM-LOCATION).

XG2600(config)#snmp agent address A.B.C.D

Set the SNMP agent address. This setting is also used for the
local address at trap transmission.
Make sure to set it when using the SNMP agent function.

XG2600(config)# snmp manager 0 A.B.C.D
COMMUNIT-YNAME v2c disable

Set the IP address (host name) of the SNMP manager, the
community name, sending SNMPv2 traps, and disabling writing.
if the SNMP trap notification is enabled.

XG2600(config)# snmp user 0 name USERNAME

Set a SNMP v3 user name.

XG2600(config)# snmp user 0 address 0 A.B.C.D

Set a SNMP v3 host address.

XG2600(config)# snmp user 0 notification 0 A.B.C.D

Set a SNMP v3 trap notification host address.

XG2600(config)# snmp user 0 auth md5
auth_password

Set the authentication protocol and password for SNMP v3.

XG2600(config)# snmp user 0 priv des priv_password

Set the encryption protocol and password for SNMP v3.

83

Network Management

XG Series User's Guide

Chapter 4 Switch Functions and their Configuration

Command
XG2600(config)# snmp user 0 read view 0

Task
Set MIB read permission view for SNMP v3.

XG2600(config)# snmp user 0 notify view 0

Set trap notification permission view for SNMP v3.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

4.9.3

RMON

Remote Monitoring (RMON) is a function provided to monitor communications over a network, such as traffic and errors.
RMON, used in conjunction with the SNMP agent, allows the remote monitoring of traffic on a LAN segment.
The device supports 2 RMON groups (Statistics, History).
•

Statistics group
Collects traffic statistics for each port.

•

History group
Records traffic statistics for each port at specified time intervals.

To configure RMON, carry out the following procedure in "admin" Operation mode.
Command

Task

XG2600# configure

Switch to Configuration mode.

XG2600(config)#snmp rmon 

Specify whether to enable or disable the RMON function.

XG2600(config)# commit

Apply the configuration.

XG2600(config)# save

Save the configuration.

XG2600(config)# exit

Switch to Operation mode.

84

Network Management

Chapter 5
Command
Reference

This chapter explains about Command Reference.

5.1

Port Information Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
5.1.1

Ethernet Common Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90

5.1.2

MAC Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122

5.1.3

STP Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124

5.1.4

LLDP Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128

5.1.5

Filter Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132

5.1.6

QoS Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137

5.1.7

LACP Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146

5.1.8

ether L3 Monitor Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147

5.1.9

ether SNMP Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149

5.1.10 ether output rate control information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
5.2

LACP Information Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
5.2.1

5.3

5.4

VLAN Information Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
5.3.1

VLAN Common Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154

5.3.2

IGMP Snooping Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160

5.3.3

Filter Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164

5.3.4

QoS Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173

MAC Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
5.4.1

5.5

LACP Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152

MAC Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181

LAN Information Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
5.5.1

IPv4 Related Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183

5.5.2

IPv6 Related Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198

5.5.3

VLAN Related Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207

5.5.4

LLMNR Related Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208

5.5.5

Management LAN port IPv4 Related Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209

5.5.6

Management LAN port IPv6 Related Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211

5.5.7

Management LAN port LLMNR Related Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214

5.6

IPv4 Related Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215

5.7

QoS Information Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216

5.8

STP Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217

5.6.1
5.7.1
5.8.1
5.9

IPv4 Related Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
QoS Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
STP Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217

LLDP Information Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
5.9.1

LLDP Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225

5.10 IGMP Snooping Information Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
5.10.1 IGMP Snooping Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
5.11 Loop Detection Information Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
5.11.1 Loop Detection Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
5.12 ACL Information Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
5.12.1 ACL Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
5.13 AAA Information Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
5.13.1 Group ID Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
5.13.2 AAA User Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
5.13.3 RADIUS Information Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
5.14 Password Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
5.14.1 password format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
5.14.2 password admin set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
5.14.3 password user set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
5.14.4 password aaa. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
5.14.5 password authtype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
5.15 Device Information Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
5.15.1 SNMP Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
5.15.2 System Log Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
5.15.3 Automatic Time Setting Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
5.15.4 ProxyDNS Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
5.15.5 Host Database Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
5.15.6 Schedule Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
5.15.7 Filter/QoS Resource Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
5.15.8 Other . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
5.16 Login banner Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
5.16.1 Login banner Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
5.17 Mode and Terminal Operation Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
5.17.1 Mode Operation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
5.17.2 Terminal Operation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
5.17.3 Command Execution History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
5.17.4 Command Alias . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
5.17.5 Command Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
5.18 System Operations and Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
5.18.1 System Operations and Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
5.19 Configuration Display, Delete and Operation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
5.19.1 Configuration Display Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
5.19.2 Configuration Delete Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
5.19.3 Configuration Operation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
5.19.4 File Operation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
5.20 Ethernet Counter, Log, Statistics, and Status Display and Clear Operation Commands . . . . . . . 383
5.20.1 Ethernet Counter, Log, Statistics, and Status Display Commands . . . . . . . . . . . . . . . . . . 383

5.20.2 Ethernet Counter, Log, and Statistics Clear Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
5.21 USB connection Counter, Log, Statistics, and Status Display and Clear Operation Commands . 415
5.21.1 USB connection Counter, Log, and Statistics Clear Commands . . . . . . . . . . . . . . . . . . . . 415
5.22 LACP Counter, Log, Statistics, and Status Display and Clear Operation Commands . . . . . . . . . . 419
5.22.1 LACP Counter, Log, Statistics, and Status Display Commands . . . . . . . . . . . . . . . . . . . . . 419
5.22.2 LACP Counter, Log, Statistics, and Status Clear Commands. . . . . . . . . . . . . . . . . . . . . . . 422
5.23 M1 port Status Display command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
5.23.1 M1 port Status Display command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
5.24 Interface Counter, Log, Statistics, and Status Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . 424
5.24.1 Interface Counter, Log, Statistics, and Status Display Commands . . . . . . . . . . . . . . . . . . 424
5.25 ARP Entry Display and Clear Operation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
5.25.1 ARP Entry Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
5.25.2 ARP Entry Clear Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
5.26 Routing Table Entry Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
5.26.1 IPv4 Routing Table Entry Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
5.26.2 IPv6 Routing Table Entry Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
5.27 Packet Statistics Display and Clear Operation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
5.27.1 IPv4 Packet Statistics Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
5.27.2 IPv4 Packet Statistics Clear Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 446
5.27.3 IPv6 Packet Statistics Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
5.27.4 IPv6 Packet Statistics Clear Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
5.28 Bridge Counter, Log, Statistics, and Status Display and Clear Operation Commands . . . . . . . . . 451
5.28.1 Bridge Counter, Log, Statistics, and Status Display Commands . . . . . . . . . . . . . . . . . . . . 451
5.28.2 Bridge Counter, Log, Statistics, and Status Clear Commands . . . . . . . . . . . . . . . . . . . . . . 453
5.28.3 Spanning Tree Counter, Log, Statistics, and Status Display Commands . . . . . . . . . . . . . 454
5.28.4 Spanning Tree Counter, Log, Statistics, and Status Clear Commands . . . . . . . . . . . . . . . 479
5.29 LLDP Counter, Log, Statistics, and Status Display and Clear Operation Commands . . . . . . . . . . 480
5.29.1 LLDP Counter, Log, Statistics, and Status Display Commands . . . . . . . . . . . . . . . . . . . . . 480
5.29.2 LLDP Counter, Log, Statistics, and Status Clear Commands . . . . . . . . . . . . . . . . . . . . . . . 491
5.30 VLAN Counter, Log, Statistics, and Status Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 492
5.30.1 VLAN Counter, Log, Statistics, and Status Display Commands . . . . . . . . . . . . . . . . . . . . . 492
5.31 QoS Counter, Log, Statistics, and Status Display Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
5.31.1 COS Queue Counter, Log, Statistics, and Status Display Commands. . . . . . . . . . . . . . . . 495
5.32 SSH Counter, Log, Statistics, and Status Display Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497
5.32.1 SSH Counter, Log, Statistics, and Status Display Commands . . . . . . . . . . . . . . . . . . . . . . 497
5.33 IGMP Snooping Counter, Log, Statistics, and Status Display and Clear Operation Commands . 499
5.33.1 IGMP Snooping Counter, Log, Statistics, and Status Display Commands . . . . . . . . . . . . 499
5.33.2 IGMP Snooping Counter, Log, Statistics, and Status Clear Commands . . . . . . . . . . . . . . 504
5.34 Loopdetection Counter, Log, Statistics, and Status Display and Clear Operation Commands . . 506
5.34.1 Loopdetection Counter, Log, Statistics, and Status Display Commands . . . . . . . . . . . . . 506
5.35 AAA Status Display and Clear Operation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508
5.35.1 AAA Status Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508
5.36 NETTIME (time/sntp) Server and Client Statistics Display and Clear Operation Commands . . . . 509
5.36.1 NETTIME (time/sntp) Statistics Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 509
5.36.2 NETTIME (time/sntp) Statistics Clear Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513
5.37 ProxyDNS Statistics Display and Clear Operation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514
5.37.1 ProxyDNS Statistics Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514
5.37.2 ProxyDNS Statistics Clear Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516
5.38 SNMP Statistics Display and Clear Operation Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517
5.38.1 SNMP Statistics Display Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517

5.38.2 SNMP Statistics Clear Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519
5.39 Ethernet L3 Monitor Function Counter, Log, Statistics, and Status Display and Clear Operation
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 520
5.39.1 Ethernet L3 Monitor Function Counter, Log, Statistics, and Status Display Commands. 520
5.39.2 Ethernet L3 Monitor Function Counter, Log, Statistics, and Status Clear Commands . . 522
5.40 Login Information Operations and Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 523
5.40.1 Login Information Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 523
5.40.2 Login Information Operation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525
5.41 Socket Status Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526
5.41.1 Socket Status Display Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526
5.42 Trace Show and Clear Operation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 529
5.42.1 Trace Show Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 529
5.42.2 Trace Clear Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 531
5.43 Ethernet Port Control Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 532
5.43.1 Ethernet Port Control Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 532
5.44 RADIUS Control Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 534
5.44.1 RADIUS Control Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 534
5.45 USB Port Control Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 535
5.45.1 USB Port Control Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 535
5.46 I’m here Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 536
5.46.1 I’m here Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 536
5.47 Other Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 537
5.47.1 Other Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 537
5.48 Effect by "commit" Command Execution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 543

XG Series User's Guide

5.1

Chapter 5 Command Reference

Port Information Settings

This section explains about port information settings.

Allowed range of port definition numbers
The Ethernet definition serial number (decimal value), which is to be specified in  ("ether" port definition
number) of the [Option] described in each command of this section, shall be within the range of each model as shown
below.
Range

Model

1 to 26

XG0224

1 to 52

XG0448

1 to 26

XG02600

Configuration of port types for each model
The following provides the configuration of port types according to the "ether" port definition number.
1000BASE-X/SerDes
(downlink)

10/100/1000BASE-T
(uplink)

1000BASE-X/SerDes
(interlink)

XG0224

ether 1 to 20

ether 21 to 24

ether 25 to 26

XG0448

ether 1 to 44

ether 45 to 48

ether 49 to 52

Model

XG2600

ether 1 to 26

Specifying the range of port numbers
A range of multiple ports can be specified in  ("ether" port definition number) shown in the [Options] of each
command in this section.

•

Examples of multiple ports range specification for XG2600/XG0224/XG0448.
1
1-20
21-24
-4

=
=
=
=

port1
port1 to port20
port21 to port24
port1 to port4

89

Port Information Settings

XG Series User's Guide

5.1.1

Chapter 5 Command Reference

Ethernet Common Information

This section explains about the commands related to ethernet common information.

5.1.1.1

forwardingmode

Function

forwardingmode 

Available Model

XG2600

Syntax

forwardingmode 

Options

• store-and-forward
store and forward mode is used
• cut-through
cut through mode (default) is used
Use Mode

Configuration mode (admin class)

Explanation

Set the switching mode of 10GbE ports.

Caution
• In cut-through mode, 65 byte and over error frames and 16129 byte and over frames
are forwarded. 64 byte and below frames are not forwarded.
It is forwarded as FCS error frame at the frame relay of 16129 or more.
• In store and forward mode, Error frames and 16129 byte and over frames are not
forwarded.
• Statistics for 10GbE ports is cleared when you change the switching mode.
Default

It is assumed that cut through mode is used.
forwardingmode cut-through

90

Port Information Settings

XG Series User's Guide

5.1.1.2

Chapter 5 Command Reference

ether use

Function

Set the port use.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  use 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

Specify a port operation mode.
• on
Use the Ethernet port.
• off
Do not use the Ethernet port.
Use Mode

Configuration mode (admin class)

Explanation

Set to use the Ethernet port.

Default

It is assumed that the Ethernet port is used.
ether  use on

91

Port Information Settings

XG Series User's Guide

5.1.1.3

Chapter 5 Command Reference

ether media

Function

Sets media type for Ethernet ports.

Available Model

XG0224 / XG0448

Syntax

ether  media 

Options

• Ethernet port number(s)
Configure Ethernet port number(s) to be used as base 10 value(s).
If configuring multiple port numbers, separate them with a comma.
Use hyphens to specify a range of port numbers. (ex: "1-8")
Refer to the beginning of this chapter for details on how to specify port numbers.
Range

Model

21 to 24

XG0224

45 to 48

XG0448


Media type.
• metal
Use 10/100/1000BASE-T ports (RJ45)
• fiber
Use SFP Ports.
*The 100BASE-FX module can be used by XG0224 / XG0448.
• auto
Automatically selects media type.
*However, if both Ethernet and SFP ports are connected the SFP ports are used.
Use Mode

Configuration mode (admin class)

Explanation

Sets the type of media to be used by the Ethernet port.

Caution
• If auto is selected and cables are connected to 10/100/1000BASE-T ports as well as to
SFP ports, the SFP ports will be selected.
• Similarly, with the auto setting, if 10/100/1000BASE-T port(s) are in a link up state and
SFP slot(s) are put into a link up state by connecting a cable to them, operation
changes to the SFP slot(s) and the 10/100/1000BASE-T port(s) change to a link down
state.
• Use the fiber setting if using the 100BASE-FX module.
(The 100BASE-FX module cannot be used with the auto setting.)
Default

If unset, automatic selection of media type will be the default.
ether  media auto

92

Port Information Settings

XG Series User's Guide

5.1.1.4

Chapter 5 Command Reference

ether mode

Function

Set the link speed.

Available Model

XG0224 / XG0448

Syntax

ether  mode 

Options

• ether port number
Set a port number to use with a decimal value. When setting multiple port numbers,
separate them with commas (,). When setting sequential numbers, separate them with
hyphens (-). (Example: "11-16")
Range

Model

1 to 24

XG0224

1 to 48

XG0448


Link speed
• auto
Determine the link speed through auto negotiation.
• 1000
Set the 1Gbps fixed link speed.
• 100
Set the 100Mbps fixed link speed.
• 10
Set the 10Mbps fixed link speed.
Use Mode

Configuration mode (admin class)

Explanation

Set the link speed at the Ethernet port.

Caution

Use the 100Mbps fixed link speed setting if using the 100BASE-FX module.

Default

It is assumed that Auto Negotiation mode has been specified.
ether  mode auto

93

Port Information Settings

XG Series User's Guide

5.1.1.5

Chapter 5 Command Reference

ether duplex

Function

Set the full-duplex or half-duplex link mode.

Available Model

XG0224 / XG0448

Syntax

ether  duplex 

Options

• ether port number
Set a port number to use with a decimal value. When setting multiple port numbers,
separate them with commas (,). When setting sequential numbers, separate them with
hyphens (-). (Example: "11-16")
Range

Model

1 to 24

XG0224

1 to 48

XG0448


Full-duplex or half-duplex link mode.
• full
Operates in full-duplex fixed link mode.
• half
Operates in half-duplex fixed link mode.
This option can be specified only when a fixed link speed has been specified by the
"ether mode" command. (This option setting is made invalid if the link speed has been
set to "auto".)
Use Mode

Configuration mode (admin class)

Explanation

Set the full-duplex or half-duplex link mode on the Ethernet port.

Caution
• If "1000" is specified in the "ether mode" command, this command setting is disabled
and the system operates in full-duplex link mode.
• If "auto" is specified in the "ether mode" command, this command setting is disabled
and the system operates depending on the result autonegotiated with the connected
device.
Default

It is assumed that full-duplex link mode has been specified.
ether  duplex full

94

Port Information Settings

XG Series User's Guide

5.1.1.6

Chapter 5 Command Reference

ether mdi

Function

Set the MDI.

Available Model

XG0224 / XG0448

Syntax

ether  mdi 

Options

• ether port number
Set a port number to use with a decimal value. When setting multiple port numbers,
separate them with commas (,). When setting sequential numbers, separate them with
hyphens (-). (Example: "11-16")
Range

Model

1 to 24

XG0224

1 to 48

XG0448


Specify the MDI mode.
• auto
Set the MDI or MDI-X auto detection mode.
• mdi
Set the fixed MDI mode.
• mdix
Set the fixed MDI-X mode.
Use Mode

Configuration mode (admin class)

Explanation

Set the MDI mode for the Ethernet port.

Caution
• The auto mode is enabled only when "auto" or "1000M fixed" is specified in the "ether
mode" command.
If anything other than "auto" is specified in the "ether mode" command, the port operates
as MDI-X port.
• If "1000M" is set in the "ether mode" command, the MDI-X fixed mode or the Auto
Detect mode setting is disabled. The port operates as MDI port.
• If "auto" is set in the "ether mode" command for the 10/100/1000BASE-T port, the MDIX fixed mode setting is disabled. The port always operates as MDI port.
Default

It is assumed that MDI/MDI-X Auto Detect mode has been specified.
ether  mdi auto

95

Port Information Settings

XG Series User's Guide

5.1.1.7

Chapter 5 Command Reference

ether flowctl

Function

Set the flow control function.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  flowctl  

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• on
Send flow control packets.
• off
Do not send flow control packets.

• on
Controls the flow when flow control packets are received.
• off
Do not control the flow even when flow control packets are received.
Use Mode

Configuration mode (admin class)

Explanation

Set the operation of flow control function on the Ethernet port using the transmission and
reception functions. The backpressure function is enabled in half-duplex link mode.
The flow control function is enabled independently of the link speed being set by the
"ether mode" command.

Default

It is assumed to have been specified to take the flow control only when a flow control
packet is received.
ether  flowctl off on

96

Port Information Settings

XG Series User's Guide

5.1.1.8

Chapter 5 Command Reference

ether type

Function

Set a port type.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  type normal
ether  type mirror   
ether  type linkaggregation 
ether  type backup  

Options

• ether port number
Set a port number to use with a decimal value. When setting multiple port numbers,
separate them with commas (,). When setting sequential numbers, separate them with
hyphens (-). (Example: "11-16")
normal
: Normal port
mirror
: Target mirroring port
linkaggregation : Link aggregation port
backup
: Backup port

• Definition number
Specify the source port number with a decimal number.
Range

Model

0 to 25

XG0224

0 to 51

XG0448

0 to 25

XG2600


• Source port number
Set the source port number with a decimal number if mirroring has been specified.
Range

Model

1 to 26

XG0224

0 to 52

XG0448

0 to 26

XG2600


• Mirroring mode
Set one of the following operation modes if mirroring has been specified.
rx : The receive frames of the source port are mirrored.
tx : The send frames of the source port are mirrored.
both : Both the send and receive frames of the source port are mirrored. [XG0224/XG0448]

97

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference


• Group number
Set a link aggregation group number with a decimal number.
Range

Model

1 to 13

XG0224

1 to 26

XG0448

1 to 10

XG2600

Set a backup group number with a decimal number.
Range

Model

1 to 13

XG0224

1 to 26

XG0448

1 to 13

XG2600


• Priority of port
Set the master port or backup port if "type backup" has been specified.
master: Master port
backup: Backup port
Use Mode

Configuration mode (admin class)

Explanation

Set an Ethernet port type.
Select the normal port, the mirror port, the link aggregation port, or the backup port.

Caution

Cautions on linkaggregation settings
• All ports in the link aggregation group must be set to belong to the same VLAN.
• No link aggregation can be used for the non-sequentially numbered port configuration.
The member ports of a link aggregation group must be specified to have the
sequentially numbered ports.
• No link aggregation can be used if the half-duplex link mode has been set by the "ether
duplex" command.

Cautions on mirror setting
[XG2600]
• Only one target port can be configured for tx and rx respectively.
• Target ports for tx and rx can not be configured to a same port.
• Target port is the dedicated port for the mirror of source port.
• When target ports are used for tx and rx, the specified source ports are applied to both
target ports.
e.c.
#ether 1 type mirror 0 10 tx
#ether 2 type mirror 0 11 rx
In above configuration, Tx frames of source port ether10 and ether11 are mirrored to
target port ether1.
Rx frames of source port ether10 and ether11 are mirrored to the target port ether2.
• The port which has been configured to target port can not be configured to source port.
• The packet to exceed the band of the target port when there are two or more source
ports of the mirror for the target port is abandoned.
• The storm control to the port set as a mirror target port becomes invalid.

98

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

• The mirror traffic is as follows according to the state of STP/RSTP/MSTP of the source
port.
When the mirror of two or more sources is possible, traffic corresponding to each state
is mirror.
STP, RSTP, state of MSTP, and mirror frame
Source port

Frame kind

(in object VLAN in case of MSTP)
disable

Excluding

Target port forwarding
It is not forwarded

BPDU
BPDU

It is not forwarded

Blocking and listening

Excluding

It is not forwarded

(Discarding in RSTP/MSTP )

BPDU

Learning

Forwarding

BPDU

It is forwarded

Excluding

It is not forwarded

BPDU

It is forwarded

Excluding

It is forwarded

BPDU

It is forwarded

• The presence of the VLAN tag of the packet output to the target port: about the
mirroring of the transmission frame.
It agrees to the tagging setting of the address source port of the packet. The VLAN tag
attaches to the packet output to the target port only when there is the one of the setting
with the VLAN tag in the address source port when there are two or more addresses of
the packet like the multicast, the broadcast, and the flooding, etc., and the packet is
output from two or more source ports. The content of tag becomes tag that should be
applied to the destination.
• As for the mirroring of the reception frame, presence and the content of the VLAN tag
of the packet output to the target port are corresponding to the packet when inputting it.
• When the reception frame mirroring is done rewriting DSCP and ip precedence, the
frame not the reception frame but after it changes is mirror.
• When STP and LLDP are defined in the target port of the mirror, the port cannot be
used.
• The storm control to the same port where the mirror target port was set becomes
invalid.
[XG0224/XG0448]
• Only a single port can be set as the mirrored target port on the device.
• The port which is set to be target port, can be used for forwarding.
• The destination MAC address, the source MAC address, and the presence or absence
of VLAN tag together with its contents sent to the target port may differ from those of
the packet actually sent from or received at the source port.

Cautions on backup setting
• If multiple ports defined as master or backup exist in the same backup group, the port with a
smaller number is enabled, and the port with a larger number is not linked up and it cannot be
used.
• If the master or backup port is undefined in the same backup group, the relevant port is not
linked up and it cannot be used.
Default

It is assumed that the normal port has been specified.
ether  type normal

99

Port Information Settings

XG Series User's Guide

5.1.1.9

Chapter 5 Command Reference

ether vlan tag

Function

Set the tagged VLAN.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  vlan tag 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Tagged VLAN ID list
Set a tagged VLAN ID.
When setting multiple IDs, separate them with commas (,).
Use Mode

Configuration mode (admin class)

Explanation

Set a tagged VLAN ID.

Caution

To add a VLAN, specify the VLAN ID list including already registered VLANs.
The M1 port internally uses maximum VLAN ID in unused.
Therefore, the communication of the M1 port is temporarily interrupted when VLAN ID
allocated in the M1 port is specified by the vlan tag command, and the TCP session is
cut. (Only XG2600)

Default

N/A

100

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.10 ether vlan untag
Function

Set the untagged VLAN.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  vlan untag 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Untagged VLAN ID list
Set an untagged VLAN ID.
When setting multiple IDs, separate them with commas (,).
Use Mode

Configuration mode (admin class)

Explanation

Set an untagged VLAN ID.

Caution
• To add a VLAN, specify the VLAN ID list including already registered VLANs.
• Although multiple vid numbers can be specified in the "untagged_vidlist", the following
conditions must be satisfied.
- Only a single port can be defined as a port VLAN.
If multiple VLANs with no protocol VLAN settings have been specified, only the VLAN
with the smallest number will be enabled.
- The protocol VLANs of up to 11 protocols (system definition protocol (ipv4/ipv6/fna)
or user definition (up to 8 definitions)) can be defined.
The M1 port internally uses maximum VLAN ID in unused.
Therefore, the communication of the M1 port is temporarily interrupted when VLAN ID
allocated in the M1 port is specified by the vlan untag command, and the TCP session is
cut. (Only XG2600)
Default

On occasions when "ether vlan tag" command is not defined:
It is assumed that 1 has been specified as the default VLAN ID.
ether  vlan untag 1

On occasions when "ether vlan tag" command is defined:
It is assumed that "ether vlan untag" command has not been specified.

101

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.11 ether egress permission
Function

Set the forwarding permission port list information.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  egress permission 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Forwarding permitted port list
Specify a list of the Ethernet ports that are permitted to forward data.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")
Use Mode

Configuration mode (admin class)

Explanation

Set a port list to allow forwarding via the ports.
If a link aggregation port or a backup port is specified on the port list, forwarding is
allowed via all ports of the link aggregation or backup group.

Default

It is assumed that forwarding has been permitted for all ports.

5.1.1.12 ether loopdetect use
Function

Set to use the Loop Detection function.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  loopdetect use 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• on
Enable the Loop Detection function.
• off
Disable the Loop Detection function.
Use Mode

Configuration mode (admin class)

Explanation

Set whether or not to enable the loop detection function.
Disable if the system is stopped by the "loopdetect use" definition even if this mode is set
to be effective.

Default

It is assumed that the loop detection function is enabled.
ether  loopdetect use on

102

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.13 ether loopdetect frame
Function

Enable the Loop Detection Frame sender.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  loopdetect frame 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

Set the sender of loopdetect-frame.
• own
A Loop is detected when receiving a Loop Detection frame from this device.
• any
A Loop is detected when receiving a Loop Detection frame from any device.
Use Mode

Configuration mode (admin class)

Explanation

Specify the sender of Loop Detection frames used to detect a loop.
The following is the port which is blocked/offlined when a loop is detected.


Default

Sender of Loop Detection frame

The port which is blocked/offlined

own

This device

The port reporting the Loop Detection
frame

any

This device

The port reportinging the Loop Detection
frame

Other device

The port receiving the Loop Detection
frame

It is assumed that set the sender as own.
ether  loopdetect frame own

103

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.14 ether startup
Function

Set the offline status when it is started up.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  startup 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• online
The port starts operation in the online state during device startup or during dynamic
definition reflection.
• offline
The port starts operation in the offline state during device startup or during dynamic
definition reflection. Also, wait for an offline release instruction from operator.
Use Mode

Configuration mode (admin class)

Explanation

Set the port in offline state during device startup or during reflection of dynamic
definitions.
During device startup or during change of dynamic definitions, the relationship between
the Ethernet port state and the port offline state is as follows.


Ether port state during device startup or dynamic definitions change
Linkup possible

Linkup impossible

Port offline

online

Linkup or Communication
possible

Linkdown or
Communication
impossible

Communication
impossible
staying in offline state

offline

Communication
impossible
entering offline state

Communication
impossible
entering offline state

Communication
impossible
staying in offline state

Caution

If ports are offline, release them with the "online" command with port releasing.

Default

It is assumed that forcible offline processing to the port is not performed during device
startup or during reflection of dynamic definitions.
ether startup online

104

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.15 ether recovery limit
Function

Set the upper limit number of linkdown times.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  recovery limit 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Number of linkdown times
Set the upper limit number of linkdown times, for the ports to go offline, with a decimal
value from 1 to 10.
Use Mode

Configuration mode (admin class)

Explanation

Set the number of times for linkdown as the upper limit for the relevant ports to go offline.
When the upper limit has been exceeded, the log is output to the SYSLOG and the ports
are offline.

Caution
• If ports are offline, release them with the "online" command with port releasing.
• When offline ports are released by with "online" command, the number of times for
linkdown is reset to zero again.
Default

The ports are not offline during linkdown, assuming that there is no upper limit.

105

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.16 ether downrelay port
Function

Set the linked port list information about the Linkdown Relay function.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  downrelay port 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Relay port list
Set a list of the Ethernet ports that go offline (linkdown) together with the linked
Ethernet port that has been set by this definition when the linkdown of the linked
Ethernet port occurs.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")
Use Mode

Configuration mode (admin class)

Explanation

Set a list of the Ethernet ports that go offline (linkdown) together with the linked Ethernet
port that has been set by this definition when the linkdown of the Ethernet port occurs.
If the linkdown relay operation occurs, the linked port goes offline, and the log is output to
the SYSLOG.

Caution
• If ports are offline, release them by the "online" command with port releasing.
• The definition is applied normally even if the set port is included on the relay operation
port list. However, if the set only port is included on the list, no relay operation occurs
but only the set port goes offline.
• When the Ethernet port type is a linkaggregation port, and linked port list information
for the Linkdown Relay function of the linkaggregation is set, the Linkdown Relay
function of the linkaggregation becomes enable and this definition is ignored.
• The linked port does not go offline at the Linkdown operation during the dynamic
definition change on the Ethernet port where this command is set.
Default

The linkdown relay function is not executed, assuming that port list information has not
been set.

106

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.17 ether downrelay recovery mode
Function

Set offline state release operation on the Linkdown Relay function of the Ethernet port.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  downrelay recovery mode 

Options

• The Ethernet port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

Set offline state release operation on the linked port list.
• manual
Specify offline state release with command.
• auto
Specify offline state release with linkup.
Use Mode

Configuration mode (admin class)

Explanation

Set offline state release operation from the offline port set on the linked port list
information of the Linkdown Relay function.
Setting "manual" for the releasing operation enables the releasing operation of the linked
port by "online" command or dynamic definition change.
If the release setting is "auto", the linked ports offline release is possible with the linkdown
relay function setting port's linkup as well as the "online" command and a dynamic
definition change.
When the releasing offline operation by linkup is executed when "auto" is set, the system
log is output.

Caution
• When the Ethernet port where the Linkdown Relay function is set is in an offline state,
release the offline state with the "online" command, setting "auto" does not change the
state to be linked up.
• Even if the linked port is in an offline state due to something other than the Linkdown
Relay, set the parameters with "linkaggregation downrelay recovery cause" command
when releasing the offline state.
• When the Ethernet port type is a linkaggregation port, and the linked port list
information for the Linkdown Relay function of the linkaggregation is set, the Linkdown
Relay function of the linkaggregation becomes enable and this definition is ignored.
• Even if "auto" is set for release operation, offline state release operation will not be
executed to the ether ports still in a linkup state since some ports are already shifting to
online or offline state.
• Linkdown Relay function operates by ether port or by linkaggregation, but not by
backup port.
For this reason, when the same link operation port is set on an ether or linkaggregation
port in the same backup group, and "auto" is set for offline state release operation, the
release operation may not be executed because the operation is performed by one port
at a time.
Default

It is assumed that "manual" was specified for the linked port list offline state release
operation.
ether  downrelay recovery mode manual

107

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.18 ether downrelay recovery cause
Function

Set the target parameters for releasing the offline state on the Linkdown Relay function of
the Ethernet port.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  downrelay recovery cause 

Options

• The Ethernet port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

Specify the offline parameters targeted for releasing the offline state of linked port from
the following.
• downrelay
Specify when offline parameters with the Linkdown Relay function are targeted for
release.
• all
Release all the parameters offline states.
Use Mode

Configuration mode (admin class)

Explanation

Set the offline parameters targeted to releasing offline state lead by linkup when "auto"
was specified on "ether downrelay recovery" command.
Set the parameters assigned for releasing of offline state during the releasing operation.

Caution
• This command is enabled only when "auto" is specified in "ether downrelay recovery
mode" command. The definition is ignored when "manual" is specified.
• The offline state is released without depending on this command definition when the
"online" command in the linked port is executed, or during dynamic definition change
accompanied by releasing of the offline state.
Default

It is assumed that "downrelay" was specified for the target parameters of offline state
release of the linked port list.
ether  downrelay recovery cause downrelay

108

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.19 ether description
Function

Define the text description for a ether port

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  description 

Options

• The Ethernet port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Description
Define the description for a ether port with up to 50 characters from 0x21, 0x23 to 0x7e
of ASCII code.
Use Mode

Configuration mode (admin class)

Explanation

Defines the description text for each ether port.

Caution

This description is used also for the SNMP agent function.
The SNMP agent function sets this description to ifAlias MIB (OID:1.3.6.1.2.1.31.1.1.1.18).

Default

No ether port descriptions are defined.

109

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.20 linkaggregation algorithm
Function

Set the load distribution algorithm of link aggregation.

Available Model

XG0224 / XG0448 / XG2600

Syntax

linkaggregation  algorithm 

Options

• Link aggregation group number
Set a link aggregation group number with a decimal number.
Range

Model

1 to 13

XG0224

1 to 26

XG0448

1 to 10

XG2600


Specify the load distribution algorithm.
• sa-mac
Distribute frames based on the source MAC address.
• da-mac
Distribute frames based on the destination MAC address.
• both-mac
Distribute frames based on the exclusively ORed (XORed) source and destination
MAC addresses.
• sa-ip
Distribute frames based on the source IP address.
• da-ip
Distribute frames based on the destination IP address.
• both-ip
Distribute frames based on the exclusively ORed (XORed) source and destination IP
addresses.
Use Mode

Configuration mode (admin class)

Explanation

Set an algorithm for each link aggregation group.

Default

It is assumed that "both-mac" has been set for the load distribution algorithm of the link
aggregation.
linkaggregation  algorithm both-mac

110

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.21 linkaggregation mode
Function

Set the link aggregation operation mode.

Available Model

XG0224 / XG0448 / XG2600

Syntax

linkaggregation  mode 

Options

• Link aggregation group number
Set a link aggregation group number with a decimal number.
Range

Model

1 to 13

XG0224

1 to 26

XG0448

1 to 10

XG2600


• Link aggregation operation mode
Set the following operation mode.
static
: Static operation
active
: Dynamic operation with LACP enabled by "active".
passive : Dynamic operation with LACP enabled by "passive".
Use Mode

Configuration mode (admin class)

Explanation

Set an operation mode of the link aggregation.
If static is specified, the static link aggregation without LACP is configured.
If active or passive is specified, the dynamic link aggregation that uses the LACP is set.
If the active mode is specified, the LACPDU's cyclic transmission is automatically sent to
the remote LACP device.
If the passive mode is specified, the LACPDU's cyclic transmission starts only when an
LACPDU is received from the remote LACP. In other words, no link aggregation is
configured if both devices are in the passive mode.

Default

It is assumed that the static operation mode has been set for the link aggregation.
linkaggregation  mode static

111

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.22 linkaggregation type
Function

Set a link aggregation type.

Available Model

XG0224 / XG0448 / XG2600

Syntax

linkaggregation  type normal
linkaggregation  type backup  

Options

• Link aggregation group number
Set a link aggregation group number with a decimal number.
Range

Model

1 to 13

XG0224

1 to 26

XG0448

1 to 10

XG2600

normal : Normal link aggregation
Multiplexed multiple ports are used as a normal ports.
backup : Backup link aggregation.
Multiplexed multiple ports are used as a backup ports.

• Backup group number
Set a backup group number with a decimal number.
Range

Model

1 to 13

XG0224

1 to 26

XG0448

1 to 13

XG2600


• Priority of backup port
It is a priority of the link aggregation used as a backup port.
Set the master port or backup port if "type backup" has been specified.
master: Master port
backup: Backup port
Use Mode

Configuration mode (admin class)

Explanation

Set a link aggregation type.
Select the normal link aggregation or the backup link aggregation.
The backup link aggregation can also be used for backup of broadband ports.

Caution
Cautions on "type backup" setting
• If a link aggregation, that has the same priority as the port defined as "master" or
"backup", exists in the same backup group, the port will be enabled as a backup port
but the link aggregation will be disabled.
• If more than one master or backup link aggregation exists in the same backup group,
the link aggregation with a smaller link aggregation group number will be enabled. The
backup link aggregation with a larger link aggregation group number will be disabled.
• If the master or backup link aggregation is undefined in the same backup group, its
settings are disabled.

112

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

• If definition conditions such as described above are contradictory, the relevant ports
are not linked up for use.
Change the settings referring to the system log message.
Default

It is assumed that the normal link aggregation has been specified.
linkaggregation  type normal

5.1.1.23 linkaggregation collecting minimum
Function

Set the minimum number of member ports for link aggregation.

Available Model

XG0224 / XG0448 / XG2600

Syntax

linkaggregation  collecting minimum 

Options

• Link aggregation group number
Set a link aggregation group number with a decimal number.
Range

Model

1 to 13

XG0224

1 to 26

XG0448

1 to 10

XG2600


• Minimum number of member ports
Set the minimum number of member ports with a decimal number from 1 to 8, where
communication with link aggregation is allowed. However, the communication of link
aggregation is disabled if the number of ports connected to the link aggregation is less
than the minimum number of member ports.
Also, the communication of link aggregation is disabled if the number of connected
ports decreases below the minimum number of member ports due to failure or other
reasons.
Use Mode

Configuration mode (admin class)

Explanation

Set the minimum number of member ports to allow communication of the link
aggregation.
This command is used to stop communication until the link aggregation is assigned the
specific bandwidth in redundant configuration or other. If it is under the specific
bandwidth, the link aggregation communication is disabled.

Caution

If a number larger than the number of member ports effective for the setting is specified
as the minimum number of member ports, the communication of this link aggregation is
disabled.

Default

It is assumed that 1 has been specified as the minimum number of member ports for the
link aggregation.
linkaggregation  collecting minimum 1

113

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.24 linkaggregation icmpwatch address
Function

Set the destination address for "ether" L3 monitoring of link aggregation.

Available Model

XG0224 / XG0448 / XG2600

Syntax

linkaggregation  icmpwatch address 

Options

• Link aggregation group number
Set a link aggregation group number with a decimal number.
Range

Model

1 to 13

XG0224

1 to 26

XG0448

1 to 10

XG2600


• Destination IP address to be monitored
Specify the destination IP address to be monitored.
The allowable range is as follows:
1.0.0.1 to 126.255.255.254
128.0.0.1 to 191.255.255.254
192.0.0.1 to 223.255.255.254
Use Mode

Configuration mode (admin class)

Explanation

Set the operation information for destination monitoring.
This command sends an ICMP ECHO packet from the specified link aggregation group to
the destination IP address, specified by , and checks the presence of the
destination by receiving a response.

Caution

Do not set the IP address of the local device in . Also, make sure that the
specified IP address is included in the same subnet.
If any of the above three addresses is specified, the Ethernet L3 monitoring function will
not operate normally.

Default

It is assumed that the Ethernet L3 monitoring function is not used for the link aggregation.

114

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.25 linkaggregation icmpwatch interval
Function

Set various types of "ether" L3 monitoring intervals for link aggregation.

Available Model

XG0224 / XG0448 / XG2600

Syntax

linkaggregation  icmpwatch interval   []

Options

• Link aggregation group number
Set a link aggregation group number with a decimal number.
Range

Model

1 to 13

XG0224

1 to 26

XG0448

1 to 10

XG2600


• Transmission interval of normal ICMP ECHO packets
Specify the transmission interval of normal ICMP ECHO packets to be within the range
of 1 to 60 seconds (or 1 minute).
The unit shall be m (minute) or s (second).

• Monitoring timeout
Specify the monitoring timeout period as between 5 to 180 seconds (or 3 minutes). If
the time exceeds, this monitoring is considered as failed.
The unit should be in m (minute) or s (second).

• Retransmission interval of ICMP ECHO packets
Specify the retransmission interval of ICMP ECHO packets between 1 to -1
seconds if the normal ICMP ECHO packet transmission is not acknowledged.
The unit should be in m (minute) or s (second).
The default is 1s.
Use Mode

Configuration mode (admin class)

Explanation

Set the operation information for destination monitoring.
The destination is monitored in the interval specified by  while the response to
ICMP ECHO packet is being received normally. If the response to ICMP ECHO packet is
not received, the packet transmission is repeated at the intervals specified in . If
no response is returned within the time period specified by , a communication
failure is assumed and an abnormal detection is reported. Accordingly, all the member
ports specified in  are offline.

Caution

If ports are offline, release them by the "online" command.

Default

It is assumed that the 10-second transmission interval during normal communication, the
5-second timeout for monitoring, and the 1-second retransmission interval have been
specified.
linkaggregation  icmpwatch interval 10s 5s 1s

115

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.26 linkaggregation downrelay port
Function

Set the linked port list information about the linkaggregation Linkdown Relay function.

Available Model

XG0224 / XG0448 / XG2600

Syntax

linkaggregation  downrelay port 

Options

• Link aggregation group number
Set a link aggregation group number with a decimal number.
Range

Model

1 to 13

XG0224

1 to 26

XG0448

1 to 10

XG2600


• Relay port list
Set a list of the Ethernet ports that places the linked port offline (linkdown) by linkdown
where this definition has been set.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")
Use Mode

Configuration mode (admin class)

Explanation

If a linkdown occurs in the linkaggregation set with this definition, set a list of the Ethernet
ports that will also linkdown (port linkdown).
If a linkdown relay operation occurs, its linked port goes to an offline state, and a system
log is output.

Caution
• If ports are offline, release them with the "online" command in port releasing.
• The definition is applied normally even if a port set with linkaggregation is included on
the relay operation port list.
• When the Ethernet port type is a linkaggregation port, and this definition is set in the
linkaggregation settings, this definition becomes enabled and the Linkdown Relay
function is ignored.
• The linked port does not change to offline status during the dynamic definition change
Linkdown operation on the Ethernet port where this command is set.
Default

The Linkdown Relay function is not executed, assuming that port list information has not
been set.

116

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.27 linkaggregation downrelay recovery mode
Function

Set offline state release operation on the Linkdown Relay function of linkaggregation.

Available Model

XG0224 / XG0448 / XG2600

Syntax

linkaggregation  downrelay recovery mode 

Options

• Link aggregation group number
Set a link aggregation group number with a decimal number.
Range

Model

1 to 13

XG0224

1 to 26

XG0448

1 to 10

XG2600


Set the releasing offline state operation on the linked port list.
• manual
Specify offline state release with command.
• auto
Specify offline state release with linkup.
Use Mode

Configuration mode (admin class)

Explanation

Set offline state release operation from the offline port set in the linked port list
information of the Linkdown Relay function.
Setting "manual" for the release operation enables the release operation of the linked
port with the "online" command or dynamic definition change.
If the release setting is "auto", the linked ports offline release is possible with the linkdown
relay function setting port's linkup as well as the "online" command and a dynamic
definition change.
If the offline release operation with linkup is executed when "auto" is set, the system log
is output.

Caution
• When the linkaggregation port where the Linkdown Relay function is set is in its offline
state, release the offline state with the "online" command because setting "auto" does
not change the linked state.
• Even if the linked port is in its offline state due to something other than the Linkdown
Relay, set the parameters with the "linkaggregation downrelay recovery cause"
command when releasing the offline state.
• Even if "auto" is set for release operation, offline state release operation will not be
executed to the ether ports still in a linkup state since some ports are already shifting to
online or offline state.
• Linkdown Relay function operates by ether port or by linkaggregation, but not by
backup port.
For this reason, when the same link operation port is set on an ether or linkaggregation
port in the same backup group, and "auto" is set for offline state release operation, the
release operation may not be executed because the operation is performed by one port
at a time.

117

Port Information Settings

XG Series User's Guide

Default

Chapter 5 Command Reference

It is assumed that "manual" was specified for releasing the offline state operation of the
linked port list.
linkaggregation  downrelay recovery mode manual

5.1.1.28 linkaggregation downrelay recovery cause
Function

Set the target parameters for offline state release in the Linkdown Relay function of the
linkaggregation.

Available Model

XG0224 / XG0448 / XG2600

Syntax

linkaggregation  downrelay recovery cause 

Options

• Link aggregation group number
Set a link aggregation group number with a decimal number.
Range

Model

1 to 13

XG0224

1 to 26

XG0448

1 to 10

XG2600


Specify the offline parameters targeted to offline state release of the linked port from the
following.
• downrelay
Specify when offline parameters by the Linkdown Relay function are targeted for
release.
• all
Release offline state of all parameters.
Use Mode

Configuration mode (admin class)

Explanation

Set the offline parameters lead by linkup assigned for releasing the offline state when
"auto" is specified in the "ether downrelay recovery" command.

Caution
• This command is enabled only when "auto" is set for offline state release operation
("ether downrelay recovery mode" command) lead by linkup.
The definition is ignored when "manual" is specified.
• The offline state is released independent of this command definition when the "online"
command in the linked port is executed, or during dynamic definition change
accompanied by releasing the offline state.
Default

It is assumed that "downrelay" was specified as the target parameters for offline state
release of the linked port list.
linkaggregation  downrelay recovery cause downrelay

118

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.29 linkaggregation description
Function

Define the text description for a link aggregation group.

Available Model

XG0224 / XG0448 / XG2600

Syntax

linkaggregation  description 

Options

• Link aggregation group number
Set a link aggregation group number with a decimal number.
Range

Model

1 to 13

XG0224

1 to 26

XG0448

1 to 10

XG2600


• Description
Define the description for a link aggregation group with up to 50 characters from 0x21,
0x23 to 0x7e of ASCII code.
Use Mode

Configuration mode (admin class)

Explanation

Defines the description text for each link aggregation group.

Caution

This description is used also for the SNMP agent function.
The SNMP agent function sets this description to ifAlias MIB (OID:1.3.6.1.2.1.31.1.1.1.18).

Default

No link aggregation group descriptions are defined.

119

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.30 backup mode
Function

Set the backup port selection method.

Available Model

XG0224 / XG0448 / XG2600

Syntax

backup  mode 

Options

• Backup group number
Set a backup group number with a decimal number.
Range

Model

1 to 13

XG0224

1 to 26

XG0448

1 to 13

XG2600


Set a port selection mode if both master and backup ports can be used.
• master
Use the master port first.
• earlier
Use the port that has been linked up first and enabled for use.
Use Mode

Configuration mode (admin class)

Explanation

Set how to select a method of port selection for each backup group.

Default

It is assumed that the master port is set to be used first as backup switching mode.
backup  mode master

120

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

5.1.1.31 backup standby
Function

Set the standby status of backup ports.

Available Model

XG0224 / XG0448 / XG2600

Syntax

backup  standby 

Options

• Backup group number
Set a backup group number with a decimal number.
Range

Model

1 to 13

XG0224

1 to 26

XG0448

1 to 13

XG2600


Set the standby status of backup ports.
• online
The backup port in standby status does not go offline.
• offline
The backup port in standby status goes offline.
Use Mode

Configuration mode (admin class)

Explanation

Set the standby status of backup ports.
If the standby state is specified to offline, the backup port in standby status goes offline.
The offline port is in the same state as when the "offline" command for the Ethernet port
control is executed.
If the currently operating backup port goes down, the offline port is released.
The released port is switched unless it is still offline due to another function or has an
error.

Caution
• When the backup port selection method is set as a "master", backup priority port is not
offline even it is set to be offline in standby status.
If the backup priority port must be offline, set the backup port selection method as
"earlier".
• When backup port is set to be offline in standby status, offline port cannot be released
automatically by any function other than backup port function. The same is true for the
offline port set by "offline" command.
Default

It is assumed that "online" has been specified as the standby status of backup ports.
backup  standby online

121

Port Information Settings

XG Series User's Guide

5.1.2

Chapter 5 Command Reference

MAC Information

This section explains about the commands related to MAC information.

5.1.2.1

ether mac storm

Function

Set the broadcast and multicast storm control information.

Available Model

XG0224 / XG0448 / XG2600

Syntax
XG2600
ether  mac storm   
XG0224/XG0448
ether  mac storm   
Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Threshold of broadcast traffic
Set the threshold value for broadcast storm traffic with Kbit/s, Mbit/s or Gbit/s
8k - 8000000k
1m - 8000m
1g - 8g
(Storm monitoring does not start if the threshold is set to 0.)

• Threshold of multicast traffic
Set the threshold value for multicast storm traffic with Kbit/s, Mbit/s or Gbit/s
8k - 8000000k
1m - 8000m
1g - 8g
(Storm monitoring does not start if the threshold is set to 0.)

Set the action which occurs if the traffic exceeds the threshold.
• discard
Discard the packets which exceed the threshold
• close
Close the port (offline)

• Threshold
Set the traffic threshold value for the broadcast or multicast storm.
Set the number of packets per second in the following range.
(Storm monitoring does not start if the threshold is set to 0.)
Range
0 to 30,000,000

Model
XG0224 / XG0448

122

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference



Set the operation that occurs if the traffic exceeds the threshold.
• off
The guard function is disabled.
• discard
Discard the packets that exceed the threshold.
• close
Close the port (offline).
Use Mode

Configuration mode (admin class)

Explanation
XG0224 / XG0448
Set the broadcast or multicast storm control information.
If "discard" or "close" is specified, the systemlog is output when the threshold value is
exceeded or the device is restored.
XG2600
Set the broadcast or multicast storm control information.
If "discard" or "close" is specified, the systemlog is output when the threshold value is
exceeded or the device is restored.
Storm monitoring doesn’t start If the threshold of both broadcast and multicast is set to 0.
Caution
XG0224 / XG0448
It might be considered that broadcast/multicast roughhouse control information is set,
and "clear statistics" is restored from the state of the roughhouse once when it retreats
and the statistical information of correspondence port is cleared with the reception rate
exceeds the threshold.
Default

N/A

123

Port Information Settings

XG Series User's Guide

5.1.3

Chapter 5 Command Reference

STP Information

This section explains about the commands related to STP information.

5.1.3.1

ether stp use

Function

Set the STP availability.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  stp use 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• on
Specify it when STP is used.
• off
Specify it when STP is not used.
Use Mode

Configuration mode (admin class)

Explanation

Set whether or not to enable the STP.

Caution

If the STP operation mode of the device is OFF (stp mode disabled), the "stp use on"
setting is ignored and disabled.
If the STP operation mode of the bridge is case except OFF (stp mode disabled), the
communication on the port may temporarily fail by the change of topology.
Set "stp use off" for the port where the STP is not used.

Default

It is assumed that the STP is used in the ether port.
ether  stp use on

124

Port Information Settings

XG Series User's Guide

5.1.3.2

Chapter 5 Command Reference

ether stp domain cost

Function

Set the path cost.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  stp domain  cost {auto|}

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• STP instance ID number
Specify a decimal value from 0 to 15.
For non-MSTP operation mode, entering a value from 1 to 15 makes it invalid, although
the allowable range is set with a value from 0 to 15.
auto
Determine the cost automatically.

• Path cost
Set the path cost with a decimal value from 1 to 200000000.
Use Mode

Configuration mode (admin class)

Explanation

Set a path cost of the STP port.

Caution

The cost specified by the instance ID 1 to 15 is valid only when the device is in the MSTP
operation mode (stp mode mstp), but the set value is ignored when the device is in the
non-MSTP operation mode.

Default

It is assumed that automatic setting is used for the ether port path cost.
ether  stp domain 0 cost auto

125

Port Information Settings

XG Series User's Guide

5.1.3.3

Chapter 5 Command Reference

ether stp domain priority

Function

Set the priority.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  stp domain  priority 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Instance ID number
Specify a decimal value from 0 to 15.
For non-MSTP operation mode, entering a value from 1 to 15 makes it invalid, although
the allowable range is set with a value from 0 to 15.

• Priority
Set the port priority with a decimal value from 0 to 240.
A smaller value has a higher priority.
Use Mode

Configuration mode (admin class)

Explanation

Set the port priority.

Caution

Specify an integer (valid value) that can be divided by 16 in .
Valid values: 0, 16, 32, 48, 64, 80, 96, 112, 128, 144, 160, 176, 192, 208, 224, 240
If an integer other than the valid values is specified, this setting is disabled.
The priority specified by the instance ID 1 to 15 is valid only when the device is in the
MSTP operation mode (stp mode mstp), but the set value is ignored when the device is in
the non-MSTP operation mode.

Default

It is assumed that 128 is used for the STP port priority.
ether  stp domain 0 priority 128

126

Port Information Settings

XG Series User's Guide

5.1.3.4

Chapter 5 Command Reference

ether stp force-version

Function

Set the STP Force Protocol Version.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  stp force-version 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• STP Force protocol version
Set it with a decimal value from 0 to 3.
Use Mode

Configuration mode (admin class)

Explanation

Set the STP Force protocol version.
STP Force protocol version (0: STP, 1: Unsupported, 2: RSTP, 3: MSTP)

Caution

If the device is in the MSTP operation mode (stp mode mstp), the STP Force protocol
version can be set within the range of 0 to 3 and the STP, RSTP or MSTP is operable.
If the device is in the RSTP operation mode (stp mode rstp), the STP Force protocol
version can be set within the range of 0 to 2 and the STP or RSTP is operable.
If the device is in the STP operation mode (stp mode stp), the STP Force protocol version
can be set to 0 only.
If a version outside of the valid range is set, this setting will be disabled.

Default

The Ethernet port operates based on the device's operation mode (stp mode).

127

Port Information Settings

XG Series User's Guide

5.1.4

Chapter 5 Command Reference

LLDP Information

This section explains about the commands related to LLDP Information.

5.1.4.1

ether lldp mode

Function

Set LLDP function

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  lldp mode 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• LLDP function mode
disable : Not work LLDP function.
enable : Send and receive LLDP information
send
: Send LLDP information
receive : receive LLDP information
Use Mode

Configuration mode (admin class)

Explanation

Set LLDP mode of the specified ether port.

Default

It is assumed that the LLDP function is disabled.
ether lldp mode disable

128

Port Information Settings

XG Series User's Guide

5.1.4.2

Chapter 5 Command Reference

ether lldp info

Function

Set LLDP information which is sent

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  lldp info port-description 
ether  lldp info system-name 
ether  lldp info system-description 
ether  lldp info system-capabilities 
ether  lldp info management-address 
ether  lldp info port-vlan-id 
ether  lldp info port-and-protocol-vlan-id 
ether  lldp info vlan-name 
ether  lldp info protocol-identity 
ether  lldp info mac-phy-configuration-status 
ether  lldp info power-via-mdi 
ether  lldp info link-aggregation 
ether  lldp info maximum-frame-size 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")
port-description
system-name
system-description
system-capabilities
management-address
port-vlan-id
port-and-protocol-vlan-id
vlan-name
protocol-identity
mac-phy-configuration-status
power-via-mdi
link-aggregation
maximum-frame-size

129

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

• LLDP Information Name
Specify LLDP Information Name (TLV of 802.1AB)
port-description
: Port Description Information (Port Description TLV)
system-name
: System Name Information (System Name TLV)
system-description
: Sysrem description Information (System Description TLV)
system-capabilities
: System Capabilities Information (System Capabilities TLV)
management-address
: Management Address Information
(Management Address TLV)
port-vlan-id
: Port VLAN ID Information (IEEE802.1 Port VLAN ID TLV)
port-and-protocol-vlan-id : Prootocol VLAN ID Information
(IEEE802.1 Port And Protocol VLAN ID TLV)
vlan-name
: VLAN Name Information (IEEE802.1 VLAN Name TLV)
protocol-identity
: Protocol VLAN Identitiy Information
(IEEE802.1 Protocol Identity TLV)
mac-phy-configuration-status
: MAC/PHY Configuration /Status Infomation
(IEEE802.3 MAC/PHY Configuration/Status TLV)
power-via-mdi
: MDI Power Information (IEEE802.3 Power Via MDI TLV)
link-aggregation
: Link Aggregation Information
(IEEE802.3 Link Aggregation TLV)
maximum-frame-size
: Maximum Frame Size Information
(IEEE802.3 Maximum Frame Size TLV)

• Send mode
Set whether LLDP information is sent or not
enable: send LLDP information
disable: not send LLDP information
Use Mode

Configuration mode (admin class)

Explanation

Set whether LLDP information is sent or not

Default

It is assumed that Send mode of all LLDP Information is "enable".
ether
ether
ether
ether
ether
ether
ether
ether
ether
ether
ether
ether
ether















lldp
lldp
lldp
lldp
lldp
lldp
lldp
lldp
lldp
lldp
lldp
lldp
lldp

info
info
info
info
info
info
info
info
info
info
info
info
info

port-description enable
system-name enable
system-description enable
system-capabilities enable
management-address enable
port-vlan-id enable
port-and-protocol-vlan-id enable
vlan-name enable
protocol-identity enable
mac-phy-configuration-status enable
power-via-mdi enable
link-aggregation enable
maximum-frame-size enable

130

Port Information Settings

XG Series User's Guide

5.1.4.3

Chapter 5 Command Reference

ether lldp vlan

Function

Set VLAN for sending LLDP information

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  ldp vlan 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")
vlan 
Set VLAN ID for port-and-protocol-vlan-id, vlan-name,protocol-identity transmission.
Use Mode

Configuration mode (admin class)

Explanation

Set VLAN ID for ort-and-protocol-vlan-id, vlan-name, protocol-identitytransmission.

Default

All VLAN information is sent.

5.1.4.4

ether lldp notification

Function

Set SNMP Notification Trap transmission information

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  lldp notification 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• SNMP Notification Trap Transmission Mode
Set whether SNMP Notification Trap is sent or not when LLDP information of the
specified physical port is changed.
enable: Send SNMP Notification Trap
disable: Not send SNMP Notification Trap
Use Mode

Configuration mode (admin class)

Explanation

Set whether SNMP Notification Trap is sent or not when LLDP information of the
specified physical port is changed.

Caution

When snmp service command is disabled or snmp traplldpremtableschange coomad is
disabled, SNMP Notification Trap (lldpRemTablesChange Trap) is not sent.

Default

lldp notification disable.
ether  lldp notification disable

131

Port Information Settings

XG Series User's Guide

5.1.5

Chapter 5 Command Reference

Filter Information

This section explains about the commands related to filter information.

5.1.5.1

ether macfilter

Function

Set the MAC filter.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  macfilter   

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Priority
Set the filtering priority to be set with a decimal value.
A smaller value has a higher priority.
The specified value is sorted and renumbered in sequence. If a filtering definition with
the same value already exists, the existing one will be changed.
Range

Model

0 to 511

XG0224 / XG0448

0 to 63

XG2600


• pass
Transmit the packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp"
or "acl udp" definition of access control list.
• reject
Discard the packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp", or
"acl udp" definition of access control list.

• ACL definition number
Specify the ACL definition number of the access control list where the packet pattern to
be filtered has been defined.
Use Mode

Configuration mode (admin class)

Explanation

Set the MAC filtering for each Ethernet port.
For the ingress packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp",
or "acl udp" definitions of the access control list which has been specified by , the
filter processing is executed in the way as specified by .

Caution
Note 1.
If none of "acl mac", "acl vlan" and "acl ip" definitions exist on the access control list
which has been specified by  or if the access control list specified by  does not
exist, the packets are not filtered.
Note 2.
The packet filtering default value is "pass".
No packets are filtered if only "pass" is set in .

132

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

[XG2600]
Note 3.
"acl mac llc" definitions can not filter llc frames with the VLAN tag.
Note 4.
This command is unavailable if the allowable upper limit for the device is exceeded.
The allowable upper limits are as follows.
• Upper limit based on "commands"
64 commands for the entire device.
Up to 64 commands can be set for the entire device, including the "ether macfilter",
"vlan macfilter", "lan ip filter", "ether qos aclmap", "vlan qos aclmap", "lan ip dscp"
commands.
The priority for each command is as follows.

1)

"ether macfilter" command
A smaller Ethernet port number has a higher priority among Ethernet ports.

2)

"vlan macfilter" command
A smaller VLAN ID has a higher priority among VLANs.

3)

"lan ip filter" command
A smaller lan definition number has a higher priority among lans.

4)

"ether qos aclmap" command
A smaller Ethernet port number has a higher priority among Ethernet ports.

5)

"vlan qos aclmap" command
A smaller VLAN ID has a higher priority among VLANs.

6)

"lan ip dscp" command
A smaller lan definition number has a higher priority among lans.

• Upper limit based on "masks"
64 masks for the entire device.
Up to 64 masks can be set for the entire device, including the "ether macfilter", "vlan
macfilter", "lan ip filter", "ether qos aclmap", "vlan qos aclmap", "lan ip dscp", "vlan
protocol" commands.
The priority for each command is as follows.

1)

"vlan protocol" commands

2)

"ether macfilter" command
A smaller Ethernet port number has a higher priority among Ethernet ports.

3)

"vlan macfilter" command
A smaller VLAN ID has a higher priority among VLANs.

4)

"lan ip filter" command
A smaller lan definition number has a higher priority among lans.

5)

"ether qos aclmap" command
A smaller Ethernet port number has a higher priority among Ethernet ports.

6)

"ether qos aclmap" command
A smaller VLAN ID has a higher priority among VLANs.

7)

"lan ip dscp" command
A smaller lan definition number has a higher priority among lans.

133

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

The number of masks that each command use depends on applied ACL.
When Multiple ACL are applied, the number of masks amount to sum total, and
depends on ACLs the number of masks amount to less than sum total.
The following is the number of masks for ACL.
ACL

number of masks

"acl mac"
define LSAP of llc

3

not define LSAP of llc

1

"acl vlan"

1

not define src IP address
not define tos/dscp value

1

not define tos/dscp value

3

define src IP address
not define dst IP address

1

define dst IP address
use same netmask for src and dst IP address
not define tos/dscp value

1

not define tos/dscp value

3

use different netmask for src and dst IP address

3

The following is the number of masks for "vlan protocol" command.
"vlan protocol" definition

number of masks

define vlan protocol ipv4

3

define vlan protocol ipv6

1

define vlan protocol  ether

1

define vlan protocol  llc

1

• Upper limit based on "actions"
16 actions for the entire device.
Up to16 actions can be set for the entire device, including the "ether qos aclmap", "vlan
qos aclmap", "lan ip dscp", "vlan protocol" commands.
The following commands spend 1 action regardless of multiple use.

1)

"vlan protocol" commands

2)

"ether qos aclmap" command
A smaller Ethernet port number has a higher priority among Ethernet ports.

3)

"vlan qos aclmap" command
A smaller VLAN ID has a higher priority among VLANs.

4)

"lan ip dscp" command
A smaller lan definition number has a higher priority among lans.

The following commands spend 1 action regardless of multiple use.
- vlan  protocol ipv4
- vlan  protocol ipv6

134

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

The following commands spend 1 action for each.
If same  is used, the commands use 1 action for them.
If same  is used, the commands use 1 action for them.
If same  is used, the commands use 1 action for them.
- ether  qos aclmap  tos  
- ether qos aclmap  dscp  
- ether  qos aclmap  queue  
- vlan  qos aclmap  tos  
- vlan  qos aclmap  dscp  
- vlan  qos aclmap  queue  
- lan  ip dscp  acl  
The following commands spend 1 action for each.
If same  is used, the commands use 1 action for them.
- vlan  protocol  ether
- vlan  protocol  llc
Note 5.
When the port type of the Ethernet port is a link aggregation, the same setting is needed
in all the member ports where the link aggregation is composed.
[XG0224/XG0448]
Note 3.
This command is unavailable if the allowable upper limit for the device is exceeded.
The allowable upper limits are as follows.
• Upper limit based on "commands"
128 commands for the entire device.
Up to 128 commands can be set for the entire device, including the "ether macfilter",
"vlan macfilter" and "lan ip filter" commands.
The priority for each command is as follows.

1)

"ether macfilter" command
A smaller Ethernet port number has a higher priority among Ethernet ports.

2)

"vlan macfilter" command
A smaller VLAN ID has a higher priority among VLANs.

3)

"lan ip filter" command
A smaller lan definition number has a higher priority among lans.

If up to 128 of "ether macfilter" commands have been defined for port ether1, the
subsequent "vlan macfilter" and "lan ip filter" command will be no longer applied.
• Upper limit based on rule
128 rules for the entire device.
For the "ether macfilter", "vlan macfilter" and "lan ip filter" commands, the number of
rules to be used varies depending on the contents of the specified acl as shown below.
The number of rules for each ACL is as follows.
- For ACL to set TCP or UDP
Result of multiplication between the number of source ports and the number of
destination ports for TCP or UDP
- For ACL to set ICMP
Result of multiplication between the number of ICMP TYPEs and the number of
ICMP CODEs for ICMP
- For ACL not to set TCP, UDP, or ICMP
1

135

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

You can expand the upper limit to use "resource filter distribution" command and
change resource distribution.
Note 4.
Up to 700 commands can be set for the entire device, including the definitions which
It is assumed that this option has not been set.refer to ACL such as "ether macfilter",
"ether qos aclmap", "vlan macfilter", "vlan ip6filter", "vlan qos aclmap", "vlan ip6qos
aclmap", "lan ip filter", "lan ip dscp", "lan ip6 filter", "lan ip6 dscp" and "serverinfo filter"
commands.
Note 5.
When the port type of the Ethernet port is a link aggregation, set it only to the anchor port
where the link aggregation is composed.
Default

5.1.5.2

It is assumed that this option has not been set.

ether macfilter move

Function

Change the priority of MAC filter.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  macfilter move  

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Source priority
Set the source priority with a decimal value.

• Destination priority
Set the destination priority with a decimal value.
Range

Model

0 to 511

XG0224 / XG0448

0 to 63

XG2600

Use Mode

Configuration mode (admin class)

Explanation

Change the priority of MAC filtering for each Ethernet port.
If the current priority is set as , change the priority of this definition to
.
When the definition is changed, the priority is renumbered.

Default

N/A due to an edit command.

136

Port Information Settings

XG Series User's Guide

5.1.6

Chapter 5 Command Reference

QoS Information

This section explains about the commands related to QoS information.

5.1.6.1

ether qos aclmap

Function

Set the Quality of Service (QoS) conversion.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  qos aclmap    

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Priority
Set the QoS conversion priority with a decimal value.
A smaller value has a higher priority.
If multiple  are executed for the same packet and if they conflict with each
other, the  with a higher priority is executed.
The specified value is sorted and renumbered in sequence. If a filtering definition with
the same value already exists, the existing one will be changed.
Range

Model

0 to 511

XG0224 / XG0448

0 to 63

XG2600


• cos [XG0224/XG0448]
Rewrite the "cos" value (the "user priority" value in the Tag Control Information (TCI)
field of the Tagged VLAN) of packets that match the "acl mac", "acl vlan", "acl ip", "acl
icmp", "acl tcp", or "acl udp" definition of access control list.
• dscp
Rewrite the "dscp" value (the high-order 6 bits in the TOS field of IP header), if packets
that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp", or "acl udp" definition
of access control list are IP packets.
• tos
Rewrite the "ip precedence" value (the high-order 3 bits in the TOS field of IP header),
if packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp", or "acl udp"
definition of access control list are IP packets.
• queue
Change the queue at the output port that is used to output the input packets that match
the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp", or "acl udp" definition of access
control list.

137

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference


• Replacing value
If "cos" is selected in :
- 
Set the replaced "cos" value with a decimal value from 0 to 7.
- tos
Replace the "cos" value with the "ip precedence" value in the packet.
If "dscp" is selected in :
- 
Set the replaced "dscp" value with a decimal value from 0 to 63.
If "tos" is selected in :
- 
Set the replaced "ip precedence" value with a decimal value from 0 to 7.
- cos
Replace the "ip precedence" value with the "cos" value.
If "queue" is selected in :
- 
Specify a queue number of the output port to be used.
A larger value indicates a queue with a higher output priority.
Range
0 to 7

Model
XG0224 / XG0448 / XG2600


• ACL definition number
Specify the ACL definition number of the access control list where the packet pattern to
configure QoS conversion has been defined.
Use Mode

Configuration mode (admin class)

Explanation

Set the QoS (quality of service) of each Ethernet port.
For the ingress packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp",
or "acl udp" definitions of the access control list which has been specified by , the
QoS processing is executed in the way as specified by .

Caution
Note 1.
If none of "acl mac", "acl vlan" and "acl ip" definitions exist on the access control list
which has been specified by  or if the access control list specified by  does not
exist, the packets are not filtered.
[XG2600]
Note 2.
If a queue is selected by  and if this queue has not been associated with the cos
value by the "ether qos prioritymap" command, the QoS processing is not executed.
Note 3.
"acl mac llc" definitions can not filter llc frames with the VLAN tag.

138

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

Note 4.
This command is unavailable if the allowable upper limit for the device is exceeded.
The allowable upper limits are as follows.
• Upper limit based on "commands"
64 commands for the entire device.
Up to 64 commands can be set for the entire device, including the "ether macfilter",
"vlan macfilter", "lan ip filter", "ether qos aclmap", "vlan qos aclmap", "lan ip dscp"
commands.
The priority for each command is as follows.

1)

"ether macfilter" command
A smaller Ethernet port number has a higher priority among Ethernet ports.

2)

"vlan macfilter" command
A smaller VLAN ID has a higher priority among VLANs.

3)

"lan ip filter" command
A smaller lan definition number has a higher priority among lans.

4)

"ether qos aclmap" command
A smaller Ethernet port number has a higher priority among Ethernet ports.

5)

"vlan qos aclmap" command
A smaller VLAN ID has a higher priority among VLANs.

6)

"lan ip dscp" command
A smaller lan definition number has a higher priority among lans.

• Upper limit based on "masks"
64 masks for the entire device.
Up to 64 masks can be set for the entire device, including the "ether macfilter", "vlan
macfilter", "lan ip filter", "ether qos aclmap", "vlan qos aclmap", "lan ip dscp", "vlan
protocol" commands.
The priority for each command is as follows.

1)

"vlan protocol" commands

2)

"ether macfilter" command
A smaller Ethernet port number has a higher priority among Ethernet ports.A
smaller Ethernet port number has a higher priority among Ethernet ports.

3)

"vlan macfilter" command
A smaller VLAN ID has a higher priority among VLANs.

4)

"lan ip filter" command
A smaller lan definition number has a higher priority among lans.

5)

"ether qos aclmap" command
A smaller Ethernet port number has a higher priority among Ethernet ports.

6)

"vlan qos aclmap" command
A smaller VLAN ID has a higher priority among VLANs.

7)

"lan ip dscp" command
A smaller lan definition number has a higher priority among lans.

The number of masks that each command use depends on applied ACL.
When Multiple ACL are applied, the number of masks amount to sum total, and
depends on ACLs the number of masks amount to less than sum total.

139

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

The following is the number of masks for ACL..
ACL

number of masks

"acl mac"
define LSAP of llc

3

not define LSAP of llc

1

"acl vlan"

1

not define src IP address
not define tos/dscp value

1

not define tos/dscp value

3

define src IP address
not define dst IP address

1

define dst IP address
use same netmask for src and dst IP address
not define tos/dscp value

1

not define tos/dscp value

3

use different netmask for src and dst IP address

3

The following is the number of masks for "vlan protocol" command.
"vlan protocol" definition

number of masks

define vlan protocol ipv4

3

define vlan protocol ipv6

1

define vlan protocol  ether

1

define vlan protocol  llc

1

• Upper limit based on "actions"
16 actions for the entire device.
Up to16 actions can be set for the entire device, including the"ether qos aclmap", "vlan
qos aclmap", "lan ip dscp", "vlan protocol" commands.
The priority for each command is as follows.

1)

"vlan protocol" commands

2)

"ether qos aclmap" command
A smaller Ethernet port number has a higher priority among Ethernet ports.

3)

"vlan qos aclmap" command
A smaller VLAN ID has a higher priority among VLANs.

4)

"lan ip dscp" command
A smaller lan definition number has a higher priority among lans.

The following commands spend 1 action regardless of multiple use.
- vlan  protocol ipv4
- vlan  protocol ipv6

140

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

The following commands spend 1 action for each.
If same  is used, the commands use 1 action for them.
If same  is used, the commands use 1 action for them.
If same  is used, the commands use 1 action for them.
- ether  qos aclmap  tos  
- ether qos aclmap  dscp  
- ether  qos aclmap  queue  
- vlan  qos aclmap  tos  
- vlan  qos aclmap  dscp  
- vlan  qos aclmap  queue  
- lan  ip dscp  acl  
The following commands spend 1 action for each.
If same  is used, the commands use 1 action for them.
- vlan  protocol  ether
- vlan  protocol  llc
Note 5.
When the port type of the Ethernet port is a link aggregation, the same setting is needed
in all the member ports where the link aggregation is composed.
[XG0224/XG0448]
Note 2.
If a queue is selected by  and if this queue has not been associated with the cos
value by the "qos cosmap" command, the QoS processing is not executed.
Note 3.
This command is unavailable if the allowable upper limit for the device is exceeded.
The allowable upper limits are as follows.
• Upper limit based on "commands"
128 commands for the entire device.
Up to 128 commands can be set for the entire device, including the "ether qos aclmap",
"vlan qos aclmap" and "lan ip dscp" commands.

1)

"ether qos aclmap" command
A smaller Ethernet port value has a higher priority among Ethernet ports.

2)

"vlan qos aclmap" command
A smaller VLAN ID has a higher priority among VLANs.

3)

"lan ip dscp" command
A smaller lan definition number has a higher priority among lans.
If up to 128 of "ether qos aclmap" commands have been defined for port ether1, the
subsequent "vlan qos aclmap" and "lan ip dscp" command will be no longer applied.

• Upper limit based on rule
128 rules for the entire device.
For the "ether qos aclmap", "vlan qos aclmap" and "lan ip dscp" commands, the
number of rules to be used varies depending on the contents of the specified acl as
shown below.
The number of rules for each ACL is as follows.
- For ACL to set TCP or UDP
Result of multiplication between the number of source ports and the number of
destination ports for TCP or UDP
- For ACL to set ICMP
Result of multiplication between the number of ICMP TYPEs and the number of
ICMP CODEs for ICMP

141

Port Information Settings

XG Series User's Guide

Chapter 5 Command Reference

- For ACL not to set TCP, UDP, or ICMP
1
You can expand the upper limit to use "resource filter distribution" command and change
resource distribution.
Note 4.
Up to 700 commands can be set for the entire device, including the definitions which refer
to ACL such as "ether macfilter", "ether qos aclmap", "vlan macfilter", "vlan ip6filter",
"vlan qos aclmap", "vlan ip6qos aclmap", "lan ip filter", "lan ip dscp", "lan ip6 filter", "lan
ip6 dscp" and "serverinfo filter" commands.
Note 5.
When the port type of the Ethernet port is a link aggregation, set it only to the anchor port
where the link aggregation is composed.
Default

5.1.6.2

It is assumed that this option has not been set.

ether qos aclmap move

Function

Change the QoS conversion priority of the Ethernet port.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  qos aclmap move  

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Source priority
Set the source priority with a decimal value.

• Destination priority
Set the destination priority with a decimal value.
Range

Model

0 to 511

XG0224 / XG0448

0 to 63

XG2600

Use Mode

Configuration mode (admin class)

Explanation

Change the priority of QoS definition for each Ethernet port.
If the current priority is set as , change the priority of this definition to
.
When the definition is changed, the priority is renumbered.

Default

N/A due to an edit command.

142

Port Information Settings

XG Series User's Guide

5.1.6.3

Chapter 5 Command Reference

ether qos priority

Function

Set the priority.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  qos priority 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Queue priority
Set the default queue priority with a decimal value from 0 to 7.
Use Mode

Configuration mode (admin class)

Explanation

Set a tag priority value to be assigned to the untagged receive packet.

Default

It is assumed that 0 has been specified as the queue priority.
ether  qos priority 0

143

Port Information Settings

XG Series User's Guide

5.1.6.4

Chapter 5 Command Reference

ether qos mode

Function

Set the QoS sending algorithm.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  qos mode  [        ]

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• mode
strict
: Use the strict priority scheduling.
drr [XG2600]
: Use the deficit round robin scheduling.
wrr [XG0224/XG0448] : Use the weighted round robin scheduling.
       
• Bandwidth of queues [XG2600]
Set bandwidth of 8 queues as the guaranteed minimum bandwidth if "drr" is specified in
.
Set each of them from 800m to 4000m or 1g to 4g (bps).
• Weight of queues [XG0224/XG0448]
Set the weight of 8 queues as the number of packets to send if "wrr" is specified in
.
Set each of them with a decimal number from 0 to 15.
If 0 is specified, this COS queue will be Strict Priority operation.
Use Mode

Configuration mode (admin class)

Explanation

Set the QoS sending algorithm.

Caution
[XG2600]
• Sum total of bandwidth in drr mode should be maximum band of port (10Gbps).
• "ether qos mode drr" command and "ether ratecontrol" command can not use at the
same time and same port.
[XG0224/XG0448]
If a queue is specified to be weighted to 0 in the wrr mode, it operates in the same way as
the strict mode, and the operation precedes the wrr operation.
Default

It is assumed that the strict mode has been specified in the QoS sending algorithm.
ether  qos mode strict

144

Port Information Settings

XG Series User's Guide

5.1.6.5

Chapter 5 Command Reference

ether qos prioritymap

Function

Assign the priority to the queue

Available Model

XG2600

Syntax

ether  qos prioritymap  

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

Specify the priority of packets with a decimal value from 0 to 7.

Specify the queue for the priority specified in  with a decimal value from 0 to 7.
Use Mode

Configuration mode (admin class)

Explanation

assign packets of priority specified with  to queue specified with 

Default
ether
ether
ether
ether
ether
ether
ether
ether










qos
qos
qos
qos
qos
qos
qos
qos

prioritymap
prioritymap
prioritymap
prioritymap
prioritymap
prioritymap
prioritymap
prioritymap

145

0
1
2
3
4
5
6
7

2
0
1
3
4
5
6
7

Port Information Settings

XG Series User's Guide

5.1.7

Chapter 5 Command Reference

LACP Information

This section explains about the commands related to LACP information.

5.1.7.1

ether lacp port-priority

Function

Set the LACP port priority.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  lacp port-priority 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Priority of LACP port
Set the port priority with a decimal value from 1 to 65535.
A smaller value has a higher priority.
Use Mode

Configuration mode (admin class)

Explanation

Set the priority of LACP port. The LACP port priority is used as the priority for the
connection port to be selected by the link aggregation group. A smaller value has a
higher priority. If the priority is the same, the port with a smaller number has the higher
priority in port selection.
It indicates the priority of port selection in the local device. The final port selection for the
final connection depends on the LACP system priority.
However, this definition is no use if the active or passive is not specified for the
linkaggregation operation mode of "the linkaggregation mode".

Default

It is assumed that 32768 has been specified as the LACP port priority.
ether  lacp port-priority 32768

146

Port Information Settings

XG Series User's Guide

5.1.8

Chapter 5 Command Reference

ether L3 Monitor Information

This section explains about the commands related to ether L3 monitor information.

5.1.8.1

ether icmpwatch address

Function

Set the destination address for Ethernet L3 monitoring.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  icmpwatch address 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Destination IP address of ICMP ECHO packets
Specify the destination IP address to be monitored.
The allowable range is as follows:
1.0.0.1to 126.255.255.254
128.0.0.1 to 191.255.255.254
192.0.0.1 to 223.255.255.254
Use Mode

Configuration mode (admin class)

Explanation

Set the operation information for destination monitoring.
The ICMP ECHO packet is sent from the specified Ethernet port to the destination IP
address specified by , and its presence is checked by receiving a response.

Caution

Do not set the IP address of the local device in . Also, make sure that the
specified IP address is included in the same subnet.
If any of the above three addresses are specified, the Ethernet L3 monitoring function will
not operate normally.
If the ether type is linkaggregation
The Ethernet L3 monitoring definition that has been set for the Ethernet port is disabled.
Set the Ethernet L3 monitoring definition for the "linkaggregation icmpwatch".
When using both the backup port function and the Ethernet L3 monitoring
function
The active port is monitored.
When a port is first linked up, it is used as the operation port in the earlier mode.
Therefore, set the port monitoring for both the master and backup ports.
Default

It is assumed that the Ethernet L3 monitoring function is not used.

147

Port Information Settings

XG Series User's Guide

5.1.8.2

Chapter 5 Command Reference

ether icmpwatch interval

Function

Set various types of "ether" L3 monitoring intervals.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  icmpwatch interval   []

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Transmission interval of normal ICMP ECHO packets
Specify the transmission interval of normal ICMP ECHO packets to be within the range
of 1 to 60 seconds (or 1 minute).
The unit shall be m (minute) or s (second).

• Monitoring timeout
Specify the monitoring timeout period as between 5 to 180 seconds (or 3 minutes). If
the time exceeds, the monitoring is considered as failed.
The unit should be in m (minute) or s (second).

• Retransmission interval of ICMP ECHO packets
Specify the retransmission interval of ICMP ECHO packets between 1 to -1
seconds if the normal ICMP ECHO packet transmission is not acknowledged.
The unit should be in m (minute) or s (second).
The default is 1s.
Use Mode

Configuration mode (admin class)

Explanation

Set the operation information for destination monitoring.
The destination is monitored in  when the response of ICMP ECHO packet is
normally received.
If the response to ICMP ECHO packet is not received, the packet is resent by the .
If no response is returned within the time period specified in the , an error is
detected assuming that any fault occurs and the Ethernet port specified in the 
goes offline.

Caution

If ports go offline, release them with the "online" command.

Default

It is assumed that the 10-second transmission interval during normal communication, the
5-second timeout for monitoring, and the 1-second retransmission interval have been
specified.
ether  icmpwatch interval 10s 5s 1s

148

Port Information Settings

XG Series User's Guide

5.1.9

Chapter 5 Command Reference

ether SNMP Information

This section explains about the commands related to ether SNMP Information.

5.1.9.1

ether snmp trap linkdown

Function

Enable/disable a linkdown trap for a specified ether port.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  snmp trap linkdown 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

Enable or disable linkdown trapping for the specified port(s).
• enable
Enable trapping.
• disable
Disable trapping.
Use Mode

Configuration mode (admin class)

Explanation

Enable or disable the linkdown trap for the specified ether port(s).

Caution

The "snmp trap linkdown" command has a priority over this command.

Default

It is assumed that the linkdown trap is enabled for all ports.
ether  snmp trap linkdown enable

149

Port Information Settings

XG Series User's Guide

5.1.9.2

Chapter 5 Command Reference

ether snmp trap linkup

Function

Enable/disable a linkup trap for a specified ether port.

Available Model

XG0224 / XG0448 / XG2600

Syntax

ether  snmp trap linkup 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

Enable or disable linkup trapping for the specified port(s).
• enable
Enable trapping.
• disable
Disable trapping.
Use Mode

Configuration mode (admin class)

Explanation

Enable or disable the linkup trap for the specified ether port(s).

Caution

The "snmp trap linkup" command has a priority over this command.

Default

It is assumed that the linkup trap is enabled.
ether  snmp trap linkup enable

150

Port Information Settings

XG Series User's Guide

5.1.10

Chapter 5 Command Reference

ether output rate control information

This section explains about the commands related to ether output rate control information.

5.1.10.1 ether ratecontrol
Function

Set output rate limit of ether port

Available Model

XG2600

Syntax

ether  ratecontrol 

Options

• ether port number
Set a port number to use with a decimal value.
When setting multiple port numbers, separate them with commas (,).
When setting sequential numbers, separate them with hyphens (-). (Example: "1-8")

• Output rate
Specify output rate which is limited in the ether port with Mbps or Gbps
40m to 10000m
1g to 10g
If "10000m" or "10g" is set, packets are not limited.
Use Mode

Configuration mode (admin class)

Explanation

Set output rate control.

Caution

"ether qos mode drr" command and "ether ratecontrol" command can not use at the
same time and same port.

Default

It is assumed that the output rate limit function is not used.

151

Port Information Settings

XG Series User's Guide

5.2

Chapter 5 Command Reference

LACP Information Settings

This section explains about LACP information settings.

5.2.1

LACP Information

This section explains about the commands related to LACP information.

5.2.1.1

lacp system-priority

Function

Set the LACP system priority.

Available Model

XG0224 / XG0448 / XG2600

Syntax

lacp system-priority 

Options

• Priority of LACP system
Set the device priority with a decimal value from 1 to 65535.
A smaller value has a higher priority.
Use Mode

Configuration mode (admin class)

Explanation

Set the priority of LACP system. The LACP system priority is used to determine which
has a higher priority for the information exchange between a link aggregation group and
another remote link aggregation group. If the priority is same, the system ID (the
designated MAC address +1) with a smaller number has the higher priority.
However, this definition is meaningless if the active or passive is not set for the
linkaggregation operation mode of the "linkaggregation mode".

Default

It is assumed that 32768 has been specified as the LACP system priority.
lacp system-priority 32768

152

LACP Information Settings

XG Series User's Guide

5.2.1.2

Chapter 5 Command Reference

lacp bpdu

Function

Set the BPDU forwarding mode of the LACP.

Available Model

XG0224 / XG0448 / XG2600

Syntax

lacp bpdu 

Options

• on
Specify the BPDU forwarding mode.
• off
Specify the BPDU discarding mode.
Use Mode

Configuration mode (admin class)

Explanation

Set the BPDU forwarding mode of the LACP.
Set whether or not to forward a BPDU frame when the LACP function has been disabled.
However, the BPDU frame forwarding is disabled if the link aggregation is not set for the
device.

Caution

The BPDU frame, which is not provided with the VLAN tag, is forwarded based on the
receive port setting without the VLAN tag if the BPDU forwarding mode is specified.

Default

It is assumed that discarding mode is specified as BPDU forwarding mode of LACP.
lacp bpdu off

153

LACP Information Settings

XG Series User's Guide

5.3

Chapter 5 Command Reference

VLAN Information Settings

This section explains about VLAN information settings.

VLAN ID allowed range
The VLAN ID, which is to be specified in  of [Options] described in each command of this section, shall be within
the range specified as shown below.
Range
1 to 4094

5.3.1

Model
XG0224 / XG0448 / XG2600

VLAN Common Information

This section explains about the commands related to VLAN common information.

5.3.1.1

vlan name

Function

Set the VLAN name.

Available Model

XG0224 / XG0448 / XG2600

Syntax

vlan  name 

Options

• VLAN ID
Specify a VLAN ID with a decimal value.
VLAN1 has been defined as the default port VLAN during device startup, and it has
been registered as the "default" VLAN name.

• VLAN name
Specify the VLAN name using up to 32 characters from the 0x21, 0x23 to 0x7e ASCII
set.
Use Mode

Configuration mode (admin class)

Explanation

Set a VLAN name.
If this command is omitted, VLAN1 is set to the "default".
If a VLAN other than VLAN1 is created, it is set in the 'v'+ format.
(Example: If vid=5, "v5" is set.)

Caution

If "delete vlan  name" is specified, the VLAN name is initialized but the VLAN itself
is not deleted. (The VLAN can be deleted by the "ether vlan" command.)

Default
When VLAN ID is 1
vlan 1 name default

When VLAN ID is other than 1
vlan  name 'v'+

154

VLAN Information Settings

XG Series User's Guide

5.3.1.2

Chapter 5 Command Reference

vlan protocol

Function

Set the protocol VLAN.

Available Model

XG0224 / XG0448 / XG2600

Syntax

vlan  protocol 
vlan  protocol   

Options

• VLAN ID
Specify a decimal VLAN ID from 2 to 4094.

Select a system-defined protocol type.
• ipv4

: EthernetII Ethertype=0800,0806,8035

• ipv6

: EthernetII Ethertype=86dd

• fna

: 802.3LLC LSAP=8080,0000,0001
[XG2600] The fna protocol can be assigned only untagged frames.


• Protocol definition number
Specify a decimal protocol definition value from 0 to 7 if the protocol is defined by the
user.
[XG2600]


Specify it if the protocol is defined by the user.
• ethertype
Ethernet II or IEEE 802.3s with SNAP format frames
• llc
IEEE 802.3 with LLC format frames

Specify the Ethertype or LLC value if the protocol is defined by the user.
• Specify the Ethertype value for Ethernet II format or IEEE 802.3 SNAP format frames,
or specify an LLC value (DSAP or SSAP) for IEEE 802.3 LLC format frames, using a 4digit hexadecimal value (from 0000 to ffff).
Setting example)
ipx
: ethertype=8137,8138
appletalk : ethertype=809b,80f3
• This device can't appreciate Ethernet II format from IEEE 802.3 SNAP format.
If you use appletalk (SNAP format) protocol, please check on there is no Ethernet II
format frame using same ether-type of appletalk.
[XG0224/XG0448]

Specify it if the protocol is defined by the user.
• ethertype
Ethernet II format frames
• snap
IEEE 802.3s with SNAP format frames
• llc
IEEE 802.3 with LLC format frames

155

VLAN Information Settings

XG Series User's Guide

Chapter 5 Command Reference


Specify the Ethertype or LLC value if the protocol is defined by the user.
• Specify the Ethertype value for Ethernet II format or IEEE 802.3 SNAP format frames,
or specify an LLC value (DSAP or SSAP) for IEEE 802.3 LLC format frames, using a 4digit hexadecimal value (from 0000 to ffff).
Setting example)
ipx
: ethertype=8137,8138
appletalk : ethertype=809b,80f3
• If EthernetII format was specified, the EtherType value = 0000 to 05ff setting is
disabled.
Use Mode

Configuration mode (admin class)

Explanation

Set the protocol VLAN conditions using this command.
The protocol can be set by one of the following two methods.
• Selecting a system-defined protocol (ipv4/ipv6/fna).
• Directly specifying a protocol type in the user definition.

Caution
• No protocol VLANs can be set for the default VLAN (VLAN ID=1).
• Up to 8 definitions can be given to set the user-defined protocol conditions for the
entire device.
• Both the system-defined  definition and the user definition cannot be
specified in the same VLAN all together.
• The same protocol definition as the system-defined  definition can be
used as the user definition.
However, if these definitions compete against each other on the same port, only the
VLAN with a smaller identification number will be enabled. For example, the following
can be set:
ether 1 vlan untag 10
ether 2 vlan untag 20
vlan 10 protocol ipv4
vlan 20 protocol 0 ethertype 0800
However, if "ether 1 vlan untag 10,20" is set for the Ethernet port, the ether1 port is
included in VLAN10 but not included in VLAN20.
• The same protocol definition can be used for multiple different VLANs.
However, if those VLANs compete against each other on the same port, only the VLAN
with a smaller identification number will be enabled. For example, the following can be
set:
ether 1 vlan untag 10
ether 2 vlan untag 20
vlan 10 protocol ipv4
vlan 20 protocol ipv4
However, if "ether 1 vlan untag 10,20" is set for the Ethernet port, the ether1 port is
included in VLAN10 but not included in VLAN20.
• If the protocol type differs, multiple protocol VLANs can be set on the same port. For
example, the following can be set:
ether 1 vlan untag 10,20
vlan 10 protocol ipv4
vlan 20 protocol ipv6
• If "delete vlan  protocol" is set, all VLAN protocol conditions are deleted, but the
VLAN itself is not deleted. (The VLAN can be deleted by the "ether vlan" command.)

156

VLAN Information Settings

XG Series User's Guide

Chapter 5 Command Reference

[XG2600]
• The Max definition number of "vlan protocol" definitions is 16.
• If there are "vlan protocol" definitions over 16, the definition, the VLAN and the ports
belong to the VLAN are invalid.
• The "vlan protocol" definition uses the ACL resources,please refer "ether macfilter",
"ether qos aclmap", "vlan macfilter", "vlan qos aclmap", "lan ip filter", "lan ip dscp".
• The fna protocol can be assigned only untagged frames.
Default

N/A

157

VLAN Information Settings

XG Series User's Guide

5.3.1.3

Chapter 5 Command Reference

vlan forward

Function

Set static forwarding rules setting.

Available Model

XG0224 / XG0448 / XG2600

Syntax

vlan  forward   

Options

• VLAN ID
Specify a VLAN ID with a decimal value.

• Definition number
Specify it with a decimal value from 0 to 399.

• Destination MAC address
Specify the MAC address to be added statically to the learning table.
(It must be in the xx:xx:xx:xx:xx:xx format, where "xx" is a 2-digit hexadecimal value.)

• ether port number
Specify the Ethernet port number using a decimal value.
Use Mode

Configuration mode (admin class)

Explanation

Set static forwarding rules.

Caution
• Address 00:00:00:00:00:00, the broadcast address, or multicast address, option
cannot be specified in .
• This setting is disabled if VLAN specified in  is not registered.
• This setting is disabled if the port specified by  is not set in the VLAN specified
by .
• If the port specified by  is a member of link aggregation ports, set it to forward
packets to the link aggregation ports.
• If the port specified by  is a backup port, set it to forward packets to the port used
for the backup port.
Default

N/A

158

VLAN Information Settings

XG Series User's Guide

5.3.1.4

Chapter 5 Command Reference

vlan description

Function

Set description for VLAN

Available Model

XG0224 / XG0448 / XG2600

Syntax

vlan  description 

Options

• VLAN ID
Specify VLAN ID with a decimal value from 0 to 4094

• Description
Specify the VLAN description using up to 32 characters from the 0x21, 0x23 to 0x7e
ASCII set.
Use Mode

Configuration mode (admin class)

Explanation

Set description for VLAN

Default

N/A

159

VLAN Information Settings

XG Series User's Guide

5.3.2

Chapter 5 Command Reference

IGMP Snooping Information

This section explains about the commands related to IGMP snooping information.

5.3.2.1

vlan igmpsnoop router

Function

Set the multicast router port.

Available Model

XG0224 / XG0448 / XG2600

Syntax

vlan  igmpsnoop router  []

Options

• VLAN ID
Specify a VLAN ID with a decimal value.

Specify how to determine the multicast router port.
• auto
Determine the multicast router port dynamically.
• yes
Specify the multicast router port statically.
Only the ports specified by  are set as the router ports.
The  option must be specified if this mode is selected.

Specify a list of multicast router ports. This option can be specified only if the static mode
has been selected.
When specifying multiple port numbers, separate them with commas (,). Also, when
specifying a range of values, separate them with hyphens (-). (Example:"1-3")
The available description format is as follows:
• To specify 1, 2, 3, 5 and 7 as the portlist:
Example: 1-3,5,7
• To specify 1, 3 and 5 as the portlist:
Example: 1,3,5
Use Mode

Configuration mode (admin class)

Explanation

Specify the multicast router connection port.

Caution
• This setting is enabled only when IGMP snooping is set to use.
This setting is ignored if IGMP snooping is not used.
• If multicast routers are connected to two or more ports of the same VLAN, set it
statically without fail. If "auto" is defined, the communication may fail.
• When connecting multiple devices to each other when IGMP snooping is enabled for
the devices, set the port as the multicast router port.
Default

It is assumed that the multicast router port is determined dynamically.
vlan  igmpsnoop router auto

160

VLAN Information Settings

XG Series User's Guide

5.3.2.2

Chapter 5 Command Reference

vlan igmpsnoop querier

Function

Set the Querier operations.

Available Model

XG0224 / XG0448 / XG2600

Syntax

vlan  igmpsnoop querier 

Options

• VLAN ID
Specify a VLAN ID with a decimal value.

• on
Specify the Querier operation mode if no multicast router exists.
• off
Do not operate as the Querier regardless of whether the multicast router exists or not.
Use Mode

Configuration mode (admin class)

Explanation

Specify the querier operation mode.

Caution
• If the querier operation is disabled and the multicast router does not exist, multicast
forwarding is stopped.
• This setting is enabled only when IGMP snooping is used.
This setting is ignored if IGMP snooping is not used.
Default

It is operated as Querier if no multicast router exists.
vlan  igmpsnoop querier on

161

VLAN Information Settings

XG Series User's Guide

5.3.2.3

Chapter 5 Command Reference

vlan igmpsnoop source

Function

Set the IP address to be used for IGMP snooping.

Available Model

XG0224 / XG0448 / XG2600

Syntax

vlan  igmpsnoop source 
Options • VLAN ID Specify a VLAN ID with a decimal value.
Specify the source IP address to be used for IGMP snooping. This IP address is used as the source address for all IGMP packets. Use Mode Configuration mode (admin class) Explanation Specify the source address of IGMP packets sent by IGMP snooping. Caution • This setting is enabled only when IGMP snooping is set to use. This setting is ignored if IGMP snooping is not used. • When IGMP snooping is used, set the Querier IP address. • To make the querier operation enabled, set an address whose value is greater than the multicast router address. • When connecting multiple IGMP snooping devices, do not set the addresses of two or more devices within the same VLAN. Default IGMP packets are sent with the source address 0.0.0.0. vlan igmpsnoop source 0.0.0.0 162 VLAN Information Settings XG Series User's Guide 5.3.2.4 Chapter 5 Command Reference vlan igmpsnoop proxy Function Set the IGMP proxy mode. Available Model XG0224 / XG0448 / XG2600 Syntax vlan igmpsnoop proxy Options • VLAN ID Specify a VLAN ID with a decimal value. Specify the proxy response mode. • off Do not respond any IGMP packet. • on Proxy responds to a querier. Use Mode Configuration mode (admin class) Explanation Specify the IGMP proxy's response transmission mode. If a device that uses IGMP v1 exists, specify "off". Caution This setting is enabled only when IGMP snooping is set to use. This setting is ignored if IGMP snooping is not used. Default The proxy response "off" mode is applied. vlan igmpsnoop proxy off 163 VLAN Information Settings XG Series User's Guide 5.3.3 Chapter 5 Command Reference Filter Information This section explains about the commands related to filter information. 5.3.3.1 vlan macfilter Function Set the MAC filter for VLAN. Available Model XG0224 / XG0448 / XG2600 Syntax vlan macfilter Options • VLAN ID Specify a VLAN ID with a decimal value. • Priority Set the filtering priority to be specified with a decimal value. A smaller value has a higher priority. The specified value is sorted and renumbered in sequence. If a filtering definition with the same value already exists, the existing one will be changed. Range Model 0 to 511 XG0224 / XG0448 0 to 63 XG2600 • pass Transmit the packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp" or "acl udp" definition of access control list. • reject Discard the packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp", or "acl udp" definition of access control list. • ACL definition number Specify the ACL definition number of the access control list where the packet pattern to be filtered has been defined. Use Mode Configuration mode (admin class) Explanation Set MAC filtering for each VLAN. For the input packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp", or "acl udp" definitions of the access control list which has been specified by , the filter processing is executed in the way as specified by . 164 VLAN Information Settings XG Series User's Guide Chapter 5 Command Reference Caution Note 1. If none of "acl mac", "acl vlan" and "acl ip" definitions exist on the access control list which has been specified by or if the access control list specified by does not exist, the packets are not filtered. Note 2. The packet filtering default value is "pass". No packets are filtered if only "pass" is set in . [XG2600] Note 3. "acl mac llc" definitions can not filter llc frames with the VLAN tag. Note 4. This command is unavailable if the allowable upper limit for the device is exceeded. The allowable upper limits are as follows. • Upper limit based on "commands" 64 commands for the entire device. Up to 64 commands can be set for the entire device, including the"ether macfilter"", "vlan macfilter", "lan ip filter", "ether qos aclmap", "vlan qos aclmap", "lan ip dscp" commands. The priority for each command is as follows. 1) "ether macfilter" command A smaller Ethernet port number has a higher priority among Ethernet ports. 2) "vlan macfilter" command A smaller VLAN ID has a higher priority among VLANs. 3) "lan ip filter" command A smaller lan definition number has a higher priority among lans. 4) "ether qos aclmap" command A smaller Ethernet port number has a higher priority among Ethernet ports. 5) "vlan qos aclmap" command A smaller VLAN ID has a higher priority among VLANs. 6) "lan ip dscp" command A smaller lan definition number has a higher priority among lans. • Upper limit based on "masks" 64 masks for the entire device. Up to 64 masks can be set for the entire device, including the "ether macfilter", "vlan macfilter", "lan ip filter", "ether qos aclmap", "vlan qos aclmap", "lan ip dscp", "vlan protocol" commands. The priority for each command is as follows. 1) "vlan protocol" commands 2) "ether macfilter" command A smaller Ethernet port number has a higher priority among Ethernet ports. 3) "vlan macfilter" command A smaller VLAN ID has a higher priority among VLANs. 4) "lan ip filter" command A smaller lan definition number has a higher priority among lans. 165 VLAN Information Settings XG Series User's Guide Chapter 5 Command Reference 5) "ether qos aclmap" command A smaller Ethernet port number has a higher priority among Ethernet ports. 6) "vlan qos aclmap" command A smaller VLAN ID has a higher priority among VLANs. 7) "lan ip dscp" command A smaller lan definition number has a higher priority among lans. The number of masks that each command use depends on applied ACL. When Multiple ACL are applied, the number of masks amount to sum total, and depends on ACLs the number of masks amount to less than sum total. The following is the number of masks for ACL. ACL number of masks "acl mac" define LSAP of llc 3 not define LSAP of llc 1 "acl vlan" 1 not define src IP address not define tos/dscp value 1 not define tos/dscp value 3 define src IP address not define dst IP address 1 define dst IP address use same netmask for src and dst IP address not define tos/dscp value 1 not define tos/dscp value 3 use different netmask for src and dst IP address 3 The following is the number of masks for "vlan protocol" command. "vlan protocol" definition number of masks define vlan protocol ipv4 3 define vlan protocol ipv6 1 define vlan protocol ether 1 define vlan protocol llc 1 • Upper limit based on "actions" 16 actions for the entire device. Up to16 actions can be set for the entire device, including the "ether qos aclmap", "vlan qos aclmap", "lan ip dscp", "vlan protocol" commands. The following commands spend 1 action regardless of multiple use. 1) "vlan protocol" commands 2) "ether qos aclmap" command A smaller Ethernet port number has a higher priority among Ethernet ports. 3) "vlan qos aclmap" command A smaller VLAN ID has a higher priority among VLANs. 166 VLAN Information Settings XG Series User's Guide Chapter 5 Command Reference 4) "lan ip dscp" command A smaller lan definition number has a higher priority among lans. The following commands spend 1 action regardless of multiple use. - vlan protocol ipv4 - vlan protocol ipv6 The following commands spend 1 action for each. If same is used, the commands use 1 action for them. If same is used, the commands use 1 action for them. If same is used, the commands use 1 action for them. - ether qos aclmap tos - ether qos aclmap dscp - ether qos aclmap queue - vlan qos aclmap tos - vlan qos aclmap dscp - vlan qos aclmap queue - lan ip dscp acl The following commands spend 1 action for each. If same is used, the commands use 1 action for them. - vlan protocol ether - vlan protocol llc [XG0224/XG0448] Note 3. This command is unavailable if the allowable upper limit for the device is exceeded. The allowable upper limits are as follows. • Upper limit based on "commands" 128 commands for the entire device. Up to 128 commands can be set for the entire device, including the "ether macfilter", "vlan macfilter" and "lan ip filter" commands. The priority for each command is as follows. 1) "ether macfilter" command A smaller Ethernet port number has a higher priority among Ethernet ports. 2) "vlan macfilter" command A smaller VLAN ID has a higher priority among VLANs. 3) "lan ip filter" command A smaller lan definition number has a higher priority among lans. If up to 128 of "ether macfilter" commands have been defined for port ether1, the subsequent "vlan macfilter" and "lan ip filter" command will be no longer applied. • Upper limit based on rule 128 rules for the entire device. For the "ether macfilter", "vlan macfilter" and "lan ip filter" commands, the number of rules to be used varies depending on the contents of the specified acl as shown below. The number of rules for each ACL is as follows. - For ACL to set TCP or UDP Result of multiplication between the number of source ports and the number of destination ports for TCP or UDP 167 VLAN Information Settings XG Series User's Guide Chapter 5 Command Reference - For ACL to set ICMP Result of multiplication between the number of ICMP TYPEs and the number of ICMP CODEs for ICMP - For ACL not to set TCP, UDP, or ICMP 1 You can expand the upper limit to use "resource filter distribution" command and change resource distribution. Note 4. Up to 700 commands can be set for the entire device, including the definitions which It is assumed that this option has not been set.refer to ACL such as "ether macfilter", "ether qos aclmap", "vlan macfilter", "vlan ip6filter", "vlan qos aclmap", "vlan ip6qos aclmap", "lan ip filter", "lan ip dscp", "lan ip6 filter", "lan ip6 dscp" and "serverinfo filter" commands. Default It is assumed that this option has not been set. 168 VLAN Information Settings XG Series User's Guide 5.3.3.2 Chapter 5 Command Reference vlan macfilter move Function Change the priority of VLAN MAC filter. Available Model XG0224 / XG0448 / XG2600 Syntax vlan macfilter move Options • VLAN ID Specify a VLAN ID with a decimal value. • Source priority Set the source priority with a decimal value. • Destination priority Set the destination priority with a decimal value. Range 0 to 511 Model XG0224 / XG0448 / XG2600 Use Mode Configuration mode (admin class) Explanation Change the priority of MAC filtering for each VLAN. If the current priority is set as , change the priority of this definition to . When the definition is changed, the priority is renumbered. Default N/A due to an edit command. 169 VLAN Information Settings XG Series User's Guide 5.3.3.3 Chapter 5 Command Reference vlan ip6filter Function Set VLAN IPv6 filter Available Model XG0224 / XG0448 Syntax vlan ip6filter Options • VLAN ID Specify the VLAN ID with a decimal value from 1 to 4094. • Priority Set the filtering priority with a decimal value A smaller value has a higher priority. Range 0 to 511 Model XG0224 / XG0448 • pass Pass the packets which match "acl ip6", "acl icmp", "acl tcp" and "acl udp" • reject Discard the packets which match "acl ip6", "acl icmp", "acl tcp" and "acl udp" • ACL definition number Specify the ACL definition number which is used for the filter Use Mode Configuration mode (admin class) Explanation Set IPv6 filtering per VLAN Action specified in works packets which match access control list which is defined in "acl ip6", "acl icmp", "acl tcp" and "acl udp" Caution Note 1. If none of "acl ip6" definition exist on the access control list which has been specified by or if the access control list specified by does not exist, the packets are not filtered. Note 2. The packet filtering default value is "pass". No packets are filtered if only "pass" is set in . Note 3. This command is unavailable if the allowable upper limit for the device is exceeded. The allowable upper limits are as follows. • Upper limit based on "commands" 128 commands for the entire device. Up to 128 commands can be set for the entire device, including the "vlan ip6filter" and "lan ip6 filter" commands. The priority for each command is as follows. 170 VLAN Information Settings XG Series User's Guide Chapter 5 Command Reference 1) "vlan ip6filter" command A smaller VLAN ID has a higher priority among VLANs. 2) "lan ip6 filter" command A smaller lan definition number has a higher priority among lans. If up to 128 of "vlan ip6filter" commands have been defined, the subsequent "lan ip6 filter" command will be no longer applied. • Upper limit based on rule 128 rules for the entire device. For the "vlan ip6filter" and "lan ip6 filter" commands, the number of rules to be used varies depending on the contents of the specified acl as shown below. The number of rules for each ACL is as follows. - For ACL to set TCP or UDP Result of multiplication between the number of source ports and the number of destination ports for TCP or UDP - For ACL to set ICMP Result of multiplication between the number of ICMP TYPEs and the number of ICMP CODEs for ICMP - For ACL not to set TCP, UDP, or ICMP 1 You can expand the upper limit to use "resource filter distribution" command and change resource distribution. Note 4. Up to 700 commands can be set for the entire device, including the definitions which refer to ACL such as "ether macfilter", "ether qos aclmap", "vlan macfilter", "vlan ip6filter", "vlan qos aclmap", "vlan ip6qos aclmap", "lan ip filter", "lan ip dscp", "lan ip6 filter", "lan ip6 dscp" and "serverinfo filter" commands. Default N/A 171 VLAN Information Settings XG Series User's Guide 5.3.3.4 Chapter 5 Command Reference vlan ip6filter move Function Change the priority of VLAN IPv6 filter Available Model XG0224 / XG0448 Syntax vlan ip6filter move Options • VLAN ID Specify VLAN ID with a decimal value from 1 to 4094 • Priority Specify the priority with a decimal value • New Priority Specify the new priority with a decimal value Range 0 to 511 Model XG0224 / XG0448 Use Mode Configuration mode (admin class) Explanation Change the priority of IPv6 filter per VLAN Default N/A 172 VLAN Information Settings XG Series User's Guide 5.3.4 Chapter 5 Command Reference QoS Information This section explains about the commands related to QoS information. 5.3.4.1 vlan qos aclmap Function Set the QoS conversion of the VLAN. Available Model XG0224 / XG0448 / XG2600 Syntax vlan qos aclmap Options • VLAN ID Specify a VLAN ID with a decimal value. • Priority Set the QoS conversion priority with a decimal value. A smaller value has a higher priority. If multiple are executed for the same packet and if they conflict with each other, the with a higher priority is executed. The specified value is sorted and renumbered in sequence. If a filtering definition with the same value already exists, the existing one will be changed. Range Model 0 to 511 XG0224 / XG0448 0 to 63 XG2600 • cos [XG0224/XG0448] Rewrite the "cos" value (the "user priority" value in the Tag Control Information (TCI) field of the Tagged VLAN) of packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp", or "acl udp" definition of access control list. • dscp Rewrite the "dscp" value (the high-order 6 bits in the TOS field of IP header), if packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp", or "acl udp" definition of access control list are IP packets. • tos Rewrite the "ip precedence" value (the high-order 3 bits in the TOS field of IP header), if packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp", or "acl udp" definition of access control list are IP packets. • queue Change the queue at the output port that is used to output the input packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp", or "acl udp" definition of access control list. • Replacing value If "cos" is selected in : - Set the replaced "cos" value with a decimal value from 0 to 7. - tos Replace the "cos" value with the "ip precedence" value in the packet. 173 VLAN Information Settings XG Series User's Guide Chapter 5 Command Reference If "dscp" is selected in : - Set the replaced "dscp" value with a decimal value from 0 to 63. If "tos" is selected in : - Set the replaced "ip precedence" value with a decimal value from 0 to 7. - cos Replace the "ip precedence" value with the "cos" value. If "queue" is selected in : - Specify a queue number of the output port to be used. A larger value indicates a queue with a higher output priority. Range 0 to 7 Model XG0224 / XG0448 / XG2600 • ACL definition number Specify the ACL definition number of the access control list where the packet pattern to configure QoS conversion has been defined. Use Mode Configuration mode (admin class) Explanation Set the QoS (quality of service) of each Ethernet port. For the ingress packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp", or "acl udp" definitions of the access control list which has been specified by , the QoS processing is executed in the way as specified by . Caution Note 1. If none of "acl mac", "acl vlan" and "acl ip" definitions exist on the access control list which has been specified by or if the access control list specified by does not exist, the packets are not filtered. [XG2600] Note 2. If a queue is selected by and if this queue has not been associated with the cos value by the "ether qos prioritymap" command, the QoS processing is not executed. Note 3. "acl mac llc" definitions can not filter llc frames with the VLAN tag. Note 4. This command is unavailable if the allowable upper limit for the device is exceeded. The allowable upper limits are as follows. • Upper limit based on "commands" 64 commands for the entire device. Up to 64 commands can be set for the entire device, including the "ether macfilter", "vlan macfilter", "lan ip filter", "ether qos aclmap", "vlan qos aclmap", "lan ip dscp" commands. The priority for each command is as follows. 174 VLAN Information Settings XG Series User's Guide Chapter 5 Command Reference 1) "ether macfilter" command A smaller Ethernet port number has a higher priority among Ethernet ports. 2) "vlan macfilter" command A smaller VLAN ID has a higher priority among VLANs. 3) "lan ip filter" command A smaller lan definition number has a higher priority among lans. 4) "ether qos aclmap" command A smaller Ethernet port number has a higher priority among Ethernet ports. 5) "vlan qos aclmap" command A smaller VLAN ID has a higher priority among VLANs. 6) "lan ip dscp" command A smaller lan definition number has a higher priority among lans. • Upper limit based on "masks" 64 masks for the entire device. Up to 64 masks can be set for the entire device, including the "ether macfilter", "vlan macfilter", "lan ip filter", "ether qos aclmap", "vlan qos aclmap", "lan ip dscp", "vlan protocol" commands. The priority for each command is as follows. 1) "vlan protocol" commands 2) "ether macfilter" command A smaller Ethernet port number has a higher priority among Ethernet ports.A smaller Ethernet port number has a higher priority among Ethernet ports. 3) "vlan macfilter" command A smaller VLAN ID has a higher priority among VLANs. 4) "lan ip filter" command A smaller lan definition number has a higher priority among lans. 5) "ether qos aclmap" command A smaller Ethernet port number has a higher priority among Ethernet ports. 6) "vlan qos aclmap" command A smaller VLAN ID has a higher priority among VLANs. 7) "lan ip dscp" command A smaller lan definition number has a higher priority among lans. 175 VLAN Information Settings XG Series User's Guide Chapter 5 Command Reference The number of masks that each command use depends on applied ACL. When Multiple ACL are applied, the number of masks amount to sum total, and depends on ACLs the number of masks amount to less than sum total. The following is the number of masks for ACL.. ACL number of masks "acl mac" define LSAP of llc 3 not define LSAP of llc 1 "acl vlan" 1 not define src IP address not define tos/dscp value 1 not define tos/dscp value 3 define src IP address not define dst IP address 1 define dst IP address use same netmask for src and dst IP address not define tos/dscp value 1 not define tos/dscp value 3 use different netmask for src and dst IP address 3 The following is the number of masks for "vlan protocol" command. "vlan protocol" definition number of masks define vlan protocol ipv4 3 define vlan protocol ipv6 1 define vlan protocol ether 1 define vlan protocol llc 1 • Upper limit based on "actions" 16 actions for the entire device. Up to16 actions can be set for the entire device, including the "ether qos aclmap", "vlan qos aclmap", "lan ip dscp", "vlan protocol" commands. The priority for each command is as follows. 1) "vlan protocol" commands 2) "ether qos aclmap" command A smaller Ethernet port number has a higher priority among Ethernet ports. 3) "vlan qos aclmap" command A smaller VLAN ID has a higher priority among VLANs. 4) "lan ip dscp" command A smaller lan definition number has a higher priority among lans. The following commands spend 1 action regardless of multiple use. - vlan protocol ipv4 - vlan protocol ipv6 176 VLAN Information Settings XG Series User's Guide Chapter 5 Command Reference The following commands spend 1 action for each. If same is used, the commands use 1 action for them. If same is used, the commands use 1 action for them. If same is used, the commands use 1 action for them. - ether qos aclmap tos - ether qos aclmap dscp - ether qos aclmap queue - vlan qos aclmap tos - vlan qos aclmap dscp - vlan qos aclmap queue - lan ip dscp acl The following commands spend 1 action for each. If same is used, the commands use 1 action for them. - vlan protocol ether - vlan protocol llc [XG0224/XG0448] Note 2. If a queue is selected by and if this queue has not been associated with the cos value by the "qos cosmap" command, the QoS processing is not executed. Note 3. This command is unavailable if the allowable upper limit for the device is exceeded. The allowable upper limits are as follows. • Upper limit based on "commands" 128 commands for the entire device. Up to 128 commands can be set for the entire device, including the "ether qos aclmap", "vlan qos aclmap" and "lan ip dscp" commands. 1) "ether qos aclmap" command A smaller Ethernet port value has a higher priority among Ethernet ports. 2) "vlan qos aclmap" command A smaller VLAN ID has a higher priority among VLANs. 3) "lan ip dscp"command A smaller lan definition number has a higher priority among lans. If up to 128 of "ether qos aclmap" commands have been defined for port ether1, the subsequent "vlan qos aclmap" and "lan ip dscp" command will be no longer applied. • Upper limit based on rule 128 rules for the entire device. For the "ether qos aclmap", "vlan qos aclmap" and "lan ip dscp" commands, the number of rules to be used varies depending on the contents of the specified acl as shown below. The number of rules for each ACL is as follows. - For ACL to set TCP or UDP Result of multiplication between the number of source ports and the number of destination ports for TCP or UDP - For ACL to set ICMP Result of multiplication between the number of ICMP TYPEs and the number of ICMP CODEs for ICMP - For ACL not to set TCP, UDP, or ICMP 1 177 VLAN Information Settings XG Series User's Guide Chapter 5 Command Reference You can expand the upper limit to use "resource filter distribution" command and change resource distribution. Note 4. Up to 700 commands can be set for the entire device, including the definitions which refer to ACL such as "ether macfilter", "ether qos aclmap", "vlan macfilter", "vlan ip6filter", "vlan qos aclmap", "vlan ip6qos aclmap", "lan ip filter", "lan ip dscp", "lan ip6 filter", "lan ip6 dscp" and "serverinfo filter" commands. Default 5.3.4.2 It is assumed that this option has not been set. vlan ip6qos aclmap Function Set IPv6 QoS of VLAN Available Model XG0224 / XG0448 Syntax vlan ip6qos aclmap Options • VLAN ID Specify the VLAN ID with a decimal value from 1 to 4094 • Prioruty Specify the priority of the QoS definition with a decimal value A smaller value is a higher priority If multiple are executed for the same packet and if they conflict with each other, the with a higher priority is executed. The specified value is sorted and renumbered in sequence. If a filtering definition with the same value already exists, the existing one will be changed. Range 0 to 511 Model XG0224 / XG0448 • dscp Rewrite the "dscp" value (the high-order 6 bits in the Traffic class field of IPv6 header), if packets thatmatch the "acl ip6", "acl icmp", "acl tcp", or "acl udp" definition of access control list are IP packets. • queue Change the queue at the output port that is used to output the input packets that match the"acl ip6", "acl icmp", "acl tcp", or "acl udp" definition of access control list. • Rewrite Value If dscp is selected in : • Set the rewrite "dscp" value with a decimal value from 0 to 63 If queue is selected in : • Specify a queue number of the output port to be used. A larger value indicates a queue with a higher output priority. Range 0 to 7 Model XG0224 / XG0448 178 VLAN Information Settings XG Series User's Guide Chapter 5 Command Reference • ACL definition number Specify the ACL definition number of the access control list where the packet pattern to configure QoS conversion has been defined. Use Mode Configuration mode (admin class) Explanation Set IPv6 QoS per VLAN For the input packets that match the "acl ipv6", "acl icmp", "acl tcp", or "acl udp" definitions of the access control list which has been specified by , the QoS processing is executed in the way as specified by . Caution Note1. If none of "acl ip6" definition exist on the access control list which has been specified by or if the access control list specified by does not exist, the QoS processing is not applied to those packets. Note2. If a queue is selected in and if this queue has not been associated with the priority by the "qos cosmap" command, the QoS processing is not executed. Note 3. This command is unavailable if the allowable upper limit for the device is exceeded. The allowable upper limits are as follows. • Upper limit based on "commands" 128 commands for the entire device. Up to 128 commands can be set for the entire device, including the "vlan ip6qos aclmap" and "lan ip6 dscp" commands. 1) "vlan ip6qos aclmap" command A smaller VLAN ID has a higher priority among VLANs. 2) "lan ip6 dscp" command A smaller lan definition number has a higher priority among lans. If up to 128 of "vlan ip6qos aclmap" commands have been defined, the subsequent "lan ip6 dscp"command will be no longer applied. • Upper limit based on rule 128 rules for the entire device. For the "vlan ip6qos aclmap" and "lan ip6 dscp" commands, the number of rules to be used varies depending on the contents of the specified acl as shown below. The number of rules for each ACL is as follows. - For ACL to set TCP or UDP Result of multiplication between the number of source ports and the number of destination ports for TCP or UDP - For ACL to set ICMP Result of multiplication between the number of ICMP TYPEs and the number of ICMP CODEs for ICMP - For ACL not to set TCP, UDP, or ICMP 1 You can expand the upper limit to use "resource filter distribution" command and change resource distribution. 179 VLAN Information Settings XG Series User's Guide Chapter 5 Command Reference Note 4. Up to 700 commands can be set for the entire device, including the definitions which refer to ACL such as "ether macfilter", "ether qos aclmap", "vlan macfilter", "vlan ip6filter", "vlan qos aclmap", "vlan ip6qos aclmap", "lan ip filter", "lan ip dscp", "lan ip6 filter", "lan ip6 dscp" and "serverinfo filter" commands. Default 5.3.4.3 N/A vlan ip6qos aclmap move Function Change the priority of IPv6 QoS for VLAN Available Model XG0224 / XG0448 Options • VLAN ID Specify the VLAN ID with a decimal value from 1 to 4094 • Priority Specify the priority with a decimal value • New Priority Specify the new priority with a decimal value Range 0 to 511 Model XG0224 / XG0448 Use Mode Configuration mode (admin class) Explanation Change the priority of IPv6 QoS definition per VLAN If the current priority is set as , change the priority of this definition to . When the definition is changed, the priority is renumbered. Default N/A 180 VLAN Information Settings XG Series User's Guide 5.4 Chapter 5 Command Reference MAC Information This section explains about MAC information. 5.4.1 MAC Information This section explains about the commands related to MAC information. 5.4.1.1 mac learning Function Set the MAC address learning. Available Model XG0224 / XG0448 / XG2600 Syntax mac learning Options • on Enable automatic learning of the MAC address. • off Disable automatic learning of the MAC address. Use Mode Configuration mode (admin class) Explanation Set to enable or disable the automatic MAC address learning. Default It is assumed that MAC address learning is specified as enable. mac learning on 181 MAC Information XG Series User's Guide 5.4.1.2 Chapter 5 Command Reference mac age Function Set the aging-out time of MAC address learning table. Available Model XG0224 / XG0448 / XG2600 Syntax mac age

Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.3
Linearized                      : Yes
Modify Date                     : 2011:02:09 15:56:53Z
Keywords                        : P3NK-4452-01ENZ0
Create Date                     : 2011:02:09 15:56:53Z
Page Count                      : 614
Creation Date                   : 2011:02:09 15:56:53Z
Mod Date                        : 2011:02:09 15:56:53Z
Producer                        : Acrobat Distiller 5.0 (Windows)
Author                          : FUJITSU LIMITED
Metadata Date                   : 2011:02:09 15:56:53Z
Creator                         : FUJITSU LIMITED
Title                           : XG Series User’s Guide
Page Mode                       : UseOutlines
EXIF Metadata provided by EXIF.tools

Navigation menu