Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

ECS: Arista 스위치 인터페이스를 확인하는 방법

Summary: Arista 스위치의 모든 인터페이스에 대한 인터페이스 상태 요약 및 세부 정보를 확인합니다. 이 명령은 모든 Hare, Rabbit, Turtle 스위치에서 작동합니다.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions


svc_switch 메서드 사용(권장)
xDoctor82부터 svc_switch를 사용할 수 있습니다. 최상의 결과를 얻을 수 있도록 항상 최신 xDoctor 릴리스를 사용하십시오. 아래 명령은 아래 레거시 메서드 섹션에 표시된 것과 동일한 출력을 가져옵니다.
명령:
# svc_switch fe port_status
# svc_switch be port_status
확장된 명령:  
# svc_switch fe cmd -hare "sh int status"
# svc_switch fe cmd -rabbit "sh int status"

# svc_switch be cmd "sh int status"

예: 
admin@ecs-n1:~> svc_switch fe port_status
svc_switch v1.2.3 (svc_tools v2.5.1)                 Started 2022-07-15 20:20:42

Ethernet Port  Peer           Port Status              Speed               Duplex
                              Rabbit       Hare        Rabbit  Hare        Rabbit  Hare
---------------------------------------------------------------------------------------------
Et1                           notconnect   notconnect  full    full        10G     10G
Et2                           notconnect   notconnect  full    full        10G     10G
Et3                           notconnect   notconnect  full    full        10G     10G
Et4                           notconnect   notconnect  full    full        10G     10G
Et8                           connected    notconnect  a-full  auto        a-1G    auto
Et9            r1n1           connected    connected   full    full        10G     10G
Et10           r1n2           connected    connected   full    full        10G     10G
Et11           r1n3           connected    connected   full    full        10G     10G
Et12           r1n4           connected    connected   full    full        10G     10G
Et13           r1n5           connected    connected   full    full        10G     10G
Et45           <peer switch>  connected    connected   full    full        10G     10G
Et46           <peer switch>  connected    connected   full    full        10G     10G
Et47           <peer switch>  connected    connected   full    full        10G     10G
Et48           <peer switch>  connected    connected   full    full        10G     10G
admin@ecs-n1:~>

특정 스위치 포트를 확인합니다. 
명령:

# svc_switch <fe/be> cmd -hare "sh int <interface>"

예: 
admin@ecs-n1:~> svc_switch fe cmd -hare "sh int Ethernet 9"
svc_switch v1.2.3 (svc_tools v2.5.1)                 Started 2022-07-15 20:22:12

Switch: hare.rack

Ethernet9 is up, line protocol is up (connected)
  Hardware is Ethernet, address is 2899.3af4.e099 (bia 2899.3af4.e099)
  Description: MLAG group 1
  Member of Port-Channel1
  Ethernet MTU 9214 bytes , BW 10000000 kbit
  Full-duplex, 10Gb/s, auto negotiation: off, uni-link: n/a
  Up 16 days, 11 hours, 11 minutes, 33 seconds
  Loopback Mode : None
  143 link status changes since last clear
  Last clearing of "show interface" counters never
  5 minutes input rate 4.39 Mbps (0.0% with framing overhead), 900 packets/sec
  5 minutes output rate 3.93 Mbps (0.0% with framing overhead), 837 packets/sec
     14816317766 packets input, 10767089176347 bytes
     Received 195138 broadcasts, 791536 multicast
     0 runts, 0 giants
     0 input errors, 0 CRC, 0 alignment, 0 symbol, 0 input discards
     121 PAUSE input
     15450395319 packets output, 12027987949137 bytes
     Sent 591418 broadcasts, 7471144 multicast
     0 output errors, 0 collisions
     0 late collision, 0 deferred, 111784 output discards
     0 PAUSE output

admin@ecs-n1:~> 

출력 해석은 다음 섹션을 확인해 주십시오


레거시 메서드 
  1. 확인이 필요한 스위치에 대한 Secure Shell
명령:
# ssh <switch name.rack>
 
  1. 아래 명령을 실행하여 모든 인터페이스의 일반 보기를 가져옵니다. 
 
