show interfaces mac-database
구문
show interfaces mac-database (ge-fpc/pic/port | ge-fpc/pic/port.n | aex| xe-fpc/pic/port | xe-fpc/pic/port.n | et-fpc/pic/port | et-fpc/pic/port.n) <mac-address mac-address>
설명
(M 시리즈, T 시리즈, MX 시리즈 라우터 및 PTX 시리즈 패킷 전송 라우터만 해당) 지정된 인터페이스에 대한 미디어 액세스 제어(MAC) 주소 정보를 표시합니다.
옵션
ge-fpc/pic/port | 특정 물리적 인터페이스의 모든 논리적 인터페이스에서 학습된 MAC 주소를 표시합니다. |
ge-fpc/pic/port.n | 특정 논리적 인터페이스에서 학습된 MAC 주소를 표시합니다. |
aex | 특정 어그리게이션 이더넷 인터페이스에서 학습된 MAC 주소를 표시합니다. |
xe-fpc/pic/port | 특정 물리적 인터페이스의 모든 논리적 인터페이스에서 학습된 MAC 주소를 표시합니다. |
xe-fpc/pic/port.n | 특정 논리적 인터페이스에서 학습된 MAC 주소를 표시합니다. |
et-fpc/pic/port | 특정 물리적 인터페이스의 모든 논리적 인터페이스에서 학습된 MAC 주소를 표시합니다. |
et-fpc/pic/port.n | 특정 논리적 인터페이스에서 학습된 MAC 주소를 표시합니다. |
mac-address mac-address | (선택 사항) , |
추가 정보
IQ2 PIC 인터페이스에서 MAC 주소 테이블의 항목을 최대 보존하기 위한 기본값이 변경되었으며, 이는 테이블이 가득 차지 않은 경우를 위해서입니다. 새로운 보존 시간은 12시간입니다. 테이블이 가득 찼을 때 이전의 보존 시간인 3분은 여전히 적용됩니다.
필요한 권한 수준
보기
출력 필드
표 1 에는 명령의 출력 필드가 나열되어 있습니다 show interfaces mac-database
. 출력 필드는 나타나는 대략적인 순서대로 나열됩니다.
필드 이름 |
필드 설명 |
---|---|
물리적 인터페이스 | |
물리적 인터페이스 |
물리적 인터페이스의 이름입니다. |
사용 |
물리적 인터페이스의 상태입니다. 가능한 값은 공통 출력 필드 설명 아래의 "활성화된 필드" 섹션에 설명되어 있습니다. |
인터페이스 인덱스 |
초기화 순서를 반영하는 물리적 인터페이스 인덱스 번호입니다. |
SNMP if인덱스 |
물리적 인터페이스의 SNMP 인덱스 번호입니다. |
설명 |
인터페이스의 설명과 이름입니다. |
링크 수준 유형 |
물리적 인터페이스에서 사용되는 캡슐화. |
Mtu |
물리적 인터페이스의 최대 전송 단위(MTU) 크기입니다. |
속도 |
인터페이스가 실행되는 속도입니다. |
루프백 |
루프백이 활성화되었는지 여부와 루프백 유형( 로컬 또는 원격) |
소스 필터링 |
소스 필터링이 구성되었는지 여부입니다. |
플로우 제어 |
흐름 제어가 활성화 또는 비활성화되었는지 여부. |
|
(어그리게이션 이더넷 인터페이스만 해당) 어그리게이션 인터페이스가 작동하기 위해 작동해야 하는 하위 링크의 수입니다. |
|
(어그리게이션 이더넷 인터페이스만 해당) 어그리게이션 인터페이스가 작동하기 위해 작동해야 하는 하위 링크의 최소 대역폭입니다. |
장치 플래그 |
물리적 디바이스에 대한 정보입니다. 가능한 값은 일반적인 출력 필드 설명의 "디바이스 플래그" 섹션에 설명되어 있습니다. |
|
(어그리게이션 이더넷 인터페이스만 해당) 구성된 MAC 주소. |
|
(어그리게이션 이더넷 인터페이스만 해당) 하드웨어 MAC 주소. |
|
(어그리게이션 이더넷 인터페이스만 해당) 날짜, 시간 및 인터페이스가 다운에서 업으로 또는 업에서 다운으로 전환된 기간. 형식은 |
|
(어그리게이션 이더넷 인터페이스만 해당) 초당 비트 수(bps) 및 초당 패킷 수(pps) 단위의 입력 속도. |
|
(어그리게이션 이더넷 인터페이스만 해당) 출력 속도(bps 및 pps). |
인터페이스 플래그 |
인터페이스에 대한 정보입니다. 가능한 값은 Common Output Fields Description(일반적인 출력 필드 설명)의 "Links Flags(링크 플래그)" 섹션에 설명되어 있습니다. |
링크 플래그 |
링크에 대한 정보입니다. 가능한 v4alues는 일반적인 출력 필드 설명의 "디바이스 플래그" 섹션에 설명되어 있습니다. |
논리적 인터페이스 | |
논리적 인터페이스 |
논리적 인터페이스의 이름입니다. |
인덱스 |
초기화 순서를 반영하는 논리적 인터페이스 색인 번호입니다. |
SNMP if인덱스 |
논리적 인터페이스 SNMP 인터페이스 색인 번호입니다. |
플래그 |
논리적 인터페이스에 대한 정보(가능한 값은 공통 출력 필드 설명 부분의 "논리적 인터페이스 플래그" 섹션에 설명되어 있습니다.) |
캡슐화 |
논리적 인터페이스의 캡슐화. |
MAC 주소, 입력 프레임, 입력 바이트, 출력 프레임, 출력 바이트 |
MAC 주소 및 해당 입력 프레임 수, 입력 바이트, 출력 프레임 및 출력 바이트. |
MAC 주소 개수 |
구성된 MAC 주소의 수입니다. |
폴리서 통계 |
(, 및
|
샘플 출력
- show interfaces mac-database(포트의 모든 MAC 주소)
- show interfaces mac-database(통합 이더넷 인터페이스의 모든 MAC 주소)
- show interfaces mac-database(서비스의 모든 MAC 주소)
- 인터페이스 mac-database mac-address 표시
- show interfaces mac-database(물리적 인터페이스)
- show interfaces mac-database(논리적 인터페이스)
- show interfaces mac-database(어그리게이션 이더넷)
show interfaces mac-database(포트의 모든 MAC 주소)
user@host> show interfaces mac-database xe-0/3/3 Physical interface: xe-0/3/3, Enabled, Physical link is Up Interface index: 372, SNMP ifIndex: 788 Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Speed: 10Gbps, Loopback: None, Source filtering: Disabled, Flow control: Enabled Device flags : Present Running Interface flags: SNMP-Traps Internal: 0x4000 Link flags : None Logical interface xe-0/3/3.0 (Index 364) (SNMP ifIndex 829) Flags: SNMP-Traps 0x4004000 Encapsulation: ENET2 MAC address Input frames Input bytes Output frames Output bytes 00:00:00:00:00:00 1 56 0 0 00:00:c0:01:01:02 7023810 323095260 0 0 00:00:c0:01:01:03 7023810 323095260 0 0 00:00:c0:01:01:04 7023810 323095260 0 0 00:00:c0:01:01:05 7023810 323095260 0 0 00:00:c0:01:01:06 7023810 323095260 0 0 00:00:c0:01:01:07 7023810 323095260 0 0 00:00:c0:01:01:08 7023809 323095214 0 0 00:00:c0:01:01:09 7023809 323095214 0 0 00:00:c0:01:01:0a 7023809 323095214 0 0 00:00:c0:01:01:0b 7023809 323095214 0 0 00:00:c8:01:01:02 30424784 1399540064 37448598 1722635508 00:00:c8:01:01:03 30424784 1399540064 37448598 1722635508 00:00:c8:01:01:04 30424716 1399536936 37448523 1722632058 00:00:c8:01:01:05 30424789 1399540294 37448598 1722635508 00:00:c8:01:01:06 30424788 1399540248 37448597 1722635462 00:00:c8:01:01:07 30424783 1399540018 37448597 1722635462 00:00:c8:01:01:08 30424783 1399540018 37448596 1722635416 00:00:c8:01:01:09 8836796 406492616 8836795 406492570 00:00:c8:01:01:0a 30424712 1399536752 37448521 1722631966 00:00:c8:01:01:0b 30424715 1399536890 37448523 1722632058 Number of MAC addresses : 21
show interfaces mac-database(통합 이더넷 인터페이스의 모든 MAC 주소)
user@host> show interfaces mac-database ae4 Physical interface: ae4, Enabled, Physical link is Up Interface index: 132, SNMP ifIndex: 588 Description: Member links xe-0/2/0 Link-level type: Ethernet, MTU: 9188, Speed: Unspecified, BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Disabled, Minimum links needed: 1, Minimum bandwidth needed: 0 Device flags : Present Running Interface flags: Interface flags: SNMP-Traps Internal: 0x4000 Current address: 00:22:83:76:ff:c4, Hardware address: 00:22:83:76:ff:c4 Last flapped : 2013-12-18 04:33:22 PST (1w5d 22:23 ago) Input rate : 62756384 bps (85266 pps) Output rate : 62759472 bps (85272 pps) Logical interface ae4.0 (Index 334) (SNMP ifIndex 647) Flags: SNMP-Traps 0x4004000 Encapsulation: ENET2 MAC address Input frames Input bytes Output frames Output bytes 00:00:00:aa:00:02 23888711 2627758118 300 22200 00:00:00:aa:00:03 0 0 0 0 00:00:00:aa:00:04 0 0 0 0 Number of MAC addresses : 3
show interfaces mac-database(서비스의 모든 MAC 주소)
user@host> show interfaces mac-database xe-0/3/3 Logical interface xe-0/3/3.0 (Index 364) (SNMP ifIndex 829) Flags: SNMP-Traps 0x4004000 Encapsulation: ENET2 MAC address Input frames Input bytes Output frames Output bytes 00:00:00:00:00:00 1 56 0 0 00:00:c0:01:01:02 7023810 323095260 0 0 00:00:c0:01:01:03 7023810 323095260 0 0 00:00:c0:01:01:04 7023810 323095260 0 0 00:00:c0:01:01:05 7023810 323095260 0 0 00:00:c0:01:01:06 7023810 323095260 0 0 00:00:c0:01:01:07 7023810 323095260 0 0 00:00:c0:01:01:08 7023809 323095214 0 0 00:00:c0:01:01:09 7023809 323095214 0 0 00:00:c0:01:01:0a 7023809 323095214 0 0 00:00:c0:01:01:0b 7023809 323095214 0 0 00:00:c8:01:01:02 31016568 1426762128 38040381 1749857526 00:00:c8:01:01:03 31016568 1426762128 38040382 1749857572 00:00:c8:01:01:04 31016499 1426758954 38040306 1749854076 00:00:c8:01:01:05 31016573 1426762358 38040381 1749857526 00:00:c8:01:01:06 31016573 1426762358 38040381 1749857526 00:00:c8:01:01:07 31016567 1426762082 38040380 1749857480 00:00:c8:01:01:08 31016567 1426762082 38040379 1749857434 00:00:c8:01:01:09 9428580 433714680 9428580 433714680 00:00:c8:01:01:0a 31016496 1426758816 38040304 1749853984 00:00:c8:01:01:0b 31016498 1426758908 38040307 1749854122
인터페이스 mac-database mac-address 표시
user@host> show interfaces mac-database xe-0/3/3 mac-address 00:00:c8:01:01:09 Physical interface: xe-0/3/3, Enabled, Physical link is Up Interface index: 372, SNMP ifIndex: 788 Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Speed: 10Gbps, Loopback: None, Source filtering: Disabled, Flow control: Enabled Device flags : Present Running Interface flags: SNMP-Traps Internal: 0x4000 Link flags : None Logical interface xe-0/3/3.0 (Index 364) (SNMP ifIndex 829) Flags: SNMP-Traps 0x4004000 Encapsulation: ENET2 MAC address: 00:00:c8:01:01:09, Type: Configured, Input bytes : 202324652 Output bytes : 202324560 Input frames : 4398362 Output frames : 4398360 Policer statistics: Policer type Discarded frames Discarded bytes Output aggregate 3992386 183649756
show interfaces mac-database(물리적 인터페이스)
user@host> show interfaces mac-database et-1/0/1 Physical interface: et-1/0/1, Enabled, Physical link is Up Interface index: 1022, SNMP ifIndex: 533 Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Speed: 400Gbps, BPDU Error: None, Loop Detect PDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Disabled, Media type: Fiber Device flags : Present Running Interface flags: SNMP-Traps Logical interface et-1/0/1.0 (Index 1005) (SNMP ifIndex 545) Flags: Up SNMP-Traps Encapsulation: ENET2 MAC address Input frames Input bytes Output frames Output bytes 00:00:00:00:00:00 1 56 0 0 00:00:c0:01:01:02 7023810 323095260 0 0 00:00:c0:01:01:03 7023810 323095260 0 0 00:00:c0:01:01:04 7023810 323095260 0 0 00:00:c0:01:01:05 7023810 323095260 0 0 00:00:c0:01:01:06 7023810 323095260 0 0 00:00:c0:01:01:07 7023810 323095260 0 0 00:00:c0:01:01:08 7023809 323095214 0 0 00:00:c0:01:01:09 7023809 323095214 0 0 00:00:c0:01:01:0a 7023809 323095214 0 0 00:00:c0:01:01:0b 7023809 323095214 0 0 00:00:c8:01:01:02 30424784 1399540064 37448598 1722635508 00:00:c8:01:01:03 30424784 1399540064 37448598 1722635508 00:00:c8:01:01:04 30424716 1399536936 37448523 1722632058 00:00:c8:01:01:05 30424789 1399540294 37448598 1722635508 00:00:c8:01:01:06 30424788 1399540248 37448597 1722635462 00:00:c8:01:01:07 30424783 1399540018 37448597 1722635462 00:00:c8:01:01:08 30424783 1399540018 37448596 1722635416 00:00:c8:01:01:09 8836796 406492616 8836795 406492570 00:00:c8:01:01:0a 30424712 1399536752 37448521 1722631966 00:00:c8:01:01:0b 30424715 1399536890 37448523 1722632058 Number of MAC addresses : 21
show interfaces mac-database(논리적 인터페이스)
user@host> show interfaces mac-database et-1/0/1.0 Logical interface et-1/0/1.0 (Index 1005) (SNMP ifIndex 545) Flags: SNMP-Traps Encapsulation: ENET2 MAC address Input frames Input bytes Output frames Output bytes 00:00:00:00:00:00 1 56 0 0 00:00:c0:01:01:02 7023810 323095260 0 0 00:00:c0:01:01:03 7023810 323095260 0 0 00:00:c0:01:01:04 7023810 323095260 0 0 00:00:c0:01:01:05 7023810 323095260 0 0 00:00:c0:01:01:06 7023810 323095260 0 0 00:00:c0:01:01:07 7023810 323095260 0 0 00:00:c0:01:01:08 7023809 323095214 0 0 00:00:c0:01:01:09 7023809 323095214 0 0 00:00:c0:01:01:0a 7023809 323095214 0 0 00:00:c0:01:01:0b 7023809 323095214 0 0 00:00:c8:01:01:02 30424784 1399540064 37448598 1722635508 00:00:c8:01:01:03 30424784 1399540064 37448598 1722635508 00:00:c8:01:01:04 30424716 1399536936 37448523 1722632058 00:00:c8:01:01:05 30424789 1399540294 37448598 1722635508 00:00:c8:01:01:06 30424788 1399540248 37448597 1722635462 00:00:c8:01:01:07 30424783 1399540018 37448597 1722635462 00:00:c8:01:01:08 30424783 1399540018 37448596 1722635416 00:00:c8:01:01:09 8836796 406492616 8836795 406492570 00:00:c8:01:01:0a 30424712 1399536752 37448521 1722631966 00:00:c8:01:01:0b 30424715 1399536890 37448523 1722632058
show interfaces mac-database(어그리게이션 이더넷)
user@host> show interfaces mac-database ae0 Physical interface: ae0, up, Physical link is Up Interface index: 6000, SNMP ifIndex: 541 Link-level type: Ethernet, MTU: 1514, Speed: 800Gbps, BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled, Minimum links needed: 1, Minimum bandwidth needed: 1bps Device flags : Present Running Interface flags: SNMP-Traps Current address: da:5e:26:3b:03:57, Hardware address: da:5e:26:3b:03:57 Last flapped : 2021-12-16 12:08:26 IST (00:04:00 ago) Input rate : 0 bps (0 pps) Output rate : 0 bps (0 pps) Logical interface ae0.0 (Index 9700) (SNMP ifIndex 546) Flags: Up SNMP-Traps Encapsulation: Ethernet-Bridge MAC address Input frames Input bytes Output frames Output bytes 00:00:00:aa:00:02 23888711 2627758118 300 22200 00:00:00:aa:00:03 0 0 0 0 00:00:00:aa:00:04 0 0 0 0 Number of MAC addresses : 3
릴리스 정보
Junos OS 릴리스 7.4 전에 소개된 명령입니다.
Junos OS 릴리스 12.1을 위한 PTX 시리즈 패킷 전송 라우터에 소개된 명령입니다.
Junos OS 릴리스 15.1에 소개된 옵션 포함 명령 aex
문에 대한 지원.