This example shows how to configure multilayer collection using the Cisco WAE CLI (in config mode). This example includes
configuration of a CTC optical agent and manual L1-L3 mapping.
Configure CTC optical agentwae@wae(config)# wae agents optical-agents optical-agent <optical_agent_name>
wae@wae(config-optical-agent-<optical_agent_name>)# cisco-wae-optical-ctc-agent optical-plugin-config
optical-plugin-ip <optical_plugin_ip> optical-plugin-port <optical_plugin_port>
seed-node <optical_seed_node> seed-node-access <seed-node-access>
wae@wae(config-optical-agent-<optical_agent_name>)# top
wae@wae(config)# networks network <ml_network_name>
wae@wae(config-network-<ml_network_name>)# nimo optical-topology optical-agents <optical_agent_name>
wae@wae(config-network-<ml_network_name>)# commit
Create networks
wae@wae(config)# networks network <l3_network_name>
wae@wae(config-network-<l3_network_name>)# nimo topo-igp-nimo network-access <access_group>
wae@wae(config-network-<l3_network_name>)# nimo topo-igp-nimo igp-config 1
igp-protocol <ospf/isis> seed-router <seed-ip>
wae@wae(config-network-<l3_network_name>)# commit
wae@wae(config-network-<l3_network_name>)# exit
wae@wae(config)# networks network <ml_network_name>
wae@wae(config-network-<ml_network_name>)# nimo optical-nimo network-access <access_group>
wae@wae(config-network-<ml_network_name>)# nimo optical-nimo source-network <l3_network_name>
wae@wae(config-network-<ml_network_name>)# nimo optical-nimo optical-agents <optical_agent_name>
wae@wae(config-network-<ml_network_name>)# commit
wae@wae(config-network-<ml_network_name>)# exit
wae@wae(config)# networks network <aggregator_network_name>
wae@wae(config-network-<aggregator_network_name>)# commit
Configure L3 topology
wae@wae(config)# networks network <network_name>
wae@wae(config-network-<network_name>)# nimo topo-igp-nimo collect-interfaces true
wae@wae(config-network-<network_name>)# nimo topo-igp-nimo advanced interfaces lag true get-physical-ports true
wae@wae(config-network-<network_name>)# nimo topo-igp-nimo advanced igp isis-level both login-record-mode playback login-record-dir /home/wae/records/
wae@wae(config-network-<network_name>)# commit
Configure L3-L1 mapping (repeat for each mapping)
wae@wae(config)# wae nimos l3-l1-mappings l3-l1-mappings <mapping_name> l3-l1-mapping <l3_node>
<l3_interface> <l1_node> <l3_interface>
wae@wae(config)# networks network <ml_network> optical-nimo optical-agents [<agent_name>] advanced
use-configured-l3-l1-mapping true l3-l1-mapping <mapping_name>
wae@wae(config-networks-<ml_network_name>)# commit
Note: Use the topo-igp-nimo network as source network for optical-nimo.
(Optional) Configure Lambda mapping
Do one of the following:
-
Load from a file:
After the optical agent is created, load (ncs_load or netconf-console --edit-config..) the lambda mapping configuration XML
file (lambda-id to channel-id/wavelength/central-frequency mapping) to /wae/agents/optical-agents/optical-agent[agent-name]/lambda-mappings.
ncs_load -lmj <file_name>
netconf-console --edit-config <file_name>
![](https://www.cisco.com/content/dam/en/us/td/i/templates/note.gif)
Note
|
The netconf-console command requires the 'python-paramiko' system package.
|
-
Enable Lambda mapping in the optical nimo and select the base for lambda mapping.
wae@wae(config)# networks network <ml_network_name> nimo optical-nimo optical-agents
<optical_agent_name> map-lambdas true map-lambda-id-to <channel-id/wavelength/central-frequency>
wae@wae(config)# commit
(Optional) Configure feasibility limit margin
admin@wae(config)# networks network <ml_network_name> nimo optical-nimo optical-agents <optical_agent_name>
admin@wae(config-optical-agents-<optical_agent_name>)# advanced feasibility-limit-margin-list <L1_circuit_bandwidth>
feasibility-limit-margin <margin_value>
Repeat the second command to configure multiple margin values for different bandwidths.
Configure DARE (aggregator)admin@wae(config)# wae components aggregators aggregator <aggregator_network_name>
admin@wae(config-aggregator-<aggregator_network_name>)# sources source <l3_network_name>
admin@wae(config-source-<l3_network_name>)# exit
admin@wae(config-aggregator-<l3_network_name>)# sources source <ml_network_name>
admin@wae(config-source-<ml_network_name>)# commit
Run L3 topology collectionwae@wae# networks network <l3_network_name> nimo topo-igp-nimo run-collection
Confirm data collection:
wae@wae# show running-config networks network <l3_network_name> model
Run L1 topology collectionStart optical plug-in:
wae@wae# wae agents optical-agents optical-agent <optical-agent-name> cisco-wae-optical-ctc-agent start-optical-discovery
wae@wae# wae agents optical-agents optical-agent <optical-agent-name> cisco-wae-optical-ctc-agent run-optical-collection
wae@wae# networks network <ml_network_name> nimo optical-nimo build-optical-topology
Confirm L1 data collection:
wae@wae# show running-config networks network <ml_network_name> model
wae@wae# show running-config networks network <ml_network_name> l1-model
wae@wae# show running-config networks network <ml_network_name> srlgs
wae@wae# show running-config networks network <ml_network_name> sites
![](https://www.cisco.com/content/dam/en/us/td/i/templates/note.gif)
Note
|
Aggregation runs in the background as network collections process.
|
Confirm L1 and L3 data collection:
wae@wae# show running-config networks network <aggregator_network_name> model
wae@wae# show running-config networks network <aggregator_network_name> l1-model
wae@wae# show running-config networks network <aggregator_network_name> srlgs
wae@wae# show running-config networks network <aggregator_network_name> sites
Generate a plan filewae@wae# wae components getplan run network <network_name> | exclude planfile-content | save <path/for/plan/file.txt>