[Switch] What Are the Meanings of the current state and Line protocol current st

m7g
m7g  Diamond  (1)
7 years 10 months ago  View: 3272  Reply: 3
1F
You can run the display interface command to view the running status and statistics about an

interface.


<HUAWEI> display interface gigabitethernet 0/0/1
GigabitEthernet 0/0/1 current state : UP
Line protocol current state : UP

......


The meanings and differences between the current state field and Line protocol current state field in the command output are as follows:
  •  The current state field indicates the physical status of the interface and is not related to Layer 3 services and protocols.
  •  The Line protocol current state field indicates the link protocol status of the interface and is related to protocols.
        – For Layer 2 interface: Generally, if the physical status current state displays Up, the protocol status Line protocol current state displays Up.
        – For Layer 3 interfaces: Only when the physical status current state displays Up and the protocol negotiation succeeds, the protocol status Line protocol current state displays Up.
Neen
Neen  Platinum 
7 years 10 months ago
2F
From the topic, i think you are introduce the command display interface
m7g
m7g  Diamond 
7 years 10 months ago
3F
Not only ! :) There are many more interesting teams to clarify the status of the port , for example - display interface-statistics gi0/0/24

The result will be the information collected within 5 seconds of the bandwidth and error . And so 5 times :)

interface-statistics gi0/0/24
Display statistics of the interface at the interval of 10 seconds for up to 5 times. Press Ctrl + C to stop.
  0 seconds left \
1 Times
Interface: GigabitEthernet0/0/24
-------------------------------------------------- -----------------------
Input rate: 8861432 bits / sec, 14543 packets / sec
Output rate: 10692640 bits / sec, 6352 packets / sec
Input: 9052277457735 bytes, packets 114122767465
Output: 17797697028393 bytes, packets 59878486667
Input error: 0 packets
Output error: 0 packets
Input bandwidth utilization: 8.86%
Output bandwidth utilization: 10.69%


  0 seconds left \
Times 2
Interface: GigabitEthernet0/0/24
-------------------------------------------------- -----------------------
Input rate: 8512772 bits / sec, 13998 packets / sec
Output rate: 10455302 bits / sec, 6339 packets / sec
Input: 9052288098701 bytes, packets 114122907446
Output: 17797710097521 bytes, packets 59878550062
Input error: 0 packets
Output error: 0 packets
Input bandwidth utilization: 7.44%
Output bandwidth utilization: 9.25%


  0 seconds left /
3 Times
Interface: GigabitEthernet0/0/24
-------------------------------------------------- -----------------------
Input rate: 8542219 bits / sec, 14076 packets / sec
Output rate: 13825314 bits / sec, 6894 packets / sec
Input: 9052298776475 bytes, packets 114123048208
Output: 17797727379164 bytes, packets 59878619009
Input error: 0 packets
Output error: 0 packets
Input bandwidth utilization: 8.55%
Output bandwidth utilization: 13.75%


  0 seconds left |
4 Times
Interface: GigabitEthernet0/0/24
-------------------------------------------------- -----------------------
Input rate: 7451842 bits / sec, 12261 packets / sec
Output rate: 10285233 bits / sec, 5679 packets / sec
Input: 9052308091278 bytes, packets 114123170825
Output: 17797740235706 bytes, packets 59878675800
Input error: 0 packets
Output error: 0 packets
Input bandwidth utilization: 8.52%
Output bandwidth utilization: 11.57%


  0 seconds left \
5 Times
Interface: GigabitEthernet0/0/24
-------------------------------------------------- -----------------------
Input rate: 8542073 bits / sec, 13951 packets / sec
Output rate: 12908111 bits / sec, 6713 packets / sec
Input: 9052318768870 bytes, packets 114123310341
Output: 17797756370845 bytes, packets 59878742937
Input error: 0 packets
Output error: 0 packets
Input bandwidth utilization: 7.43%
Output bandwidth utilization: 11.73%
m7g
m7g  Diamond 
7 years 10 months ago
4F
If we want to test the optical interface or attenuation of an optical link to see RX / TX, you can use the - display transceiver int XGigabitEthernet 0/1/2 verbose


XGigabitEthernet0/1/2 transceiver information:
-------------------------------------------------- -----------
Common information:
  Transceiver Type: 10GBBASE_LR_XFP
  Connector Type: LC
  Wavelength (nm): 1310
  Transfer Distance (m): 10km (SMF)
  Digital Diagnostic Monitoring: YES
  Vendor Name: NEOPHOTONICS
  Vendor Part Number: PT745F- 81 -1D
  Ordering Name:
-------------------------------------------------- -----------
Manufacture information:
  Manu. Serial Number: A0711754694
  Manufacturing Date :2011- 07-19
  Vendor Name: NEOPHOTONICS
-------------------------------------------------- -----------
Diagnostic information:
  Temperature (??C): 37.86
  Temp High Threshold (??C): 90.00
  Temp Low Threshold (??C): 0.00
  Voltage (V): 3.23
  Volt High Threshold (V): 3.45
  Volt Low Threshold (V): 3.15
  Bias Current (mA): 35.96
  Bias High Threshold (mA): 90.00
  Bias Low Threshold (mA): 20.00
  RX Power (dBM): -11.51
  RX Power High Threshold (dBM): -1.50
  RX Power Low Threshold (dBM): -14.00
  TX Power (dBM): -2.20
  TX Power High Threshold (dBM): -1.00
  TX Power Low Threshold (dBM): -5.50
-------------------------------------------------- -----------