CatOS set port name

Answered Question
May 5th, 2009

Hi,

Please could someone tell me what the maximum string length is for the CatOS command "set port name"? I've done some searching but can't find the answer.

version 5.5(19)

Thanks

I have this problem too.
0 votes
Correct Answer by Giuseppe Larosa about 7 years 7 months ago

Hello Graham,

it should be 21 chars if you try to set a longer port description string you will get an error message and the port name is truncated at 21 chars

Hope to help

Giuseppe

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (3 ratings)
Loading.
glen.grant Tue, 05/05/2009 - 07:43

If you don't get an answer just experiment with it , its just a name and it does not affect anything else . I want to say like 20 characters but don't know for sure.

Correct Answer
Giuseppe Larosa Tue, 05/05/2009 - 11:49

Hello Graham,

it should be 21 chars if you try to set a longer port description string you will get an error message and the port name is truncated at 21 chars

Hope to help

Giuseppe

deepa.muralidharan Tue, 05/05/2009 - 23:25

Hi,

This information was useful I tried out & verified the same. The switch indeed throws an error 'Name string must be less than 21 characters'

Switch> (enable) set port name 3/44 qwertyuiopasdfghjklzxcv

Name string must be less than 21 characters.

graham-lewis Wed, 05/06/2009 - 03:38

Thanks for your replies. I thought it was fairly short but I don't have a CatOS switch in test and any changes made in live have to go through change control. I'm scripting some changes so this information is very useful, thanks again.

Graham

Actions

This Discussion