MetroNID TE v6.4.2 CLI Command Guide - baixardoc

10
MetroNID® TE v6.4.2 CLI MetroNID® TE v6.4.2 CLI Command Guide Command Guide Revision 1 Revision 1

Transcript of MetroNID TE v6.4.2 CLI Command Guide - baixardoc

MetroNID® TE v6.4.2 CLIMetroNID® TE v6.4.2 CLICommand GuideCommand Guide

Revision 1Revision 1

Publication InformationPublication Information

MetroNID® TE v6.4.2 CLI Command GuideMetroNID® TE v6.4.2 CLI Command Guide, revision 1, revision 1

Publication Date: December 1, 2014Publication Date: December 1, 2014

Trademark InformationTrademark Information

© 2014 Accedian Networks Inc. All rights © 2014 Accedian Networks Inc. All rights reserved. Accedian, Accediareserved. Accedian, Accedian Networks, the Accedian Networks logo,n Networks, the Accedian Networks logo,

R-FLO, SkyLIGHT, antMODULE, Vision EMS, Vision Suite, VisionMETRIX, V-NID, Plug & Go, Network State+, Traffic-R-FLO, SkyLIGHT, antMODULE, Vision EMS, Vision Suite, VisionMETRIX, V-NID, Plug & Go, Network State+, Traffic-

Meter & FlowMETER are Meter & FlowMETER are trademarks or registered trademarks of Accedian Networks trademarks or registered trademarks of Accedian Networks Inc.Inc.

All other company and product names may be All other company and product names may be trademarks of their respective companies. Accedian Networktrademarks of their respective companies. Accedian Networkss

may, from time to time, make changes to may, from time to time, make changes to the products or specifications contained herein without notice. Somethe products or specifications contained herein without notice. Some

certifications may be pending final certifications may be pending final approval; please contact Accedian Networks for approval; please contact Accedian Networks for current certifications.current certifications.

Accedian’s products are protected by patents as indicated on Accedian’s website, located atAccedian’s products are protected by patents as indicated on Accedian’s website, located at

httphttp://www.accedian.com/en/legal.html://www.accedian.com/en/legal.html

The mention of any The mention of any product herein does not constitute an product herein does not constitute an endorsement by Accedian Networks Inc.endorsement by Accedian Networks Inc.

The content of this The content of this publication is provided for informational use only, is publication is provided for informational use only, is subject to change without notice andsubject to change without notice and

should not be should not be construed as a commitment by Accedian Networks Inc. Accedian Networks Inc. assumes noconstrued as a commitment by Accedian Networks Inc. Accedian Networks Inc. assumes no

responsibility or liability for any errors responsibility or liability for any errors or inaccuracies that may appear in this document.or inaccuracies that may appear in this document.

Except as permitted by such lease agreement, no Except as permitted by such lease agreement, no part of this publication may be part of this publication may be reproduced, stored in anyreproduced, stored in any

retrieval system, or transmitted, in any form or by retrieval system, or transmitted, in any form or by any means, electronic, mechanicaany means, electronic, mechanical, recording, or otherwise,l, recording, or otherwise,

without prior written consent of without prior written consent of Accedian Networks Inc.Accedian Networks Inc.

Changes are periodically made to the information herein; these changes will Changes are periodically made to the information herein; these changes will be incorporated into new editions ofbe incorporated into new editions of

this publication. Accedian Networks Inc. may make improvements and/or changes in the products and/orthis publication. Accedian Networks Inc. may make improvements and/or changes in the products and/or

software programs described in this publication at any time.software programs described in this publication at any time.

If you have comments regarding this manual or If you have comments regarding this manual or the products it describes, address them to:the products it describes, address them to:

Accedian Networks Inc.Accedian Networks Inc.Attention: Technical Attention: Technical PublicationsPublications

2351 Alfred-Nobel Blvd., Suite N-4102351 Alfred-Nobel Blvd., Suite N-410

Saint-Laurent, QuébecSaint-Laurent, Québec

Canada Canada H4S H4S 2A92A9

Tel: Tel: 514-331-61514-331-618181

Fax: 514-331-2210Fax: 514-331-2210

Toll free: Toll free: 1-866-685-1-866-685-81818181

accedian.comaccedian.com

Accedian Networks Inc. may use or distribute whatever information you provide Accedian Networks Inc. may use or distribute whatever information you provide in any way it in any way it believesbelieves

