Skip to content
Denis edited this page Jan 3, 2022 · 6 revisions

Collection of N2G examples

Here follows a number of gif samples to demonstrate N2G capabilities.

Example-1: Using N2G CLI tool to generate CDP&LLDP diagram in yEd format

This examples shows how to use N2G CLI tool with cli_l2_data data plugin to produce diagram based on network devices show lldp and show cdp neighbors commands output for Cisco IOS devices.

GIF - N2G cli_l2_data demo
Commands used in demonstration
n2g -d ./l2_data -L2

Example-2: Using N2G CLI tool to generate CDP&LLDP diagram in yEd format with LAG/MLAG links

This examples shows how to use N2G CLI tool with cli_l2_data data plugin to produce diagram with LAG/MLAG links based on network devices show lldp, show cdp neighbors, show interfaces and show running-configuration interfaces commands output for Cisco IOS&NXOS devices.

GIF - N2G cli_l2_data with LAG/MLAG demo
Commands used in demonstration
n2g -d ./l2_data -L2 -L2-add-lag
Commands collected from devices
Cisco IOS and NXOS:

show cdp neighbors detail 
show lldp nei det
show run
show interface
Clone this wiki locally