Bộ điều khiển mạng chéo CISCO SR-MPLS, SRv6

Thông tin sản phẩm
Thông số kỹ thuật
- Tên sản phẩm: Bộ điều khiển mạng Cisco Crosswork
- Các tính năng được hỗ trợ: Quản lý chính sách SR-MPLS và SRv6
- Maximum Policies Displayed: Up to 10 policies with separate colored links
Hướng dẫn sử dụng sản phẩm
- Navigate to Services & Traffic Engineering > Traffic Engineering.
- In the Traffic Engineering table, select the checkbox of each SR-MPLS or SRv6 policy to view trên bản đồ.
- You can select up to 10 policies that will appear as separate colored links on the map.
- Từ cột Hành động, chọn > View chi tiết về một trong các chính sách SR-MPLS hoặc SRv6.
- View the policy details, including segment lists and path computation constraints.
- Bạn có thể xuất tất cả dữ liệu vào CSV file từ đây view.
- Sao chép URL from the browser to share SR-MPLS or SRv6 policy details with others.
SR-MPLS và SRv6
- This section describes the SR-MPLS and SRv6 policy features that Crosswork supports.
- For a list of known limitations and important notes, see the Cisco Crosswork Network Controller Release Notes.
View Chính sách SR-MPLS và SRv6 trên bản đồ cấu trúc mạng
- To get to the Traffic Engineering topology map, choose Services & Traffic Engineering > Traffic Engineering.
- From the Traffic engineering table, click the checkbox of each SR-MPLS or SRv6 policy you want to view trên bản đồ.
- You can select up to 10 policies that will appear as separate colored links.