appropriate without incurring any obligation to you.appropriate without incurring any obligation to you.

Copyright ©2009-2014 AcceCopyright ©2009-2014 Accedian Networks Inc. All rights dian Networks Inc. All rights reserved, including those to reproduce this publicationreserved, including those to reproduce this publication

or parts thereof in or parts thereof in any form without permission in writing any form without permission in writing from Accedian Networks Inc.from Accedian Networks Inc.

MetroNID TE v6.4.2 CLI Command GuideMetroNID TE v6.4.2 CLI Command Guide

ContentsContents

11 MetroNID MetroNID TE TE Command Command Overview Overview .......................................................................................... .......... 11

1.11.1 Ethernet Ethernet Port Port Commands Commands ............................................................................................................................................................................................................................................... ....... 11

1.21.2 User User Traffic/Flow Traffic/Flow Through Through Commands Commands ................................................................................................................................................................................................ 1............ 1

1.31.3 System System Management Management Commands Commands ..................................................................................................................................................................................................................... ....... 22

1.41.4 OAM OAM Commands Commands .......................................................................................................................................................................................................................................................................... ...... 33

1.51.5 Utilities Utilities ..................................................................................................................................................................................................................................................................................................... ......... 33

1.61.6 Miscellaneous Miscellaneous Commands Commands ............................................................................................................................................................................................................................................... ..... 44

22 Syntax Syntax Meta-Characters Meta-Characters and and Variables .......Variables ......................................................................... ...... 55

33 CLI Commands................................................................................ 7CLI Commands................................................................................ 7

3.13.1 ACL ACL Add Add List List ............................................................................................................................................................................................................................................................................................. ... 77

3.23.2 ACL ACL Delete Delete Interface Interface .................................................................................................................................................................................................................................................................... .. 77

3.33.3 ACL ACL Delete Delete List List ............................................................................................................................................................................................................................................................................. ........... 77

3.43.4 ACL ACL Edit Edit Interface Interface ........................................................................................................................................................................................................................................................................ ...... 88

3.53.5 ACL ACL Edit Edit List List ............................................................................................................................................................................................................................................................................................. ... 99

3.63.6 ACL Show InterfaceACL Show Interface.................................................................................................................................................................................................................................................................... .. 1010

3.73.7 ACL ACL Show Show List List ............................................................................................................................................................................................................................................................................. ........... 1010

3.83.8 Alarm Alarm Edit Edit ............................................................................................................................................................................................................................................................................................... ... 1111

3.93.9 Alarm Alarm Reporting Reporting ........................................................................................................................................................................................................................................................................ ...... 1212

3.103.10 Alarm Alarm Show Show Configuration Configuration ........................................................................................................................................................................................................................................... ... 1212

3.113.11 Alarm Alarm Show Show Reporting .....................Reporting ..................................................................................................................................................................................................................................... .. 1313

3.123.12 Alarm Alarm Show Show Status Status .................................................................................................................................................................................................................................................................... .. 1313

3.133.13 Application Application Edit Edit File File Transfers .......................Transfers ................................................................................................................................................................................................ 14............. 14

3.143.14 Application Application Edit Edit Web Web .................................................................................................................................................................................................................................................... ............ 1414

3.153.15 Application Application Show Show ........................................................................................................................................................................................................................................................................ .... 1515

3.163.16 Bandwidth Bandwidth Regulator Regulator Add Add Regulator ..............Regulator ..................................................................................................................................................................................... 15............. 15

3.173.17 Bandwidth Bandwidth Regulator Regulator Clear Clear Regulator Regulator Statistics ......Statistics ..................................................................................................................................................................... 16... 16

3.183.18 Bandwidth Bandwidth Regulator Regulator Delete Delete Regulator ..........Regulator .................................................................................................................................................................................. 16............ 16

3.193.19 Bandwidth Bandwidth Regulator Regulator Edit Edit Regulator ......................Regulator ...................................................................................................................................................................................... 17.... 17

3.203.20 Bandwidth Bandwidth Regulator Regulator Show Show Regulator Regulator Configuration Configuration ............................................................................................................................................... ............. 1717

3.213.21 Bandwidth Bandwidth Regulator Regulator Show Show Regulator Regulator Statistics .......................Statistics .......................................................................................................................................... 18........... 18

