Carriage return in notes

Is there any way to insert a carriage return in notes? I am trying to list out the port states of each switch with their description. Right now the only way to make it readable is to enter a separate note for each port. I would like to keep it to one note so i can use a simple text template for each switch.

Here is what the note looks like. If i just paste this all into one note they all run together, otherwise i have to create a note for each port to get them to show up line by line. The switches with 48 ports are a real bear.

1 [oid(“1.3.6.1.2.1.2.2.1.7.1”)] [oid(“1.3.6.1.2.1.2.2.1.8.1”)]***
2 [oid(“1.3.6.1.2.1.2.2.1.7.2”)] [oid(“1.3.6.1.2.1.2.2.1.8.2”)]MW-RESERVED
3 [oid(“1.3.6.1.2.1.2.2.1.7.3”)] [oid(“1.3.6.1.2.1.2.2.1.8.3”)]***
4 [oid(“1.3.6.1.2.1.2.2.1.7.4”)] [oid(“1.3.6.1.2.1.2.2.1.8.4”)]MW-RESERVED
5 [oid(“1.3.6.1.2.1.2.2.1.7.5”)] [oid(“1.3.6.1.2.1.2.2.1.8.5”)]***
6 [oid(“1.3.6.1.2.1.2.2.1.7.6”)] [oid(“1.3.6.1.2.1.2.2.1.8.6”)]MW-RESERVED
7 [oid(“1.3.6.1.2.1.2.2.1.7.7”)] [oid(“1.3.6.1.2.1.2.2.1.8.7”)]-RESERVED
8 [oid(“1.3.6.1.2.1.2.2.1.7.8”)] [oid(“1.3.6.1.2.1.2.2.1.8.8”)]MW-RESERVED
9 [oid(“1.3.6.1.2.1.2.2.1.7.9”)] [oid(“1.3.6.1.2.1.2.2.1.8.9”)]Omnitronix
10 [oid(“1.3.6.1.2.1.2.2.1.7.10”)] [oid(“1.3.6.1.2.1.2.2.1.8.10”)]MW-RESERVED
11 [oid(“1.3.6.1.2.1.2.2.1.7.11”)] [oid(“1.3.6.1.2.1.2.2.1.8.11”)]PowerSupply
12 [oid(“1.3.6.1.2.1.2.2.1.7.12”)] [oid(“1.3.6.1.2.1.2.2.1.8.12”)]MW-RESERVED
13 [oid(“1.3.6.1.2.1.2.2.1.7.13”)] [oid(“1.3.6.1.2.1.2.2.1.8.13”)]
-RESERVED
14 [oid(“1.3.6.1.2.1.2.2.1.7.14”)] [oid(“1.3.6.1.2.1.2.2.1.8.14”)]MW-RESERVED
15 [oid(“1.3.6.1.2.1.2.2.1.7.15”)] [oid(“1.3.6.1.2.1.2.2.1.8.15”)]Digi-Modem
16 [oid(“1.3.6.1.2.1.2.2.1.7.16”)] [oid(“1.3.6.1.2.1.2.2.1.8.16”)]-RESERVED
17 [oid(“1.3.6.1.2.1.2.2.1.7.17”)] [oid(“1.3.6.1.2.1.2.2.1.8.17”)]TAS-RESERVED
18 [oid(“1.3.6.1.2.1.2.2.1.7.18”)] [oid(“1.3.6.1.2.1.2.2.1.8.18”)]OB-DUL006-DW
19 [oid(“1.3.6.1.2.1.2.2.1.7.19”)] [oid(“1.3.6.1.2.1.2.2.1.8.19”)]OB-DUL999-DW
20 [oid(“1.3.6.1.2.1.2.2.1.7.20”)] [oid(“1.3.6.1.2.1.2.2.1.8.20”)]OB-RESERVED
21 [oid(“1.3.6.1.2.1.2.2.1.7.21”)] [oid(“1.3.6.1.2.1.2.2.1.8.21”)]OB-RESERVED
22 [oid(“1.3.6.1.2.1.2.2.1.7.22”)] [oid(“1.3.6.1.2.1.2.2.1.8.22”)]{{
-7}}
23 [oid(“1.3.6.1.2.1.2.2.1.7.23”)] [oid(“1.3.6.1.2.1.2.2.1.8.23”)]TechAccess
24 [oid(“1.3.6.1.2.1.2.2.1.7.24”)] [oid(“1.3.6.1.2.1.2.2.1.8.24”)]Inter Switc
25 [oid(“1.3.6.1.2.1.2.2.1.7.25”)] [oid(“1.3.6.1.2.1.2.2.1.8.25”)]MW-DUL999-DW
26 [oid(“1.3.6.1.2.1.2.2.1.7.26”)] [oid(“1.3.6.1.2.1.2.2.1.8.26”)]MW-DUL006-DW

Anyone have some ideas on this one? Or am i stuck creating hundreds of notes.

I don’t want to make probes for the ports because it will make the services up list ridiculous. I just want to be able to see a description of the ports so I know what is plugged into each. Unfortunately my foundry switches do not have an oid that shows the port description.

Right now what i have for setting up the port descriptions is an excel file that i use to create the template you see above. I telnet into the switch and run a “show int brie” command and get a list of the ports. I copy and paste this into excel and it concatenates the info into a text string with the oid’s. Then i can paste this output directly into the device note.

The only solution right now i can think of is to add enough spaces at the end of each line to force the the text to wrap to the next line.

I put text with LF and CRLF in a note and sure enough in a note they are ignored.
I think you are going to either have to try other special chars which would be a pain or white space forcing word wrap.

Maybe put it on the appearance? CRLF are not ignored in an appearance label…

The appearance wouldn’t work because it would make the device take up the whole screen.

What i did for right now is create 26 functions - 1 for each port - and put them all into the tool tip. The “if” statement in the function only shows something if those ports exist on the device but on devices that don’t have them you get a bunch of blank lines in the tool tip pop up. Now all of my tool tips go all the way from the top of the screen to the bottom. I can live with this for now but I’m hoping to stumble across a more elegant solution.

Here is an example of the function I am using for each port. This gives me the PORT – SPEED – OPER UP/DOWN – ADMIN UP/DOWN – PORT ALIAS.

if (string_size(oid(“1.3.6.1.2.1.31.1.1.1.1.1”)),concatenate (oid(“1.3.6.1.2.1.31.1.1.1.1.1”)," “,oid(“1.3.6.1.2.1.31.1.1.1.15.1”),” “,oid(“1.3.6.1.2.1.2.2.1.8.1”),” “,oid(“1.3.6.1.2.1.2.2.1.7.1”),” “,oid(“1.3.6.1.2.1.31.1.1.1.18.1”)),”")

I did find an oid to give me the programed port description witch makes this whole process less cumbersome. It was the port alias and not the description. My snmp walks would always time out before ever getting that far.