Got it

CLI Character encoding on VRP

Created: Jul 29, 2020 09:24:35Latest reply: Jul 29, 2020 09:31:17 322 1 0 0 0
  Rewarded HiCoins: 5 (problem resolved)

Hi,

I am trying to automate and gather some information using Ansible.

For most commands that is not an issue, but a few commands as the below gives errors

The output seems to add the symbol ° " using Chinese encoding.

Is there a way to set ouput to English character sets only?




display transceiver diagnosis interface


SecureCRT setting: UTF-8

Port XGigabitEthernet0/0/24 transceiver diagnostic information:

Parameter        Current       Low Alarm    High Alarm

  Type            Value        Threshold    Threshold    Status

-------------   ---------      ---------    ----------   --------

TxPower(dBm)    -2.43          -10.19       1.49         normal

RxPower(dBm)    -8.19          -18.38       1.49         normal

Current(mA)     46.25          1.00         70.00        normal

Temp.(      41.11          -10.00       85.00        normal

Voltage(V)      3.25           3.00         4.00         normal


SecureCRT setting: ANSI/OEM simplified chinese

Port XGigabitEthernet0/0/24 transceiver diagnostic information:

Parameter        Current       Low Alarm    High Alarm

  Type            Value        Threshold    Threshold    Status

-------------   ---------      ---------    ----------   --------

TxPower(dBm)    -2.55          -10.19       1.49         normal

RxPower(dBm)    -8.32          -18.38       1.49         normal

Current(mA)     46.25          1.00         70.00        normal

Temp.(°C)      40.97          -10.00       85.00        normal

Voltage(V)      3.25           3.00         4.00         normal


Output taken from S6720-EI switch


Jon

Featured Answers

Recommended answer

DDSN
Admin Created Jul 29, 2020 09:31:17

Hi jonbov,
According to the output, no Chinese character is found. "ºC" is the unit of temperature.

I hope it helps!

View more
  • x
  • convention:

All Answers
DDSN
DDSN Admin Created Jul 29, 2020 09:31:17

Hi jonbov,
According to the output, no Chinese character is found. "ºC" is the unit of temperature.

I hope it helps!

View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.