3.223.22 Beacon Beacon Add Add L3 L3 ........................................................................................................................................................................................................................................................................... ......... 1919

3.233.23 Beacon Beacon Delete Delete L3 L3 ........................................................................................................................................................................................................................................................................ .... 2121

Revision Revision 1 1 vv

MetroNID TE v6.4.2 CLI Command Guide

3.24 Beacon Edit L3 .......................................................................................................................................... 21

3.25 Beacon Send L3 ........................................................................................................................................ 23

3.26 Beacon Send L3 One-Shot ........................................................................................................................ 23

3.27 Beacon Show L3 Configuration ................................................................................................................. 24

3.28 Board Show CPU ....................................................................................................................................... 24

3.29 Board Show Info ....................................................................................................................................... 24

3.30 Board Show Start Time ............................................................................................................................. 25

3.31 Board Show Status.................................................................................................................................... 25

3.32 Board Show Uptime.................................................................................................................................. 25

3.33 Board Show Uptime Seconds ................................................................................................................... 25

3.34 Bridge Clear Statistics ............................................................................................................................... 26

3.35 Bridge Edit ................................................................................................................................................ 26

3.36 Bridge Show Configuration ....................................................................................................................... 27

3.37 Bridge Show Statistics .............................................................................................................................. 27

3.38 Bridge Show Status ................................................................................................................................... 27

3.39 Cable Test Perform ................................................................................................................................... 28

3.40 Cable Test Show ....................................................................................................................................... 28

3.41 Certificate Delete...................................................................................................................................... 28

3.42 Certificate Import ..................................................................................................................................... 29

3.43 Certificate Show ....................................................................................................................................... 29

3.44 CFM Add DMM ......................................................................................................................................... 30

3.45 CFM Add Domain ...................................................................................................................................... 32

3.46 CFM Add MA ............................................................................................................................................ 33

3.47 CFM Add MEG .......................................................................................................................................... 34

3.48 CFM Add MEP ........................................................................................................................................... 35

3.49 CFM Add Packet Loss ................................................................................................................................ 36

3.50 CFM Add SLM ........................................................................................................................................... 37

3.51 CFM Clear MEP Statistics .......................................................................................................................... 37

3.52 CFM Clear Packet Loss Result ................................................................................................................... 38

3.53 CFM Clear SLM Result ............................................................................................................................... 38

3.54 CFM Clear Statistics .................................................................................................................................. 38

3.55 CFM Clear VSP Result ............................................................................................................................... 39

3.56 CFM Delete DMM ..................................................................................................................................... 39

3.57 CFM Delete Domain ................................................................................................................................. 40

3.58 CFM Delete MA ........................................................................................................................................ 40

3.59 CFM Delete MEG ...................................................................................................................................... 41

3.60 CFM Delete MEP ....................................................................................................................................... 41

3.61 CFM Delete Packet Loss............................................................................................................................ 42

3.62 CFM Delete SLM ....................................................................................................................................... 42

3.63 CFM Edit Defaults ..................................................................................................................................... 43

Revision 1 vi

MetroNID TE v6.4.2 CLI Command Guide

3.64 CFM Edit DMM ......................................................................................................................................... 44

3.65 CFM Edit Domain ...................................................................................................................................... 45

3.66 CFM Edit MA ............................................................................................................................................. 46

3.67 CFM Edit MEG ........................................................................................................................................... 47

3.68 CFM Edit MEP ........................................................................................................................................... 48

3.69 CFM Edit Packet Loss ................................................................................................................................ 49

3.70 CFM Edit SLM............................................................................................................................................ 50

3.71 CFM Edit VSP ............................................................................................................................................ 50

3.72 CFM LBM .................................................................................................................................................. 51

3.73 CFM LTM ................................................................................................................................................... 52

3.74 CFM Show Defaults .................................................................................................................................. 53

3.75 CFM Show DMM Configuration ................................................................................................................ 53

3.76 CFM Show DMM Result ............................................................................................................................ 54

3.77 CFM Show Domain Configuration ............................................................................................................ 54

3.78 CFM Show Latest Error ............................................................................................................................. 55

3.79 CFM Show LTR .......................................................................................................................................... 55

3.80 CFM Show MA Configuration ................................................................................................................... 55

3.81 CFM Show MEG Configuration ................................................................................................................. 56

3.82 CFM Show MEP Configuration ................................................................................................................. 56

3.83 CFM Show MEP Database ........................................................................................................................ 57

