359
ZXA10 C220 GPON Optical Access Convergence Equipment Command Manual (Volume IV) Version 1.1.2 ZTE CORPORATION ZTE Plaza, Keji Road South, Hi-Tech Industrial Park, Nanshan District, Shenzhen, P. R. China 518057 Tel: (86) 755 26771900 Fax: (86) 755 26770801 URL: http://ensupport.zte.com.cn E-mail: [email protected]

ZXA10 C220 (V1.1.2) GPON Optical Access Convergence Equipment Command Manual (Volume IV)

Embed Size (px)

DESCRIPTION

PON Optical Access Convergence Equipment Command Manual

Citation preview

  • ZXA10 C220GPON Optical Access Convergence

    EquipmentCommand Manual (Volume IV)

    Version 1.1.2

    ZTE CORPORATIONZTE Plaza, Keji Road South,Hi-Tech Industrial Park,Nanshan District, Shenzhen,P. R. China518057Tel: (86) 755 26771900Fax: (86) 755 26770801URL: http://ensupport.zte.com.cnE-mail: [email protected]

  • LEGAL INFORMATION

    Copyright 2006 ZTE CORPORATION.

    The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution ofthis document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPO-RATION is prohibited. Additionally, the contents of this document are protected by contractual confidentiality obligations.

    All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE CORPORATIONor of their respective owners.

    This document is provided as is, and all express, implied, or statutory warranties, representations or conditions are dis-claimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose, title or non-in-fringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the use of or reliance on theinformation contained herein.

    ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications covering the subjectmatter of this document. Except as expressly provided in any written license between ZTE CORPORATION and its licensee,the user of this document shall not acquire any license to the subject matter herein.

    ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice.

    Users may visit ZTE technical support website http://ensupport.zte.com.cn to inquire related information.

    The ultimate right to interpret this product resides in ZTE CORPORATION.

    Revision History

    Revision No. Revision Date Revision Reason

    1.0 19/06/2009 First Edition

    Serial Number: sjzl20093772

  • Contents

    Preface...............................................................i

    MSTP .................................................................1instance ........................................................................ 1

    name............................................................................ 2

    revision......................................................................... 3

    show spanning-tree inconsistentports................................ 3

    show spanning-tree instance............................................ 4

    show spanning-tree interface ........................................... 4

    show spanning-tree mst configuration ............................... 5

    show spanning-tree statistics ........................................... 5

    show spanning-tree transparent ....................................... 6

    spanning-tree ................................................................ 7

    spanning-tree bpduguard ................................................ 7

    spanning-tree digestauto................................................. 8

    spanning-tree edged-port ................................................ 8

    spanning-tree forward-delay ............................................ 9

    spanning-tree guard ......................................................10

    spanning-tree hello-time ................................................10

    spanning-tree linktype ...................................................11

    spanning-tree max-age ..................................................11

    spanning-tree mcheck....................................................12

    spanning-tree mode.......................................................12

    spanning-tree mst configuration ......................................13

    spanning-tree mst hmd5-digest.......................................14

    spanning-tree mst hmd5-key ..........................................14

    spanning-tree mst instance priority (Global)......................15

    spanning-tree mst instance priority(interface) ...................16

    spanning-tree mst instance path-cost...............................16

    spanning-tree mst max-hops ..........................................17

    spanning-tree transparent ..............................................18

    spanning-tree packet-type ..............................................18

  • LACP................................................................21clear lacp .....................................................................21

    interface ......................................................................21

    lacp port-priority ...........................................................22

    lacp system-priority .......................................................23

    lacp timeout .................................................................23

    show lacp .....................................................................24

    smartgroup...................................................................24

    smartgroup load-balance ................................................25

    PIM Snooping..................................................27ip pim snooping.............................................................27

    pim snooping ................................................................27

    show ip pim snooping all-statistic ....................................28

    show ip pim snooping all-statistic clear.............................28

    show ip pim snooping entry ............................................29

    show ip pim snooping neighbor-info .................................29

    show ip pim snooping port-info........................................30

    show ip pim snooping port-statistic clear interface .............30

    show ip pim snooping port-statistic interface .....................31

    DHCP...............................................................33DHCP Snooping Configuration .........................................33

    ip dhcp snooping enable .............................................33

    ip dhcp snooping .......................................................33

    ip dhcp snooping quota ..............................................34

    ip dhcp snooping trust................................................34

    ip dhcp snooping vlan ................................................35

    show ip dhcp snooping configure .................................35

    show ip dhcp snooping port ........................................36

    show ip dhcp snooping trust........................................36

    show ip dhcp snooping vlan ........................................37

    show ip dhcp snooping port quota................................37

    DHCP L3 Publish Configuration ........................................38

    ip dhcp enable ..........................................................38

    ip dhcp logging on .....................................................38

    ip dhcp user quota.....................................................39

    ip dhcp mode............................................................39

    show ip dhcp configure...............................................40

    DHCP Relay and DHCP Proxy Configuration .......................41

    ip dhcp database .......................................................41

    ip dhcp relay server retry ...........................................41

  • ip dhcp relay update arp.............................................42

    ip dhcp proxy client leasetime .....................................42

    ip dhcp relay server vclass-id ......................................43

    ip dhcp helper-address ...............................................43

    ip dhcp relay agent ....................................................44

    ip dhcp relay server ...................................................44

    show ip dhcp relay server vclass-id ..............................45

    show ip dhcp relay user..............................................45

    show ip dhcp proxy client ...........................................46

    DHCP Server Configuration .............................................46

    ip local pool ..............................................................46

    ip local pool conflict-ip................................................47

    ip dhcp server dns .....................................................47

    ip dhcp server leasetime.............................................48

    ip dhcp server update arp ...........................................48

    ip dhcp server gateway ..............................................49

    peer dafault ip pool....................................................49

    show ip dhcp server user ............................................50

    GPON...............................................................51GPON Global Commands ................................................51

    gpon........................................................................51

    abort onu-version ......................................................51

    activate onu-version ..................................................52

    bandwidth-profile ......................................................52

    commit onu-version ...................................................53

    innerport ..................................................................54

    onu-ver....................................................................54

    onu-batch-cfg ...........................................................55

    performance-threshold bridge-port ..............................56

    performance-threshold ces .........................................57

    performance-threshold dot1x ......................................58

    performance-threshold eth .........................................58

    performance-threshold gem........................................60

    performance-threshold radius......................................61

    pw-profile.................................................................61

    rate-limit igmp ..........................................................64

    traffic-profile.............................................................64

    treat .......................................................................65

    update onu-version....................................................67

    virtual-onu ...............................................................68

  • threshold-profile........................................................69

    scb-port-mode ..........................................................69

    voip-media-profile .....................................................70

    dial-plan-table...........................................................72

    dial-plan...................................................................73

    filter-rule..................................................................74

    flood-broadcast .........................................................75

    schedule-mode..........................................................76

    show gpon-scb-port-mode ..........................................76

    show gpon dial-plan...................................................77

    show gpon dial-plan-table...........................................77

    show gpon filter-rule..................................................78

    show gpon flood-broadcast .........................................78

    show gpon performance-threshold bridge-port...............79

    show gpon performance-threshold ces..........................79

    show gpon performance-threshold dot1x ......................80

    show gpon performance-threshold eth..........................80

    show gpon performance-threshold gem ........................81

    show gpon performance-threshold radius......................81

    show gpon profile bandwidth.......................................82

    show gpon profile traffic .............................................82

    show gpon pw-profile.................................................83

    show gpon rate-limit igmp ..........................................83

    show gpon treat ........................................................84

    show gpon virtual-onu................................................84

    show gpon voip-media-profile .....................................85

    show gpon profile ......................................................85

    show onu-ver............................................................86

    show dial-plan-table ..................................................87

    show dial-plan...........................................................87

    GPON OLT Commands ....................................................88

    interface gpon-olt ......................................................88

    authtype ..................................................................88

    ber ..........................................................................89

    broadcast bandwidth..................................................89

    description ...............................................................90

    discover-period .........................................................90

    dotlp-to-queue-map...................................................91

    fec...........................................................................91

    flood bandwidth ........................................................92

  • ip access-group.........................................................92

    linktrap ....................................................................93

    lock .........................................................................93

    multicast bandwidth...................................................94

    pon-bandwidth..........................................................94

    name ......................................................................95

    onu-def-reg ..............................................................95

    range.......................................................................96

    range-mode..............................................................96

    register ....................................................................97

    reset........................................................................98

    weight-mgmt ............................................................98

    shutdown .................................................................98

    show fec ..................................................................99

    show gpon olt allocid..................................................99

    show gpon olt flood bandwidth .................................. 100

    show gpon olt multicast bandwidth ............................ 100

    show gpon olt config ................................................ 101

    show gpon olt broadcast-bandwidth ........................... 101

    show gpon olt schedule-mode ................................... 102

    show gpon olt dot1p-to-queue-map ........................... 102

    show gpon olt weight-mgmt...................................... 103

    show gpon olt pon-bandwidth.................................... 103

    show gpon olt portid ................................................ 104

    show gpon olt range-mode ....................................... 104

    GPON ONU Basic Management Commands ...................... 105

    interface gpon-onu .................................................. 105

    interface ................................................................ 106

    action .................................................................... 106

    description ............................................................. 107

    dhcp-option82 trust ................................................. 107

    gemport ................................................................. 108

    gemport-weight-mgmt ............................................. 109

    max-mac-learn ....................................................... 110

    gemport priority-regeneration ................................... 111

    gemport priority-regeneration mode........................... 111

    name .................................................................... 112

    onu-state ............................................................... 112

    portid-encrypt......................................................... 113

    port-location format................................................. 113

  • pppoe-plus ............................................................. 114

    pwmode................................................................. 115

    qos-mgmt .............................................................. 115

    range .................................................................... 116

    sn ......................................................................... 117

    tcont...................................................................... 117

    type-name.............................................................. 118

    shutdown .............................................................. 118

    vlan-xconnect ......................................................... 119

    show allocid............................................................ 119

    show gpon onu gemport ........................................... 120

    show gpon onu gemport priority-regeneration

    configuration................................................... 120

    show gpon onu baseinfo ........................................... 121

    show gpon onu detail-info......................................... 122

    show gpon onu gemport statistic ............................... 122

    show gpon onu state................................................ 123

    show gpon onu uncfg ............................................... 123

    show gpon onu weightmgmt ..................................... 124

    show performance onu ............................................. 125

    show gpon onu tcont................................................ 125

    show gpon onu update-status ................................... 126

    show gpon onu version-running................................. 126

    show portid ............................................................ 127

    GPON ONU Remote Management Commands................... 127

    pon-onu-mng.......................................................... 127

    pon-onu-mng ......................................................... 128

    action ................................................................... 128

    bridge.................................................................... 129

    bridge-port uni-bind................................................. 130

    bridge-port host-bind ............................................... 131

    bridge-port uni........................................................ 131

    bridge-port ip-host .................................................. 132

    bridge-port uni traffic-limit........................................ 132

    bridge-port uplink.................................................... 133

    device admin-state .................................................. 134

    device battery-backup.............................................. 134

    device sec-mode ..................................................... 135

    dot1x..................................................................... 135

    dot1x ethuni ........................................................... 136

  • ex-vlan bridge-port uni............................................. 137

    ex-vlan bridge-port uplink ........................................ 138

    ex-vlan eth............................................................. 139

    ex-vlan-table bridge-port uni .................................... 139

    ex-vlan-table bridge-port uplink ................................ 140

    ex-vlan-table eth..................................................... 141

    interface ces admin-state ......................................... 142

    interface ces arc...................................................... 142

    interface ces ds1-framing ......................................... 143

    interface ces ds1-mode ............................................ 143

    interface ces expect-type.......................................... 145

    interface ces line-coding ........................................... 145

    interface ces line-length ........................................... 146

    interface ces line-type.............................................. 146

    interface ces loopback.............................................. 147

    interface eth admin-state ......................................... 147

    interface eth arc...................................................... 148

    interface eth bridgeorip ............................................ 148

    interface eth dotlp-mapper ....................................... 149

    interface eth eth-loop............................................... 150

    interface eth expect-type.......................................... 150

    interface eth max-frame........................................... 151

    interface eth pause-time........................................... 151

    interface eth power-control ....................................... 152

    interface eth pppoe-filter .......................................... 152

    interface eth speed .................................................. 153

    interface eth wiring.................................................. 154

    interface pon alarm.................................................. 154

    interface pon current-threshold ................................. 155

    interface pon rx-optical-threshold .............................. 155

    interface pon sf-threshold......................................... 156

    interface pon tx-optical-threshold .............................. 157

    interface pon vol-threshold ....................................... 157

    interface pon sf-threshold......................................... 158

    interface pon gem-blocklen....................................... 159

    interface pots admin-state ........................................ 159

    interface pots arc .................................................... 160

    interface pots impedance.......................................... 160

    interface pots rx-gain............................................... 161

    interface pots tx-gain............................................... 161

  • interface pots tx-path............................................... 162

    interface uplink dot1p-mapper................................... 162

    interface video admin-state ...................................... 163

    interface video arc ................................................... 164

    interface video power-control .................................... 164

    interface gemport bridge .......................................... 165

    interface gemport dot1p ........................................... 165

    interface gemport dot1p-bridge ................................. 166

    interface gemport uni............................................... 167

    mac-filter ip-host..................................................... 167

    mac-filter uni .......................................................... 168

    mac-filter uplink ...................................................... 168

    mc-interwork .......................................................... 169

    performance dot1x ethuni......................................... 169

    performance eth...................................................... 170

    performance gal-eth ................................................ 171

    performance gem .................................................... 171

    performance mac-bridge .......................................... 172

    performance bridge-port uni ..................................... 172

    performance bridge-port uplink ................................. 173

    performance mgc .................................................... 174

    performance ces...................................................... 174

    performance radius.................................................. 175

    performance bridge-port ip-host ................................ 175

    performance call-ctrl ................................................ 176

    performance rtp ...................................................... 176

    performance sip-call-init ........................................... 177

    power-shedding ...................................................... 177

    pre-filter ip-host...................................................... 178

    pre-filter uni ........................................................... 179

    pre-filter uplink ....................................................... 180

    pw delete ............................................................... 181

    pw ethernet ............................................................ 181

    pw ip ..................................................................... 182

    pw optional............................................................. 183

    pw rtp.................................................................... 184

    pw tdm .................................................................. 185

    up-queue-map ........................................................ 186

    vlan-filter ............................................................... 187

    vlan-filter uni .......................................................... 187

  • vlan-filter uplink ...................................................... 188

    vlan-filter-mode ...................................................... 188

    vlan-filter-mode uni ................................................. 189

    vlan-filter-mode uplink ............................................. 190

    vlan-tag ................................................................. 191

    vlan-tag uni ............................................................ 192

    show gpon remote-onu bridge................................... 193

    show gpon remote-onu bridge-port ............................ 194

    show gpon remote-onu bridge-port uplink................... 194

    show gpon remote-onu device................................... 195

    show gpon remote-onu distance ................................ 195

    show gpon remote-onu dot1x.................................... 196

    show gpon remote-onu dot1x ethuni .......................... 196

    show gpon remote-onu ex-vlan bridge-port uni ........... 197

    show gpon remote-onu ex-vlan bridge-port

    uplink ............................................................ 198

    show gpon remote-onu ex-vlan eth............................ 198

    show gpon remote-onu ex-vlan-table bridge-port

    uni ................................................................ 199

    show gpon remote-onu ex-vlan-table bridge-port

    uplink ............................................................ 199

    show gpon remote-onu ex-vlan-table eth.................... 200

    show gpon remote-onu interface ces .......................... 201

    show gpon remote-onu interface dot1p-mapper

    eth ................................................................ 201

    show gpon remote-onu interface dot1p-mapper

    uplink ............................................................ 202

    show gpon remote-onu interface eth .......................... 202

    show gpon remote-onu interface pon ......................... 203

    show gpon remote-onu mac-filter .............................. 204

    show gpon remote-onu interface video ....................... 205

    show gpon remote-onu interwork .............................. 205

    show gpon remote-onu performance bridge-port

    ip-host ........................................................... 206

    show gpon remote-onu performance bridge-port

    uni ................................................................ 206

    show gpon remote-onu performance bridge-port

    uplink ............................................................ 207

    show gpon remote-onu performance ces..................... 208

    show gpon remote-onu performance eth..................... 208

  • show gpon remote-onu performance gem ................... 210

    show gpon remote-onu performance mac-bridge ......... 210

    show gpon remote-onu performance ip-host ............... 211

    show gpon remote-onu performance call-ctrl............... 212

    show gpon remote-onu performance rtp ..................... 212

    show gpon remote-onu performance sip-call-init.......... 213

    show gpon remote-onu power-shedding ..................... 214

    show gpon remote-onu pre-filter uni .......................... 214

    show gpon remote-onu pre-filter uplink ...................... 215

    show gpon remote-onu pw........................................ 216

    show gpon remote-onu up-queue-map ....................... 217

    show gpon remote-onu vlan-filter uni ......................... 217

    show gpon remote-onu vlan-filter uplink..................... 218

    show gpon remote-onu vlan-filter-mode uni ................ 219

    show gpon remote-onu vlan-filter-mode uplink............ 219

    show gpon remote-onu vlan-tag uni........................... 220

    show onu running config........................................... 220

    VoIP Management Commands ....................................... 221

    bridge-port host-bind ............................................... 221

    bridge-port ip-host .................................................. 221

    interface pots admin-state ........................................ 222

    interface pots arc .................................................... 223

    interface pots impedance.......................................... 223

    interface pots rx-gain............................................... 224

    interface pots tx-gain............................................... 224

    interface pots tx-path............................................... 225

    ip-host dhcp-enable ................................................. 225

    ip-host id ............................................................... 226

    ip-host ip ............................................................... 226

    ip-host primary-dns ................................................. 227

    mac-filter ip-host..................................................... 228

    performance bridge-port ip-host ................................ 228

    performance call-ctrl ................................................ 229

    performance ip-host ................................................ 229

    performance rtp ...................................................... 230

    performance sip-call-init ........................................... 230

    pre-filter ip-host...................................................... 231

    sip-agent proxy-server ............................................. 231

    sip-agent reg-exptime.............................................. 232

    sip-agent registrar-server ......................................... 232

  • sip-agent rereg-starttime ......................................... 233

    sip-agent ss............................................................ 233

    sip-agent validate.................................................... 234

    sip-user ................................................................. 235

    vlan-filter ip-host..................................................... 237

    vlan-filter-mode ip-host............................................ 237

    vlan-tag ip-host ...................................................... 238

    voip-ctp ................................................................. 239

    show gpon remote-onu bridge-port host-bind.............. 240

    show gpon remote-onu bridge-port ip-host ................. 241

    show gpon remote-onu interface pots......................... 241

    show gpon remote-onu ip-host .................................. 242

    show gpon remote-onu performance bridge-port

    ip-host ........................................................... 243

    show gpon remote-onu pre-filter ip-host..................... 243

    show gpon remote-onu sip-agent............................... 244

    show gpon remote-onu sip-user ................................ 244

    show gpon remote-onu vlan-filter ip-host.................... 245

    show gpon remote-onu vlan-filter-mode ip-host........... 246

    show gpon remote-onu vlan-tag ip-host ..................... 246

    show gpon remote-onu voip-ctp ................................ 247

    show gpon remote-onu voip-linestatus ....................... 247

    GPON Protection Commands ......................................... 248

    protection group...................................................... 248

    protection prop ....................................................... 249

    protection switch-command ...................................... 250

    protection sync-data ................................................ 250

    show protection group count ..................................... 251

    show protection group prop ...................................... 251

    show protection switch-command .............................. 252

    show protection request ........................................... 252

    show protection sync-data progress-bar ..................... 253

    CES................................................................255CES Global Property Management .................................. 255

    ces ........................................................................ 255

    tdm-profile ............................................................. 255

    show ces tdm-profile................................................ 257

    mac-address........................................................... 258

    ip-address .............................................................. 258

    show ces global-prop ............................................... 259

  • sdhprot group ......................................................... 259

    sdhprot prop........................................................... 260

    sdhprot switch-command.......................................... 260

    show ces sdhprot group count ................................... 261

    show ces sdhprot group prop .................................... 262

    show ces sdhprot switch-command ............................ 262

    show ces sdhprot request ......................................... 262

    show ces sdhprot sync-data ...................................... 263

    Interface Property Management..................................... 263

    interface tdm_X/X/X ................................................ 263

    admin-status .......................................................... 264

    clock-source ........................................................... 264

    line-coding ............................................................. 265

    line-type ................................................................ 266

    loopback ................................................................ 266

    range..................................................................... 267

    framing .................................................................. 267

    au-3 ...................................................................... 268

    au-4 tug-3.............................................................. 268

    tug-2{e1 | t1} ........................................................ 269

    show ces interface ................................................... 270

    CES-PW Service Property Management........................... 270

    pw......................................................................... 270

    admin-status .......................................................... 271

    name(ces-pw)......................................................... 271

    psn........................................................................ 272

    tdm-service ............................................................ 273

    show ces pw count .................................................. 274

    show ces pw prop ................................................... 274

    SDH Protection Configuration ........................................ 275

    sdhprot .................................................................. 275

    sdhprot prop........................................................... 275

    sdhprot switch-command.......................................... 276

    Performance Management.............................279pon ........................................................................... 279

    onu-type .................................................................... 280

    onu-type-attr gpon ...................................................... 280

    onu-if ........................................................................ 281

    performance cesmsb2 .................................................. 282

    performance cesprotocol .............................................. 282

  • performance cesrfc1213 ............................................... 283

    performance cesrfc1757 ............................................... 284

    performance ceswanport .............................................. 284

    performance GponOlt ................................................... 285

    performance GponOnu ................................................. 286

    performance cesrsb1.................................................... 286

    performance cesvc4b3 ................................................. 287

    performance cesvc12v5................................................ 288

    performance cesvc12v5rei ............................................ 288

    performance-threshold ................................................. 289

    show onu-type ............................................................ 290

    show onu-if ................................................................ 291

    show onu-type-attr gpon .............................................. 292

    ip-pool epon ............................................................... 292

    power-switch .............................................................. 293

    show performance olt................................................... 294

    show performance onu................................................. 294

    Ethernet Interface Configuration...................297byname ..................................................................... 298

    clear counter .............................................................. 298

    description ................................................................. 299

    duplex ....................................................................... 299

    flowcontrol ................................................................. 300

    hybrid-attribute........................................................... 300

    interface .................................................................... 301

    jumbo-frame .............................................................. 301

    monitor session........................................................... 302

    monitor session (Port).................................................. 302

    multicast .................................................................... 303

    negotiation auto .......................................................... 304

    range......................................................................... 304

    shutdown ................................................................... 305

    speed ........................................................................ 305

    port-protect ................................................................ 306

    trust-cos .................................................................... 306

    trust-dscp .................................................................. 307

    ip address-group ......................................................... 307

    ip arp inspection trust .................................................. 308

    traffic-shape ............................................................... 308

    priority....................................................................... 309

  • lacp timeout ............................................................... 309

    lacp port-priority ......................................................... 310

    rmon collection statistics .............................................. 310

    rmon collection history ................................................. 311

    eth-switch broadcast-limit ............................................ 311

    eth-switch multicast-limit ............................................. 312

    eth-switch unkowncast-limit.......................................... 312

    eth-switch port-protect................................................. 313

    eth-switch mac-protect ................................................ 313

    eth-switch vlan-limit .................................................... 314

    eth-switch mac-anti-spoofing ........................................ 314

    show eth-switch .......................................................... 315

    show eth-switch vlan-limit ............................................ 315

    show interface ............................................................ 316

    show ip interface ......................................................... 318

    show monitor session................................................... 319

    Uplink Port Protection Configuration .............321uaps-group................................................................. 321

    revertive .................................................................... 322

    Protect-time ............................................................... 322

    swap.......................................................................... 323

    switch........................................................................ 323

    retry-link-detect .......................................................... 323

    interval-link-detect ...................................................... 324

    port master-portlist ..................................................... 324

    show uaps groupid....................................................... 325

    Tables ...........................................................327

    Index ............................................................329

    List of Glossary..............................................337

  • Preface

    Purpose This manual provides procedures and guidelines that support theoperation of the ZXA10 C220 (V1.1.2).

    IntendedAudience

    This document is intended for engineers, technicians and sub-scribers who perform operation activities on the ZXA10 C220.

    Prerequisite Skilland Knowledge

    To use this manual effectively, subscribers should have a generalunderstanding of network technology. Familiarity with the follow-ing is helpful:

    Networking basics

    Access Network (AN) technologies

    GPON technology

    ZXA10 C220 system and its various components

    What Is in ThisManual

    This manual contains the following chapters:

    TABLE 1 CHAPTER SUMMARY

    Chapter Summary

    Chapter 1, MSTP Describes the commands relatedto MSTP.

    Chapter 2, LACP Describes the commands relatedto LACP.

    Chapter 3, PIM Snooping Describes the commands relatedto PIM snooping.

    Chapter 4, DHCP Describes the commands relatedto DHCP.

    Chapter 5, GPON Describes the commands relatedto GPON.

    Chapter 6, CES Describes the commands relatedto CES.

    Chapter 7, PerformanceManagement

    Describes the commands relatedto performance management.

    Chapter 8, Ethernet InterfaceConfiguration

    Describes the commandsrelated to Ethernet interfaceconfiguration.

    RelatedDocumentation

    The following documentation is related to this manual:

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Documentation Guide

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Technical Manual

    Confidential and Proprietary Information of ZTE CORPORATION i

  • ZXA10 C220 Command Manual (Volume IV)

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Hardware Manual

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Hardware Installation Manual

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Command Manual (Volume I)

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Command Manual (Volume II)

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Command Manual (Volume III)

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Operation Manual (CLI)

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Operation Manual (NetNumen)

    ZXA10 C220 (V1.1.2) GPON Optical Access ConvergenceEquipment Maintenance Manual

    Conventions ZTE documents employ the following typographical conventions.

    TABLE 2 TYPOGRAPHICAL CONVENTIONS

    Typeface Meaning

    Italics References to other Manuals and documents.

    "Quotes" Links on screens.

    Bold Menus, menu options, function names, input fields,radio button names, check boxes, drop-down lists,dialog box names, window names.

    CAPS Keys on the keyboard and buttons on screens andcompany name.

    Constantwidth

    Text that you type, program code, files and directorynames, and function names.

    [ ] Optional parameters

    { } Mandatory parameters

    I Select one of the parameters that are delimited by it.

    Note:

    Note: Provides additional information about a certaintopic.

    Check-point:

    Checkpoint: Indicates that a particular step needs tobe checked before proceeding further.

    Tip:

    Tip: Indicates a suggestion or hint to make thingseasier or more productive for the reader.

    Mouse Operation Conventions are as follows:

    ii Confidential and Proprietary Information of ZTE CORPORATION

  • Preface

    TABLE 3 MOUSE OPERATION CONVENTIONS

    Typeface Meaning

    Click Refers to clicking the primary mouse button (usually theleft mouse button) once.

    Double-click

    Refers to quickly clicking the primary mouse button(usually the left mouse button) twice.

    Right-click Refers to clicking the secondary mouse button (usuallythe right mouse button) once.

    Drag Refers to pressing and holding a mouse button andmoving the mouse.

    How to Get inTouch

    The following sections provide information on how to obtain sup-port for the documentation and the software.

    Customer SupportIf you have problems, questions, comments, or suggestionsregarding your product, contact us by e-mail at [email protected]. You can also call our customer support center at(86) 755 26771900 and (86) 800-9830-9830.

    Documentation SupportZTE welcomes your comments and suggestions on the quality and usefulness of this document. For further questions,comments, or suggestions on the documentation, you cancontact us by e-mail at [email protected]; or you can faxyour comments and suggestions to (86) 755 26772236. Youcan also browse our website at http://support.zte.com.cn,which contains various interesting subjects like documentation, knowledge base, forum and service request.

    Declaration ofRoHS Compliance

    Tominimize the environmental impact and take more responsibilityto the earth we live, this document shall serve as formal declara-tion that ZXA10 C220 manufactured by ZTE CORPORATION is incompliance with the Directive 2002/95/EC of the European Parlia-ment - RoHS (Restriction of Hazardous Substances) with respectto the following substances:

    Lead (Pb)

    Mercury (Hg)

    Cadmium (Cd)

    Hexavalent Chromium (Cr (VI))

    PolyBrominated Biphenyls (PBBs)

    PolyBrominated Diphenyl Ethers (PBDEs)

    This declaration is issued based on our current level of knowledge.Since conditions of use are outside our control, ZTE CORPORATIONmakes no warranties, express or implied, and assumes no liability inconnection with the use of this information.

    Confidential and Proprietary Information of ZTE CORPORATION iii

  • ZXA10 C220 Command Manual (Volume IV)

    This page is intentionally blank.

    iv Confidential and Proprietary Information of ZTE CORPORATION

  • C h a p t e r 1

    MSTP

    Table of Contentsinstance ............................................................................ 1name................................................................................ 2revision............................................................................. 3show spanning-tree inconsistentports.................................... 3show spanning-tree instance................................................ 4show spanning-tree interface ............................................... 4show spanning-tree mst configuration ................................... 5show spanning-tree statistics ............................................... 5show spanning-tree transparent ........................................... 6spanning-tree .................................................................... 7spanning-tree bpduguard .................................................... 7spanning-tree digestauto..................................................... 8spanning-tree edged-port .................................................... 8spanning-tree forward-delay ................................................ 9spanning-tree guard ..........................................................10spanning-tree hello-time ....................................................10spanning-tree linktype .......................................................11spanning-tree max-age ......................................................11spanning-tree mcheck........................................................12spanning-tree mode...........................................................12spanning-tree mst configuration ..........................................13spanning-tree mst hmd5-digest...........................................14spanning-tree mst hmd5-key ..............................................14spanning-tree mst instance priority (Global)..........................15spanning-tree mst instance priority(interface) .......................16spanning-tree mst instance path-cost...................................16spanning-tree mst max-hops ..............................................17spanning-tree transparent ..................................................18spanning-tree packet-type..................................................18

    instanceSyntax instance instance vlans vlan-id

    no instance instance

    Purpose To create an instance in MSTP mode and map the instance to cor-responding VLAN table

    Usage Guidelines The following table provides parameter description:

    Confidential and Proprietary Information of ZTE CORPORATION 1

  • ZXA10 C220 Command Manual (Volume IV)

    Parameter Description Value

    instance Instance ID Range: 1 31

    vlans vlan-id VLAN identifier (rangeor single VLAN)

    Range: 1 4094

    Mode ZXAN(config-mstp)#

    Example The following example displays how to create an instance in MSTPmode and map the instance to corresponding VLAN table:ZXAN(config)#spanning-tree mst configurationZXAN(config-mstp)#instance 1 vlans 10-20ZXAN(config-mstp)#

    RelatedCommands

    show spanning-tree mst configuration

    spanning-tree mst configuration

    RelatedInformation

    By default, all VLANs are mapped to the Common Internal Span-ning Tree (CIST).

    Execute the no instance command to remap the specifiedVLAN(s) or all VLANs to the CIST (MST instance 0).

    User cannot map same VLAN to different MST instances. If theuser maps an already mapped VLAN to a new instance, the oldmapping is automatically removed.

    nameSyntax name name

    no name

    Purpose To create an MST configuration name

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    name Configuration name Range: 1 32characters

    Mode ZXAN(config-mstp)#

    Example The following example displays how to create an MST configurationname:ZXAN(config)#spanning-tree mst configurationZXAN(config-mstp)#name zteZXAN(config-mstp)#

    RelatedCommands

    show spanning-tree mst configuration

    spanning-tree mst configuration

    2 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 1 MSTP

    revisionSyntax revision revision

    no revision

    Purpose To configure the MSTP revision number

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    revision Revision number Range: 1 65535

    Default: 0

    Mode ZXAN(config-mstp)#

    Example The following example displays how to configure MSTP revisionnumber:ZXAN(config)#spanning-tree mst configurationZXAN(config-mstp)#revision 10ZXAN(config-mstp)#

    RelatedCommands

    show spanning-tree mst configuration

    spanning-tree mst configuration

    RelatedInformation

    The MSTP revision level, MST region name and VLAN-to-instancemapping table jointly determine the MST region the device belongsto.

    show spanning-treeinconsistentports

    Syntax show spanning-tree inconsistentports

    Purpose To display the information about inconsistent ports

    Usage Guidelines None

    Mode All modes except exec mode

    Example The following example displays the information about inconsistentports:ZXAN#show spanning-tree inconsistentportsMst Instance interfaceName name Inconsistency---------------------------------------------MST00 gei_1/21/1 Root InconsistentZXAN#

    RelatedCommands

    show spanning-tree instance

    show spanning-tree interface

    Confidential and Proprietary Information of ZTE CORPORATION 3

  • ZXA10 C220 Command Manual (Volume IV)

    show spanning-tree instanceSyntax show spanning-tree instance instance

    Purpose To display the information about an instance and its ports

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    instance Instance ID Range: 1 31

    Default: 0

    Mode All modes except exec mode

    Example The following example displays the information about instance 0and its ports:ZXAN#show spanning-tree instance 0MST00Spanning tree enabled protocol MSTPRoot ID: Priority 4096; Address 00d0.d0c7.ffe0

    Hello-Time 5 sec; Max-Age 20 secForward-Delay 10 sec;

    RegRootID: Priority 4096; Address 00d0.d0c7.ffe0

    BridgeID: Priority 4096; Address 00d0.d0c7.ffe0Hello-Time 5 sec; Max-Age 20 secForward-Delay 10 sec; Max-Hops 5Message-Age 0 sec; RemainHops 5

    Interface Prio.NbrName Port ID Cost Sts Role LinkType Bound------------------------------------------------------------------tdm-gei_1/214/1 128.59 20000 Forward Designated p2p MSTP

    ZXAN#

    RelatedCommands

    show spanning-tree interface

    show spanning-tree interfaceSyntax show spanning-tree interface port-name

    Purpose To display the information about all instances of a designated port

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    port-name Interface name -

    Mode All modes except exec mode

    Example The following example displays the information about all instancesof designated port gei_1/21/1:ZXAN#show spanning-tree interface gei_1/21/1

    4 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 1 MSTP

    Mst Instance Prio.NbrName Port ID Cost Sts Role---------------------------------------------------------------MST00 128.31 200000 forward rootMST01 112.31 200000 forward root----------------------------------------------------------------

    ZXAN#

    RelatedCommands

    show spanning-tree instance

    show spanning-tree mstconfiguration

    Syntax spanning-tree mst configuration

    Purpose To enter the MSTP configuration mode

    Usage Guidelines None

    Mode ZXAN(config)#

    Example The following example displays how to enter into the MSTP con-figuration mode:ZXAN(config)#spanning-tree mst configurationZXAN(config-mstp)#

    RelatedCommands

    show spanning-tree mst configuration

    RelatedInformation

    In MSTP configuration mode, users can configure parameters ofMSTP such as MST configuration name, MST configuration version,configuration digest etc.

    show spanning-tree statisticsSyntax show spanning-tree statistics port-name

    Purpose To display the STP port statistics

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    port-name Interface name -

    Mode All modes except exec mode

    Example The following example displays the STP port statistics:ZXAN#show spanning-tree statistics gei_1/21/1statistic of port gei_1/21/1--------------------------------------------------------------BPDU-related parameters--------------------------------------------------------------

    Confidential and Proprietary Information of ZTE CORPORATION 5

  • ZXA10 C220 Command Manual (Volume IV)

    port spanning tree enablestate forwardport_priority 128port_number 31path cost 200000designated_root 00-0d-0d-f0-01-01designated_ext_cost 0designated_int_cost 200000designated_bridge 00-0d-0d-f0-01-01designated_port 41

    --------------------------------------------------------------PORT based information & statistics--------------------------------------------------------------

    All bpdus xmitted 2All bpdus received 123Mst bpdus xmitted 2Mst bpdus received 123Rst bpdus xmitted 0Rst bpdus received 0config bpdus xmitted 0config bpdus received 0tcn bpdus xmitted 0tcn bpdus received 0

    --------------------------------------------------------------spanningtree based information & statistics--------------------------------------------------------------

    spanningtree type MSTPmulticast_mac_addr 01-80-c2-00-00-00bridge priority 32768bridge mac address 00-0d-0d-f0-01-01bridge hello time 2 secbridge forward delay 15 secbridge Max age 20 secbridge Max hop 20

    --------------------------------------------------------------

    ZXAN#

    RelatedCommands

    show spanning-tree interface

    show spanning-treetransparent

    Syntax show spanning-tree transparent

    Purpose To display current status of the STP transparent-transmission flag

    Usage Guidelines None

    Mode All modes except exec mode

    Example The following example displays the current status of the STP trans-parent-transmission flag:ZXAN#show spanning-tree transparenttransparent flag:disabledZXAN#

    6 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 1 MSTP

    RelatedCommands

    spanning-tree transparent

    spanning-treeSyntax spanning-tree {enable | disable}

    Purpose To enable or disable the MSTP globally

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    enable Enable MSTP -

    disable Disable MSTP -

    Mode ZXAN(config)#

    ZXAN(config-if)#

    Example The following example displays how to enable MSTP globally anddisable MSTP on an interface:ZXAN(config)#spanning-tree enableZXAN(config)#interface gei_1/21/1ZXAN(config-if)#spanning-tree disableZXAN(config-if)#

    RelatedCommands

    None

    RelatedInformation

    By default, MSTP is enabled globally but disabled on interfaces.

    After enabling MSTP, MSTP dynamically monitors and maintainsspanning tree status of corresponding VLANs based on the re-ceived configuration BPDUs.

    spanning-tree bpduguardSyntax spanning-tree bpduguard action {discard | shutdown}

    no spanning-tree bpduguard action

    Purpose To specify spanning tree BPDU guard action for interfaces

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    action discard Discard BPDU packet -

    action shutdown Shutdown port -

    Mode ZXAN(config-if)#

    Confidential and Proprietary Information of ZTE CORPORATION 7

  • ZXA10 C220 Command Manual (Volume IV)

    Example The following example displays how to specify spanning tree BPDUguard action for interfaces:ZXAN(config)#interface gei_1/21/1ZXAN(config-if)#spanning-tree bpduguard action shutdownZXAN(config-if)#

    RelatedCommands

    None

    RelatedInformation

    By default, the BPDU guard is disabled.

    spanning-tree digestautoSyntax spanning-tree digestauto

    Purpose To configure Cisco auto-generated digest value

    Usage Guidelines None

    Mode ZXAN(config-if)#

    Example The following example displays how to configure Cisco autogen-erated digest value:ZXAN(config)#interface gei_0/6/1ZXAN(config-if)#spanning-tree digestauto

    RelatedCommands

    spanning-tree mst hmd5-digest

    spanning-tree edged-portSyntax spanning-tree edged-port {enable | disable}

    Purpose To specify (enable) or block (disable) an interface as edge port

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    enable Specify as edge port -

    disable Restore to default(non edge port)

    -

    Mode ZXAN(config-if)#

    Example The following example displays how to enable an interface as span-ning tree edge port:ZXAN(config)#interface gei_1/21/1ZXAN(config-if)#spanning-tree edged-port enableZXAN(config-if)#

    8 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 1 MSTP

    RelatedCommands

    spanning-tree linktype

    spanning-tree packet-type

    RelatedInformation

    By default, this command is disabled for interfaces.

    This command can be used by administrators to specify an edgeport. Enable this option if an interface is attached to a LAN seg-ment that is at the end of bridged LAN or to an end node. Sinceend nodes cannot cause forwarding loops, they can pass directlythrough to the spanning tree forwarding state. Specifying edgeports provides quicker convergence for devices such as worksta-tions or servers, retains the current forwarding database to reducethe amount of frame flooding required to rebuild address tablesduring reconfiguration events, does not cause the spanning tree toinitiate reconfiguration when the interface changes state, and alsoovercomes other STP-related timeout problems. However, edgeport should only be enabled for ports connected to an end-nodedevice.

    spanning-tree forward-delaySyntax spanning-tree forward-delay time

    no spanning-tree forward-delay

    Purpose To configure the spanning tree forward delay

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    time Forward delay inseconds

    Range: 4 30

    Default: 15

    Mode ZXAN(config)#

    Example The following example displays how to configure the spanning treeforward delay as 16 seconds:ZXAN(config)#spanning-tree forward-delay 16ZXAN(config)#

    RelatedCommands

    spanning-tree mst max-hops

    spanning-tree hello-time

    RelatedInformation

    This command sets the maximum time (in seconds) the root devicewaits before changing states (i.e., listening to learning to forward-ing). This delay is required because every device must receiveinformation about topology changes before it starts to forwardframes. In addition, each port needs time to listen for conflict-ing information that would make it return to a discarding state;otherwise, temporary data loops might result.

    Confidential and Proprietary Information of ZTE CORPORATION 9

  • ZXA10 C220 Command Manual (Volume IV)

    spanning-tree guardSyntax spanning-tree guard {loop | root} instance instance-range

    no spanning-tree guard {loop | root} instance [instance-range]

    Purpose To configure STP guard mode on an interface

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    loop Set guard modeto loop guard oninterface

    -

    root Set guard modeto root guard oninterface

    -

    instance instance-range

    Instance range Range: 0 31

    Mode ZXAN(config-if)#

    Example The following example displays how to configure STP guard modeon an interface as root guard:ZXAN(config)#interface gei_1/21/1ZXAN(config-if)#spanning-tree guard root instance 0ZXAN(config-if)#

    RelatedCommands

    None

    spanning-tree hello-timeSyntax spanning-tree hello-time time

    no spanning-tree hello-time

    Purpose To configure the spanning tree hello time (interval for sendingBPDU packets)

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    time Interval betweengeneration ofconfigured BPDUsin seconds

    Range: 1 10

    Default: 2

    Mode ZXAN(config)#

    Example The following example displays how to configure the spanning treehello time:

    10 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 1 MSTP

    ZXAN(config)#spanning-tree hello-time 3ZXAN(config)#

    RelatedCommands

    spanning-tree mst max-hops

    spanning-tree forward-delay

    spanning-tree linktypeSyntax spanning-tree linktype {auto | p2p | share}

    Purpose To configure the spanning tree link type

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    auto Automatically derivedfrom the duplex modesetting (p2p in fullduplex mode andshare in half duplexmode)

    -

    p2p Point-to-point link -

    share Shared medium -

    Mode ZXAN(config-if)#

    Example The following example displays how to configure the spanning treelink type to point-to-point:ZXAN(config)#interface gei_1/21/1ZXAN(config-if)#spanning-tree linktype p2pZXAN(config-if)#

    RelatedCommands

    spanning-tree packet-type

    RelatedInformation

    By default, link type is auto.

    User can enable the fast status change function when the link typeof the port is p2p.

    Specify a point-to-point link if the interface can only be connectedto exactly one other bridge, or a shared link if it can be connectedto two or more bridges. When automatic detection is selected, theswitch derives the link type from the duplex mode. A full-duplexinterface is considered a point-to-point link, while a half-duplexinterface is assumed to be on a shared link.

    spanning-tree max-ageSyntax spanning-tree max-age time

    Confidential and Proprietary Information of ZTE CORPORATION 11

  • ZXA10 C220 Command Manual (Volume IV)

    no spanning-tree max-age

    Purpose To configure the maximum age of the STP BPDU packet

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    time Maximum age of theSTP BPDU packet inseconds

    Range: 6 40

    Default: 20

    Mode ZXAN(config)#

    Example The following example displays how to configure the maximum ageof the STP BPDU packet:ZXAN(config)#spanning-tree max-age 21ZXAN(config)#

    RelatedCommands

    spanning-tree mst max-hops

    spanning-tree forward-delay

    RelatedInformation

    This command sets the maximum time (in seconds) a device canwait without receiving a configuration message before attempt-ing to reconfigure. All device ports (except for designated ports)should receive configuration messages at regular intervals. Anyport that ages out STP information (provided in the last configura-tion message) becomes the designated port for the attached LAN.If it is a root port, a new root port is selected from among thedevice ports attached to the network.

    spanning-tree mcheckSyntax spanning-tree mcheck

    Purpose To configure the spanning tree mcheck

    Usage Guidelines None

    Mode ZXAN(config)#

    Example The following example displays how to configure the spanning treemcheck:ZXAN(config)#interface gei_1/21/1ZXAN(config-if)#spanning-tree mcheckZXAN(config-if)#

    RelatedCommands

    None

    spanning-tree modeSyntax spanning-tree mode {mstp | rstp | sstp}

    12 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 1 MSTP

    Purpose To configure the spanning tree mode

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    mstp Multi spanning treemode

    -

    rstp Rapid spanning treemode

    -

    sstp Single spanning treemode

    -

    Mode ZXAN(config)#

    Example The following example displays how to configure the spanning treemode:ZXAN(config)#spanning-tree mode rstpZXAN(config)#

    RelatedCommands

    spanning-tree

    RelatedInformation

    Default spanning tree mode is MSTP.

    spanning-tree mstconfiguration

    Syntax spanning-tree mst configuration

    Purpose To enter into MSTP configuration mode

    Usage Guidelines None

    Mode ZXAN(config)#

    Example The following example displays how to enter into MSTP configura-tion mode:ZXAN(config)#spanning-tree mst configurationZXAN(config-mstp)#

    RelatedCommands

    show spanning-tree mst configuration

    RelatedInformation

    In MSTP configuration mode, users can configure parameters ofMSTP such as MST configuration name, MST configuration versionand configuration digest.

    Confidential and Proprietary Information of ZTE CORPORATION 13

  • ZXA10 C220 Command Manual (Volume IV)

    spanning-tree msthmd5-digest

    Syntax spanning-tree mst hmd5-digest {cisco | huawei} key

    no spanning-tree mst hmd5-digest {cisco | huawei}

    Purpose To configure MST HMD5 digest key parameters

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    cisco Cisco key -

    huawei Huawei key -

    key HMD5 digest value 34 characters (Forexample: 0x...32)

    Mode ZXAN(config)#

    Example The following example displays how to configure MST HMD5 digestkey parametersZXAN(config)#spanning-tree mst hmd5-digest cisco 0x12345678901234567890123456789012ZXAN(config)#

    RelatedCommands

    spanning-tree mst hmd5-key

    RelatedInformation

    As different manufacturers (such as Cisco and Huawei) implementMSTP (via MSTP packet format) differently from IEEE standards,the user must configure a key or digest value for ZTE switch beforeconnecting to the equipment.

    The default value is 0x00000000000000000000000000000000.

    spanning-tree mst hmd5-keySyntax spanning-tree mst hmd5-key {cisco | huawei} key

    no spanning-tree mst hmd5-key {cisco | huawei}

    Purpose To configure the MST HMAC MD5 digest

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    cisco Cisco key -

    huawei Huawei key -

    key HMD5_key (0x... 32HEX- KEYs)

    34 characters (Forexample: 0x...32)

    14 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 1 MSTP

    Mode ZXAN(config)#

    Example The following example displays how to configure the spanning treeMST HMAC MD5 digest:ZXAN(config)#spanning-tree mst hmd5-key CISCO 0x12345678901234567890123456789012ZXAN(config)#

    RelatedCommands

    spanning-tree mst hmd5-digest

    RelatedInformation

    As different manufacturers (such as Cisco and Huawei) implementMSTP (via MSTP packet format) differently from IEEE standards,the user must configure a key or digest value for ZTE switch beforeconnecting to the equipment.

    spanning-tree mst instancepriority (Global)

    Syntax spanning-tree mst instance instance priority priority

    no spanning-tree mst instance instance priority

    Purpose To configure the MST instance priority

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    instance Instance ID Range: 0 31

    Default: 0

    priority priority Interface priority Range: i x 4096 (i =0 15)

    Mode ZXAN(config)#

    Example The following example displays how to configure the MST instancepriority:ZXAN(config)#spanning-tree mst instance 0 priority 4096ZXAN(config)#

    Confidential and Proprietary Information of ZTE CORPORATION 15

  • ZXA10 C220 Command Manual (Volume IV)

    RelatedCommands

    spanning-tree mst instance priority (Interface configuration mode)

    spanning-tree mst instancepriority(interface)

    Syntax spanning-tree mst instance instance priority priority

    no spanning-tree mst instance instance priority

    Purpose To set the the port priority in some created instance

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    instance Instance number Range: 0 16

    priority priority Port priority Range: i*16 (i=0 15)

    Default: 128

    Maximum Value: 240

    Mode ZXAN(config-if)#

    Example The following example displays how to set the port priority to be112 at port gei_0/6/1 in the instance 0:ZXAN(config)#interface gei_0/6/1ZXAN(config-if)#spanning-tree mst instance 0 priority 112

    RelatedCommands

    spanning-tree mst instance priority (global)

    RelatedInformation

    Using this command, the administrator can change the topologyof spanning tree.

    spanning-tree mst instancepath-cost

    Syntax spanning-tree mst instance instance {path-cost cost | priority priority}

    Purpose To configure the MST instance path cost and priority

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    instance Instance ID Range: 0 31

    Default: 0

    16 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 1 MSTP

    Parameter Description Value

    path-cost cost Interface path cost Range: 1 2000000

    priority priority Interface priority Range: i x 4096 (i =0 15)

    Mode ZXAN(config-if)#

    Example The following example displays how to configure the MST instancepath cost:ZXAN(config)#interface gei_1/21/1ZXAN(config-if)#spanning-tree mst instance 0 path-cost 30000ZXAN(config-if)#

    RelatedCommands

    spanning-tree mst instance priority (Global configuration mode)

    RelatedInformation

    By default, the device automatically calculates the path cost ofports in each MST instance based on corresponding standard.

    spanning-tree mst max-hopsSyntax spanning-tree mst max-hops hop

    no spanning-tree mst max-hops

    Purpose To configure the number of hops in an MST region before the BPDUis discarded and the port information is aged out

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    hop Maximum hops of theBPDU packet

    Range: 1 40

    Default: 20

    Mode ZXAN(config)#

    Example The following example displays how to configure the number ofhops in an MST region before the BPDU is discarded and the portinformation is aged out:ZXAN(config)#spanning-tree mst max-hops 23ZXAN(config)#

    RelatedCommands

    spanning-tree mst max-age

    RelatedInformation

    Devices other than the root bridge in an MST region use the max-imum hops setting on the root bridge.

    Confidential and Proprietary Information of ZTE CORPORATION 17

  • ZXA10 C220 Command Manual (Volume IV)

    spanning-tree transparentSyntax spanning-tree transparent {enable | disable}

    Purpose To enable or disable the spanning tree transparent flag

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    enable Enable STPtransparent flag

    -

    disable Disable STPtransparent flag

    -

    Mode ZXAN(config)#

    Example The following example displays how to enable the spanning treetransparent flag:ZXAN(config)#spanning-tree disableZXAN(config)#spanning-tree transparent enableZXAN(config)#

    RelatedCommands

    spanning-tree

    spanning-tree packet-typeSyntax spanning-tree packet-type {IEEE | CISCO |HUAWEI |HAMM

    ER}

    no spanning-tree packet-type

    Purpose To configure the MST BPDU packet-type

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    IEEE Standard IEEE BPDUpacket

    -

    CISCO Cisco BPDU packet -

    HAMMER Hammer (HarbourNetworks) BPDUpacket

    -

    HUAWEI Huawei BPDU packet -

    Mode ZXAN(config-if)#

    Example The following example displays how to configure the MST BPDUpacket-type to cisco:ZXAN(config)#interface gei_1/21/1ZXAN(config-if)#spanning-tree packet-type CISCO

    18 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 1 MSTP

    ZXAN(config-if)#

    RelatedCommands

    spanning-tree linktype

    spanning-tree edged-port

    RelatedInformation

    By default, BPDU packet type is IEEE.

    Confidential and Proprietary Information of ZTE CORPORATION 19

  • ZXA10 C220 Command Manual (Volume IV)

    This page is intentionally blank.

    20 Confidential and Proprietary Information of ZTE CORPORATION

  • C h a p t e r 2

    LACP

    Table of Contentsclear lacp .........................................................................21interface ..........................................................................21lacp port-priority ...............................................................22lacp system-priority ...........................................................23lacp timeout .....................................................................23show lacp .........................................................................24smartgroup ......................................................................24smartgroup load-balance ....................................................25

    clear lacpSyntax clear lacp [smartgroup-id] counters

    Purpose To clear the count of received and transmitted LACP packets

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    smartgroup-id Smart group number Range: 1 32

    counters Counters -

    Mode ZXAN#

    Example The following example displays how to clear the count of receivedand transmitted LACP packets:ZXAN#clear lacp 1 countersZXAN#

    RelatedCommands

    None

    RelatedInformation

    This command clears all counters if smartgroup-id parameter isnot used.

    interfaceSyntax interface smartgroup smartgroup-number

    Confidential and Proprietary Information of ZTE CORPORATION 21

  • ZXA10 C220 Command Manual (Volume IV)

    no interface smartgroup smartgroup-name

    Purpose To create a smartgroup and enter the smartgroup interface con-figuration mode

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    smartgroupsmartgroup-number

    Smartgroup interfacenumber

    Range: 1 8

    Mode ZXAN(config)#

    Example The following example displays how to create a smartgroup andenter the smartgroup interface configuration mode:ZXAN(config)#interface smartgroup1ZXAN(config-if)#

    RelatedCommands

    None

    RelatedInformation

    Use the no form of this command to delete the smartgroup inter-face.

    lacp port-prioritySyntax lacp port-priority priority

    Purpose To configure the LACP port priority

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    priority LACP port priority Range: 0 65535

    Default: 0

    Mode ZXAN(config-if)#

    Example The following example displays how to configure the LACP portpriority:ZXAN(config)#interface gei_1/21/1ZXAN(config-if)#lacp port-priority 100ZXAN(config-if)#

    RelatedCommands

    show lacp

    RelatedInformation

    Use this command to add ports to link aggregation group accordingto their priorities.

    22 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 2 LACP

    lacp system-prioritySyntax lacp system-priority priority

    Purpose To configure the LACP system priority

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    priority LACP system priority Range: 1 65535

    Default: 32768

    Mode ZXAN(config)#

    Example The following example displays how to configure the LACP systempriority:ZXAN(config)#lacp system-priority 100ZXAN(config)#

    RelatedCommands

    show lacp

    RelatedInformation

    After configuring this command, add ports to the link aggregationgroup according to their priorities.

    lacp timeoutSyntax lacp timeout {long | short}

    Purpose To configure the interface LACP timeout

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    long LACP long timeout -

    short LACP short timeout -

    Mode ZXAN(config-if)#

    Example The following example displays how to configure the interface LACPto short timeout:ZXAN(config)#interface gei_1/21/1ZXAN(config-if)#lacp timeout shortZXAN(config-if)#

    RelatedCommands

    show lacp

    RelatedInformation

    By default, long timeout is configured.

    When long timeout is configured, the system sends LACP packetsevery 30 seconds.

    Confidential and Proprietary Information of ZTE CORPORATION 23

  • ZXA10 C220 Command Manual (Volume IV)

    When short timeout is configured, the system sends LACP packetsevery one second.

    show lacpSyntax show lacp {[smartgroup-id] {counters | internal | neighbors}

    | sys-id}

    Purpose To display the current LACP configuration and state

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    smartgroup-id Smartgroup number Range: 1 32

    counters Counters information -

    internal Internal information -

    neighbors Neighbors information -

    sys-id System IDinformation

    -

    Mode All modes except exec mode

    Example The following example displays the current LACP configuration andstate:ZXAN#show lacp 1 countersSmartgroup:1Actor LACPDUs Marker LACPDUs MarkerPort Tx Rx Tx Rx Err Err-----------------------------------------------------ZXAN#show lacp internalSmartgroup:1Flag *--LOOP is TRUEActor Agg LACPDUs Port Oper Port RX MuxPort State Interval Priority Key State Machine Machine------------------------------------------------------ZXAN#show lacp neighborsSmartgroup 1 neighborsActor Partner Partner Port Oper PortPort System ID Port No. Priority Key State-----------------------------------------------------

    ZXAN#show lacp sys-id0x8000,00d0.d0c7.ffe0ZXAN#

    RelatedCommands

    smartgroup

    smartgroupSyntax smartgroup smartgroup-id mode {passive | active | on}

    24 Confidential and Proprietary Information of ZTE CORPORATION

  • Chapter 2 LACP

    no smartgroup

    Purpose To add interface to smartgroup and configure interface link aggre-gation mode

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    smartgroup-id Smart group ID Range: 1 8

    passive Passive mode -

    active Active mode -

    on Static trunk -

    Mode ZXAN(config-if)#

    Example The following example displays how to add interface to smartgroup:ZXAN(config)#interface gei_0/6/1ZXAN(config-if)#smartgroup 1 mode active

    RelatedCommands

    show interface

    show lacp

    RelatedInformation

    The VLAN configuration of member interface must be identical tothat of smartgroup. Otherwise, it is not allowed to join smart-group.

    The smartgroup VLAN property can be modified after the interfaceis added to the smartgroup. The member interface automaticallymodifies its VLAN property to keep consistent with smartgroup.

    Execute the no form of this command to delete smartgroup.

    smartgroup load-balanceSyntax smartgroup load-balance mode

    no smartgroup load-balance

    Purpose To configure the load balancing policy for smartgroup

    Usage Guidelines The following table provides parameter description:

    Parameter Description Value

    mode Smartgroup mode Keywords: dst-ip,dst-mac, src-dst-ip,src-dst-mac, src-ip,src-mac

    Mode ZXAN(config-if)#

    Example The following example displays how to configure the load balancingpolicy for smartgroup:

    Confidential and Proprietary Information of ZTE CORPORATION 25

  • ZXA10 C220 Command Manual (Volume IV)

    ZXAN(config)#interface smartgroup1ZXAN(config-if)#smartgroup load-balance src-macZXAN(config-if)#

    RelatedCommands

    show lacp

    26 Confidential and Proprietary Information of ZTE CORPORATION

  • C h a p t e r 3

    PIM Snooping

    Table of Contentsip pim snooping.................................................................27pim snooping ....................................................................27show ip pim snooping all-statistic ........................................28show ip pim snooping all-statistic clear.................................28show ip pim snooping entry ................................................29show ip pim snooping neighbor-info .....................................29show ip pim snooping port-info............................................30show ip pim snooping port-statistic clear interface .................30show ip pim snooping port-statistic interface .........................31

    ip pim snoopingSyntax ip pim snooping

    no ip pim snooping

    Purpose To enable PIM snooping

    Usage Guidelines None

    Mode ZXAN(config)#

    Example The following example displays how to enable PIM snooping:ZXAN(config)#ip pim snoopingZXAN(config)#

    RelatedCommands

    None

    pim snoopingSyntax pim snooping

    no pim snooping

    Purpose To configure PIM snooping for VLAN

    Usage Guidelines None

    Mode ZXAN(config-vlan)#

    Example The following example displays how to configure PIM snooping forVLAN:

    Confidential and Proprietary Information of ZTE CORPORATION 27

  • ZXA10 C220 Command Manual (Volume IV)

    ZXAN(config)#ip pim snoopingZXAN(config)#vlan 2ZXAN(config-vlan)#pim snoopingZXAN(config-vlan)#

    RelatedCommands

    ip pim snooping

    RelatedInformation

    This command takes effect only when snooping is globally enabled.

    show ip pim snoopingall-statistic

    Syntax show ip pim snooping all-statistic

    Purpose To display all PIM packet statistics

    Usage Guidelines None

    Mode All modes

    Example The following example displays how to display all PIM packet sta-tistics:ZXAN#show ip pim snooping all-statisticRxHello = 0; RxJoinPrune = 0;TxHello = 0; TxJoinPrune = 0;DropRxTotal = 0;RxTotal = 0; TxTotal = 0;

    RelatedCommands

    show ip pim snooping all-statistic clear

    show ip pim snooping port-statistic clear interface

    show ip pim snooping port-statistic interface

    show ip pim snoopingall-statistic c