10-12-2020 02:40 PM
Hello,
We are making or documentation in a special table format which looks like this for example
Port | 02 | 05 | 50 | 70 |
---|---|---|---|---|
1 | u | t | t | t |
2 | u | |||
3 | u | |||
4 | t | t | ||
5 | u | |||
6 | u | t | ||
7 | u | t | t | |
8 | t | |||
9 | t | |||
10 | u |
The first column gives the port Number. The next columns are titled with the VLAN IDs existing on the switch. The Content of the rows “u” and “t” indicates if the port is untagged or tagged in the VLAN. If ithe port is neither untagged or tagged the cell stays empty.
Is there a easy way to get this table automatically generated from EMC? I tried my best with Flex Views but was not able to make a table like that.
Kind regards
Christoph Schneider
Solved! Go to Solution.
10-12-2020 03:59 PM
Hello Christioph,
there are many possibilities in FelxViews, but I think you can’t achieve exactly that.
I recommend to write a Python script in the XMC. XMC takes care of the login and authentication at the switches, so you can concentrate on reading the VLAN and port information you need.
Afterwards you can format the VLAN information using Python, e.g. with print or with the module pprint (stands for pretty print).
With this module you can easily create the formatting and send it by email or save it as a file in the file system.
Best regards
Stephan Harrer
10-14-2020 11:28 AM
Hello Stephan,
thanks for the awnser
thanks for the answer. I will give it an try.
Kind regards
Christoph Schneider
10-12-2020 03:59 PM
Hello Christioph,
there are many possibilities in FelxViews, but I think you can’t achieve exactly that.
I recommend to write a Python script in the XMC. XMC takes care of the login and authentication at the switches, so you can concentrate on reading the VLAN and port information you need.
Afterwards you can format the VLAN information using Python, e.g. with print or with the module pprint (stands for pretty print).
With this module you can easily create the formatting and send it by email or save it as a file in the file system.
Best regards
Stephan Harrer