3.84 CFM Show MEP Statistics ......................................................................................................................... 57

3.85 CFM Show MEP Status.............................................................................................................................. 58

3.86 CFM Show Packet Loss Configuration ...................................................................................................... 58

3.87 CFM Show Packet Loss Result .................................................................................................................. 59

3.88 CFM Show SLM Configuration .................................................................................................................. 59

3.89 CFM Show SLM Result .............................................................................................................................. 60

3.90 CFM Show Stack ....................................................................................................................................... 60

3.91 CFM Show Statistics ................................................................................................................................. 60

3.92 CFM Show VSP Configuration ................................................................................................................... 61

3.93 CFM Show VSP Result ............................................................................................................................... 61

3.94 CFM Stop LBM .......................................................................................................................................... 61

3.95 Configuration Cancel ................................................................................................................................ 62

3.96 Configuration Changes ............................................................................................................................. 62

3.97 Configuration Export/Import/Reset/Rollback/Cancel .............................................................................. 63

3.98 Configuration Generate-Script ................................................................................................................. 64

3.99 Configuration Import ................................................................................................................................ 65

3.100 Configuration Reset .................................................................................................................................. 65

3.101 Configuration Rollback ............................................................................................................................. 65

3.102 Console Disable ........................................................................................................................................ 66

3.103 Console Enable ......................................................................................................................................... 66

Revision 1 vii

MetroNID TE v6.4.2 CLI Command Guide

3.104 Console Show ........................................................................................................................................... 66

3.105 COS Profile Add/Edit DSCP ....................................................................................................................... 67

3.106 COS Profile Add/Edit PCP ......................................................................................................................... 68

3.107 COS Profile Add/Edit Precedence ............................................................................................................. 69

3.108 COS Profile Delete .................................................................................................................................... 70

3.109 COS Profile Show Configuration ............................................................................................................... 70

3.110 CPU Edit OAM Options ............................................................................................................................. 71

3.111 CPU Show OAM Options ........................................................................................................................... 71

3.112 Date .......................................................................................................................................................... 72

3.113 DNS Disable .............................................................................................................................................. 73

3.114 DNS Edit .................................................................................................................................................... 74

3.115 DNS Show ................................................................................................................................................. 74

3.116 Dry-Contact-Input Edit ............................................................................................................................. 75

3.117 Dry-Contact-Input Show Configuration .................................................................................................... 75

3.118 Dry-Contact-Input Show Status ................................................................................................................ 75

3.119 Exit/Quit ................................................................................................................................................... 76

3.120 Fault Propagation Edit .............................................................................................................................. 76

3.121 Fault Propagation Enable/Disable ............................................................................................................ 77

3.122 Fault Propagation Show ........................................................................................................................... 77

3.123 Filter Delete IPv4 ...................................................................................................................................... 77

3.124 Filter Delete L2 ......................................................................................................................................... 78

3.125 Filter Add/Edit IPv4................................................................................................................................... 78

3.126 Filter Add/Edit L2 ...................................................................................................................................... 80

3.127 Filter Show ................................................................................................................................................ 82

3.128 Firmware Activate .................................................................................................................................... 82

3.129 Firmware Clear Download ........................................................................................................................ 83

3.130 Firmware Download ................................................................................................................................. 83

3.131 Firmware Rollback .................................................................................................................................... 84

3.132 Firmware Upgrade .................................................................................................................................... 84

3.133 Firmware Version ..................................................................................................................................... 85

3.134 GPS Edit .................................................................................................................................................... 85

3.135 GPS Show Configuration ........................................................................................................................... 85

3.136 GPS Show Status ....................................................................................................................................... 85

3.137 Help .......................................................................................................................................................... 86

3.138 History Edit File ......................................................................................................................................... 86

3.139 History Edit Local ...................................................................................................................................... 87

3.140 History Edit Scheduling ............................................................................................................................. 89

3.141 History Show File ...................................................................................................................................... 90

3.142 History Show Local ................................................................................................................................... 90

3.143 History Show Scheduling .......................................................................................................................... 90

Revision 1 viii

MetroNID TE v6.4.2 CLI Command Guide

3.144 Interface Add/Edit .................................................................................................................................... 91

3.145 Interface Advertisement Edit ................................................................................................................... 93

3.146 Interface Advertisement Show ................................................................................................................. 93