명령:
# sh 인터페이스 상태
예: 
hare#sh interfaces status
Port       Name                              Status       Vlan     Duplex Speed  Type         Flags
Et1        MLAG group 100                    connected    in Po100 full   10G    10GBASE-SRL
Et2        MLAG group 100                    connected    in Po100 full   10G    10GBASE-SRL
Et3        MLAG group 100                    notconnect   in Po100 full   10G    10GBASE-SRL
Et4        MLAG group 100                    notconnect   in Po100 full   10G    Not Present
Et5        MLAG group 100                    notconnect   in Po100 full   10G    Not Present
Et6        MLAG group 100                    notconnect   in Po100 full   10G    Not Present
Et7        MLAG group 100                    notconnect   in Po100 full   10G    Not Present
Et8        MLAG group 100                    notconnect   in Po100 auto   auto   1000BASE-T
Et9        MLAG group 1                      connected    in Po1   full   10G    10GBASE-CRA
Et10       MLAG group 2                      connected    in Po2   full   10G    10GBASE-CRA
Et11       MLAG group 3                      connected    in Po3   full   10G    10GBASE-CRA
Et12       MLAG group 4                      connected    in Po4   full   10G    10GBASE-CRA
Et13       MLAG group 5                      connected    in Po5   full   10G    10GBASE-CRA
Et14       MLAG group 6                      connected    in Po6   full   10G    10GBASE-CRA
Et15       MLAG group 7                      connected    in Po7   full   10G    10GBASE-CRA
Et16       MLAG group 8                      connected    in Po8   full   10G    10GBASE-CRA
Et17       MLAG group 9                      notconnect   in Po9   full   10G    Not Present
Et18       MLAG group 10                     notconnect   in Po10  full   10G    Not Present
Et19       MLAG group 11                     notconnect   in Po11  full   10G    Not Present
Et20       MLAG group 12                     notconnect   in Po12  full   10G    Not Present
Et21       MLAG group 13                     notconnect   in Po13  full   10G    Not Present
Et22       MLAG group 14                     notconnect   in Po14  full   10G    Not Present
Et23       MLAG group 15                     notconnect   in Po15  full   10G    Not Present
Et24       MLAG group 16                     notconnect   in Po16  full   10G    Not Present
Et25       MLAG group 17                     notconnect   in Po17  full   10G    Not Present
Et26       MLAG group 18                     notconnect   in Po18  full   10G    Not Present
Et27       MLAG group 19                     notconnect   in Po19  full   10G    Not Present
Et28       MLAG group 20                     notconnect   in Po20  full   10G    Not Present
Et29       MLAG group 21                     notconnect   in Po21  full   10G    Not Present
Et30       MLAG group 22                     notconnect   in Po22  full   10G    Not Present
Et31       MLAG group 23                     notconnect   in Po23  full   10G    Not Present
Et32       MLAG group 24                     notconnect   in Po24  full   10G    Not Present
Et33       RESERVED                          notconnect   1        full   10G    Not Present
Et34       RESERVED                          notconnect   1        full   10G    Not Present
Et35       RESERVED                          notconnect   1        full   10G    Not Present
Et36       RESERVED                          notconnect   1        full   10G    Not Present
Et37       RESERVED                          notconnect   1        full   10G    Not Present
Et38       RESERVED                          notconnect   1        full   10G    Not Present
Et39       RESERVED                          notconnect   1        full   10G    Not Present
Et40       RESERVED                          notconnect   1        full   10G    Not Present
Et41       RESERVED                          notconnect   1        full   10G    Not Present
Et42       RESERVED                          notconnect   1        full   10G    Not Present
Et43       RESERVED                          notconnect   1        full   10G    Not Present
Et44       RESERVED                          notconnect   1        full   10G    Not Present
Et45       mlag peer connection              connected    in Po25  full   10G    10GBASE-CRA
Et46       mlag peer connection              connected    in Po25  full   10G    10GBASE-CRA
Et47       mlag peer connection              connected    in Po25  full   10G    10GBASE-CRA
Et48       mlag peer connection              connected    in Po25  full   10G    10GBASE-CRA
Et49/1                                       notconnect   1        full   10G    Not Present
Et49/2                                       notconnect   1        full   10G    Not Present
Et49/3                                       notconnect   1        full   10G    Not Present
Et49/4                                       notconnect   1        full   10G    Not Present
Et50/1                                       notconnect   1        full   10G    Not Present
Et50/2                                       notconnect   1        full   10G    Not Present
Et50/3                                       notconnect   1        full   10G    Not Present
Et50/4                                       notconnect   1        full   10G    Not Present
Et51/1                                       notconnect   1        full   10G    Not Present
Et51/2                                       notconnect   1        full   10G    Not Present
Et51/3                                       notconnect   1        full   10G    Not Present
Et51/4                                       notconnect   1        full   10G    Not Present
Et52/1                                       notconnect   1        full   10G    Not Present
Et52/2                                       notconnect   1        full   10G    Not Present
Et52/3                                       notconnect   1        full   10G    Not Present
Et52/4                                       notconnect   1        full   10G    Not Present
Ma1                                          connected    routed   a-full a-1G   10/100/1000
Po1        Nile Node01 (Data) MLAG 1         connected    2769     full   20G    N/A
Po2        Nile Node02 (Data) MLAG 2         connected    2769     full   20G    N/A
Po3        Nile Node03 (Data) MLAG 3         connected    2769     full   20G    N/A
Po4        Nile Node04 (Data) MLAG 4         connected    2769     full   20G    N/A
Po5        Nile Node05 (Data/Compute) MLAG 5 connected    2769     full   20G    N/A
Po6        Nile Node06 (Data/Compute) MLAG 6 connected    2769     full   20G    N/A
Po7        Nile Node07 (Data/Compute) MLAG 7 connected    2769     full   20G    N/A
Po8        Nile Node08 (Data/Compute) MLAG 8 connected    2769     full   20G    N/A
Po9        Nile Node09 (Compute) MLAG 9      notconnect   2769     full   unconf N/A
Po10       Nile Node10 (Compute) MLAG 10     notconnect   2769     full   unconf N/A
Po11       Nile Node11 (Compute) MLAG 11     notconnect   2769     full   unconf N/A
Po12       Nile Node12 (Compute) MLAG 12     notconnect   2769     full   unconf N/A
Po13       Nile Node13 (Compute) MLAG 13     notconnect   1        full   unconf N/A
Po14       Nile Node14 (Compute) MLAG 14     notconnect   1        full   unconf N/A
Po15       Nile Node15 (Compute) MLAG 15     notconnect   1        full   unconf N/A
Po16       Nile Node16 (Compute) MLAG 16     notconnect   1        full   unconf N/A
Po17       Nile Node17 (Compute) MLAG 17     notconnect   1        full   unconf N/A
Po18       Nile Node18 (Compute) MLAG 18     notconnect   1        full   unconf N/A
Po19       Nile Node19 (Compute) MLAG 19     notconnect   1        full   unconf N/A
Po20       Nile Node20 (Compute) MLAG 20     notconnect   1        full   unconf N/A
Po21       Nile Node21 (Compute) MLAG 21     notconnect   1        full   unconf N/A
Po22       Nile Node22 (Compute) MLAG 22     notconnect   1        full   unconf N/A
Po23       Nile Node23 (Compute) MLAG 23     notconnect   1        full   unconf N/A
Po24       Nile Node24 (Compute) MLAG 24     notconnect   1        full   unconf N/A
Po25       mlag peer connection              connected    trunk    full   40G    N/A
Po100      Customer Uplink (MLAG group 100)  connected    2769     full   40G    N/A


