Cisco NCS 1001 Configuration Manual

Data models configuration guide
Hide thumbs Also See for NCS 1001:

Quick Links

Data Models Configuration Guide for Cisco NCS 1001
First Published: 2017-07-14
Last Modified: 2018-03-29
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
Table of Contents
loading

Summary of Contents for Cisco NCS 1001

  • Page 1 Data Models Configuration Guide for Cisco NCS 1001 First Published: 2017-07-14 Last Modified: 2018-03-29 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883...
  • Page 2 Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: /www.cisco.com/go/trademarks . Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company.
  • Page 3: Table Of Contents

    Remove Amplifier Configuration Configure Protection Switching Module Remove Protection Switching Module Configuration Configure OTS Controller Display Parameters of OTS Controllers Display Parameters of OTS OCH Controllers View PM Parameters for OTS Controllers Data Models Configuration Guide for Cisco NCS 1001...
  • Page 4 Contents Configuring NCS 1001 Using OpenConfig Data Model C H A P T E R 4 Openconfig Optical Amplifier Model Openconfig Protection Switching Model Openconfig Channel Monitoring Model Data Models Configuration Guide for Cisco NCS 1001...
  • Page 5: Data Models

    7 Data Models - Programmatic and Standards-based Configuration Cisco IOS XR software supports the automation of configuration of multiple routers across the network using Data models. Configuring routers using data models overcomes drawbacks posed by traditional router management techniques.
  • Page 6: Yang Model

    HTTP/2 XML, JSON Each feature has a defined YANG model. Cisco-specific YANG models are referred to as synthesized models. Some of the standard bodies, such as IETF , IEEE and Open Config, are working on providing an industry-wide standard YANG models that are referred to as common models.
  • Page 7: Structure Of Yang Models

    • leaf-list node - contains a sequence of leaf nodes • container node - contains a grouping of related nodes containing only child nodes, which can be any of the four node types Data Models Configuration Guide for Cisco NCS 1001...
  • Page 8: Data Types

    The client can be a script or application typically running as part of a network manager. The server is typically a network device (router). For more NETCONF details, refer RFC 6241. Data Models Configuration Guide for Cisco NCS 1001...
  • Page 9—Retrieves running configuration and device state information • —Loads all or part of a specified configuration to the specified target configuration • —Retrieves the required schema from the router NETCONF Operations: Example Data Models Configuration Guide for Cisco NCS 1001...
  • Page 10: Subtree Filtering

    • Namespace selection - A namespace is considered to match (for filter purposes) if the XML namespace associated with a particular node within the filter element is the same as in the underlying data model. Data Models Configuration Guide for Cisco NCS 1001...
  • Page 11: Grpc

    Although Protobufs was the only format supported in the initial release, gRPC is extensible to other content types. The Protobuf binary data object in gRPC is transported Data Models Configuration Guide for Cisco NCS 1001...
  • Page 12 • oper merge-config— Appends to an existing configuration • oper delete-config—Deletes a configuration • oper replace-config—Modifies a part of an existing configuration • oper get-oper—Gets operational data using JSON • oper cli-config—Performs a configuration • oper showcmdtextoutput Data Models Configuration Guide for Cisco NCS 1001...
  • Page 13: Using Data Models

    Users can also query using NETCONF to get the list of models. Data Models Configuration Guide for Cisco NCS 1001...
  • Page 14: Enabling Netconf

    3 From the client application, connect to the router using Netconf on SSH. Run Netconf operations to make configuration changes or get operational data. Figure 4: Lane Diagram to show the router and client application operations Enabling Netconf This task enables Netconf over SSH. Data Models Configuration Guide for Cisco NCS 1001...
  • Page 15: Enabling Grpc

    Step 2 Configure the gRPC port, using the grpc port command. RP/0/RP0/CPU0:ios(config)#grpc RP/0/RP0/CPU0:ios(config)#port 57400 RP/0/RP0/CPU0:ios(config)#tls RP/0/RP0/CPU0:ios(config)#commit Port can range from 57344 to 57999. If a port is unavailable, an error is displayed. Data Models Configuration Guide for Cisco NCS 1001...
  • Page 16 Using Data models Enabling gRPC Data Models Configuration Guide for Cisco NCS 1001...
  • Page 17: Configuring Ncs 1001 Using Data Models

    Display Parameters of OTS OCH Controllers, page 24 • View PM Parameters for OTS Controllers, page 25 Supported YANG Models in NCS 1001 The supported configuration and operational YANG models for NCS 1001 are listed below. Cfg. yang Oper. yang Cisco-IOS-XR-ncs1001-ots-cfg.yang Cisco-IOS-XR-controller-optics-oper.yang...
  • Page 18: Configure Amplifier Module

    Configuring NCS 1001 Using Data Models Configure Amplifier Module Configure Amplifier Module Use the Cisco-IOS-XR-ncs1001-ots-cfg.yang YANG model to configure the grid mode parameter of the amplifier module as 100GHz or 50GHz. Parameter Example grid-mode ...
  • Page 19: Configure Protection Switching Module

    0_RP0_CPU0 0x2 100g-hz Configure Protection Switching Module Use the Cisco-IOS-XR-ncs1001-ots-cfg.yang YANG model to configure the protection switching module. Data Models Configuration Guide for Cisco NCS 1001...
  • Page 20: Remove Protection Switching Module Configuration

    0_RP0_CPU0 0x3 working Remove Protection Switching Module Configuration Use the Cisco-IOS-XR-ncs1001-ots-cfg.yang YANG model to remove the protection switching module configuration. Data Models Configuration Guide for Cisco NCS 1001...
  • Page 21: Configure Ots Controller

    Configure OTS Controller Use the Cisco-IOS-XR-controller-optics-cfg.yang YANG model to configure the parameters of the OTS controller such as ampli-control-mode, ampli-channel-power, ampli-gain, ampli-gain-range, ampli-tilt, channel-power-max-delta, osri, safety-control-mode, rx-low-threshold, tx-low-threshold, rx-voa-attenuation, and tx-voa-attenuation. Data Models Configuration Guide for Cisco NCS 1001...
  • Page 22 ampli-channel-power act Ots0/2/0/0 -200 ampli-gain Data Models Configuration Guide for Cisco NCS 1001...
  • Page 23 ampli-gain-range act Ots0/2/0/0 normal ampli-tilt Data Models Configuration Guide for Cisco NCS 1001...
  • Page 24 channel-power-max-delta act Ots0/2/0/0 100 osri Data Models Configuration Guide for Cisco NCS 1001...
  • Page 25 safety-control-mode act Ots0/2/0/0 auto rx-low-threshold Data Models Configuration Guide for Cisco NCS 1001...
  • Page 26 act Ots0/2/0/0 low 100 rx-voa-attenuation Data Models Configuration Guide for Cisco NCS 1001...
  • Page 27: Display Parameters Of Ots Controllers

    act Ots0/3/0/1 135 Display Parameters of OTS Controllers Use the Cisco-IOS-XR-controller-optics-oper.yang YANG model to display the parameters of OTS controllers. Data Models Configuration Guide for Cisco NCS 1001...
  • Page 28: Display Parameters Of Ots Och Controllers

    Display Parameters of OTS OCH Controllers Use the Cisco-IOS-XR-controller-optics-oper.yang YANG model to display the parameters of OTS OCH controllers. Parameter Description show controllers ots-och 0/2/0/0/1 ...
  • Page 29: View Pm Parameters For Ots Controllers

    Configuring NCS 1001 Using Data Models View PM Parameters for OTS Controllers View PM Parameters for OTS Controllers Use the Cisco-IOS-XR-pmengine-oper.yang YANG model to view the performance monitoring parameters for OTS controllers. Parameter Example show controllers ots 0/2/0/0 ...
  • Page 30 Configuring NCS 1001 Using Data Models View PM Parameters for OTS Controllers Data Models Configuration Guide for Cisco NCS 1001...
  • Page 31 A complete list of supported open configuration models is available at https://github.com/openconfig. Cisco NCS1001 supports openconfig models according to the optical transport functions available on system. The following are the openconfig supported models: • Amplifier model, supported by NCS1001 EDFA modules •...
  • Page 32 +--ro input-power +--ro instant? decimal64 +--ro avg? decimal64 +--ro min? decimal64 +--ro max? decimal64 +--ro output-power +--ro instant? decimal64 +--ro avg? decimal64 +--ro min? decimal64 +--ro max? decimal64 +--ro laser-bias-current Inventory Details Data Models Configuration Guide for Cisco NCS 1001...
  • Page 33 Configuring NCS 1001 Using OpenConfig Data Model Openconfig Protection Switching Model Each EDFA module pluggable within Cisco NCS1001 slot contains two optical amplifiers such as a booster and a pre-amplifier. The list of components applicable as amplifier name is listed in the following table:...
  • Page 34 +--ro min? decimal64 +--ro max? decimal64 Inventory Details The Cisco NCS1001 PSM pluggable module is provided through the following inventory information: Component Naming Convention EDFA Module, PSM 0/S-PSM-OM Openconfig Channel Monitoring Model The following is the tree structure of OpenConfig Channel Monitor model:...
  • Page 35 Configuring NCS 1001 Using OpenConfig Data Model Openconfig Channel Monitoring Model EDFA Module, Booster Amplifier OCM 0/S-CHMON-BST Data Models Configuration Guide for Cisco NCS 1001...
  • Page 36 Configuring NCS 1001 Using OpenConfig Data Model Openconfig Channel Monitoring Model Data Models Configuration Guide for Cisco NCS 1001...

Table of Contents