3.147 Interface Beacon Edit ............................................................................................................................... 94

3.148 Interface Beacon Show ............................................................................................................................. 95

3.149 Interface Delete ........................................................................................................................................ 95

3.150 Interface Discovery Edit ............................................................................................................................ 96

3.151 Interface Discovery Show ......................................................................................................................... 97

3.152 Interface Refresh ...................................................................................................................................... 97

3.153 Interface Show.......................................................................................................................................... 98

3.154 Inventory Edit ........................................................................................................................................... 98

3.155 Inventory Show......................................................................................................................................... 99

3.156 Keepalive .................................................................................................................................................. 99

3.157 L2PT Add/Edit ......................................................................................................................................... 100

3.158 L2PT Clear ............................................................................................................................................... 102

3.159 L2PT Delete ............................................................................................................................................. 102

3.160 L2PT Edit Global ...................................................................................................................................... 103

3.161 L2PT Show Configuration ....................................................................................................................... 103

3.162 L2PT Show Statistics ............................................................................................................................... 103

3.163 LACP Clear Statistics ............................................................................................................................... 104

3.164 LACP Edit ................................................................................................................................................ 104

3.165 LACP Show Configuration ....................................................................................................................... 105

3.166 LACP Show Statistics ............................................................................................................................... 105

3.167 LACP Show Status ................................................................................................................................... 106

3.168 Loopback Edit ......................................................................................................................................... 108

3.169 Loopback Show ....................................................................................................................................... 109

3.170 MAC Learning Show Results ................................................................................................................... 109

3.171 MAC Learning Start................................................................................................................................. 110

3.172 MAC Learning Stop ................................................................................................................................. 110

3.173 Media-Selection Select ........................................................................................................................... 111

3.174 Media-Selection Show ............................................................................................................................ 112

3.175 Mode Edit ............................................................................................................................................... 112

3.176 Mode Show ............................................................................................................................................ 113

3.177 Monitor Edit ........................................................................................................................................... 113

3.178 Monitor Show Configuration .................................................................................................................. 113

3.179 MOTD Edit .............................................................................................................................................. 114

3.180 MOTD Show ............................................................................................................................................ 114

3.181 MTR Edit ................................................................................................................................................. 114

3.182 MTR Enable/Disable ............................................................................................................................... 115

3.183 MTR Show ............................................................................................................................................... 115

Revision 1 ix

MetroNID TE v6.4.2 CLI Command Guide

1 MetroNID TE Command Overview

Below is a list of all MetroNID TE CLI commands, grouped according to their primary

function.

1.1 Ethernet Port Commands

Command Name Description

cable-test Perform time domain reflectometry diagnostics.

fault-propagation Manage the link fault propagation between ports.

media-selection Select which physical ports will be used to carry

traffic.

port Manage the link and physical level port settings.

sfp Display the SFP information, including digital

diagnostics.

1.2 User Traffic/Flow Through Commands

Command Name Description

bandwidth-regulator Manage bandwidth regulator database.

cos-profile Manage service mapping CoS profiles.

filter Manage the filter database.

l2pt Manage L2 protocol tunneling rules.

policy Manage policy entries applied on ports.

regulator-set Manage service mapping regulator sets.

traffic Policy list VLAN mode configuration.

traffic-shaping Manage the traffic shaper database.

vid-set Manage VID sets.

Revision 1 1

MetroNID TE v6.4.2 CLI Command Guide

1.3 System Management Commands

Command Name Description

acl Manage Access Control Lists.

beacon Manage Plug & Go beacon instances.

bridge Manage the bridge created with the interface

module.

console Manage the serial (RS-232) console port.

date Print or set the system date and time.

dns Manage the DNS settings.

history Manage the history buckets statistics.

interface Manage the interfaces used to access the

management plane.

inventory Manage the inventory when using auto

configuration with beacons.

mode Define general system settings.

motd Manage the MOTD of the unit.

mtr Manage management traffic regulation settings.

ntp Manage the network time client function.

permission-group Manage the user privilege profiles.

ptp Manage the network time client function.

radius Manage the RADIUS authentication.

route Manage the IP routes and gateways.

session Manage the session settings or active sessions.

snmp Manage the SNMP agent settings.

snmp-trap Manage the SNMP trap handler configuration.

syslog Manage the remote syslog settings.

tacacs-plus Manage the TACACS+ authentication.

Revision 1 2