| Lời thoại KHÔNG. | Sự miêu tả |
| 1 | Click the appropriate check box to enable the following options:
• Show: IGP path—Displays the IGP path for the selected SR-TE policy. • Show: Participating only—Displays only links that belong to the selected SR-TE policy. All other links and devices disappear. |
| 2 | A device with an orange ( |
| 3 | When SR-TE policies are selected in the SR-MPLS or SRv6 tables, they show as colored directional lines on the map, indicating source and destination.
An adjacency segment ID (SID) is shown as an orange circle on a link along the path ( |
| 4 | SR-MPLS and SRv6 policy origin and destination: Nếu cả hai A Và Z are displayed in a device cluster, at least one node in the cluster is a source, and another is a destination. The A+ denotes that there is more than one SR-TE policy that originates from a node. The Z+ denotes that the node is a destination for more than one SR policy. |
| 5 | Nội dung của cửa sổ này phụ thuộc vào những gì đã được chọn hoặc lọc. Trong ví dụ nàyample, the SR-MPLS tab is selected, and the SR Policy table is displayed. |
| 6 | Click on either the SR-MPLS or SRv6 tab để view danh sách các chính sách SR-TE tương ứng. |
| Lời thoại KHÔNG. | Sự miêu tả |
| 7 | Xuất khẩu tất cả data into a CSV file. Bạn không thể xuất dữ liệu đã chọn hoặc đã lọc. |
| 8 | Các Mini dashboard provides a summary of the operational SR-MPLS or SRv6 policy status. If filters are applied, the Mini dashboard is updated to reflect what is displayed in the SR Policy and SRv6 Policy tables. In addition to the policy status, the SR-MPLS mini dashboard table displays the number of PCC and PCE-initiated tunnels that are Hiện nay listed in the SR Policy table. |
| 9 | Tùy chọn này cho phép bạn chọn cách áp dụng bộ lọc nhóm (khi sử dụng) trên dữ liệu bảng. Ví dụ:ample, nếu Headend only was selected, then it would only display policies where the headend device of the policy is in the selected group. This filter allows you to see specific
configurations and is useful when you have a large network. Filter options: • Headend or endpoint—Show policies with either the headend or endpoint device in the selected group. • Headend and endpoint—Show policies if both the headend and endpoint are in the group. • Headend only—Show policies if the headend device of the policy is in the selected group. • Endpoint only—Show policies if the endpoint device of the policy is in the selected group. |
View Chi tiết chính sách SR-MPLS và SRv6
- View Chi tiết về cấp chính sách SR-MPLS hoặc SRv6 TE cũng như danh sách phân đoạn và bất kỳ ràng buộc tính toán đường dẫn nào được cấu hình trên cơ sở đường dẫn cho từng ứng viên.
Thủ tục
Bước 1
- From the Actions column, choose
> View chi tiết về một trong các chính sách SR-MPLS hoặc SRv6.

Bước 2
- View Chi tiết chính sách SR-MPLS hoặc SRv6. Từ trình duyệt, bạn có thể sao chép URL và chia sẻ với người khác.

Ghi chú
- The Delay value is calculated for all policies every 10 minutes. Hover your mouse over the “i” icon (next to the Delay value) to view lần cuối cùng giá trị được cập nhật.
Hiển thị đường dẫn và số liệu IGP
- View đường dẫn vật lý và số liệu giữa các điểm cuối của chính sách SR-MPLS đã chọn.
Thủ tục
- Step 1: From the SR Policy table, check the check box next to the SR-TE (SR-MPLS and SRv6) policies you are interested in.
- Step 2: Check the Show IGP Path check box. The IGP paths for the selected SR-MPLS policies are displayed as straight lines instead of the segment hops. In a dual-stack topology, the Participating only checkbox must also be checked to view số liệu về các liên kết tham gia.
- Bước 3: Nhấp vào
> Metrics tab. - Step 4: Toggle applicable metrics to ON.
Ghi chú
You must check the Show IGP Path check box to view số liệu.

Tìm nhiều đường dẫn ứng viên (MCP)
- Visualizing MCPs gives you insight into which paths might be a better alternative to the currently active ones.
- If you determine to do so, you can then manually configure the device and change which path becomes active.
Lưu ý quan trọng
- Only PCC-initialized SR-TE policies with MCPs are supported.
- Crosswork does not distinguish dynamic paths from explicit paths. The Policy Type field value displays as ‘Unknown’.
- Bạn có thể view các đường dẫn rõ ràng đang hoạt động nhưng không phải các đường dẫn rõ ràng ứng viên không hoạt động trong UI.
Trước khi bạn bắt đầu
A policy must be configured with MCPs on devices before they can be visualized on the Traffic Engineering topology map. This configuration can be done manually or within the Crosswork Network Controller.
- Step 1: From the main menu, choose Services & Traffic Engineering > Traffic Engineering > SR-MPLS or SRv6 tab.
- Step :2 Navigate to the active SR-TE policy that has MCPs configured and view it on the topology map.
- Check the check box next to the SR-TE policy that has MCPs configured.
- View chính sách SR-TE được đánh dấu trên bản đồ cấu trúc mạng.
- Trong ví dụ nàyample, bạn thấy rằng đường dẫn đang hoạt động đi từ cw-xrv53 > cw-xrv57 > cw-xrv58 > cw-xrv59 > cw-xrv60.

Bước 3: View danh sách các đường dẫn ứng viên.
- From the SR-MPLS or SRv6 Policy table Actions column, click
> View Chi tiết. Danh sách các đường dẫn ứng viên sẽ xuất hiện cùng với chi tiết chính sách trong cửa sổ chi tiết chính sách SR. Chữ A màu xanh lá cây bên dưới cột Trạng thái cho biết đường dẫn đang hoạt động.

- Step 4: You can expand individual paths or click Expand all to view details of each path.
- Step 5: Visualize the candidate path on the topology map.
- Check the check box next to any candidate path.
Ghi chú
You will not be able to select or view đường dẫn ứng viên rõ ràng.
- From the Candidate path area, hover your mouse over the candidate path name. The candidate path is highlighted on the topology map.
- Trong ví dụ nàyample, bạn thấy rằng đường dẫn thay thế đi trực tiếp từ cw-xrv53 > cw-xrv60.

Hình dung các đường dẫn cơ bản liên quan đến nhãn ID phân đoạn liên kết (B-SID) đã xác định
- Crosswork Network Controller cho phép bạn hình dung đường dẫn cơ bản của một hop B-SID mà bạn đã cấu hình thủ công trên thiết bị hoặc được cấu hình bằng Crosswork Network Controller. Trong ví dụ nàyample, we have assigned 15700 as a B-SID label on an SR-MPLS policy hop.
- ĐẾN view đường dẫn cơ bản B-SID cho chính sách SR-MPLS hoặc SRv6, hãy thực hiện như sau:
Step 1: Choose Services & Traffic Engineering > Traffic Engineering.
Step :2 From the SR Policy table, check the check box next to the policy that has a hop assigned with a B-SID label. Hover your mouse over any part of the SR-MPLS row to see the B-SID name. The B-SID path is highlighted in orange on the topology map.
Trong ví dụ nàyample, bạn thấy rằng đường dẫn B-SID đi từ cw-xrv51 đến cw-xrv52.

Step 3: From the SR policy details page, click
> View chi tiết.

Step 4: Expand the active path and click the B-Sid Label ID to see the underlying path.

- Trong ví dụ nàyample, đường dẫn cơ bản thực sự đi từ cw-xrv51 > cw-xrv54 > cw-xrv53 > cw-xrv52.

Hình dung đường dẫn SR gốc
- Visualizing the native path will help you in OAM (Operations, Administration, and Maintenance) activities to monitor label-switched paths (LSPs) and quickly isolate forwarding problems to assist with fault detection and troubleshooting in the network.
- Since this feature uses multipaths, all ECMP paths are shown between the source and destination. You can visualize only native SR IGP paths.
Điều kiện tiên quyết của thiết bị
Confirm the following device software and configurations are met prior to visualizing native paths.
- Devices should be running Cisco IOS XR 7.3.2 or higher. Run show version command to verify it.
- Devices should have GRPC enabled. For information on enabling gRPC on PCE, see Requirements for adding SR-PCE providers in the Cisco Crosswork Network Controller 7.1 Administration guide.
- Run show run grpc to confirm GRPC configuration. You should see something similar to this:


Ghi chú
Address family is only required in an IPv4 topology. - To enable GRPC with a secure connection, you must upload security certificates to connect to the device.
- Run show run grpc to confirm GRPC configuration. You should see something similar to this:
- Devices should have GNMI capability enabled and configured.
- From Device Management > Network Devices, click the IP address for the device you are interested in.
- Confirm that GNMI is listed under Connectivity details.
Based on the type of devices, these device encoding type are available. The appropriate encoding type is determined by the device’s capabilities, the data model it supports, and how the data is expected to be transmitted between the device and Crosswork Network Controller. - JSON: Human-readable and widely supported by most devices.
- BYTES: Encodes data in binary format for efficient transmission.
- PROTO: A compact, efficient binary format used with gRPC.
- ASCII: A plain-text format that is human-readable but less commonly used compared to JSON.
- JSON IETF: A standardized variant of JSON that adheres to IETF YANG specifications.
- Devices should have the CDG router static address. Static route should be added from the device to the southbound CDG IP address. For examplê:

Hình dung các đường dẫn gốc
- Thực hiện theo các bước sau để tạo truy vấn đường dẫn.
Bước 1: From the main menu, choose Services & Traffic Engineering > Path Query.The Path Query dashboard appears.
Bước 2: Click New query.
Bước 3: Enter the device information in the required fields to find available Native SR IGP Paths and click Get paths.
Ghi chú
Path queries may take a moment to complete. When the Running Query ID pop-up appears, you can also select View truy vấn trước đó để quay lại Bảng điều khiển truy vấn đường dẫn. Nếu bạn đã có truy vấn đường dẫn trong danh sách, bạn có thể view chi tiết hiện có khi truy vấn mới tiếp tục chạy ngầm, được biểu thị bằng biểu tượng Đang chạy màu xanh lam trong cột Trạng thái truy vấn. Khi trạng thái truy vấn mới chuyển sang màu xanh lá cây và hoàn tất, bạn có thể viewbiên tập.

Bước 4: Nhấp chuột View Kết quả sẽ hiển thị khi có trên cửa sổ bật lên ID Truy vấn Đang chạy. Cửa sổ Chi tiết Đường dẫn sẽ xuất hiện với thông tin chi tiết về các đường dẫn khả dụng tương ứng, trong khi bản đồ cấu trúc hiển thị các đường dẫn Native SR IGP khả dụng ở bên trái.

Cấu hình mối quan hệ liên kết TE trong Crosswork Network Controller
- If you have any affinities you wish to account for when provisioning an SR policy, Tree-SID, or RSVP-TE tunnel, then you can optionally define affinity mapping on the Crosswork Network Controller UI for consistency with affinity names in device configurations. Crosswork Network Controller will only send bit information to SR-PCE during provisioning. If an affinity mapping is not defined in the UI, then the affinity name is displayed as “UNKNOWN”. If you want to configure affinity mappings in Crosswork Network Controller for visualization purposes, you should collect affinities on the device, then define affinity mapping in Crosswork Network Controller with the same name and bits that are used on the device.
- The affinity configuration on interfaces simply turns on some bits. It is a 32-bit value, with each bit position (0–31) representing a link attribute. Affinity mappings can be colors representing a certain type of service profile (ví dụample, low delay, high bandwidth, and so on). This makes it easier to refer to link attributes.
- See SR, Tree-SID, or RSVP-TE configuration documentation for your specific device to view mô tả và lệnh cấu hình được hỗ trợ (ví dụamplà, Segment Routing Configuration Guide for Cisco ASR 9000 Series Router)
- Các ví dụ sau đâyample hiển thị cấu hình mối quan hệ SR-TE (bản đồ mối quan hệ) trên một thiết bị:

- Bước 1: Choose Administration > Settings > System settings > Traffic engineering > Affinity > TE link affinities. Alternatively, you can define affinities while provisioning an SR-TE policy, Tree-SID, or RSVP-TE tunnel by clicking Manage mapping under the Constraints > Affinity field.
- Bước 2: Click + Create to add a new affinity mapping.
- Bước 3: Enter the name and the bit it will be assigned. For example (sử dụng cấu hình trên):

- Bước 4: Click Save to save the mapping. To create another mapping, you must click + Create and save the entry. Affinity removal and orphan TE tunnels
Ghi chú
You should remove the TE tunnel before removing the affinity to avoid orphan TE tunnels. If you have removed an affinity associated with a TE tunnel, the affinity is shown as “UNKNOWN” in the SR policy / RSVP-TE tunnel details window.
Những cân nhắc khi triển khai chính sách
Trước khi đưa ra chính sách, hãy cân nhắc những lựa chọn sau.
- On a scaled setup with high node, policy, or interface counts, a timeout may occur during policy deployment. To configure timeout options, see Configure TE timeout settings.
- For visualization purposes, you can optionally collect affinity information from your devices and then map them in Cisco Crosswork before provisioning an SR policy, Tree-SID, or RSVP-TE tunnel. See Affinity map configurations for sampcấu hình le.
Tạo chính sách SR-MPLS rõ ràng
- Nhiệm vụ này tạo các chính sách SR-MPLS bằng cách sử dụng một đường dẫn rõ ràng (cố định) bao gồm danh sách các ID Phân đoạn tiền tố hoặc liền kề (danh sách SID), mỗi ID đại diện cho một nút hoặc liên kết dọc theo đường dẫn. Làm theo các bước sau để tạo các chính sách SR-MPLS rõ ràng.
Trước khi bạn bắt đầu
- Collect affinity information from your devices, and then map them in the Crosswork Network Controller UI before creating an explicit SR-MPLS policy. See Configure TE link affinities in Crosswork Network Controller.
Bước 1: Choose Services & Traffic Engineering > Traffic Engineering > SR-MPLS.
Bước 2: Click Create > PCE Init.
Ghi chú
If you would like to provision a PCC-initiated policy using Cisco Network Services Orchestrator (NSO) via the Crosswork UI, see Create SR-TE policies (PCC-initiated).
Bước 3: Under Policy details, enter or select the required SR-MPLS policy values. Hover the mouse pointer over the to view mô tả về lĩnh vực này.
Mẹo
If you have set up device groups, you can select the device group from the Device Groups drop-down list. Then navigate and zoom in on the topology map to click the device for headend or endpoint selection.
- Bước 4: Under Policy path, click Explicit path and enter a path name.
- Bước 5: Add segments that will be part of the SR-MPLS policy path.
- Bước 6: Nhấp vào Preview and confirm that the policy you created matches your intent.
- Bước 7: If you want to commit the policy path, click Provision to activate the policy on the network or exit to abort the configuration process.
- Bước 8: Validate the SR-MPLS policy creation:
- Confirm that the new SR-MPLS policy appears in the Traffic Engineering table. You can also click the check box next to the policy to see it highlighted in the map.
Ghi chú
The newly provisioned SR-TE policy may take some time, depending on the network size and performance, to appear in the table. The Traffic engineering table is refreshed every 30 seconds.
- View và xác nhận chi tiết chính sách SR-MPLS mới. Từ bảng Kỹ thuật lưu lượng, nhấp vào và chọn View chi tiết.
Ghi chú
- Trên thiết lập có số lượng nút, chính sách hoặc giao diện cao, thời gian chờ có thể xảy ra trong quá trình triển khai chính sách. Để cấu hình các tùy chọn thời gian chờ, hãy xem phần Cấu hình cài đặt thời gian chờ TE.
Tạo chính sách SR-MPLS động dựa trên mục đích tối ưu hóa
SR-PCE computes a path for the policy based on metrics and path constraints (affinities or disjointness) defined by the user. A user can select from three available metrics to minimize in-path computation: IGP, TE, or latency. The SR-PCE will automatically re-optimize the path as necessary based on topology changes. If a link or interface fails, the network will find an alternate path that meets all the criteria specified in the policy and raise an alarm. If no path is found, an alarm is raised, and the packets are dropped.
Follow these steps to create SR-MPLS policies with a dynamic path.
- Bước 1: Choose Services & Traffic Engineering > Traffic Engineering > SR-MPLS.
- Bước 2: Click Create > PCE Init. If you would like to provision a PCC-initiated policy using Cisco Network Services Orchestrator (NSO) via the Crosswork UI, see Create SR-TE policies (PCC-initiated).
- Bước 3: Trong phần Chi tiết chính sách, nhập hoặc chọn các giá trị chính sách SR-MPLS cần thiết. Di con trỏ chuột đến view mô tả của từng lĩnh vực.
Mẹo
- If you have set up device groups, you can select the device group from the Device Groups drop-down menu. Then navigate and zoom in on the topology map to click the device for headend or endpoint selection.
- Bước 4: Under Policy path, click Dynamic path and enter a path name.
- Bước 5: Under Optimization objective, select the metric you want to minimize.
- Bước 6: Define any applicable constraints and disjointness.
Cân nhắc về mối quan hệ
- Affinity constraints and disjointness cannot be configured on the same SR-MPLS policy. Also, there cannot be more than two SR-MPLS policies in the same disjoint group or subgroup. The configuration will not be allowed during Preview.
- If there are existing SR-MPLS policies belonging to a disjoint group that you define here, all SR-MPLS policies that belong to that same disjoint group are shown during Preview.
- Bước 7: Under Segments, select whether or not protected segments should be used when available.
- Bước 8: Enter any applicable SID constraint. Crosswork Network Controller will try to find a path with this SID. If a path with the SID constraint cannot be found, the provisioned policy will remain operationally down until the conditions are met.
Thông tin SID
- Flexible Algorithm—The values correspond to the Flexible Algorithm that are defined on the device and the 128-255 range is enforced by Cisco IOS XR.
- Algorithm 0—This is a Shortest Path First (SPF) algorithm based on link metric. This shortest path algorithm is computed by the Interior Gateway Protocol (IGP).
- Algorithm 1—This is a Strict Shortest Path First (SSPF) algorithm based on link metric. Algorithm 1 is identical to Algorithm 0 but requires that all nodes along the path honor the SPF routing decision. Local policy does not alter the forwarding decision. For example, a packet is not forwarded through a locally engineered path.
- Bước 9: Nhấp vào Preview. The path is highlighted on the map.
- Bước 10: To commit the policy path, click Provision.
- Bước 11: Validate the SR-MPLS policy creation.
- Confirm that the new SR-MPLS policy appears in the SR Policy table. You can also click the check box next to the policy to see it highlighted in the map.
Ghi chú
- The newly provisioned SR-MPLS policy may take some time, depending on the network size and performance, to appear in the Traffic Engineering table. The table is refreshed every 30 seconds.
- View và xác nhận chi tiết chính sách SR-MPLS mới. Từ bảng Kỹ thuật lưu lượng, nhấp và chọn View chi tiết.
Tạo chính sách SR-TE (do PCC khởi xướng)
- Nhiệm vụ này tạo các chính sách SR-MPLS hoặc SRv6 rõ ràng hoặc động bằng cách sử dụng Cisco Network Services Orchestrator (NSO) thông qua Crosswork UI.
Trước khi bạn bắt đầu
If you want to create explicit PCC-initiated SR-MPLS or SRv6 policies, you must create a Segment IDs list (Services & Traffic Engineering > Provisioning (NSO) > SR-TE > SID-List). An explicit (fixed) path consists of a list of prefix or adjacency Segment IDs, each representing a node or link along on the path.
Bước 1: Từ menu chính, chọn Dịch vụ & Kỹ thuật lưu lượng > Cung cấp (NSO).
Bước 2: From SR-TE > Policy, click
. Crosswork displays the Create SR-TE > Policy window.
Ghi chú
- You may also click
để nhập chính sách SR-TE hiện có. - Bước 3: Enter the policy constraints and required values.
- You must populate the following options:
Bảng 1: Cấu hình chính sách SR-TE
| Mở rộng cái này: | To specify this: |
| tên | Enter a name for this SR-TE policy. |
| head-end | • You can click |
| tail-end | Manually enter the node name. |
| màu sắc | Enter a color. For example: 200. |
| con đường | a. Nhấp chuột b. Select one of the following and toggle the switch to enable: • explicit-path—Click • dynamic-path—Select the metric you want to minimize and define any applicable constraints and disjointness. |
| srv6 | If you are creating an SRv6 policy, toggle Enable SRv6. |
- Step 4: When you are finished, click Dry Run to validate your changes and save them. Crosswork will display your changes in a pop-up window.
- Nếu bạn muốn cấu hình một dịch vụ có các yêu cầu không khớp với những yêu cầu chúng tôi mô tả trong ví dụ nàyample, hãy liên hệ với bộ phận Trải nghiệm khách hàng của Cisco.
- Step 5: When you are ready to activate the policy, click Commit Changes.
Sửa đổi chính sách SR-MPLS
- Bạn chỉ có thể sửa đổi hoặc xóa các chính sách SR-MPLS được tạo bằng API hoặc UI của Crosswork Network Controller. Thực hiện theo các bước sau để view, sửa đổi hoặc xóa chính sách SR-MPLS.
- Bước 1: Choose Services & Traffic Engineering > Traffic Engineering > SR-MPLS tab.
- Bước 2: From the Traffic engineering table, locate the SR-MPLS policy you are interested in and click
. - Bước 3: Chọn View chi tiết hoặc Chỉnh sửa/Xóa. Sau khi cập nhật chi tiết chính sách SR-MPLS, bạn có thểview những thay đổi trên bản đồ trước khi lưu.
Câu hỏi thường gặp
H: Có thể hiển thị bao nhiêu chính sách trên bản đồ địa hình?
A: Up to 10 policies can be selected and displayed as separate colored links on the map.
H: Tôi có thể xuất dữ liệu đã chọn từ thông tin chi tiết về chính sách không? view?
A: Không, bạn chỉ có thể xuất tất cả dữ liệu vào CSV file from the policy details view.
Tài liệu / Tài nguyên
![]() |
Bộ điều khiển mạng chéo CISCO SR-MPLS, SRv6 [tập tin pdf] Hướng dẫn sử dụng Bộ điều khiển mạng chéo SR-MPLS, SRv6, SR-MPLS SRv6, SR-MPLS SRv6, Bộ điều khiển mạng chéo, Bộ điều khiển mạng, Bộ điều khiển |

