config guide mpls applications kho tài liệu bách khoa

2.2K 919 0
config guide mpls applications kho tài liệu bách khoa

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Junosđ OS MPLS Applications Feature Guide Modified: 2017-06-08 Copyright â 2017, Juniper Networks, Inc Juniper Networks, Inc 1133 Innovation Way Sunnyvale, California 94089 USA 408-745-2000 www.juniper.net Juniper Networks, Junos, Steel-Belted Radius, NetScreen, and ScreenOS are registered trademarks of Juniper Networks, Inc in the United States and other countries The Juniper Networks Logo, the Junos logo, and JunosE are trademarks of Juniper Networks, Inc All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners Juniper Networks assumes no responsibility for any inaccuracies in this document Juniper Networks reserves the right to change, modify, transfer, or otherwise revise this publication without notice ® Junos OS MPLS Applications Feature Guide Copyright © 2017, 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-related limitations 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 End User License Agreement (“EULA”) posted at http://www.juniper.net/support/eula.html By downloading, installing or using such software, you agree to the terms and conditions of that EULA ii Copyright © 2017, Juniper Networks, Inc Table of Contents About the Documentation xlv Documentation and Release Notes xlv Supported Platforms xlv Using the Examples in This Manual xlv Merging a Full Example xlvi Merging a Snippet xlvi Documentation Conventions xlvii Documentation Feedback xlix Requesting Technical Support xlix Self-Help Online Tools and Resources xlix Opening a Case with JTAC l Part Understanding Traffic Engineering Chapter Traffic Engineering Overview Traffic Engineering Capabilities Components of Traffic Engineering Packet Forwarding Component Packet Forwarding Based on Label Swapping How a Packet Traverses an MPLS Backbone Information Distribution Component Path Selection Component Offline Path Planning and Analysis Signaling Component Flexible LSP Calculation and Configuration Link-State Distribution Using BGP Overview Role of an Interior Gateway Protocol Limitations of an Interior Gateway Protocol Need for Spanning Link-State Distribution 10 Using BGP as a Solution 10 Overview 10 Implementation 11 Supported and Unsupported Features 15 BGP Link-State Extensions for Source Packet Routing in Networking (SPRING) 16 Source Packet Routing in Networking (SPRING) 16 Flow of BGP Link-State SPRING Data 17 Supported BGP Link-State Attributes and TLVs, and Unsupported Features for BGP Link-State with SPRING 18 Copyright © 2017, Juniper Networks, Inc iii MPLS Applications Feature Guide Part Configuring MPLS Chapter MPLS Overview 23 Introduction to MPLS 24 Supported MPLS Standards 24 Link-Layer Support in MPLS 27 MPLS and Traffic Engineering 28 MPLS Label Overview 28 Special MPLS Labels 29 MPLS Label Allocation 30 Operations on MPLS Labels 31 Entropy Label Support in Mixed Mode Overview 32 Routers in an LSP 32 How a Packet Travels Along an LSP 32 Types of LSPs 33 Scope of LSPs 33 Constrained-Path LSP Computation 34 How CSPF Selects a Path 35 CSPF Path Selection Tie-Breaking 36 Computing CSPF Paths Offline 37 Path Computation for LSPs on an Overloaded Router 37 Computing Backup Paths for LSPs Using Fate Sharing 38 Using Labeled-Switched Paths to Augment SPF to Compute IGP Shortcuts 38 Enabling IGP Shortcuts 40 LSPs Qualified in IGP Shortcut Computations 40 IGP Shortcut Applications 40 IGP Shortcuts and Routing Tables 41 IGP Shortcuts and VPNs 41 Advertising LSPs into IGPs 42 IP and MPLS Packets on Aggregated Interfaces 43 MPLS Applications 43 BGP Destinations 44 IGP and BGP Destinations 45 Selecting a Forwarding LSP Next Hop 46 Example: Assigning Different Forwarding Next-Hop LSPs to Different Destination Prefixes 46 MPLS and Routing Tables 47 MPLS and Traffic Protection 49 Fast Reroute Overview 50 Detour Merging Process 52 Detour Computations 53 Fast Reroute Path Optimization 54 On-Demand Packet Loss and Delay Measurement for UHP LSPs Overview 54 Importance of Measuring Packet Loss and Delay 54 Defining Packet Loss, Delay, and Throughput 55 Packet Loss and Delay Measurement Mechanisms 55 Packet Loss and Delay Metrics 56 Packet Loss and Delay Measurement Concepts 56 Packet Loss and Delay Measurement Functionality 59 iv Copyright © 2017, Juniper Networks, Inc Table of Contents Packet Loss and Delay Features 60 Chapter Configuring MPLS Routers 63 Configuring the Ingress Router for MPLS-Signaled LSPs 64 Creating Named Paths 64 Examples: Creating Named Paths 65 Configuring Alternate Backup Paths Using Fate Sharing 66 Configuring Fate Sharing 66 Implications for CSPF 67 Implications for CSPF When Fate Sharing with Bypass LSPs 68 Example: Configuring Fate Sharing 68 Configuring MPLS 68 Example: Configuring an Explicit-Path LSP 69 Example: Configuring a Constrained-Path LSP for Which Junos OS Makes All Forwarding Decisions 70 Example: Configuring a Constrained-Path LSP for Which Junos OS Makes Most Forwarding Decisions and Considers Hop Constraints 70 Example: Configuring a Constrained-Path LSP for Which Junos OS Makes Most Forwarding Decisions and the Secondary Path Is Explicit 71 Abstract Hops for MPLS LSPs Overview 72 Understanding Abstract Hops 72 Benefits of Using Abstract Hops 73 Specifying a Sequence of Constraint Combinations 73 Avoiding New Network Configuration on Transit Nodes 73 Combining Centralized and Distributed Path Computation Paradigms 74 Junos OS Implementation of Abstract Hops 75 Defining Abstract Hops 75 Using Abstract Hops in Path Constraint 78 Path Computation and Backtracking 81 Sample Backtracking 81 Example: Configuring Abstract Hops for MPLS LSPs 82 Improving Traffic Engineering Database Accuracy with RSVP PathErr Messages 99 PathErr Messages 100 Identifying the Problem Link 101 Configuring the Router to Improve Traffic Engineering Database Accuracy 101 Configuring MPLS-Signaled LSPs to Use GRE Tunnels 102 Example: Configuring MPLS-Signaled LSPs to Use GRE Tunnels 102 Example: Tunneling IPv6 Traffic over MPLS IPv4 Networks 103 SRLG Overview 112 Example: Configuring SRLG 113 Example: Excluding SRLG Links Completely for the Secondary LSP 122 Example: Configuring SRLG with Link Protection 128 Copyright © 2017, Juniper Networks, Inc v MPLS Applications Feature Guide Example: Configuring SRLG with Link Protection with the exclude-srlg Option 149 Configuring the MPLS Transport Profile for OAM 170 MPLS Transport Profile Overview 170 Example: Configuring the MPLS Transport Profile for OAM 170 Configuring MPLS Inter-AS Link-Node Protection with Labeled BGP 183 Understanding MPLS Inter-AS Link Protection 183 Example: Configuring MPLS Inter-AS Link-Node Protection 185 Configuring Egress Protection Service Mirroring for BGP Signaled Layer Services 199 Example: Configuring MPLS Egress Protection Service Mirroring for BGP Signaled Layer Services 203 Example: Configuring Layer VPN Egress Protection with PLR as Protector 220 Example: Configuring Next-Hop-Based MPLS-Over-UDP Dynamic Tunnels 247 Anti-Spoofing Protection for Next-Hop-Based Dynamic Tunnels Overview 260 Example: Configuring Anti-Spoofing Protection for Next-Hop-Based Dynamic Tunnels 263 Chapter Configuring MPLS-Signaled LSPs 275 Configuring the Ingress and Egress Router Addresses for LSPs 276 Configuring the Ingress Router Address for LSPs 276 Configuring the Egress Router Address for LSPs 276 Preventing the Addition of Egress Router Addresses to Routing Tables 277 Configuring Primary and Secondary LSPs 278 Configuring Primary and Secondary Paths for an LSP 278 Configuring the Revert Timer for LSPs 279 Specifying the Conditions for Path Selection 280 Configuring a Text Description for LSPs 281 Configuring the Entropy Label for LSPs 282 Configuring Corouted Bidirectional LSPs 284 Configuring Ultimate-Hop Popping for LSPs 286 Configuring an LSP Across ASs 290 Configuring Fast Reroute 291 Configuring the Optimization Interval for Fast Reroute Paths 292 Adding LSP-Related Routes to the inet.3 or inet6.3 Routing Table 293 Configuring the Connection Between Ingress and Egress Routers 294 Configuring LSP Metrics 295 Configuring Dynamic LSP Metrics 295 Configuring Static LSP Metrics 295 Configuring CSPF Tie Breaking 296 Configuring Load Balancing Based on MPLS Labels 297 Disabling Normal TTL Decrementing 301 Configuring MPLS Soft Preemption 303 Disabling Constrained-Path LSP Computation 304 Configuring Administrative Groups for LSPs 305 Configuring Extended Administrative Groups for LSPs 307 Configuring Preference Values for LSPs 309 Disabling Path Route Recording by LSPs 309 vi Copyright © 2017, Juniper Networks, Inc Table of Contents Configuring Class of Service for MPLS LSPs 309 Class of Service for MPLS Overview 309 Configuring the MPLS CoS Values 310 Rewriting IEEE 802.1p Packet Headers with the MPLS CoS Value 312 Achieving a Make-Before-Break, Hitless Switchover for LSPs 313 Specifying the Amount of Time the Router Waits to Switch Over to New Paths 314 Specifying the Amount of Time to Delay the Tear Down of Old Paths 314 Achieving a Hitless, MBB Switchover Without Artificial Delays 315 Configuring Adaptive LSPs 316 Configuring Priority and Preemption for LSPs 317 Optimizing Signaled LSPs 318 Configuring the Smart Optimize Timer for LSPs 321 Limiting the Number of Hops in LSPs 322 Configuring the Bandwidth Value for LSPs 323 Automatic Bandwidth Allocation for LSPs 323 Configuring Automatic Bandwidth Allocation for LSPs 324 Configuring Automatic Bandwidth Allocation on LSPs 324 Configuring the Automatic Bandwidth Allocation Interval 326 Configuring the Maximum and Minimum Bounds of the LSP’s Bandwidth 326 Configuring the Automatic Bandwidth Adjustment Threshold 327 Configuring a Limit on Bandwidth Overflow and Underflow Samples 327 Configuring Passive Bandwidth Utilization Monitoring 329 Requesting Automatic Bandwidth Allocation Adjustment 330 Configuring Reporting of Automatic Bandwidth Allocation Statistics for LSPs 331 Configuring Hot Standby of Secondary Paths for LSPs 334 Damping Advertisement of LSP State Changes 335 Chapter Configuring Static and Explicit-Path LSPs 337 Configuring Static LSPs 337 Configuring the Ingress Router for Static LSPs 337 Example: Configuring the Ingress Router 339 Configuring the Intermediate (Transit) and Egress Routers for Static LSPs 340 Example: Configuring an Intermediate Router 341 Example: Configuring an Egress Router 342 Configuring a Bypass LSP for the Static LSP 343 Configuring the Protection Revert Timer for Static LSPs 343 Configuring Static Unicast Routes for Point-to-Multipoint LSPs 343 Configuring Explicit-Path LSPs 344 Copyright © 2017, Juniper Networks, Inc vii MPLS Applications Feature Guide Chapter Configuring Point-to-Multipoint LSPs 347 Point-to-Multipoint LSPs Overview 347 Configuring Primary and Branch LSPs for Point-to-Multipoint LSPs 349 Configuring the Primary Point-to-Multipoint LSP 349 Configuring a Branch LSP for Point-to-Multipoint LSPs 349 Configuring the Branch LSP as a Dynamic Path 350 Configuring the Branch LSP as a Static Path 350 Example: Configuring a Collection of Paths to Create an RSVP-Signaled Point-to-Multipoint LSP 351 Configuring Inter-Domain Point-to-Multipoint LSPs 370 Configuring Link Protection for Point-to-Multipoint LSPs 372 Configuring Graceful Restart for Point-to-Multipoint LSPs 372 Configuring a Multicast RPF Check Policy for Point-to-Multipoint LSPs 373 Example: Configuring Multicast RPF Check Policy for a Point-to-Multipoint LSP 374 Configuring Ingress PE Router Redundancy for Point-to-Multipoint LSPs 374 Enabling Point-to-Point LSPs to Monitor Egress PE Routers 374 Preserving Point-to-Multipoint LSP Functioning with Different Junos OS Releases 375 Chapter Configuring DiffServ-Aware Traffic Engineering to Achieve Service Level Guarantees on an MPLS network 377 DiffServ-Aware Traffic Engineering Introduction 378 DiffServ-Aware Traffic Engineering Standards 378 DiffServ-Aware Traffic Engineering Terminology 378 DiffServ-Aware Traffic Engineering Features 379 DiffServ-Aware Traffic Engineered LSPs 380 DiffServ-Aware Traffic Engineered LSPs Overview 380 DiffServ-Aware Traffic Engineered LSPs Operation 381 Multiclass LSPs 381 Multiclass LSP Overview 382 Establishing a Multiclass LSP on the Differentiated Services Domain 382 Configuring Routers for DiffServ-Aware Traffic Engineering 383 Configuring the Bandwidth Model 384 Configuring Traffic Engineering Classes 385 Requirements and Limitations for the Traffic Engineering Class Matrix 386 Configuring Class of Service for DiffServ-Aware Traffic Engineering 386 LSP Bandwidth Oversubscription Overview 387 LSP Size Oversubscription 388 LSP Link Size Oversubscription 388 Class Type Oversubscription and Local Oversubscription Multipliers 388 Class Type Bandwidth and the LOM 389 LOM Calculation for the MAM and Extended MAM Bandwidth Models 389 LOM Calculation for the Russian Dolls Bandwidth Model 390 Example: LOM Calculation 390 Configuring the Bandwidth Subscription Percentage for LSPs 391 Constraints on Configuring Bandwidth Subscription 392 viii Copyright © 2017, Juniper Networks, Inc Table of Contents Configuring LSPs for DiffServ-Aware Traffic Engineering 393 Configuring Class of Service for the Interfaces 394 Configuring IGP 394 Configuring Traffic-Engineered LSPs 394 Configuring Policing for LSPs 395 Configuring Fast Reroute for Traffic-Engineered LSPs 395 Configuring Multiclass LSPs 396 Configuring Class of Service for the Interfaces 396 Configuring the IGP 397 Configuring Class-Type Bandwidth Constraints for Multiclass LSPs 397 Configuring Policing for Multiclass LSPs 398 Configuring Fast Reroute for Multiclass LSPs 398 Chapter Configuring Miscellaneous MPLS Properties 401 Configuring the Maximum Number of MPLS Labels 402 Configuring MPLS to Pop the Label on the Ultimate-Hop Router 403 Advertising Explicit Null Labels to BGP Peers 404 Configuring Traffic Engineering for LSPs 405 Using LSPs for Both BGP and IGP Traffic Forwarding 405 Using LSPs for Forwarding in Virtual Private Networks 406 Using RSVP and LDP Routes for Forwarding but Not Route Selection 406 Advertising the LSP Metric in Summary LSAs 407 Enabling Interarea Traffic Engineering 408 Enabling Inter-AS Traffic Engineering for LSPs 408 Inter-AS Traffic Engineering Requirements 409 Inter-AS Traffic Engineering Limitations 409 Configuring OSPF Passive TE Mode 410 Configuring MPLS to Gather Statistics 411 Configuring System Log Messages and SNMP Traps for LSPs 412 Configuring MPLS Firewall Filters and Policers 413 Configuring MPLS Firewall Filters 413 Examples: Configuring MPLS Firewall Filters 414 Configuring Policers for LSPs 415 LSP Policer Limitations 416 Example: Configuring an LSP Policer 417 Configuring Automatic Policers 417 Configuring Automatic Policers for LSPs 418 Configuring Automatic Policers for DiffServ-Aware Traffic Engineering LSPs 419 Configuring Automatic Policers for Point-to-Multipoint LSPs 420 Disabling Automatic Policing on an LSP 420 Example: Configuring Automatic Policing for an LSP 420 Writing Different DSCP and EXP Values in MPLS-Tagged IP Packets 421 Configuring MPLS Rewrite Rules 421 Rewriting the EXP Bits of All Three Labels of an Outgoing Packet 421 Rewriting MPLS and IPv4 Packet Headers 422 Copyright © 2017, Juniper Networks, Inc ix MPLS Applications Feature Guide Configuring BFD for MPLS IPv4 LSPs 422 Configuring BFD for RSVP-Signaled LSPs 423 Configuring a Failure Action for the BFD Session on an RSVP LSP 424 BFD-Triggered Local Repair for Rapid Convergence 425 Understanding BFD-Triggered Local Protection 426 Purpose of BFD-Triggered Local Repair 426 Configuring BFD-Triggered Local Repair 427 Disabling BFD-Triggered Local Repair 427 Disabling BFD-Triggered Local Repair 427 Pinging LSPs 428 Pinging MPLS LSPs 428 Pinging Point-to-Multipoint LSPs 428 Pinging the Endpoint Address of MPLS LSPs 429 Pinging CCC LSPs 429 Pinging Layer VPNs 429 Support for LSP Ping and Traceroute Commands Based on RFC 4379 429 Tracing MPLS and LSP Packets and Operations 429 Configuring Link State Distribution Using BGP 430 Example: Configuring Link State Distribution Using BGP 433 Dynamic Bandwidth Management Using Container LSP Overview 451 Understanding RSVP Multipath Extensions 451 Junos OS RSVP Multipath Implementation 452 Current Traffic Engineering Challenges 452 Using Container LSP as a Solution 455 Accommodating the New Demand X 456 Creating New LSPs to Meet Demand X 456 Assigning Bandwidth to the New LSPs 456 Controlling the LSP Paths 456 Junos OS Container LSP Implementation 457 Container LSP Terminology 457 LSP Splitting 458 LSP Merging 460 Node and Link Protection 462 Naming Convention 462 Normalization 463 Constraint-Based Routing Path Computation 468 Sampling 469 Support for NSR, IPG-FA, and Static Routes 469 Configuration Statements Supported for Container LSPs 472 Impact of Configuring Container LSPs on Network Performance 476 Supported and Unsupported Features 477 Configuring Dynamic Bandwidth Management Using Container LSP 478 Example: Configuring Dynamic Bandwidth Management Using Container LSP 482 Configuring On-Demand Loss and Delay Measurement 509 Example: Configuring On-Demand Loss and Delay Measurement 510 Configuring Pro-Active Loss and Delay Measurements 520 x Copyright © 2017, Juniper Networks, Inc MPLS Applications Feature Guide show route forwarding-table table default user@host> show route forwarding-table table default Routing table: default.inet Internet: Destination Type RtRef Next hop default perm 0.0.0.0/32 perm 10.0.60.0/30 user 10.0.60.13 10.0.60.12/30 intf 10.0.60.12/32 dest 10.0.60.12 10.0.60.13/32 dest 0:5:85:8b:bc:22 10.0.60.14/32 intf 10.0.60.14 10.0.60.14/32 dest 10.0.60.14 10.0.60.15/32 dest 10.0.60.15 10.0.67.12/30 user 10.0.60.13 10.0.80.0/30 ifdn ff.3.0.21 10.0.80.0/32 dest 10.0.80.0 10.0.80.2/32 user 10.0.80.2/32 intf 10.0.80.2 10.0.80.3/32 dest 10.0.80.3 10.0.90.12/30 intf 10.0.90.12/32 dest 10.0.90.12 10.0.90.14/32 intf 10.0.90.14 10.0.90.14/32 dest 10.0.90.14 10.0.90.15/32 dest 10.0.90.15 10.5.0.0/16 user 192.168.187.126 10.10.0.0/16 user 192.168.187.126 10.13.10.0/23 user 192.168.187.126 10.84.0.0/16 user 192.168.187.126 10.150.0.0/16 user 192.168.187.126 10.157.64.0/19 user 192.168.187.126 10.209.0.0/16 user 192.168.187.126 Type Index NhRef Netif rjct 36 dscd 34 ucst 713 fe-0/1/3.0 rslv 688 fe-0/1/3.0 recv 686 fe-0/1/3.0 ucst 713 fe-0/1/3.0 locl 687 locl 687 bcst 685 fe-0/1/3.0 ucst 713 fe-0/1/3.0 ucst 676 so-0/0/1.0 recv 678 so-0/0/1.0 rjct 36 locl 675 bcst 677 so-0/0/1.0 rslv 684 fe-0/1/0.0 recv 682 fe-0/1/0.0 locl 683 locl 683 bcst 681 fe-0/1/0.0 ucst 324 15 fxp0.0 ucst 324 15 fxp0.0 ucst 324 15 fxp0.0 ucst 324 15 fxp0.0 ucst 324 15 fxp0.0 ucst 324 15 fxp0.0 ucst 324 15 fxp0.0 Routing table: default.iso ISO: Destination Type RtRef Next hop default perm Type Index NhRef Netif rjct 60 Routing table: default.inet6 Internet6: Destination Type RtRef Next hop default perm ::/128 perm ff00::/8 perm ff02::1/128 perm ff02::1 Type Index NhRef Netif rjct 44 dscd 42 mdsc 43 mcst 39 Routing table: default.mpls MPLS: Destination Type RtRef Next hop default perm Type Index NhRef Netif dscd 50 show route forwarding-table table logical-system-name/routing-instance-name user@host> show route forwarding-table table R4/vpn-red Logical system: R4 Routing table: vpn-red.inet Internet: 2106 Copyright © 2017, Juniper Networks, Inc Chapter 34: CCC and TCC Operational Commands Destination default 0.0.0.0/32 172.16.0.1/32 172.16.2.0/24 172.16.2.0/32 172.16.2.1/32 172.16.2.1/32 172.16.2.2/32 Type RtRef Next hop Type Index NhRef Netif perm rjct 563 perm dscd 561 user dscd 561 intf rslv 771 ge-1/2/0.3 dest 172.16.2.0 recv 769 ge-1/2/0.3 intf 172.16.2.1 locl 770 dest 172.16.2.1 locl 770 dest 0.4.80.3.0.1b.c0.d5.e4.bd.0.1b.c0.d5.e4.bc.8.0 ucst 789 ge-1/2/0.3 172.16.2.255/32 dest 172.16.2.255 bcst 768 ge-1/2/0.3 172.16.233.0/4 perm mdsc 562 172.16.233.1/32 perm 172.16.233.1 mcst 558 255.255.255.255/32 perm bcst 559 Logical system: R4 Routing table: vpn-red.iso ISO: Destination Type RtRef Next hop default perm Type Index NhRef Netif rjct 608 Logical system: R4 Routing table: vpn-red.inet6 Internet6: Destination Type RtRef Next hop default perm ::/128 perm ff00::/8 perm ff02::1/128 perm ff02::1 Type Index NhRef Netif rjct 708 dscd 706 mdsc 707 mcst 704 Logical system: R4 Routing table: vpn-red.mpls MPLS: Destination Type RtRef Next hop default perm Type Index NhRef Netif dscd 638 show route forwarding-table vpn user@host> show route forwarding-table vpn VPN-A Routing table:: VPN-A.inet Internet: Destination Type RtRef Nexthop default perm 10.39.10.20/30 intf ff.3.0.21 so-0/0/0.0 10.39.10.21/32 intf 10.39.10.21 10.255.14.172/32 user so-0/0/0.0 10.255.14.175/32 user 100004(top) so-1/0/0.0 172.16.233.0/4 perm 172.16.233.1/32 perm 172.16.233.5/32 user 255.255.255.255/32 perm 172.16.233.1 172.16.233.5 Type Index NhRef Netif rjct 4 ucst 40 locl ucst 36 69 indr 81 Push 100004, Push mdsc mcst mcst bcst 1 8 On QFX5200, the results for this command look like this: show route forwarding-table family mpls Copyright © 2017, Juniper Networks, Inc 2107 MPLS Applications Feature Guide Routing table: default.mpls MPLS: Destination Type RtRef Next hop Type Index NhRef Netif default perm dscd 65 user recv 64 user recv 64 user recv 64 13 user recv 64 300384 user 9.1.1.1 Pop 1711 xe-0/0/34.0 300384(S=0) user 9.1.1.1 Pop 1712 xe-0/0/34.0 300400 user ulst 131071 10.1.1.2 Pop 1713 xe-0/0/38.0 172.16.11.2 Pop 1714 xe-0/0/40.0 300400(S=0) user ulst 131072 10.1.1.2 Pop 1715 xe-0/0/38.0 172.16.11.2 Pop 1716 xe-0/0/40.0 Routing table: mpls-oam .mpls MPLS: Destination Type RtRef Next hop Type Index NhRef Netif default perm dscd 1681 2108 Copyright © 2017, Juniper Networks, Inc CHAPTER 35 PCEP Operational Commands • clear path-computation-client statistics • request path-computation-client active-pce • show path-computation-client active-pce • show path-computation-client statistics Copyright © 2017, Juniper Networks, Inc 2109 MPLS Applications Feature Guide clear path-computation-client statistics Syntax Release Information Description Options clear path-computation-client statistics Statement introduced in Junos OS Release 12.3 Statement introduced in Junos OS Release 16.1R3 for QFX10000 switches Command introduced in Junos OS Release 17.1R1 for ACX Series routers Clear Path Computation Element (PCE) statistics pce-id—(Optional) Clear statistics of the specified PCE all—(Optional) Clear statistics of all available PCEs configured on the path computation client (PCC) Required Privilege Level Related Documentation List of Sample Output Output Fields clear • show path-computation-client statistics on page 2116 clear path-computation-client statistics pce-id on page 2110 clear path-computation-client statistics all on page 2110 When you enter this command, you are not provided feedback on the status of your request Sample Output clear path-computation-client statistics pce-id user@host> clear path-computation-client statistics pce1 clear path-computation-client statistics all user@host> clear path-computation-client statistics all 2110 Copyright © 2017, Juniper Networks, Inc Chapter 35: PCEP Operational Commands request path-computation-client active-pce Syntax Release Information Description Options Required Privilege Level Related Documentation List of Sample Output request path-computation-client active-pce pce-id Command introduced in Junos OS Release 12.3 Command introduced in Junos OS Release 16.1R3 for QFX10000 switches Command introduced in Junos OS Release 17.1R1 for ACX Series routers Request a new active Path Computation Element (PCE) pce-id—Unique user defined ID for this PCE request • show path-computation-client active-pce on page 2112 request path-computation-client active-pce pce-id on page 2111 Sample Output request path-computation-client active-pce pce-id user@host> request path-computation-client active-pce pce1 Copyright © 2017, Juniper Networks, Inc 2111 MPLS Applications Feature Guide show path-computation-client active-pce Syntax Release Information Description Options show path-computation-client active-pce Command introduced in Junos OS Release 12.3 Command introduced in Junos OS Release 16.1R3 for QFX10000 switches Command introduced in Junos OS Release 17.1R1 for ACX Series routers Displays information about the current active Path Computation Element (PCE) none—Display brief information about the current active PCE brief | detail—(Optional) Display the specific level of output Required Privilege Level Related Documentation List of Sample Output Output Fields view • request path-computation-client active-pce on page 2111 show path-computation-client active-pce on page 2114 show path-computation-client active-pce detail on page 2115 Table 105 on page 2112 describes the output fields for the show path-computation-client active-pce command Output fields are listed in the approximate order in which they appear Table 105: show path-computation-client active-pce Output Fields Field Name Field Description Level of Output IP address IP address of the current active PCE All levels Priority Active PCE priority All levels PCE status Active PCE state: All levels 2112 • PCE_STATE_NEW— Initial PCEP session state • PCE_STATE_RECONNECT—Trying to re-establish TCP connection with the PCEP peer • PCE_STATE_CONNECTING—Establishing TCP connection with the PCEP peer • PCE_STATE_CONNECTED—TCP connection established with the PCEP peer • PCE_STATE_SYNC—Open messages exchanged with the PCEP peer and entering SYNC state PCE_STATE_UPPCEP session established Copyright â 2017, Juniper Networks, Inc Chapter 35: PCEP Operational Commands Table 105: show path-computation-client active-pce Output Fields (continued) Field Name Field Description Level of Output Session type Active PCE type: All levels PCE-mastership • PCE_TYPE_STATELESS—Does not learn LSP state information form PCC • PCE_TYPE_STATEFUL—Uses LSP state information learned from PCCs to optimize path computations, but does not actively update LSP state A PCC maintains synchronization with the PCE • PCE_TYPE_STATEFULACTIVE—Uses LSP state information learned from PCCs to optimize path computations, and actively updates LSP parameters in those PCCs that delegate control of their LSPs to the PCE PCE mastership state: • main—Current active PCE • backup—Backup PCE All levels PCRpts Number of PC report (PCRpt) messages sent by PCC to a stateful PCE to report current state of LSP(s) All levels PCUpdates Number of PC update (PCUpd) messages sent by a PCE to a PCC to update LSP parameters All levels Local Keepalive timer Keepalive timer used by or for the PCC All levels Local Dead timer Dead timer used by or for the PCC All levels Remote Keepalive timer Keepalive timer used by or for the PCE All levels Remote Dead timer Dead timer used by or for the PCE All levels PCErr-recv Information about type, value, and number of PC Error messages received All levels Max unknown messages Maximum number of unknown messages received for a PCEP session Recommended value is If the number of unknown messages received by a PCC or PCE is greater than or equal to the maximum number, the PCEP session is closed detail Keepalives received Number of Keepalive messages received by a PCC from a PCE detail Keepalives sent Number of Keepalive messages sent by a PCC to a PCE detail Dead timer Dead timer used by the current active PCE detail Elapsed as main current Time (in seconds) the PCE is in the main mastership state detail Elapsed as main total Time (in seconds) the PCE became main from the last PCCD restart detail Copyright © 2017, Juniper Networks, Inc 2113 MPLS Applications Feature Guide Table 105: show path-computation-client active-pce Output Fields (continued) Field Name Field Description Level of Output Unknown msgs/min rate Number of unknown messages received per minute detail Session failures Number of PCEP session failures with the PCE detail Delegation timeout in Time (in seconds) left for LSP delegation to timeout detail Delegation failures Number of LSP delegation failures detail Connection down Time (in seconds) since the PCEP session is down detail PCErr-sent Information about type, value, and number of PC Error messages sent All levels Sample Output show path-computation-client active-pce user@host> show path-computation-client active-pce PCE pce1 General IP address : 10.209.57.166 Priority : PCE status : PCE_STATE_NEW Session type : PCE_TYPE_STATEFULACTIVE PCE-mastership : main Counters PCReqs Total: last 5min: last hour: PCReps Total: last 5min: last hour: PCRpts Total: last 5min: last hour: PCUpdates Total: last 5min: last hour: Timers Local Remote Errors PCErr-recv PCErr-sent Type: 19 PCE-PCC-NTFS PCC-PCE-NTFS 2114 Keepalive timer: [s] Dead timer: [s] Keepalive timer: [s] Dead timer: [s] Value: Count: Copyright © 2017, Juniper Networks, Inc Chapter 35: PCEP Operational Commands show path-computation-client active-pce detail user@host> show path-computation-client active-pce detail PCE pce1 General IP address : 172.22.25.223 Priority : PCE status : PCE_STATE_RECONNECT Session type : PCE_TYPE_STATEFULACTIVE PCE-mastership : main Max unknown messages : Keepalives received : Keepalives sent : Dead timer : [s] Elapsed as main current : [s] Elapsed as main total : 2542 [s] Unknown msgs/min rate : Session failures : 575 Delegation timeout in : 14 [s] Delegation failures : 21928 Connection down : 16 [s] Counters PCReqs Total: last 5min: last hour: PCReps Total: last 5min: last hour: PCRpts Total: 31512 last 5min: 7243 last hour: Total: 80 last 5min: 40 last hour: 7243 PCUpdates 40 Timers Local Keepalive timer: 30 [s] Dead timer: 120 [s] Remote Keepalive timer: 30 [s] Dead timer: 120 [s] Errors PCErr-recv PCErr-sent Type: Value: Count: 12 PCE-PCC-NTFS PCC-PCE-NTFS Copyright © 2017, Juniper Networks, Inc 2115 MPLS Applications Feature Guide show path-computation-client statistics Syntax Release Information Description Options show path-computation-client statistics Command introduced in Junos OS Release 12.3 Command introduced in Junos OS Release 16.1R3 for QFX10000 switches Command introduced in Junos OS Release 17.1R1 for ACX Series routers Display statistics about the Path Computation Element (PCE) none—Display statistics about the primary PCE brief | detail—(Optional) Display the specific level of output all—(Optional) Display the statistics about all PCEs configured on the PCC Required Privilege Level Related Documentation List of Sample Output Output Fields view • clear path-computation-client statistics on page 2110 show path-computation-client statistics all on page 2118 show path-computation-client statistics detail on page 2119 Table 106 on page 2116 describes the output fields for the show path-computation-client statistics command Output fields are listed in the approximate order in which they appear Table 106: show path-computation-client statistics Output Fields Field Name Field Description Level of Output IP address IP address of the PCE All levels Priority PCE priority All levels 2116 Copyright © 2017, Juniper Networks, Inc Chapter 35: PCEP Operational Commands Table 106: show path-computation-client statistics Output Fields (continued) Field Name Field Description Level of Output PCE status PCE state: All levels Session type PCE-mastership • PCE_STATE_NEW— Initial PCEP session state • PCE_STATE_RECONNECT—Trying to re-establish TCP connection with the PCEP peer • PCE_STATE_CONNECTING—Establishing TCP connection with the PCEP peer • PCE_STATE_CONNECTED—TCP connection established with the PCEP peer • PCE_STATE_SYNC—Open messages exchanged with the PCEP peer and entering SYNC state • PCE_STATE_UP—PCEP session established Active PCE type: • PCE_TYPE_STATELESS—Does not learn LSP state information form PCC • PCE_TYPE_STATEFUL—Uses LSP state information learned from PCCs to optimize path computations, but does not actively update LSP state A PCC maintains synchronization with the PCE • PCE_TYPE_STATEFULACTIVE—Uses LSP state information learned from PCCs to optimize path computations, and actively updates LSP parameters in those PCCs that delegate control of their LSPs to the PCE PCE mastership state: • main • primary • backup All levels All levels PCRpts Number of PC report (PCRpt) messages sent by PCC to a stateful PCE to report current state of LSP(s) All levels PCUpdates Number of PC update (PCUpd) messages sent by a PCE to a PCC to update LSP parameters All levels Local Keepalive timer Keepalive timer used by or for the PCC All levels Local Dead timer Dead timer used by or for the PCC All levels Remote Keepalive timer Keepalive timer used by or for the PCE All levels Copyright © 2017, Juniper Networks, Inc 2117 MPLS Applications Feature Guide Table 106: show path-computation-client statistics Output Fields (continued) Field Name Field Description Level of Output Remote Dead timer Dead timer used by or for the PCE All levels PCErr-recv Information about type, value, and number of PC Error messages received All levels PCErr-sent Information about type, value, and number of PC Error messages sent All levels Max unknown messages Maximum number of unknown messages received for a PCEP session Recommended value is If the number of unknown messages received by a PCC or PCE is greater than or equal to the maximum number, the PCEP session is closed detail Keepalives received Number of Keepalive messages received by a PCC from a PCE detail Keepalives sent Number of Keepalive messages sent by a PCC to a PCE detail Elapsed as main current Time (in seconds) the PCE is in the main mastership state detail Elapsed as main total Time (in seconds) the PCE became main from the last PCCD restart detail Unknown msgs/min rate Number of unknown messages received per minute detail Session failures Number of PCEP session failures with the PCE detail Delegation timeout in Time (in seconds) left for LSP delegation to timeout detail Delegation failures Number of LSP delegation failures detail Connection down Time (in seconds) since the PCEP session is down detail Sample Output show path-computation-client statistics all user@host> show path-computation-client statistics all PCE pce1 General IP address Priority 2118 : 10.209.57.166 : Copyright © 2017, Juniper Networks, Inc Chapter 35: PCEP Operational Commands PCE status Session type PCE-mastership : PCE_STATE_NEW : PCE_TYPE_STATEFULACTIVE : main Counters PCReqs Total: last 5min: last hour: PCReps Total: last 5min: last hour: PCRpts Total: last 5min: last hour: PCUpdates Total: last 5min: last hour: Timers Local Remote Keepalive timer: [s] Dead timer: [s] Keepalive timer: [s] Dead timer: [s] Errors PCErr-recv PCErr-sent PCE-PCC-NTFS PCC-PCE-NTFS PCE pce2 General IP address Priority PCE status Session type PCE-mastership : : : : : 10.31.32.1 10 PCE_STATE_NEW PCE_TYPE_STATEFULACTIVE backup Counters PCReqs Total: last 5min: last hour: PCReps Total: last 5min: last hour: PCRpts Total: last 5min: last hour: PCUpdates Total: last 5min: last hour: Timers Local Remote Keepalive timer: [s] Dead timer: [s] Keepalive timer: [s] Dead timer: [s] Errors PCErr-recv PCErr-sent PCE-PCC-NTFS PCC-PCE-NTFS show path-computation-client statistics detail user@host> show path-computation-client statistics detail PCE pce1 General IP address : 10.209.57.166 Copyright © 2017, Juniper Networks, Inc 2119 MPLS Applications Feature Guide Priority PCE status Session type PCE-mastership Max unknown messages Keepalives received Keepalives sent Dead timer Elapsed as main current Elapsed as main total Unknown msgs/min rate Session failures Replies timedout Delegation timeout in Delegation failures Connection down : : : : : : : : : : : : : : : : PCE_STATE_NEW PCE_TYPE_STATEFULACTIVE main 0 [s] 294 [s] 294 [s] 0 26 [s] [s] Counters PCReqs Total: last 5min: last hour: PCReps Total: last 5min: last hour: PCRpts Total: last 5min: last hour: PCUpdates Total: last 5min: last hour: Timers Local Remote Keepalive timer: [s] Dead timer: [s] Keepalive timer: [s] Dead timer: [s] Errors PCErr-recv PCErr-sent PCE-PCC-NTFS PCC-PCE-NTFS 2120 Copyright © 2017, Juniper Networks, Inc ... Juniper Networks, Inc iii MPLS Applications Feature Guide Part Configuring MPLS Chapter MPLS Overview 23 Introduction to MPLS ... Inc v MPLS Applications Feature Guide Example: Configuring SRLG with Link Protection with the exclude-srlg Option 149 Configuring the MPLS. .. 398 Chapter Configuring Miscellaneous MPLS Properties 401 Configuring the Maximum Number of MPLS Labels 402 Configuring MPLS to Pop the Label

Ngày đăng: 09/11/2019, 00:56

Từ khóa liên quan

Mục lục

  • Table of Contents

  • List of Figures

  • List of Tables

  • About the Documentation

    • Documentation and Release Notes

    • Supported Platforms

    • Using the Examples in This Manual

      • Merging a Full Example

      • Merging a Snippet

      • Documentation Conventions

      • Documentation Feedback

      • Requesting Technical Support

        • Self-Help Online Tools and Resources

        • Opening a Case with JTAC

        • Part 1: Understanding Traffic Engineering

          • Chapter 1: Traffic Engineering Overview

            • Traffic Engineering Capabilities

            • Components of Traffic Engineering

            • Packet Forwarding Component

            • Packet Forwarding Based on Label Swapping

            • How a Packet Traverses an MPLS Backbone

            • Information Distribution Component

            • Path Selection Component

            • Offline Path Planning and Analysis

            • Signaling Component

Tài liệu cùng người dùng

Tài liệu liên quan