System Setup and Software Installation Guide for Cisco Optical Site Manager, IOS XR

PDF

Configure Cisco Optical Site Manager in standalone mode for NCS 1001 or NCS 1004

Want to summarize with AI?

Log in

Overview

Learn how to configure Cisco Optical Site Manager in standalone mode on an NCS 1001 or NCS 1004 controller card. Use this procedure to set management interfaces, routing, and NETCONF over SSH parameters, and verify operational status.

Cisco Optical Site Manager can be configured in standalone mode on a single NCS 1001 or NCS 1004 controller card.

The configuration involves setting up Cisco Optical Site Manager interfaces and defining management interface parameters.

Before you begin

Verify that these NETCONF over SSH is enabled. For more details, see Enable NETCONF over SSH on host devices.

Follow these steps to configure Cisco Optical Site Manager in standalone mode on a single NCS 1001 or NCS 1004 controller card:

Procedure

1.

Enter global configuration mode.

Example:

RP/0/RP0/CPU0:1001-otdr-187#configure terminal
2.

Configure Linux networking, VRF, and interface parameters for the management interface and a loopback interface.

Example:

RP/0/RP0/CPU0:1001-otdr-187(config)#linux networking
RP/0/RP0/CPU0:1001-otdr-187(config-lnx-net)# vrf default
RP/0/RP0/CPU0:1001-otdr-187(config-lnx-vrf)# east-west Loopback2
RP/0/RP0/CPU0:1001-otdr-187(config-lnx-vrf)#address-family ipv4
RP/0/RP0/CPU0:1001-otdr-187(config-lnx-vrf)# source-hint default-route interface mgmtEth 0/RP0/CPU0/0
RP/0/RP0/CPU0:1001-otdr-187(config)#interface Loopback2
RP/0/RP0/CPU0:1001-otdr-187(config-if)# ipv4 address 2.2.2.2 255.255.255.255
RP/0/RP0/CPU0:1001-otdr-187(config-if)#interface MgmtEth0/RP0/CPU0/0
RP/0/RP0/CPU0:1001-otdr-187(config-if)# ipv4 address 10.0.0.123 255.255.255.0
3.

Configure a static default route for IPv4 unicast traffic.

Example:

RP/0/RP0/CPU0:1001-otdr-187(config)#router static
RP/0/RP0/CPU0:1001-otdr-187(config-static)# address-family ipv4 unicast
RP/0/RP0/CPU0:1001-otdr-187(config-static-afi)#  0.0.0.0/0 10.0.0.1
4.

Configure the management interface for Cisco Optical Site Manager by using the mgmt-interface-name MgmtEth R/S/I/P command.

Example:

RP/0/RP0/CPU0:ios(config-cosm)# mgmt-interface-name MgmtEth 0/RP0/CPU0/0
5.

Commit the changes and exit the configuration modes using the commit and end commands.

Example:

RP/0/RP0/CPU0:ios(config-cosm)# commit
RP/0/RP0/CPU0:ios(config-cosm)# end
6.

Verify the Cisco Optical Site Manager status using the show cosm status command.

Example:

P/0/RP0/CPU0:ios#show cosm status
Fri Nov 14 10:26:44.215 UTC
COSM state: CLIENT_REGISTERED
AppMgr app state: UNKNOWN
AppMgr container state: UNKNOWN
Container status: Not present
Last error: 'Appmgr' detected the 'warning' condition 'Application not found'
Role: UNKNOWN

You can also use the show running-config cosm command to verify the configured parameters, though user credentials are not displayed.

Cisco Optical Site Manager is configured in the standalone mode.