MLAG 그룹 100: 고객 네트워크 연결용이며, 이러한 인터페이스는 고객 스위치에 직접 연결됩니다. Hare 및 Rabbit 각각에 하나 이상의 포트 업링크가 연결되어 있어야 합니다. 상태는 Connected(연결됨)여야 합니다. 즉, 링크가 작동 중이고 물리적 계층에서 활성 상태여야 합니다. 이 그룹에는 여러 인터페이스 그룹이 함께 있습니다(이더넷 포트 1 ~ 8). 

노드 연결(Et9 ~ Et16): 표준 2세대 랙에서 각 노드 1 slave-0 인터페이스는 Rabbit 포트 이더넷 9에 연결되고 이에 해당하는 slave-1은 Hare의 동일한 포트에 연결됩니다. 각 노드에는 고유한 MLAG 그룹이 식별됩니다(Provo의 경우 1개, Sandy의 경우 2개 등). . 노드 링크가 작동되도록 하려면 스위치 측의 Hare 및 Rabbit의 상태가 "연결됨"이어야 합니다. 

이더넷 45 ~ 48: MLAG 피어 연결이며 Hare와 Rabbit 간의 백엔드 연결입니다. 스위치 어그리게이션 프로토콜이 예상대로 작동하는지 확인하려면 항상 연결되어 있어야 합니다. 
  1. 특정 인터페이스 검사(세부 정보) 
