Junos® OS Ethernet Interfaces User Guide for Routing Devices · P2-10G-40G-QSFPPPICOverview|166...

1523
Junos ® OS Ethernet Interfaces User Guide for Routing Devices Published 2020-07-01

Transcript of Junos® OS Ethernet Interfaces User Guide for Routing Devices · P2-10G-40G-QSFPPPICOverview|166...

  • Junos® OS

    Ethernet Interfaces User Guide for RoutingDevices

    Published

    2020-07-01

  • Juniper Networks, Inc.1133 Innovation WaySunnyvale, California 94089USA408-745-2000www.juniper.net

    Juniper Networks, the Juniper Networks logo, Juniper, and Junos are registered trademarks of Juniper Networks, Inc. inthe United States and other countries. All other trademarks, service marks, registered marks, or registered service marksare the property of their respective owners.

    Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the rightto change, modify, transfer, or otherwise revise this publication without notice.

    Junos® OS Ethernet Interfaces User Guide for Routing DevicesCopyright © 2020 Juniper Networks, Inc. All rights reserved.

    The information in this document is current as of the date on the title page.

    YEAR 2000 NOTICE

    Juniper Networks hardware and software products are Year 2000 compliant. Junos OS has no known time-relatedlimitations through the year 2038. However, the NTP application is known to have some difficulty in the year 2036.

    END USER LICENSE AGREEMENT

    The Juniper Networks product that is the subject of this technical documentation consists of (or is intended for use with)Juniper Networks software. Use of such software is subject to the terms and conditions of the EndUser License Agreement(“EULA”) posted at https://support.juniper.net/support/eula/. By downloading, installing or using such software, youagree to the terms and conditions of that EULA.

    ii

    https://support.juniper.net/support/eula/

  • Table of Contents

    About the Documentation | xxvii

    Documentation and Release Notes | xxvii

    Using the Examples in This Manual | xxvii

    Merging a Full Example | xxviii

    Merging a Snippet | xxix

    Documentation Conventions | xxix

    Documentation Feedback | xxxii

    Requesting Technical Support | xxxii

    Self-Help Online Tools and Resources | xxxiii

    Creating a Service Request with JTAC | xxxiii

    Ethernet Interfaces1Configuring Ethernet Interfaces | 2

    Ethernet Interfaces Overview | 2

    Initial Configuration of Ethernet Interfaces | 3

    Configuring Ethernet Physical Interface Properties | 4

    Configuring the Interface Speed on Ethernet Interfaces | 6

    Configuring the Ingress Rate Limit | 7

    Configuring the Link Characteristics on Ethernet Interfaces | 8

    Configuring Multicast Statistics Collection on Ethernet Interfaces | 9

    MAC Address Validation on Static Ethernet Interfaces Overview | 10

    Configuring MAC Address Validation on Static Ethernet Interfaces | 11

    Displaying Internal Ethernet Interfaces for a Routing Matrix with a TX Matrix Plus Router | 12

    Example: Configuring Fast Ethernet Interfaces | 14

    Example: Configuring Gigabit Ethernet Interfaces | 15

    Flow Control for Ethernet Interfaces | 16

    Understanding Flow Control | 17

    IEEE 802.3X Ethernet PAUSE | 17

    Configuring Flow Control | 18

    iii

  • MAC Address Filtering and Accounting on Ethernet Interfaces | 19

    Configuring MAC Address Filtering for Ethernet Interfaces | 20

    Enabling Source Address Filtering | 20

    Configuring MAC Address Filtering on PTX Series Packet Transport Routers | 22

    Configuring MAC Address Accounting | 23

    Management Ethernet Interfaces | 24

    Management Ethernet Interface Overview | 25

    Configuring a Consistent Management IP Address | 25

    Configuring the MAC Address on the Management Ethernet Interface | 27

    Power over Ethernet (PoE) on ACX Series Routers | 28

    Understanding PoE on ACX Series Universal Metro Routers | 29

    ACX2000 PoE Specifications | 29

    PoE Classes and Power Ratings | 30

    PoE Options | 30

    Example: Configuring PoE on ACX2000 Routers | 32

    Example: Disabling a PoE Interface on ACX2000 Routers | 37

    Troubleshooting PoE Interfaces on ACX2000 Universal Metro Routers | 39

    Point-to-Point Protocol over Ethernet (PPPoE) | 40

    PPPoE Overview | 40

    PPPoE Interfaces | 41

    PPPoE Stages | 42

    Optional CHAP Authentication | 43

    Configuring PPPoE | 44

    Overview | 45

    Setting the Appropriate Encapsulation on the PPPoE Interface | 46

    Configuring PPPoE Encapsulation on an Ethernet Interface | 47

    Configuring PPPoE Encapsulation on an ATM-over-ADSL Interface | 47

    Configuring the PPPoE Underlying Interface | 47

    Identifying the Access Concentrator | 48

    Configuring the PPPoE Automatic Reconnect Wait Timer | 48

    Configuring the PPPoE Service Name | 48

    Configuring the PPPoE Server Mode | 49

    Configuring the PPPoE Client Mode | 49

    Configuring the PPPoE Source and Destination Addresses | 49

    iv

  • Deriving the PPPoE Source Address from a Specified Interface | 49

    Configuring the PPPoE IP Address by Negotiation | 50

    Configuring the Protocol MTU PPPoE | 50

    Example: Configuring a PPPoE Server Interface on an M120 or M320 Router | 50

    Disabling the Sending of PPPoE Keepalive Messages | 51

    Verifying a PPPoE Configuration | 52

    Tracing PPPoE Operations | 52

    Configuring the PPPoE Trace Log Filename | 53

    Configuring the Number and Size of PPPoE Log Files | 54

    Configuring Access to the PPPoE Log File | 54

    Configuring a Regular Expression for PPPoE Lines to Be Logged | 54

    Configuring the PPPoE Tracing Flags | 55

    Configuring Aggregated Ethernet Interfaces | 56

    Aggregated Ethernet Interfaces | 57

    What Are Aggregated Ethernet Interfaces? | 58

    Benefits | 58

    Configuration Guidelines for Aggregated Ethernet Interfaces | 58

    Configure Aggregated Ethernet Interfaces | 58

    Mixed-Mode and Mixed-Rate Aggregated Ethernet Interfaces | 60

    Benefits | 61

    Platform Support for Mixed Aggregated Ethernet Bundles | 61

    Configuration Guidelines for Mixed-Rate Aggregated Ethernet Links | 63

    Configure Mixed-Rate Aggregated Ethernet Interfaces | 64

    What Is Link Aggregation Control Protocol? | 65

    Benefits | 65

    Configuration Guidelines for LACP | 65

    Configure LACP | 66

    Targeted Distribution of Static Logical interfaces Across Aggregated Ethernet MemberLinks | 67

    Benefits | 68

    Example: Configure TargetedDistribution for Accurate Policy Enforcement on Logical InterfacesAcross Aggregated Ethernet Member Links | 68

    Independent Micro-BFD Sessions for LAG | 79

    Benefits | 80

    v

  • Configuration Guidelines for Micro-BFD Sessions | 80

    Example: Configure Independent Micro-BFD Sessions for LAG | 81

    MAC Address Accounting for Dynamically Learned Addresses on Aggregated EthernetInterfaces | 93

    Benefits | 93

    What Is Enhanced LAG? | 93

    Benefits | 94

    Link Protection of Aggregated Ethernet Interfaces | 94

    Configuring Aggregated Ethernet Link Protection | 95

    Configuring Link Protection for Aggregated Ethernet Interfaces | 95

    Configuring Primary and Backup Links for Link Aggregated Ethernet Interfaces | 96

    Reverting Traffic to a Primary Link When Traffic is Passing Through a Backup Link | 96

    Disabling Link Protection for Aggregated Ethernet Interfaces | 97

    Configuring Aggregated Ethernet Minimum Links | 97

    Example: Configuring Aggregated Ethernet Link Protection | 98

    Scheduling on Aggregated Ethernet Interfaces | 99

    Configuring Shared Scheduling on Aggregated Ethernet Interfaces | 99

    Configuring Scheduler on Aggregated Ethernet Interfaces Without Link Protection | 100

    Load Balancing on Aggregated Ethernet Interfaces | 101

    Load Balancing and Ethernet Link Aggregation Overview | 102

    Understanding Aggregated Ethernet Load Balancing | 102

    Stateful Load Balancing for Aggregated Ethernet Interfaces Using 5-Tuple Data | 105

    Guidelines for Configuring Stateful Load Balancing for Aggegated Ethernet Interfaces orLAG Bundles | 107

    Configuring Stateful Load Balancing on Aggregated Ethernet Interfaces | 108

    Configuring Adaptive Load Balancing | 109

    Configuring Symmetrical Load Balancing on an 802.3ad Link Aggregation Group onMX SeriesRouters | 110

    Symmetrical Load Balancing on an 802.3ad LAG on MX Series Routers Overview | 110

    Configuring Symmetric Load Balancing on an 802.3ad LAG on MX Series Routers | 111

    Configuring Symmetrical Load Balancing on Trio-Based MPCs | 114

    Example Configurations | 116

    vi

  • Configuring PIC-Level Symmetrical Hashing for Load Balancing on 802.3ad LAGs forMX SeriesRouters | 117

    Examples: Configuring PIC-Level Symmetrical Hashing for Load Balancing on 802.3ad LAGson MX Series Routers | 120

    Configuring Symmetrical Hashing for family multiservice on Both Routers | 120

    Configuring Symmetrical Hashing for family inet on Both Routers | 121

    Configuring Symmetrical Hashing for family inet and family multiservice on the TwoRouters | 121

    Example: Configuring Aggregated Ethernet Load Balancing | 122

    Example: Configuring Aggregated Ethernet Load Balancing | 123

    Performance Monitoring on Aggregated Ethernet Interfaces | 140

    ITU-T Y.1731 ETH-LM, ETH-SLM, and ETH-DM on Aggregated Ethernet InterfacesOverview | 140

    Guidelines for Configuring Performance Monitoring Functionalities on Aggregated EthernetInterfaces | 142

    Periodic Packet Management | 144

    Understanding Periodic Packet Management on MX Series Routers | 145

    Configuring Periodic Packet Management on MX Series Routers | 145

    Identifying Periodic Packet Management Mode | 146

    Enabling Centralized Periodic Packet Management | 147

    Understanding Ethernet Link Aggregation on ACX Series Routers | 149

    Load Balancing | 151

    LACP Monitoring | 152

    Link Protection | 153

    Configuring Link Protection for Aggregated Ethernet Interfaces | 154

    Disabling Link Protection for Aggregated Ethernet Interfaces | 154

    Understanding the Algorithm Used to Hash LAG Bundle | 154

    Gigabit Ethernet Interfaces2Configuring Gigabit Ethernet Interfaces | 158

    Configuring 10-Gigabit Ethernet PICs | 158

    10-port 10-Gigabit Ethernet LAN/WAN PIC Overview | 159

    12-port 10-Gigabit Ethernet LAN/WAN PIC on Type 5 FPC Overview | 163

    24-port 10-Gigabit Ethernet LAN/WAN PIC on Type 5 FPC Overview | 165

    vii

  • P2-10G-40G-QSFPP PIC Overview | 166

    Understanding Dual Configuration on P2-10G-40G-QSFPP PIC | 167

    Understanding Port Group | 168

    Port Numbering on P2-10G-40G-QSFPP PIC When Port Groups Are Not Configured | 172

    10-Gigabit Ethernet Mode | 175

    40-Gigabit Ethernet Mode | 176

    Configuring the P2-10G-40G-QSFPP PIC | 177

    Configuring the PIC in 10-Gigabit Ethernet Mode or in 40-Gigabit Ethernet Mode | 177

    Configuring the PIC in 10-Gigabit Ethernet Mode to Operate in 40-Gigabit EthernetMode | 177

    Configuring the PIC in 40-Gigabit Ethernet Mode to Operate in 10-Gigabit EthernetMode | 178

    Configuring the PIC at Port Group Level | 179

    Configuring Framing Mode on P2-10G-40G-QSFPP PIC | 179

    Example: Configuring the P2-10G-40G-QSFPP PIC | 181

    Framing Overview | 184

    Understanding WAN Framing | 186

    Configuring Ethernet Framing | 186

    Modes of Operation | 187

    Configuring Mixed-Rate Mode Operation | 188

    Configuring Line-Rate Mode on PICs Supporting Oversubscription | 189

    Example: Handling Oversubscription on a 10-Gigabit Ethernet LAN/WAN PIC | 190

    Disabling Control Queue Disable on a 10-port 10-Gigabit Ethernet LAN/WAN PIC | 191

    Gigabit Ethernet Notification of Link Down Alarm Overview | 195

    Notification of Link Down for Optics Options Overview | 195

    Configuring Gigabit Ethernet Notification of Link Down Alarm | 195

    Configuring Link Down Notification for Optics Options Alarm or Warning | 196

    Configuring 40-Gigabit Ethernet PICs | 197

    40-Gigabit Ethernet PIC Overview | 198

    Configuring 40-Gigabit Ethernet PICs | 200

    Configuring 100-Gigabit Ethernet MICs/PICs | 202

    100-Gigabit Ethernet Interfaces Overview | 202

    MX Series 100-Gigabit Ethernet Interfaces | 202

    PTX Series 100-Gigabit Ethernet Interfaces | 203

    viii

  • T Series 100-Gigabit Ethernet Interfaces | 204

    MPC3E MIC Overview | 205

    100-Gigabit Ethernet Type 4 PIC with CFP Overview | 206

    Configuring 100-Gigabit Ethernet Type 4 PIC With CFP | 210

    Configuring VLAN Steering Mode for 100-Gigabit Ethernet Type 4 PIC with CFP | 215

    100-Gigabit Ethernet Type 5 PIC with CFP Overview | 218

    100-Gigabit Ethernet Interfaces Interoperability | 220

    Interoperability of the MIC-3D-1X100GE-CFP MIC with PICs on Other Routers | 220

    Interoperability of the MPC4E-3D-2CGE-8XGE MPC with PICs on Other Routers | 221

    Interoperability of the P1-PTX-2-100GE-CFP PIC with PICs on Other Routers | 221

    Interoperability of the PD-1CE-CFP-FPC4 PIC with PICs or MICs on Other Routers | 221

    Interoperability Between the 100-Gigabit Ethernet PICs PD-1CE-CFP-FPC4 andPF-1CGE-CFP | 222

    Configuring the Interoperability Between the 100-Gigabit Ethernet PICs PF-1CGE-CFP andPD-1CE-CFP-FPC4 | 223

    Configuring SA Multicast Bit Steering Mode on the 100-Gigabit Ethernet PICPF-1CGE-CFP | 223

    Interoperability Between the 100-Gigabit Ethernet PICs PD-1CE-CFP-FPC4 andP1-PTX-2-100GE-CFP | 225

    Configuring the Interoperability Between the 100-Gigabit Ethernet PICs P1-PTX-2-100GE-CFPand PD-1CE-CFP-FPC4 | 226

    Configuring SA Multicast Bit Steering Mode on 100-Gigabit Ethernet PICP1-PTX-2-100GE-CFP | 226

    Configuring Two 50-Gigabit Ethernet Physical Interfaces on the 100-Gigabit Ethernet PICPD-1CE-CFP-FPC4 as One Aggregated Ethernet Interface | 228

    Using Smart SFPs for Transporting Legacy Network Traffic over Packet Switched Networks | 230

    Transporting Legacy Traffic over Packet Switched Networks | 231

    Smart SFP Transceivers for Transporting PDH Traffic over PSNs Overview | 231

    Smart SFP Transceivers for Transporting SDH Traffic over PSNs Overview | 232

    Benefits of Smart SFP Transceivers | 232

    Example: Configuring the Smart-SFPs on MX Series Routers for transporting legacy PDHTraffic | 233

    Example: Configuring the Smart-SFPs on MX Series Routers for transporting legacy SDHTraffic | 237

    ix

  • Configuring Layer 2 Overhead Attribute in Interface Statistics | 242

    Accounting of the Layer 2 Overhead Attribute in Interface Statistics | 242

    Guidelines for Configuring the Computation of Layer 2 Overhead in Interface Statistics | 244

    Configuring Layer 2 Overhead Accounting in Interface Statistics | 245

    Enabling the Accounting of Layer 2 Overhead in Interface Statistics at the PIC Level | 245

    Verifying the Accounting of Layer 2 Overhead in Interface Statistics | 246

    Configuring Gigabit Ethernet Policers | 250

    Capabilities of Gigabit Ethernet IQ PICs and Gigabit Ethernet PICs with SFPs | 250

    Configuring Gigabit Ethernet Policers | 252

    Overview | 253

    Configuring a Policer | 253

    Specifying an Input Priority Map | 254

    Specifying an Output Priority Map | 254

    Applying a Policer | 255

    Configuring MAC Address Filtering | 257

    Example: Configuring Gigabit Ethernet Policers | 257

    Configuring Gigabit Ethernet Two-Color and Tricolor Policers | 259

    Overview | 260

    Configuring a Policer | 261

    Applying a Policer | 262

    Example: Configuring and Applying a Policer | 262

    Gigabit Ethernet Autonegotiation | 264

    Gigabit Ethernet Autonegotiation Overview | 264

    Configuring Gigabit Ethernet Autonegotiation | 265

    Configuring Gigabit Ethernet Autonegotiation with Remote Fault | 265

    Configuring Flow Control | 265

    Configuring Autonegotiation Speed on MX Series Routers | 265

    Displaying Autonegotiation Status | 266

    Configuring Rate Selectability | 272

    Introduction to Rate Selectability | 272

    Understanding Rate Selectability | 273

    Rate Selectability on MPC7E-MRATE | 274

    Rate Selectability on MIC-MRATE | 274

    x

  • Rate Selectability on JNP10K-LC2101 | 274

    Rate Selectability on MIC-MACSEC-20GE | 276

    Guidelines for Configuring Rate Selectability | 277

    Guidelines for Configuring Rate Selectability for MIC-MRATE MIC and MPC7E-MRATEMPC | 277

    Guidelines for Configuring Rate Selectability for JNP10K-LC2101 | 277

    Guidelines for Configuring Rate Selectability for MPC11E | 278

    MX10003 MPC Rate-Selectability Overview | 279

    Invalid Port Configuration | 284

    MX204 Router Rate-Selectability Overview | 284

    User-Configurable Rate Selectability of MX204 Routers | 288

    Maximum number of 10/40/100GE ports Configurable at PIC and Port Mode | 288

    Port Configuration - PIC Level | 289

    PTX10003 Router Rate-Selectability Overview | 292

    JNP10K-LC1201 Rate Selectability Overview | 294

    Interface Naming Conventions for Rate Selectability | 296

    Interface Naming Conventions for MPC7E-MRATE | 296

    Interface Naming Conventions for MIC-MRATE | 298

    Interface Naming Conventions for MX10003 MPC | 301

    Interface Naming Conventions for JNP10K-LC2101 | 303

    Interface Naming Conventions for MIC-MACSEC-20GE | 306

    Interface Naming Conventions for JNP10K-LC1201 | 307

    Interface Mapping and Modulation Format for ACX5448-D | 314

    Preventing Oversubscription Using Active Physical Ports | 316

    Supported Active Physical Ports for Configuring Rate Selectability to PreventOversubscription | 316

    Supported Active Physical Ports for Configuring Rate Selectability to Prevent Oversubscriptionon MX10003 MPC | 319

    Supported Active Physical Rate-Selectable Ports to Prevent Oversubscription on MX204Router | 321

    Invalid Port Configuration | 322

    Configuring Active Ports on MX204 Router with Rate Selectability | 322

    xi

  • Configuring Rate Selectability | 326

    Configuring Port Speed | 326

    Configuring 400-Gigabit Ethernet Interfaces on PTX10003 Routers | 328

    Configuring Rate Selectability on MIC-MRATE to Enable Different Port Speeds | 332

    Configuring Rate Selectability on MIC-MRATE at MIC Level | 332

    Configuring Rate Selectability on MIC-MRATE at Port Level | 334

    Configuring Rate Selectability on MPC7E (Multi-Rate) to Enable Different Port Speeds | 336

    Configuring Rate Selectability at PIC Level | 337

    Configuring Rate Selectability at Port Level | 338

    Configuring Rate Selectability on MX10003 MPC to Enable Different Port Speeds | 341

    Configuring Rate Selectability on MX10003 MPC at MIC/PIC Level | 341

    Configuring Rate Selectability on MX10003 MPC at Port Level | 343

    Configuring Rate Selectability on MX204 to Enable Different Port Speeds | 345

    Configuring Rate Selectability on MX204 at PIC Level | 345

    Configuring Rate Selectability on MX204 at Port Level | 347

    Configuring Rate Selectability on JNP10K-2101 MPC to Enable Different Port Speeds | 349

    Configuring Rate Selectability on JNP10K-2101 MPC at PIC Level | 349

    Configuring Rate Selectability on JNP10K-LC2101 MPC at Port Level | 351

    Configure Rate Selectability on ACX5448-D and ACX5448-M Routers | 353

    Channelize Interfaces on ACX5448-D and ACX5448-M Routers | 355

    Configuring Rate Selectability on JNP10K-1201 line card to Enable Different Port Speeds | 357

    Configuring Rate Selectability on JNP10K-1201 line card at PIC Level | 357

    Configuring Rate Selectability on JNP10K-LC1201 line card at Port Level | 358

    Port Speed | 360

    Port Speed Overview | 360

    Interface Naming Conventions | 363

    What is Oversubscription? | 363

    Port Speed on MPC10E-10C-MRATE Overview | 364

    Port Speed Support on MPC10E-10C-MRATE | 365

    Interface Naming Conventions | 365

    Supported Active Physical Ports on MPC10E-10C-MRATE to PreventOversubscription | 366

    xii

  • Port Speed on MPC10E-15C-MRATE Overview | 367

    Port Speed Support on MPC10E-15C-MRATE | 369

    Interface Naming Conventions | 369

    Supported Active Physical Ports on MPC10E-15C-MRATE to PreventOversubscription | 370

    Port Speed on MX2K-MPC11E Overview | 371

    Interface Naming Conventions for MPC11E | 375

    Port Speed on ACX710 Router Overview | 377

    Interface Naming Conventions | 378

    Port Speed on PTX10001-36MR Router Overview | 378

    Interface Naming Conventions for PTX10001-36MR Router | 383

    Configuring the Port Speed on the JNP10K-LC1201 by Using New Port Profile Configuration | 386

    Understanding New Port Profile Configuration | 387

    Guidelines for Configuring the Port Speed Using new Port Profile Configuration | 388

    Configuring Port Speed on JNP10K-LC1201 by using New Port Profile Configuration | 388

    Configuring Optical Transport network | 392

    Understanding Optical Transport Network (OTN) | 392

    10-Gigabit Ethernet OTN Options Configuration Overview | 393

    100-Gigabit Ethernet OTN Options Configuration Overview | 393

    Understanding the P1-PTX-24-10G-W-SFPP PIC | 395

    Interface Features | 395

    Layer 2 and Layer 3 Features | 397

    OTN Alarms and Defects | 398

    TCA Alarms | 399

    Understanding the features of ACX6360 | 400

    Interface Features | 400

    Section | ?

    OTN Alarms and Defects | 401

    TCA Alarms | 402

    Understanding the P2-100GE-OTN PIC | 402

    Interface Features | 403

    Layer 2 and Layer 3 Features | 405

    OTN Alarms and Defects | 406

    TCA Alarms | 406

    xiii

  • Understanding the MIC3-100G-DWDMMIC | 407

    Interface Features | 407

    Layer 2 and Layer 3 Features | 408

    OTN Alarms and Defects | 409

    Understanding the PTX-5-100G-WDM PIC | 410

    Interface Features | 411

    Layer 2 and Layer 3 Features | 412

    OTN Alarms and Defects | 412

    Understanding the PTX10K-LC1104 Line Card | 414

    Software Features | 414

    OTN Alarms and Defects | 415

    Interface Mapping and Modulation format for ACX6360 | 417

    Interface Mapping and Modulation format for PTX10K-LC1104 Line Card | 419

    Supported OTN and Optics Options | 421

    Supported OTN Options on PTX Series Routers | 422

    Supported OTN Options on MX Series Routers | 431

    Supported OTN Options on ACX6360 Routers | 440

    Supported OTN Options on ACX5448-D Routers | 446

    Supported OTN Options on PTX10008 and PTX10016 Series Routers | 451

    Supported Optics Options on ACX6360 and ACX5448-D Routers | 458

    Supported Optics Options on PTX10008 and PTX10016 Series Routers | 462

    Forward Error Correction (FEC) and Bit Error Rate (BER) | 466

    Understanding Pre-FEC BER Monitoring and BER Thresholds | 467

    Supported Forward Error Correction Modes on MX Series Routers | 471

    Supported Forward Error Correction Modes on PTX Series Routers | 472

    Supported Forward Error Correction Modes on ACX6360 Router | 473

    Supported FEC Modes on ACX5448-D Router | 473

    Dense Wavelength Division Multiplexing (DWDM) Interface Wavelength | 474

    Ethernet DWDM Interface Wavelength Overview | 474

    Configuring the 10-Gigabit or 100-Gigabit Ethernet DWDM Interface Wavelength | 475

    Configuring OTN | 477

    Configuring OTN Interfaces on P1-PTX-24-10G-W-SFPP PIC | 478

    Configuring OTN Interfaces on P1-PTX-2-100G-WDM | 482

    Configuring OTN Interfaces on P2-100GE-OTN PIC | 485

    xiv

  • Configuring OTN Interfaces on MIC3-100G-DWDMMIC | 490

    Configuring OTN Interfaces on PTX-5-100G-WDM PIC | 495

    Configuring OTN Interface Options on PTX10K-LC1104 | 501

    ODU Path Delay Measurement for Performance Monitoring | 506

    Understanding ODU Path Delay Measurement | 506

    Guidelines for Configuring Delay Measurement | 507

    Enabling ODU Path Delay Measurement | 508

    Disabling ODU Path Delay Measurement | 510

    Troubleshooting Information3Monitoring and Troubleshooting Ethernet Interfaces | 513

    Passive Monitoring on Ethernet Interfaces Overview | 513

    Enabling Passive Monitoring on Ethernet Interfaces | 515

    Link Degrade Monitoring Overview | 517

    Supported Platforms | 518

    Monitoring Fast Ethernet and Gigabit Ethernet Interfaces | 520

    Checklist for Monitoring Fast Ethernet and Gigabit Ethernet Interfaces | 520

    Monitor Fast Ethernet and Gigabit Ethernet Interfaces | 521

    Display the Status of Fast Ethernet Interfaces | 521

    Display the Status of Gigabit Ethernet Interfaces | 523

    Display the Status of a Specific Fast Ethernet or Gigabit Ethernet Interface | 524

    Display Extensive Status Information for a Specific Fast Ethernet or Gigabit EthernetInterface | 526

    xv

  • Monitor Statistics for a Fast Ethernet or Gigabit Ethernet Interface | 529

    Fiber-Optic Ethernet Interface Specifications | 531

    Performing Loopback Testing for Fast Ethernet and Gigabit Ethernet Interfaces | 533

    Checklist for Using Loopback Testing for Fast Ethernet and Gigabit Ethernet Interfaces | 533

    Diagnose a Suspected Hardware Problem with a Fast Ethernet or Gigabit EthernetInterface | 534

    Create a Loopback | 535

    Create a Physical Loopback for a Fiber-Optic Interface | 535

    Create a Loopback Plug for an RJ-45 Ethernet Interface | 536

    Configure a Local Loopback | 537

    Verify That the Fast Ethernet or Gigabit Ethernet Interface Is Up | 538

    Configure a Static Address Resolution Protocol Table Entry | 542

    Clear Fast Ethernet or Gigabit Ethernet Interface Statistics | 547

    Ping the Fast Ethernet or Gigabit Ethernet Interface | 548

    Check for Fast Ethernet or Gigabit Ethernet Interface Error Statistics | 549

    Diagnose a Suspected Circuit Problem | 551

    Performing Loopback Testing for 10, 40, and 100 Gigabit Ethernet Interfaces | 552

    Checklist for Using Loopback Testing for 10, 40, and 100 Gigabit Ethernet Interfaces | 552

    Diagnose a Suspected Hardware Problem with a Gigabit Ethernet Interface | 553

    Create a Loopback | 554

    Create a Physical Loopback for a Fiber-Optic Interface | 554

    Configure a Local Loopback | 555

    Verify That the Gigabit Ethernet Interface Is Up | 556

    Configure a Static Address Resolution Protocol Table Entry | 561

    Clear Gigabit Ethernet Interface Statistics | 563

    Ping the Gigabit Ethernet Interface | 563

    Check for Gigabit Ethernet Interface Error Statistics | 564

    Diagnose a Suspected Circuit Problem | 568

    Configuring Interface Diagnostics Tools to Test the Physical Layer Connections | 569

    Configuring Loopback Testing | 569

    Configuring BERT Testing | 571

    Starting and Stopping a BERT Test | 575

    xvi

  • Locating the Fast Ethernet and Gigabit Ethernet LINK Alarm and Counters | 576

    Checklist for Locating Fast Ethernet and Gigabit Ethernet Alarms and Counters | 576

    Display the Fast Ethernet or Gigabit Ethernet Interface LINK Alarm | 577

    Fast Ethernet and Gigabit Ethernet Counters | 579

    Troubleshooting: 10-Gigabit Ethernet Port Stuck in Down State | 582

    Verifying Link and Transceivers using Pseudo Random Binary Sequence (PRBS) Test | 584

    Verifying Link and Transceivers using Pseudo Random Binary Sequence (PRBS) Test | 584

    Guidelines to perform Bidirectional Diagnostics using Remote Loopback | 588

    Clearing the Interface Statistics | 591

    Configuration Statements and Operational Commands4Configuration Statements (OTN) | 595

    alarm (optics-options) | 597

    backward-frr-enable | 598

    ber-threshold-clear | 600

    ber-threshold-signal-degrade | 603

    bypass | 606

    bytes (otn-options) | 607

    cfp-to-et | 608

    fec | 609

    fec | 612

    fec (gigether) | 613

    fixed-stuff-bytes | 615

    high-polarization | 616

    interval | 617

    is-ma | 619

    laser-enable | 620

    line-loopback | 621

    local-loopback | 622

    monitor-end-point | 623

    no-odu-backward-frr-enable | 624

    no-odu-signal-degrade-monitor-enable | 625

    number-of-frames | 626

    oc192 | 627

    xvii

  • odu-delay-management | 628

    odu-backward-frr-enable | 629

    odu-signal-degrade | 630

    odu-signal-degrade-monitor-enable | 632

    odu-ttim-action-enable | 633

    otu-ttim-action-enable | 634

    otu4 | 635

    pass-through | 636

    prbs | 637

    preemptive-fast-reroute | 638

    rate | 639

    remote-loop-enable | 640

    signal-degrade | 642

    signal-degrade-monitor-enable | 643

    start-measurement | 645

    tca | 646

    transport-monitoring | 649

    trigger | 650

    tti | 655

    tx-power | 656

    warning | 657

    wavelength | 658

    Configuration Statements | 663

    accept-source-mac | 670

    access-concentrator | 672

    account-layer2-overhead (PIC Level) | 673

    adaptive | 674

    address | 676

    age | 680

    agent-specifier | 681

    aggregate (Gigabit Ethernet CoS Policer) | 683

    aggregated-ether-options | 684

    alarms | 686

    xviii

  • allow-remote-loopback | 687

    asynchronous-notification | 688

    auto-negotiation | 689

    auto-reconnect | 691

    bandwidth-limit (Policer for Gigabit Ethernet Interfaces) | 692

    bert-algorithm | 693

    bert-error-rate | 696

    bert-period | 698

    bridge-domain | 700

    burst-size-limit (Policer for Gigabit Ethernet Interfaces) | 701

    centralized | 702

    ces-psn-channel (tdm-options) | 704

    cfp-to-et | 705

    classifier | 706

    client | 707

    community-vlans (MX Series) | 708

    connectivity-fault-management | 709

    delay (PPPoE Service Name Tables) | 713

    destination (IPCP) | 714

    device-count | 715

    drop (PPPoE Service Name Tables) | 716

    dynamic-profile (PPPoE Service Name Tables) | 717

    egress-policer-overhead | 718

    encapsulation (Logical Interface) | 720

    encapsulation | 725

    ether-options | 732

    ethernet (Chassis) | 740

    ethernet-policer-profile | 741

    evcs | 743

    family | 744

    family | 746

    fastether-options | 752

    flow-control | 754

    fnp | 756

    xix

  • force-up | 757

    forwarding-class (Gigabit Ethernet IQ Classifier) | 758

    forwarding-mode (100-Gigabit Ethernet) | 759

    forwarding-mode (PTX Series Packet Transport Routers) | 760

    frame-error | 761

    frame-period | 762

    frame-period-summary | 763

    framing (10-Gigabit Ethernet Interfaces) | 764

    gigether-options | 766

    hash-key (Chassis LAG) | 773

    hold-time up | 775

    ieee802.1p | 776

    ignore-l3-incompletes | 777

    inet (chassis) | 778

    ingress-policer-overhead | 779

    ingress-rate-limit | 781

    inline | 782

    input-policer | 784

    input-priority-map | 785

    input-three-color | 786

    input-vlan-map (Aggregated Ethernet) | 787

    interface (LLDP) | 788

    interface (OAM Link-Fault Management) | 791

    interface-group | 793

    interface-group-down | 794

    interface-none | 795

    isolated-vlan (MX Series) | 796

    iwf-params (tdm-options) | 797

    lacp (802.3ad) | 798

    lacp (Aggregated Ethernet) | 799

    lacp | 802

    lacp (Protocols) | 803

    layer2-policer | 805

    link-adjacency-loss | 806

    xx

  • link-discovery | 807

    link-degrade-monitor | 808

    link-down | 809

    link-event-rate | 810

    link-fault-management | 811

    link-mode | 813

    link-protection | 815

    link-protection (non-LACP) | 817

    link-protection (Protocols LACP) | 818

    link-speed (Aggregated Ethernet) | 819

    link-speed (Aggregated SONET/SDH) | 821

    lmi (Ethernet OAM) | 822

    load-balance | 824

    load-balance-stateful (Aggregated Ethernet Interfaces) | 826

    load-type (Aggregated Ethernet Interfaces) | 827

    local-bias (ae load-balance) | 828

    logical-tunnel-options | 830

    loopback (Aggregated Ethernet, Fast Ethernet, and Gigabit Ethernet) | 832

    loopback (Local and Remote) | 834

    loopback-tracking | 835

    loss-priority | 836

    mac | 837

    mac-address (Accept Source Mac) | 838

    mac-learn-enable | 839

    mac-validate | 840

    master-only | 841

    max-sessions (PPPoE Service Name Tables) | 842

    max-sessions-vsa-ignore (Static and Dynamic Subscribers) | 843

    maximum-links | 845

    mc-ae | 847

    minimum-bandwidth (aggregated Ethernet) | 853

    minimum-links | 855

    mixed-rate-mode | 857

    mtu | 858

    xxi

  • mru | 862

    multicast-statistics | 863

    multiservice | 864

    negotiate-address | 865

    negotiation-options | 866

    no-adaptive | 867

    no-allow-link-events | 868

    no-auto-mdix | 869

    no-keepalives | 870

    no-pre-classifier | 871

    no-send-pads-ac-info | 872

    no-send-pads-error | 873

    non-revertive (Chassis) | 874

    non-revertive (Interfaces) | 875

    number-of-ports | 876

    number-of-sub-ports | 878

    oam | 880

    optics-options | 884

    otn-options | 886

    output-policer | 888

    output-priority-map | 889

    output-three-color | 890

    output-vlan-map (Aggregated Ethernet) | 891

    pado-advertise | 892

    passive-monitor-mode | 893

    payload | 894

    pdu-interval | 895

    pdu-threshold | 896

    per-flow (Aggregated Ethernet Interfaces) | 897

    periodic | 898

    pic-mode | 900

    policer (CFM Firewall) | 902

    policer (CoS) | 903

    policer (MAC) | 905

    xxii

  • port-priority | 907

    pp0 (Dynamic PPPoE) | 908

    ppm (Ethernet Switching) | 910

    pppoe-options | 911

    pppoe-underlying-options (Static and Dynamic Subscribers) | 913

    preferred-source-address | 914

    premium (Output Priority Map) | 916

    premium (Policer) | 917

    protocol-down | 918

    premium (Output Priority Map) | 919

    premium (Policer) | 920

    proxy | 921

    rebalance (Aggregated Ethernet Interfaces) | 922

    receive-options-packets | 923

    receive-ttl-exceeded | 924

    recovery | 925

    remote-loopback | 927

    restore-interval | 928

    revertive | 929

    routing-instance | 930

    routing-instance (PPPoE Service Name Tables) | 931

    rx-enable | 932

    rx-max-duration | 933

    sa-multicast (100-Gigabit Ethernet) | 934

    sa-multicast (PTX Series Packet Transport Routers) | 936

    send-critical-event | 937

    server | 938

    service (PPPoE) | 939

    service-name | 941

    service-name-table | 942

    service-name-tables | 944

    session-expiry (MX Series in Enhanced LAN Mode) | 945

    sonet | 946

    source-address-filter | 947

    xxiii

  • source-filtering | 949

    speed | 950

    speed | 951

    speed (Ethernet) | 954

    speed (MX Series DPC) | 962

    speed (Gigabit Ethernet interface) | 963

    speed (24-port and 12-port 10 Gigabit Ethernet PIC) | 965

    static-interface | 967

    switch-options | 968

    switch-port | 969

    symbol-period | 970

    symmetric-hash | 971

    sync-reset | 972

    syslog (OAM Action) | 973

    system-id | 974

    system-priority | 975

    system-priority | 976

    targeted-options (Grouping Subscribers by Bandwidth Usage) | 977

    targeted-options (Manual Targeting) | 979

    targeted-distribution | 981

    targeted-options | 982

    tdm-options (Interfaces) | 983

    terminate (PPPoE Service Name Tables) | 984

    thresholds | 985

    traceoptions (LLDP) | 987

    traceoptions (Individual Interfaces) | 990

    traceoptions (LACP) | 999

    traceoptions (PPPoE) | 1001

    tx-duration | 1004

    tx-enable | 1005

    underlying-interface | 1006

    unit | 1008

    unnumbered-address (Dynamic Profiles) | 1019

    unnumbered-address (PPP) | 1021

    xxiv

  • Unused | 1022

    virtual-control-channel | 1023

    virtual-switch | 1024

    vlan-rule (100-Gigabit Ethernet Type 4 PIC with CFP) | 1025

    vlan-steering (100-Gigabit Ethernet Type 4 PIC with CFP) | 1026

    Operational Commands | 1027

    clear interfaces interface-set statistics | 1029

    clear interfaces interval | 1030

    clear interfaces aeX forwarding-options load-balance state | 1032

    clear interfaces aggregate forwarding-options load-balance state | 1033

    clear interfaces transport pm | 1034

    clear protection-group ethernet-ring statistics | 1036

    prbs-test-start | 1037

    prbs-test-stop | 1039

    request interface link-degrade-recover | 1040

    request interface mc-ae switchover (Multichassis Link Aggregation) | 1044

    request interface (revert | switchover) (Aggregated Ethernet Link Protection) | 1046

    request lacp link-switchover | 1048

    show chassis hardware | 1049

    show chassis pic | 1066

    show ethernet-switching redundancy-groups | 1102

    show interfaces (Adaptive Services) | 1107

    show interfaces (Aggregated Ethernet) | 1115

    show interfaces demux0 (Demux Interfaces) | 1134

    show interfaces diagnostics optics (Gigabit Ethernet, 10-Gigabit Ethernet, 40-Gigabit Ethernet,100-Gigabit Ethernet, and Virtual Chassis Port) | 1146

    show interfaces (far-end-interval) | 1197

    show interfaces (Fast Ethernet) | 1199

    show interfaces | 1222

    show interfaces (M Series, MX Series, T Series Routers, and PTX Series Management and InternalEthernet) | 1331

    show interfaces (PPPoE) | 1354

    show interfaces interface-set (Ethernet Interface Set) | 1367

    show interfaces interface-set queue | 1373

    xxv

  • show interfaces interval | 1384

    show interfaces irb | 1388

    show interfaces mac-database | 1396

    show interfaces mc-ae | 1403

    show interfaces prbs-stats | 1410

    show interfaces smart-sfp-defects | 1412

    show interfaces smart-sfp-statistics | 1423

    show interfaces transport pm | 1437

    show l2-learning instance | 1447

    show l2-learning redundancy-groups | 1449

    show lacp interfaces | 1455

    show pppoe interfaces | 1462

    show pppoe service-name-tables | 1467

    show pppoe sessions | 1471

    show pppoe statistics | 1473

    show pppoe underlying-interfaces | 1476

    show pppoe version | 1485

    traceroute ethernet | 1487

    xxvi

  • About the Documentation

    IN THIS SECTION

    Documentation and Release Notes | xxvii

    Using the Examples in This Manual | xxvii

    Documentation Conventions | xxix

    Documentation Feedback | xxxii

    Requesting Technical Support | xxxii

    Use this guide to configure, monitor, and troubleshoot the various supported Ethernet Interfaces, includingaggregated Ethernet Interfaces on Juniper Networks routers.

    Documentation and Release Notes

    To obtain the most current version of all Juniper Networks® technical documentation, see the productdocumentation page on the Juniper Networks website at https://www.juniper.net/documentation/.

    If the information in the latest release notes differs from the information in the documentation, follow theproduct Release Notes.

    Juniper Networks Books publishes books by Juniper Networks engineers and subject matter experts.These books go beyond the technical documentation to explore the nuances of network architecture,deployment, and administration. The current list can be viewed at https://www.juniper.net/books.

    Using the Examples in This Manual

    If you want to use the examples in this manual, you can use the load merge or the load merge relativecommand. These commands cause the software to merge the incoming configuration into the currentcandidate configuration. The example does not become active until you commit the candidate configuration.

    If the example configuration contains the top level of the hierarchy (or multiple hierarchies), the exampleis a full example. In this case, use the load merge command.

    xxvii

    https://www.juniper.net/documentation/https://www.juniper.net/books

  • If the example configuration does not start at the top level of the hierarchy, the example is a snippet. Inthis case, use the loadmerge relative command. These procedures are described in the following sections.

    Merging a Full Example

    To merge a full example, follow these steps:

    1. From the HTML or PDF version of the manual, copy a configuration example into a text file, save thefile with a name, and copy the file to a directory on your routing platform.

    For example, copy the following configuration to a file and name the file ex-script.conf. Copy theex-script.conf file to the /var/tmp directory on your routing platform.

    system {scripts {commit {file ex-script.xsl;

    }}

    }interfaces {fxp0 {disable;unit 0 {family inet {address 10.0.0.1/24;

    }}

    }}

    2. Merge the contents of the file into your routing platform configuration by issuing the load mergeconfiguration mode command:

    [edit]user@host# load merge /var/tmp/ex-script.confload complete

    xxviii

  • Merging a Snippet

    To merge a snippet, follow these steps:

    1. From the HTML or PDF version of the manual, copy a configuration snippet into a text file, save thefile with a name, and copy the file to a directory on your routing platform.

    For example, copy the following snippet to a file and name the file ex-script-snippet.conf. Copy theex-script-snippet.conf file to the /var/tmp directory on your routing platform.

    commit {file ex-script-snippet.xsl; }

    2. Move to the hierarchy level that is relevant for this snippet by issuing the following configurationmodecommand:

    [edit]user@host# edit system scripts[edit system scripts]

    3. Merge the contents of the file into your routing platform configuration by issuing the load mergerelative configuration mode command:

    [edit system scripts]user@host# load merge relative /var/tmp/ex-script-snippet.confload complete

    For more information about the load command, see CLI Explorer.

    Documentation Conventions

    Table 1 on page xxx defines notice icons used in this guide.

    xxix

    https://www.juniper.net/techpubs/content-applications/cli-explorer/junos/

  • Table 1: Notice Icons

    DescriptionMeaningIcon

    Indicates important features or instructions.Informational note

    Indicates a situation that might result in loss of data or hardwaredamage.

    Caution

    Alerts you to the risk of personal injury or death.Warning

    Alerts you to the risk of personal injury from a laser.Laser warning

    Indicates helpful information.Tip

    Alerts you to a recommended use or implementation.Best practice

    Table 2 on page xxx defines the text and syntax conventions used in this guide.

    Table 2: Text and Syntax Conventions

    ExamplesDescriptionConvention

    To enter configuration mode, typethe configure command:

    user@host> configure

    Represents text that you type.Bold text like this

    user@host> show chassis alarms

    No alarms currently active

    Represents output that appears onthe terminal screen.

    Fixed-width text like this

    • A policy term is a named structurethat defines match conditions andactions.

    • Junos OS CLI User Guide

    • RFC 1997, BGP CommunitiesAttribute

    • Introduces or emphasizes importantnew terms.

    • Identifies guide names.

    • Identifies RFC and Internet drafttitles.

    Italic text like this

    xxx

  • Table 2: Text and Syntax Conventions (continued)

    ExamplesDescriptionConvention

    Configure the machine’s domainname:

    [edit]root@# set system domain-namedomain-name

    Represents variables (options forwhich you substitute a value) incommands or configurationstatements.

    Italic text like this

    • To configure a stub area, includethe stub statement at the [editprotocols ospf area area-id]hierarchy level.

    • The console port is labeledCONSOLE.

    Represents names of configurationstatements, commands, files, anddirectories; configuration hierarchylevels; or labels on routing platformcomponents.

    Text like this

    stub ;Encloses optional keywords orvariables.

    < > (angle brackets)

    broadcast | multicast

    (string1 | string2 | string3)

    Indicates a choice between themutually exclusive keywords orvariables on either side of the symbol.The set of choices is often enclosedin parentheses for clarity.

    | (pipe symbol)

    rsvp { # Required for dynamic MPLSonly

    Indicates a comment specified on thesame line as the configurationstatement to which it applies.

    # (pound sign)

    community name members [community-ids ]

    Encloses a variable for which you cansubstitute one or more values.

    [ ] (square brackets)

    [edit]routing-options {static {route default {nexthop address;retain;

    }}

    }

    Identifies a level in the configurationhierarchy.

    Indention and braces ( { } )

    Identifies a leaf statement at aconfiguration hierarchy level.

    ; (semicolon)

    GUI Conventions

    xxxi

  • Table 2: Text and Syntax Conventions (continued)

    ExamplesDescriptionConvention

    • In the Logical Interfaces box, selectAll Interfaces.

    • To cancel the configuration, clickCancel.

    Represents graphical user interface(GUI) items you click or select.

    Bold text like this

    In the configuration editor hierarchy,select Protocols>Ospf.

    Separates levels in a hierarchy ofmenu selections.

    > (bold right angle bracket)

    Documentation Feedback

    We encourage you to provide feedback so that we can improve our documentation. You can use eitherof the following methods:

    • Online feedback system—Click TechLibrary Feedback, on the lower right of any page on the JuniperNetworks TechLibrary site, and do one of the following:

    • Click the thumbs-up icon if the information on the page was helpful to you.

    • Click the thumbs-down icon if the information on the page was not helpful to you or if you havesuggestions for improvement, and use the pop-up form to provide feedback.

    • E-mail—Send your comments to [email protected]. Include the document or topic name,URL or page number, and software version (if applicable).

    Requesting Technical Support

    Technical product support is available through the Juniper Networks Technical Assistance Center (JTAC).If you are a customer with an active Juniper Care or Partner Support Services support contract, or are

    xxxii

    https://www.juniper.net/documentation/index.htmlhttps://www.juniper.net/documentation/index.htmlmailto:[email protected]?subject=

  • covered under warranty, and need post-sales technical support, you can access our tools and resourcesonline or open a case with JTAC.

    • JTAC policies—For a complete understanding of our JTAC procedures and policies, review the JTACUserGuide located at https://www.juniper.net/us/en/local/pdf/resource-guides/7100059-en.pdf.

    • Productwarranties—For productwarranty information, visit https://www.juniper.net/support/warranty/.

    • JTAC hours of operation—The JTAC centers have resources available 24 hours a day, 7 days a week,365 days a year.

    Self-Help Online Tools and Resources

    For quick and easy problem resolution, Juniper Networks has designed an online self-service portal calledthe Customer Support Center (CSC) that provides you with the following features:

    • Find CSC offerings: https://www.juniper.net/customers/support/

    • Search for known bugs: https://prsearch.juniper.net/

    • Find product documentation: https://www.juniper.net/documentation/

    • Find solutions and answer questions using our Knowledge Base: https://kb.juniper.net/

    • Download the latest versions of software and review release notes:https://www.juniper.net/customers/csc/software/

    • Search technical bulletins for relevant hardware and software notifications:https://kb.juniper.net/InfoCenter/

    • Join and participate in the Juniper Networks Community Forum:https://www.juniper.net/company/communities/

    • Create a service request online: https://myjuniper.juniper.net

    To verify service entitlement by product serial number, use our Serial Number Entitlement (SNE) Tool:https://entitlementsearch.juniper.net/entitlementsearch/

    Creating a Service Request with JTAC

    You can create a service request with JTAC on the Web or by telephone.

    • Visit https://myjuniper.juniper.net.

    • Call 1-888-314-JTAC (1-888-314-5822 toll-free in the USA, Canada, and Mexico).

    For international or direct-dial options in countries without toll-free numbers, seehttps://support.juniper.net/support/requesting-support/.

    xxxiii

    https://www.juniper.net/us/en/local/pdf/resource-guides/7100059-en.pdfhttps://www.juniper.net/support/warranty/https://www.juniper.net/customers/support/https://prsearch.juniper.net/https://www.juniper.net/documentation/https://kb.juniper.net/https://www.juniper.net/customers/csc/software/https://kb.juniper.net/InfoCenter/https://www.juniper.net/company/communities/https://myjuniper.juniper.nethttps://entitlementsearch.juniper.net/entitlementsearch/https://myjuniper.juniper.nethttps://support.juniper.net/support/requesting-support/

  • 1PART

    Ethernet Interfaces

    Configuring Ethernet Interfaces | 2

    Configuring Aggregated Ethernet Interfaces | 56

  • CHAPTER 1

    Configuring Ethernet Interfaces

    IN THIS CHAPTER

    Ethernet Interfaces Overview | 2

    Initial Configuration of Ethernet Interfaces | 3

    Flow Control for Ethernet Interfaces | 16

    MAC Address Filtering and Accounting on Ethernet Interfaces | 19

    Management Ethernet Interfaces | 24

    Power over Ethernet (PoE) on ACX Series Routers | 28

    Point-to-Point Protocol over Ethernet (PPPoE) | 40

    Ethernet Interfaces Overview

    Ethernet was developed in the early 1970s at the Xerox Palo Alto Research Center (PARC) as a data-linkcontrol layer protocol for interconnecting computers. It was first widely used at 10 megabits per second(Mbps) over coaxial cables and later over unshielded twisted pairs using 10Base-T. More recently,100Base-TX (Fast Ethernet, 100Mbps), Gigabit Ethernet (1 gigabit per second [Gbps]), 10-Gigabit Ethernet(10 Gbps), and 100-Gigabit Ethernet (100 Gbps) have become available.

    Juniper Networks routers support the following types of Ethernet interfaces:

    • Fast Ethernet

    • Tri-Rate Ethernet copper

    • Gigabit Ethernet

    • Gigabit Ethernet intelligent queuing (IQ)

    • Gigabit Ethernet IQ2 and IQ2-E

    • 10-Gigabit Ethernet IQ2 and IQ2-E

    • 10-Gigabit Ethernet

    • 10-Gigabit Ethernet dense wavelength-division multiplexing (DWDM)

    • 100-Gigabit Ethernet

    2

  • • Management Ethernet interface, which is an out-of-band management interface within the router

    • Internal Ethernet interface, which connects the Routing Engine to the packet forwarding components

    • Aggregated Ethernet interface, a logical linkage of Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernetphysical connections

    RELATED DOCUMENTATION

    Configuring MAC Address Filtering for Ethernet Interfaces | 20

    Configuring Flow Control | 18

    Configuring the Interface Speed on Ethernet Interfaces | 6

    Initial Configuration of Ethernet Interfaces

    IN THIS SECTION

    Configuring Ethernet Physical Interface Properties | 4

    Configuring the Interface Speed on Ethernet Interfaces | 6

    Configuring the Ingress Rate Limit | 7

    Configuring the Link Characteristics on Ethernet Interfaces | 8

    Configuring Multicast Statistics Collection on Ethernet Interfaces | 9

    MAC Address Validation on Static Ethernet Interfaces Overview | 10

    Configuring MAC Address Validation on Static Ethernet Interfaces | 11

    Displaying Internal Ethernet Interfaces for a Routing Matrix with a TX Matrix Plus Router | 12

    Example: Configuring Fast Ethernet Interfaces | 14

    Example: Configuring Gigabit Ethernet Interfaces | 15

    Ethernet Interfaces are networking Interfaces that provide traffic connectivity. You can configure physicalInterfaces as well as the logical Interfaces on your device. This topic discusses how to configure the physicalproperties of an Interface specific to Fast-Ethernet Interfaces, Gigabit-Ethernet Interfaces, and aggregatedEthernet Interfaces. You can also use this topic for information on how to configure the speed of theInterface, limit the rate at which ingress traffic arrives on Fast-Ethernet ports, configure the Interface tooperate in full-duplex or half-duplexmode, configureMAC address validation on static Ethernet Interfaces,and other basic configurations.

    3

  • Configuring Ethernet Physical Interface Properties

    To configure physical interface properties, for Fast Ethernet and Gigabit-Ethernet, DWDM interfaces, andother interfaces, complete the following steps:

    1. To configure Fast Ethernet-specific physical interface properties, include the fastether-options statementat the [edit interfaces fe-fpc/pic/port] hierarchy level:

    [edit interfaces fe-fpc/pic/port]user@host# set fastether-options;

    NOTE: The speed statement applies to the management Ethernet interface (fxp0 or em0),the Fast Ethernet 12-port and 48-port Physical Interface Card (PIC) interfaces and the MXSeries Tri-Rate Ethernet copper interfaces. The Fast Ethernet, fxp0, and em0 interfaces canbe configured for 10 Mbps or 100 Mbps (10m | 100m). The MX Series Tri-Rate Ethernetcopper interfaces can be configured for 10 Mbps, 100 Mbps, or 1 Gbps (10m | 100m | 1g).The 4-port and 8-port Fast Ethernet PICs support a speed of 100 Mbps only.

    MX Series routers support Gigabit Ethernet automatic line sensing ofMDI (Media DependentInterface) and MDIX (Media Dependent Interface with Crossover) port connections. MDI isthe Ethernet port connection typically used on network interface cards (NIC). MDIX is thestandard Ethernet port wiring for hubs and switches. This feature allows MX Series routersto automatically detectMDI andMDIX connections and configure the router port accordingly.You can disable this feature by using the no-auto-mdix statement at the [edit interfacesge-fpc/pic/port] hierarchy level.

    NOTE: Junos OS supports Ethernet host addresses with no subnets. This enables you toconfigure an Ethernet interface as a host address (that is, with a networkmask of /32), withoutrequiring a subnet. Such interfaces can serve as OSPF point-to-point interfaces, and MPLSis also supported.

    2. To configure physical interface properties specific to Gigabit Ethernet and 10-Gigabit Ethernet, includethe gigether-options statement at the [edit interfaces ge-fpc/pic/port] or [edit interfaces xe-fpc/pic/port]hierarchy level:

    [edit interfaces ge-fpc/pic/port]user@host# set gigether-options ;

    4

  • 3. For 10-Gigabit Ethernet DWDM-specific physical interface properties, include the optics-optionsstatement at the [edit interfaces ge-fpc/pic/port] hierarchy level:

    [edit interfaces ge-fpc/pic/port]user@ host# set optics-options;

    To configure Gigabit Ethernet IQ-specific physical interface properties, include the gigether-optionsstatement at the [edit interfaces ge-fpc/pic/port] hierarchy level. These statements are supported on10-Gigabit Ethernet IQ2 and IQ2-E PIC. Some of these statements are also supported on GigabitEthernet PICs with small form-factor pluggable transceivers (SFPs) (except the 10-port Gigabit EthernetPIC and the built-in Gigabit Ethernet port on the M7i router).

    [edit interfaces ge-fpc/pic/port]user@host# set gigether-options {

    4. To configure 10-Gigabit Ethernet physical interface properties, include the lan-phy orwan-phy statementat the [edit interfaces xe-fpc/pic/port framing] hierarchy level.

    [edit interfaces interface-name]user@host# set framing;

    5. To configure OAM 802.3ah support for Ethernet interfaces, include the oam statement at the [editprotocols] hierarchy level.

    [edit protocols]user@host# set oam;

    6. To configure Gigabit Ethernet IQ-specific logical interface properties, include the input-vlan-map,output-vlan-map, layer2-policer, and vlan-tags statements at the [edit interfaces interface-name unitlogical-unit-number] hierarchy level or [edit logical-systems logical-system-name interfaces interface-nameunit logical-unit-number].

    [edit interfaces interface-name unit logical-unit-number]user#host# set input-vlan-map;user@host# set output-vlan-map;user#host# set layer2-policer{user@host# set vlan-tags inner tpid.vlan-id outer tpid.vlan-id;

    7. To configure aggregated Ethernet-specific physical interface properties, include theaggregated-ether-options statement at the [edit interfaces aex] hierarchy level:

    5

  • [edit interfaces aex]user@host# set aggregated-ether-options;

    SEE ALSO

    Example: Configuring Gigabit Ethernet Interfaces | 15

    Configuring the Interface Speed on Ethernet Interfaces

    For M Series and T Series Fast Ethernet 12-port and 48-port PIC interfaces, the management Ethernetinterface (fxp0 or em0), and the MX Series Tri-Rate Ethernet copper interfaces, you can explicitly set theinterface speed. The Fast Ethernet, fxp0, and em0 interfaces can be configured for 10 Mbps or 100Mbps(10m | 100m). TheMXSeries Tri-Rate Ethernet copper interfaces can be configured for 10Mbps, 100Mbps,or 1 Gbps (10m | 100m | 1g). For information about management Ethernet interfaces and to determinethemanagement Ethernet interface type for your router, seeUnderstandingManagement Ethernet Interfacesand SupportedRouting Engines byRouterMXSeries routers, withMX-DPC and Tri-Rate Copper SFPs, support20x1 Copper to provide backwards compatibility with 100/10BASE-T and 1000BASE-T operation throughan Serial Gigabit Media Independent Interface (SGMII) interface.

    1. In configuration mode, go to the [edit interfaces interface-name] hierarchy level.

    [edit ]user@host# edit interfaces interface-name

    2. To configure the speed, include the speed statement at the [edit interfaces interface-name] hierarchylevel.

    [edit interfaces interface-name]user@host# set speed (10m | 100m | 1g | auto | auto-10m-100m);

    6

  • NOTE:• By default, the M Series and T Series routers management Ethernet interface autonegotiateswhether to operate at 10 megabits per second (Mbps) or 100 Mbps. All other interfacesautomatically choose the correct speed based on the PIC type andwhether the PIC is configuredto operate in multiplexed mode (using the no-concatenate statement in the [edit chassis]configuration hierarchy.

    • Starting with Junos OS Release 14.2 the auto-10m-100m option allows the fixed tri-speedport to auto negotiate with ports limited by 100m or 10mmaximum speed. This option mustbe enabled only for Tri-rate MPC port, that is, 3D 40x 1GE (LAN) RJ45 MIC on MX platform.This option does not support other MICs on MX platform.,

    • When you manually configure Fast Ethernet interfaces on the M Series and T Series routers,link mode and speed must both be configured. If both these values are not configured, therouter uses autonegotiation for the link and ignores the user-configured settings.

    • If the link partner does not support autonegotiation, configure either Fast Ethernet portmanually to match its link partner's speed and link mode. When the link mode is configured,autonegotiation is disabled.

    • On MX Series routers with tri-rate copper SFP interfaces, if the port speed is negotiated tothe configured value and the negotiated speed and interface speed do not match, the link willnot be brought up.

    • When you configure the Tri-Rate Ethernet copper interface to operate at 1 Gbps,autonegotiation must be enabled.

    • Starting with Junos OS Release 11.4, half-duplex mode is not supported on Tri-Rate Ethernetcopper interfaces. When you include the speed statement, you must include the link-modefull-duplex statement at the same hierarchy level.

    SEE ALSO

    speed | 954

    Configuring the Ingress Rate Limit

    On Fast Ethernet 8-port, 12-port, and 48-port PIC interfaces only, you can apply port-based rate limitingto the ingress traffic that arrives at the PIC.

    To configure an ingress rate limit on a Fast Ethernet 8-port, 12-port, or 48-port PIC interface, include theingress-rate-limit statement at the [edit interfaces interface-name fastether-options] hierarchy level:

    7

  • [edit interfaces interface-name fastether-options]ingress-rate-limit rate;

    rate can range in value from 1 through 100 Mbps.

    SEE ALSO

    ingress-rate-limit | 781

    Configuring the Link Characteristics on Ethernet Interfaces

    Full-duplex communication means that both ends of the communication can send and receive signals atthe same time. Half-duplex is also bidirectional communication, but signals can flow in only one directionat a time.

    By default, the router’s management Ethernet interface, fxp0 or em0, autonegotiates whether to operatein full-duplex or half-duplex mode. Fast Ethernet interfaces, can operate in either full-duplex or half-duplexmode, and all other interfaces can operate only in full-duplex mode. For Gigabit Ethernet and 10-GigabitEthernet, the link partner must also be set to full duplex.

    NOTE: For M Series, MX Series, and most T Series routers, the management Ethernet interfaceis fxp0. For T1600 and T4000 routers configured in a routing matrix, and TXMatrix Plus routers,the management Ethernet interface is em0.

    NOTE: Automated scripts that you have developed for standalone T1600 routers (T1600 routersthat are not in a routing matrix) might contain references to the fxp0 management Ethernetinterface. Before reusing the scripts on T1600 routers in a routing matrix, edit the commandlines that reference the fxp0 management Ethernet interface so that the commands referencethe em0 management Ethernet interface instead.

    NOTE: When you configure the Tri-Rate Ethernet copper interface to operate at 1 Gbps,autonegotiation must be enabled.

    8

  • NOTE: When you manually configure Fast Ethernet interfaces on the M Series and T Seriesrouters, link mode and speed must both be configured. If both these values are not configured,the router uses autonegotiation for the link and ignores the user-configured settings.

    NOTE: Member links of an aggregated Ethernet bundle must not be explicitly configured witha linkmode. Youmust remove any such link-mode configuration before committing the aggregatedEthernet configuration.

    To explicitly configure an Ethernet interface to operate in either full-duplex or half-duplex mode, includethe link-mode statement at the [edit interfaces interface-name] hierarchy level:

    [edit interfaces interface-name]link-mode (full-duplex | half-duplex);

    NOTE: Starting in JunosOS release 16.1R7 and later, the link-mode configuration is not supportedon 10-Gigabit Ethernet interfaces.

    SEE ALSO

    link-mode | 813

    Configuring Multicast Statistics Collection on Ethernet Interfaces

    T Series and TXMatrix routers support multicast statistics collection on Ethernet interfaces in both ingressand egress directions. The multicast statistics functionality can be configured on a physical interface thusenabling multicast accounting for all the logical interfaces below the physical interface.

    The multicast statistics information is displayed only when the interface is configured with themulticast-statistics statement, which is not enabled by default.

    Multicast statistics collection requires at least one logical interface is configured with family inet and/orinet6; otherwise, the commit for multicast-statistics will fail.

    The multicast in/out statistics can be obtained via interfaces statistics query through CLI and via MIBobjects through SNMP query.

    9

  • To configure multicast statistics:

    1. Include the multicast-statistics statement at the [edit interfaces interface-name] hierarchy level.

    An example of a multicast statistics configuration for a Ethernet interface follows:

    [edit interfaces]ge-fpc/pic/port {multicast-statistics;

    }

    To display multicast statistics, use the show interfaces interface-name statistics detail command.

    SEE ALSO

    multicast-statistics | 863

    Configuring Multicast Statistics Collection on Aggregated Ethernet Interfaces

    MAC Address Validation on Static Ethernet Interfaces Overview

    MAC address validation enables the router to validate that received packets contain a trusted IP sourceand an Ethernet MAC source address.

    MAC address validation is supported on AE, Fast Ethernet, Gigabit Ethernet, and 10–Gigabit Ethernetinterfaces (with or without VLAN tagging) on MX Series routers only.

    There are two types of MAC address validation that you can configure:

    • Loose—Forwards packets when both the IP source address and the MAC source address match one ofthe trusted address tuples.

    Drops packets when the IP source address matches one of the trusted tuples, but the MAC addressdoes not support the MAC address of the tuple

    Continues to forward packets when the source address of the incoming packet does not match any ofthe trusted IP addresses.

    • Strict—Forwards packets when both the IP source address and the MAC source address match one ofthe trusted address tuples.

    Drops packets when the MAC address does not match the tuple's MAC source address, or when IPsource address of the incoming packet does not match any of the trusted IP addresses.

    10

  • SEE ALSO

    Configure ARP Learning and Aging Options

    Configuring MAC Address Validation on Static Ethernet Interfaces

    MAC address validation enables the router to validate that received packets contain a trusted IP sourceand an Ethernet MAC source address. MAC address validation is supported on AE, Fast Ethernet, GigabitEthernet, and 10–Gigabit Ethernet interfaces (with or without VLAN tagging) on MX Series routers only.

    To configure MAC address validation on static Ethernet Interfaces:

    1. In the configuration mode, at the [edit] hierarchy level, configure the static Ethernet interface.

    [edit]user@host# edit interfaces interface-name

    2. Configure the protocol family and the logical unit of the interface at the [edit interfaces interface-name]hierarchy level. While configuring the protocol family, specify inet as the protocol family.

    [edit interfaces interface-name]user@host# edit unit logical-unit-number family inet

    3. Configure MAC address validation on the static Ethernet Interface. You can specify the type of MACaddress validation you require. Possible values are: Strict and Loose. You can also specify the interfaceaddress.

    [edit interfaces interface-name] unit logical-unit-number family inetuser@host# set mac-validate option address address

    4. Configure the static ARP entry by specifying the IP address and theMAC address that are to bemapped.The IP address specified must be part of the subnet defined in the enclosing address statement. TheMAC address must be specified as hexadecimal bytes in the following formats: nnnn.nnnn.nnnn ornn:nn:nn:nn:nn:nnformat. For instance, you can use either 0011.2233.4455 or 00:11:22:33:44:55.

    [edit interfaces interface-name unit logical-unit-number family inet address interface-addressuser@host# set arp ip-address mac mac-address

    SEE ALSO

    11

  • family | 746

    mac-validate | 840

    Displaying Internal Ethernet Interfaces for a Routing Matrix with a TX Matrix Plus Router

    The router internal Ethernet interface connects the Routing Engine with the router’s packet forwardingcomponents. The Junos OS automatically configures internal Ethernet interfaces. For TX Matrix Plusrouters, the internal Ethernet interfaces are ixgbe0 and ixgbe1. For T1600 routers configured in a routingmatrix, the internal Ethernet interfaces are bcm0 and em1. For more information about internal Ethernetinterfaces, see Understanding Internal Ethernet Interfaces.

    NOTE: Do not modify or remove the configuration for the internal Ethernet interface that theJunos OS automatically configures. If you do, the router will stop functioning.

    The following example is a sequence of show interfaces commands issued in a Junos OS command-lineinterface (CLI) session with a TX Matrix Plus router in a routing matrix. In the example, the TX Matrix Plusrouter, which is also called the switch-fabric chassis (SFC), is known by the IP host name host-sfc-0 andcontains redundant Routing Engines. The commands display information about the management Ethernetinterface and both internal Ethernet interfaces configured on the Routing Engine towhich you are currentlylogged in:

    user@host-sfc-0> show interfaces em0 terse

    Interface Admin Link Proto Local Remote

    em0 up up

    em0.0 up up inet 192.168.35.95/24

    user@host-sfc-0> show interfaces ixgbe0 terse

    Interface Admin Link Proto Local Remote

    ixgbe0 up up

    ixgbe0.0 up up inet 10.34.0.4/8

    162.0.0.4/2

    inet6 fe80::200:ff:fe22:4/64

    fec0::a:22:0:4/64

    tnp 0x22000004

    user@host-sfc-0> show interfaces ixgbe1 terse

    12

  • Interface Admin Link Proto Local Remote

    ixgbe1 up up

    ixgbe1.0 up up inet 10.34.0.4/8

    162.0.0.4/2

    inet6 fe80::200:1ff:fe22:4/64

    fec0::a:22:0:4/64

    tnp 0x22000004

    The following example is a sequence of show interfaces commands issued in a CLI session with a T1600router in a routingmatrix. In the example, the T1600 router, which is also called the line-card chassis (LCC),is known by the IP host name host-sfc-0-lcc-2 and contains redundant Routing Engines.

    This T1600 router is connected to the routing matrix through a connection in the TXP-SIB-F13 in slot 2of the SCC. The commands display information about themanagement Ethernet interface and both internalEthernet interfaces configured on the Routing Engine to which you are currently logged in:

    NOTE: In a routingmatrix, the show interfaces command displays information about the currentrouter only. If you are logged in to the TX Matrix Plus router, the show interfaces commandoutput does not include information about any of the attached T1600 routers. To display interfaceinformation about a specific T1600 router in the routing matrix, you must first log in to thatrouter.

    The previous example shows a CLI session with the TXMatrix Plus router. To display interface informationabout the T1600 router known as host-sfc-0-lcc-2, first use the request routing-engine login commandto log in to that LCC.

    user@host-sfc-0> request routing-engine login lcc 2

    --- JUNOS 9.6I built 2009-06-22 18:13:04 UTC

    % cli

    warning: This chassis is a Line Card Chassis (LCC) in a multichassis system.

    warning: Use of interactive commands should be limited to debugging.

    warning: Normal CLI access is provided by the Switch Fabric Chassis (SFC).

    warning: Please logout and log into the SFC to use CLI.

    user@host-sfc-0-lcc-2> show interfaces em0 terse

    13

  • Interface Admin Link Proto Local Remote

    em0 up up

    em0.0 up up inet 192.168.35.117/24

    user@host-sfc-0-lcc-2> show interfaces bcm0 terse

    Interface Admin Link Proto Local Remote

    bcm0 up up

    bcm0.0 up up inet 10.1.0.5/8

    129.0.0.5/2

    inet6 fe80::201:ff:fe01:5/64

    fec0::a:1:0:5/64

    tnp 0x1000005

    user@host-sfc-0-lcc-2> show interfaces em1 terse

    Interface Admin Link Proto Local Remote

    em1 up up

    em1.0 up up inet 10.1.0.5/8

    129.0.0.5/2

    inet6 fe80::201:1ff:fe01:5/64

    fec0::a:1:0:5/64

    tnp 0x1000005

    SEE ALSO

    Understanding Internal Ethernet Interfaces

    Example: Configuring Fast Ethernet Interfaces

    The following configuration is sufficient to get a Fast Ethernet interface up and running. By default, IPv4Fast Ethernet interfaces use Ethernet version 2 encapsulation.

    [edit]user@host# set interfaces fe-5/2/1 unit 0 family inet address local-addressuser@host# show

    14

  • interfaces {fe-5/2/1 {unit 0 {family inet {address local-address;

    }}

    }}

    SEE ALSO

    Management Ethernet Interfaces | 24

    Configuring Ethernet Interfaces

    Example: Configuring Gigabit Ethernet Interfaces

    The following configuration is sufficient to get a Gigabit Ethernet, Tri-Rate Ethernet copper, or 10-GigabitEthernet interface up and running. By default, IPv4 Gigabit Ethernet interfaces on MX Series, M Series,and T Series routers use 802.3 encapsulation.

    [edit]user@host# set interfaces ge-2/0/1 unit 0 family inet address local-addressuser@host# showinterfaces {ge-2/0/1 {unit 0 {family inet {address local-address;

    }}

    }}

    The M160, M320, M120, T320, and T640 2-port Gigabit Ethernet PIC supports two independent GigabitEthernet links.

    Each of the two interfaces on the PIC is named:

    ge-fpc/pic/[0.1]

    15

  • Each of these interfaces has functionality identical to the Gigabit Ethernet interface supported on thesingle-port PIC.

    SEE ALSO

    Configuring Gigabit and 10-Gigabit Ethernet Interfaces

    Display the Status of Gigabit Ethernet Interfaces | 523

    Monitoring Fast Ethernet and Gigabit Ethernet Interfaces | 520

    Release History Table

    DescriptionRelease

    Starting with Junos OS Release 14.2 the auto-10m-100m option allows the fixed tri-speed port toauto negotiate with ports limited by 100m or 10mmaximum speed. This option must be enabledonly for Tri-rate MPC port, that is, 3D 40x 1GE (LAN) RJ45 MIC on MX platform. This option doesnot support other MICs on MX platform.

    14.2

    Starting with JunosOS Release 11.4, half-duplexmode is not supported on Tri-Rate Ethernet copperinterfaces. When you include the speed statement, you must include the link-mode full-duplexstatement at the same hierarchy level.

    11.4

    RELATED DOCUMENTATION

    MAC Address Filtering and Accounting on Ethernet Interfaces | 19

    Management Ethernet Interfaces | 24

    Flow Control for Ethernet Interfaces

    IN THIS SECTION

    Understanding Flow Control | 17

    Configuring Flow Control | 18

    16

  • The MX, T, and PTX Series routers support IEEE 802.3X Ethernet PAUSE method of flow control. Flowcontrol is enabled by default on all physical interfaces. This topic provides an overview of flow control forEthernet Interfaces. It also describes how to explicitly enable flow control as well as disable flow controlfor Ethernet Interfaces.

    Understanding Flow Control

    IN THIS SECTION

    IEEE 802.3X Ethernet PAUSE | 17

    Flow control supports lossless transmission by regulating traffic flows to avoid dropping frames duringperiods of congestion. Flow control stops and resumes the transmission of network traffic between twoconnected peer nodes on a full-duplex Ethernet physical link. Controlling the flow by pausing and restartingit prevents buffers on the nodes from overflowing and dropping frames. You configure flow control on aper-interface basis.

    By default, all forms of flow control are enabled. You must explicitly enable flow control on interfaces topause traffic.

    IEEE 802.3X Ethernet PAUSE

    Ethernet PAUSE is a congestion relief feature that works by providing link-level flow control for all trafficon a full-duplex Ethernet link. Ethernet PAUSE works in both directions on the link. In one direction, aninterface generates and sends Ethernet PAUSE messages to stop the connected peer from sending moretraffic. In the other direction, the interface responds to Ethernet PAUSE messages it receives from theconnected peer to stop sending traffic. Ethernet PAUSE also works on aggregated Ethernet interfaces.For example, if the connected peer interfaces are called Node A and Node B:

    • When the receive buffers on interface Node A reach a certain level of fullness, the interface generatesand sends an Ethernet PAUSE message to the connected peer (interface Node B) to tell the peer to stopsending frames. The Node B buffers store frames until the time period specified in the Ethernet PAUSEframe elapses; then Node B resumes sending frames to Node A.

    • When interface Node A receives an Ethernet PAUSE message from interface Node B, interface NodeA stops transmitting frames until the time period specified in the Ethernet PAUSE frame elapses; thenNode A resumes transmission. (The Node A transmit buffers store frames until Node A resumes sendingframes to Node B.)

    In this scenario, if Node B sends an Ethernet PAUSE frame with a time value of 0 to Node A, the 0 timevalue indicates to Node A that it can resume transmission. This happens when the Node B buffer emptiesto below a certain threshold and the buffer can once again accept traffic.

    17

  • Symmetric Flow Control

    Symmetric flow control configures both the receive and transmit buffers in the same state. The interfacecan both send Ethernet PAUSE messages and respond to them (flow control is enabled), or the interfacecannot send Ethernet PAUSE messages or respond to them (flow control is disabled).

    You configure symmetric flow control by including the flow-control statement at the [edit interfacesinterface-name ether-options] hierarchy level.

    When you enable symmetric flow control on an interface, the Ethernet PAUSE behavior depends on theconfiguration of the connected peer. With symmetric flow control enabled, the interface can perform anyEthernet PAUSE functions that the connected peer can perform. (When symmetric flow control is disabled,the interface does not send or respond to Ethernet PAUSE messages.)

    SEE ALSO

    flow-control | 754

    Configuring Flow Control

    By default, the router or switch imposes flow control to regulate the amount of traffic sent out on a FastEthernet, Tri-Rate Ethernet copper, Gigabit Ethernet, and 10-Gigabit Ethernet interface. Flow control isnot supported on the 4-port Fast Ethernet PIC. This is useful if the remote side of the connection is a FastEthernet or Gigabit Ethernet switch.

    You can disable flow control if you want the router or switch to permit unrestricted traffic. To disable flowcontrol, include the no-flow-control statement:

    no-flow-control;

    To explicitly reinstate flow control, include the flow-control statement:

    flow-control;

    You can include these statements at the following hierarchy levels:

    • [edit interfaces interface-name aggregated-ether-options]

    • [edit interfaces interface-name ether-options]

    • [edit interfaces interface-name fastether-options]

    • [edit interfaces interface-name gigether-options]

    18

  • NOTE: On the Type 5 FPC, to prioritize control packets in case of ingress oversubscription, youmust ensure that the neighboring peers support MAC flow control. If the peers do not supportMAC flow control, then you must disable flow control.

    SEE ALSO

    flow-control | 754

    Ethernet Interfaces Overview | 2

    RELATED DOCUMENTATION

    Understanding Priority-Based Flow Control

    Understanding CoS Flow Control (Ethernet PAUSE and PFC)

    MAC Address Filtering and Accounting on Ethernet Interfaces

    IN THIS SECTION

    Configuring MAC Address Filtering for Ethernet Interfaces | 20

    Configuring MAC Address Filtering on PTX Series Packet Transport Routers | 22

    Configuring MAC Address Accounting | 23

    To block all incoming packets from a specific MAC address, you can enable MAC address filtering. Youcan configure an Ethernet Interface to dynamically learn source or destination MAC addresses. This topicdescribes how to enable MAC address filtering and how to configure MAC address accounting.

    19

  • Configuring MAC Address Filtering for Ethernet Interfaces

    IN THIS SECTION

    Enabling Source Address Filtering | 20

    Enabling Source Address Filtering

    On aggregated Ethernet interfaces, Fast Ethernet, Gigabit Ethernet, Gigabit Ethernet IQ, and GigabitEthernet PICs with SFPs (except the 10-port Gigabit Ethernet PIC and the built-in Gigabit Ethernet porton the M7i router), you can enable source address filtering to block all incoming packets from a specificMAC address.

    To enable the filtering, include the source-filtering statement at the following hierarchy levels:

    • [edit interfaces interface-name aggregated-ether-options]

    • [edit interfaces interface-name fastether-options]

    • [edit interfaces interface-name gigether-options]

    NOTE: When you integrate a standalone T640 router into a routing matrix, the PIC mediaaccess control (MAC) addresses for the integrated T640 router are derived from a pool ofMAC addresses maintained by the TXMatrix router. For eachMAC address you specify in theconfiguration of a formerly standalone T640 router, you must specify the same MAC addressin the configuration of the TX Matrix router.

    Similarly, when you integrate a T1600 or T4000 router into a routing matrix, the PIC MACaddresses for the integrated T1600 or T4000 router are derived from a pool ofMAC addressesmaintained by the TXMatrix Plus router. For eachMAC address you specify in the configurationof a formerly standalone T1600 or T4000 router, you must specify the same MAC address inthe configuration of the TX Matrix Plus router.

    When source address filtering is enabled, you can configure the interface to receive packets from specificMAC addresses. To do this, specify theMAC addresses in the source-address-filtermac-address statementat the following hierarchy levels:

    • [edit interfaces interface-name aggregated-ether-options]

    • [edit interfaces interface-name fastether-options]

    • [edit interfaces interface-name gigether-options]

    20

  • You can specify the MAC address as nn:nn:nn:nn:nn:nn or nnnn .nnnn.nnnn, where n is a hexadecimalnumber. You can configure up to 64 source addresses. To specify more than one address, include thesource-address-filter statement multiple times.

    NOTE: The source-address-filter statement is not supported onGigabit Ethernet IQ andGigabitEthernet PICswith SFPs (except the 10-port Gigabit Ethernet PIC and the built-in Gigabit Ethernetport on theM7i router); instead, include the accept-source-mac statement. Formore information,see “Configuring Gigabit Ethernet Policers” on page 252.

    If the remote Ethernet card is changed, the interface cannot receive packets from the new cardbecause it has a different MAC address.

    Source address filtering does notworkwhen Link Aggregation Control Protocol (LACP) is enabled.This behavior is not applicable to T series routers and PTX Series Packet Transport Routers. Formore information about LACP, see “Aggregated Ethernet Interfaces” on page 57.

    NOTE: On untagged Gigabit Ethernet interfaces, you should not configure thesource-address-filter statement at the [edit interfaces ge-fpc/pic/port gigether-options] hierarchylevel and the accept-source-mac statement at the [edit interfaces ge-fpc/pic/port gigether-optionsunit logical-unit-number] hierarchy level simultaneously. If these statements are configured forthe same interfaces at the same time, an error message is displayed.

    On tagged Gigabit Ethernet interfaces, you should not configure the source-address-filterstatement at the [edit interfaces [edit interfaces ge-fpc/pic/port gigether-options] hierarchylevel and the accept-source-mac statement at the [edit interfaces ge-fpc/pic/port gigether-optionsunit logical-unit-number] hierarchy level with an identical MAC address specified in both filters.If these statements are configured for the same interfaceswith an identicalMAC address specified,an error message is displayed.

    NOTE: The source-address-filter statement is not supported onMX Series routers withMPC4E(model numbers: MPC4E-3D-32XGE-SFPP and MPC4E-3D-2CGE-8XGE); instead, include theaccept-source-mac statement. For more information, see “Configuring Gigabit Ethernet Policers”on page 252.

    SEE ALSO

    21

  • source-address-filter | 947

    Aggregated Ethernet Interfaces | 57

    Ethernet Interfaces Overview | 2

    Configuring MAC Address Filtering on PTX Series Packet Transport Routers

    This topic describes how to configureMAC filtering on PTX Series Packet Transport Routers. MAC filteringenables you to specify the MAC addresses from which the Ethernet interface can receive packets.

    MAC filtering support on PTX Series Packet Transport Routers includes:

    • MAC source and destination address filtering for each port.

    • MAC source address filtering for each physical interface.

    • MAC source address filtering for each logical interface.

    When you filter logical and physical interfaces, you can specify up to 1000 MAC source addresses perport.

    To configure MAC source address filtering for a physical interface, include the source-filtering andsource-address-filter statements at the [edit interfaces et-fpc/pic/port gigether-options] hierarchy level:

    [edit interfaces]et-x/y/z {gigether-options {source-filtering;source-address-filter {mac-address;

    }}

    }

    The source-address-filter statement configures which MAC source addresses are filtered. The specifiedphysical interface drops all packets from theMAC source addresses you specify. You can specify theMACaddress as nn:nn:nn:nn:nn:nnwhere n is a decimal digit. To specify more than one address, includemultiplemac-address options in the source-address-filter statement.

    To configureMAC source address filtering for a logical interface, include the accept-source-mac statementat the [edit interfaces et-fpc/pic/port unit logical-unit-number] hierarchy level:

    [edit interfaces]et-x/y/z {gigether-options {source-filtering;

    22

  • }unit logical-unit-number {accept-source-mac {mac-address mac-address;

    }}

    }

    The accept-source-mac statement configures which MAC source addresses are accepted on the logicalinterface. You can specify the MAC address as nn:nn:nn:nn:nn:nn where n is a decimal digit. To specifymore than one address, include multiple mac-address mac-address options in the accept-source-macstatement.

    After an interface filter is configured, there is an accounting entry that is associated with theMAC addressfilter. Counters accumulate if there are packets with matching MAC source addresses. You can use theshow interfaces mac-database Junos OS CLI command to view the address count.

    SEE ALSO