개별 포트 세부 정보를 자세히 보려면 아래 명령을 사용할 수 있습니다. 아래의 예는 이더넷 9를 검사합니다

명령:

# sh int 이더넷 9

예: 
hare>sh int Ethernet 9
Ethernet9 is up, line protocol is up (connected)
  Hardware is Ethernet, address is 2xxx.xxxxx.xxxx (bia 2xxx.3xxx.0xxx)
  Description: MLAG group 1
  Member of Port-Channel1
  Ethernet MTU 9214 bytes , BW 10000000 kbit
  Full-duplex, 10Gb/s, auto negotiation: off, uni-link: n/a
  Up 176 days, 15 hours, 50 minutes, 16 seconds
  Loopback Mode : None
  64 link status changes since last clear
  Last clearing of "show interface" counters never
  5 minutes input rate 83.1 Mbps (0.8% with framing overhead), 10914 packets/sec
  5 minutes output rate 44.4 Mbps (0.5% with framing overhead), 7915 packets/sec
     2089446721845 packets input, 2396162845580046 bytes
     Received 299922 broadcasts, 6615343 multicast
     0 runts, 0 giants
     0 input errors, 0 CRC, 0 alignment, 0 symbol, 0 input discards
     9258523 PAUSE input
     2234539463655 packets output, 2622737809302178 bytes
     Sent 2368209 broadcasts, 59767250 multicast
     0 output errors, 0 collisions
     0 late collision, 0 deferred, 96470619 output discards
     0 PAUSE output
 
이 명령을 사용하여 특정 인터페이스에 대한 자세한 내용을 확인할 수 있습니다.
  1. 포트 상태는 Connected(연결됨)이어야 하고 회선 프로토콜은 작동 상태여야 합니다. 하드웨어 관점에서 포트가 손상된 경우 포트 상태가 다운된 것을 볼 수 있습니다. 
  2. MAC 주소는 이 출력에서도 확인할 수 있습니다. 이 주소는 모든 포트에 있는 고유한 하드웨어 주소입니다. 
  3. 듀플렉스와 속도는 검증에 중요합니다. 풀 듀플렉스는 항상 협상되어야 하며, 하프 듀플렉스가 보이면 협상 문제를 나타내며 조사가 필요합니다. 
  4. 포트 가동 시간은 안정성을 검증하는 데 유용합니다. 링크 플랩의 경우 가동 시간이 계속 재설정됩니다.
  5. 중요한 통계, CRC, 오류 및 충돌을 제공하는 카운터는 포트에서 증가해서는 안 됩니다. 이 경우 문제가 있음을 나타내며 성능에 영향을 미칠 수 있습니다. 
 

Affected Products

ECS

Products

ECS Appliance, ECS Appliance Gen 1, ECS Appliance Gen 2, ECS Appliance Hardware Gen1 C-Series, ECS Appliance Hardware Gen2 C-Series, ECS Appliance Hardware Gen2 U-Series
Article Properties
Article Number: 000180092
Article Type: How To
Last Modified: 19 Dec 2022
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.