귀하의 경험을 개선할 수 있도록 도와주십시오.

귀하의 의견을 알려주십시오.

2분이 소요되는 설문 조사에 시간을 내주시겠습니까?

close
keyboard_arrow_left
Junos CLI 참조
Table of Contents Expand all
list Table of Contents

이 기계 번역이 도움이 되었습니까?

starstarstarstarstar
Go to English page
면책 조항:

이 페이지는 타사 기계 번역 소프트웨어를 사용해 번역됩니다. 주니퍼 네트웍스에서는 우수한 품질의 번역을 제공하기 위한 합리적인 수준의 노력을 기울이지만 해당 컨텐츠의 정확성을 보장할 수 없습니다. 본 번역에 포함된 정보의 정확성과 관련해 의문이 있는 경우 영문 버전을 참조하시기 바랍니다. 다운로드 가능한 PDF는 영어로만 제공됩니다.

show ethernet-switching mac-learning-log

date_range 18-Dec-23

구문

content_copy zoom_out_map
show ethernet-switching mac-learning-log

설명

학습된 MAC 주소의 이벤트 로그를 표시합니다.

필요한 권한 수준

보기

출력 필드

EX 시리즈 스위치의 출력 필드:

다음 표에는 명령의 출력 필드가 나열되어 있습니다 show ethernet-switching mac-learning-log . 출력 필드는 나타나는 대략적인 순서대로 나열됩니다.

표 1: show ethernet-switching mac-learning-log 출력 필드

필드 이름

필드 설명

날짜 및 시간

MAC 주소가 로그에 추가되거나 삭제된 시간 기록.

vlan_name

VLAN 이름입니다. 사용자가 구성한 모든 VLAN에 대해 사용자가 정의한 값입니다.

Mac

학습된 MAC 주소입니다.

삭제됨 | 추가

MAC 주소가 삭제되었거나 MAC 학습 로그에 추가되었습니다.

차단

인터페이스의 전달 상태는 다음과 같습니다.

  • blocked—트래픽이 인터페이스에서 전달되지 않습니다.

  • unblocked—트래픽이 인터페이스에서 전달됩니다.

Flags

MAC 이벤트가 발생한 MAC 주소 플래그를 표시합니다. 이 옵션은 디버깅을 위한 것입니다.

QFX 시리즈 스위치, QFabric, NFX 시리즈 디바이스 및 EX4600의 출력 필드:

표 2 에는 명령의 출력 필드가 나열되어 있습니다show ethernet-switching mac-learning-log. 출력 필드는 나타나는 대략적인 순서대로 나열됩니다.

표 2: show ethernet-switching mac-learning-log 출력 필드

필드 이름

필드 설명

날짜 및 시간

MAC 작업이 발생한 타임스탬프(UTC)입니다.

vlan_name

VLAN 이름입니다. 사용자가 구성한 모든 VLAN에 대해 사용자가 정의한 값입니다. MAC이 학습되는 VLAN의 이름입니다.

Mac

학습된 MAC 주소입니다.

Event op

한 인터페이스에서 다른 인터페이스로 추가, 학습, 삭제, 변경 또는 이동된 MAC 주소입니다.

Interface Name

MAC 주소가 학습되는 인터페이스의 이름입니다. MAC 주소가 이동되면 인터페이스 이름을 가진 다른 필드가 있습니다. 로그에는 MAC 주소가 이동한 인터페이스 이름과 MAC 주소가 이동한 인터페이스 이름이 표시됩니다.

Flags

MAC 이벤트가 발생한 MAC 주소 플래그를 표시합니다. 이 옵션은 디버깅을 위한 것입니다.

SRX 시리즈 방화벽의 출력 필드:

표 3 에는 SRX 시리즈 방화벽의 show ethernet-switching mac-learning-log 명령에 대한 출력 필드가 나와 있습니다. 출력 필드는 나타나는 대략적인 순서대로 나열됩니다.

표 3: show ethernet-switching-mac-learning-log 출력 필드

필드 이름

필드 설명

Date and Time

MAC 주소가 로그에 추가되거나 삭제된 시간 기록.

VLAN-IDX

VLAN 인덱스. 각 VLAN에 대해 Junos OS가 할당한 내부 값입니다.

MAC

학습된 MAC 주소입니다.

Deleted | Added

MAC 주소가 삭제되었거나 MAC 학습 로그에 추가되었습니다.

Blocking

인터페이스의 전달 상태는 다음과 같습니다.

  • blocked—트래픽이 인터페이스에서 전달되지 않습니다.

  • unblocked—트래픽이 인터페이스에서 전달됩니다.

샘플 출력

show ethernet-switching mac-learning-log(EX 시리즈 스위치)

content_copy zoom_out_map
user@switch> show ethernet-switching mac-learning-log             
Mon Feb 25 08:07:05 2008
 vlan_name v1 mac 00:00:00:00:00:00 was deleted
Mon Feb 25 08:07:05 2008
 vlan_name v9 mac 00:00:00:00:00:00 was deleted
Mon Feb 25 08:07:05 2008
 vlan_name HR_vlan mac 00:00:00:00:00:00 was deleted
Mon Feb 25 08:07:05 2008
 vlan_name v3 mac 00:00:00:00:00:00 was deleted
Mon Feb 25 08:07:05 2008
 vlan_name v12 mac 00:00:00:00:00:00 was deleted
Mon Feb 25 08:07:05 2008
 vlan_name v13 mac 00:00:00:00:00:00 was deleted
Mon Feb 25 08:07:05 2008
 vlan_name sales_vlan mac 00:00:00:00:00:00 was deleted
Mon Feb 25 08:07:05 2008
 vlan_name employee1 mac 00:00:00:00:00:00 was deleted
Mon Feb 25 08:07:05 2008
 vlan_name employee2 mac 00:00:00:00:00:00 was deleted
Mon Feb 25 08:07:05 2008
 vlan_name v3 mac 00:00:00:00:00:00 was added
Mon Feb 25 08:07:05 2008
 vlan_name HR_vlan mac 00:00:00:00:00:00 was added
Mon Feb 25 08:07:05 2008
 vlan_name employee2 mac 00:00:00:00:00:00 was added
Mon Feb 25 08:07:05 2008
 vlan_name employee1 mac 00:00:00:00:00:00 was added
Mon Feb 25 08:07:05 2008
 vlan_name employee2 mac 00:00:05:00:00:05 was learned
Mon Feb 25 08:07:05 2008
 vlan_name employee1 mac 00:30:48:90:54:89 was learned
Mon Feb 25 08:07:05 2008
 vlan_name HR_vlan mac 00:00:5e:00:01:00 was learned
Mon Feb 25 08:07:05 2008
 vlan_name sales_vlan mac 00:00:5e:00:01:08 was learned
[output truncated]

show ethernet-switching mac-learning-log(QFX 시리즈 스위치, QFabric, NFX 시리즈 디바이스 및 EX4600)

content_copy zoom_out_map
user@switch> show ethernet-switching mac-learning-log             
Mon Jun 30 13:49:49 2014 vlan_name v11+11 mac 00:10:94:00:00:02 was learned on ge-1/0/22.0 with flags: 0x2001f     << MAC address that as dynamically learned
Mon Jun 30 13:50:29 2014 vlan_name v11+11 mac 00:10:94:00:00:02 was deleted from ge-1/0/22.0 with flags: 0x1080  << MAC address that was deleted 
Mon Jun 30 13:51:28 2014 vlan_name v11+11 mac 00:00:00:01:01:01 was added to ge-1/0/22.0 with flags: 0x2013f        << Static MAC address that was added
Mon Jun 30 13:51:46 2014 vlan_name v11+11 mac 00:00:00:01:01:01 was deleted from ge-1/0/22.0 with flags: 0x1120   << delete of Static MAC address that was deleted
Mon Jun 30 13:52:03 2014 vlan_name v11+11 mac 00:10:94:00:00:02 was learned on ge-1/0/22.0 with flags: 0x2001f    << MAC address that was dynamically learned
Mon Jun 30 13:52:11 2014 vlan_name v11+11 mac 00:10:94:00:00:02 was moved from ge-1/0/22.0 to ge-1/0/21.0 with flags: 0x2101f    << MAC address that was moved
Mon Jun 30 13:54:24 2014 vlan_name v11+11 mac 00:10:94:00:00:02 was changed on ge-1/0/21.0 with flags: 0x2113f   << MAC address that changed from a dynamic address to a static address

show ethernet-switching mac-learning-log(SRX 시리즈 방화벽)

content_copy zoom_out_map
user@host> show ethernet-switching mac-learning-log              
Wed Mar 18 08:07:05 2009
vlan_idx 7 mac 00:00:5E:00:53:00 was deleted
Wed Mar 18 08:07:05 2009
vlan_idx 9 mac 00:00:5E:00:53:00 was deleted
Wed Mar 18 08:07:05 2009
vlan_idx 10 mac 00:00:5E:00:53:00 was deleted
Wed Mar 18 08:07:05 2009
vlan_idx 11 mac 00:00:5E:00:53:00 was deleted
Wed Mar 18 08:07:05 2009
vlan_idx 12 mac 00:00:5E:00:53:00 was deleted
Wed Mar 18 08:07:05 2009
vlan_idx 13 mac 00:00:5E:00:53:00 was deleted
Wed Mar 18 08:07:05 2009
vlan_idx 14 mac 00:00:5E:00:53:00 was deleted
Wed Mar 18 08:07:05 2009
vlan_idx 15 mac 00:00:5E:00:53:00 was deleted
Wed Mar 18 08:07:05 2009
vlan_idx 16 mac 00:00:5E:00:53:00 was deleted
Wed Mar 18 08:07:05 2009
vlan_idx 4 mac 00:00:5E:00:53:00 was added
Wed Mar 18 08:07:05 2009
vlan_idx 6 mac 00:00:5E:00:53:00 was added
Wed Mar 18 08:07:05 2009
vlan_idx 7 mac 00:00:5E:00:53:00 was added
Wed Mar 18 08:07:05 2009
vlan_idx 9 mac 00:00:5E:00:53:00 was added
Wed Mar 18 08:07:05 2009
vlan_idx 10 mac 00:00:5E:00:53:00 was added
Wed Mar 18 08:07:05 2009
vlan_idx 11 mac 00:00:5E:00:53:00 was added
Wed Mar 18 08:07:05 2009
vlan_idx 12 mac 00:00:5E:00:53:00 was added
Wed Mar 18 08:07:05 2009
vlan_idx 13 mac 00:00:5E:00:53:00 was added
Wed Mar 18 08:07:05 2009
vlan_idx 14 mac 00:00:5E:00:53:00 was added
Wed Mar 18 08:07:05 2009
vlan_idx 15 mac 00:00:5E:00:53:00 was added
Wed Mar 18 08:07:05 2009
vlan_idx 16 mac 00:00:5E:00:53:00 was added
Wed Mar 18 08:07:05 2009
vlan_idx 5 mac 00:00:5E:00:53:00 was added
Wed Mar 18 08:07:05 2009
vlan_idx 18 mac 00:00:5E:00:53:AA was learned
Wed Mar 18 08:07:05 2009
vlan_idx 5 mac 00:00:5E:00:53:AB was learned
Wed Mar 18 08:07:05 2009
vlan_idx 6 mac 00:00:5E:00:53:AC was learned
Wed Mar 18 08:07:05 2009
vlan_idx 16 mac 00:00:5E:00:53:AD was learned
Wed Mar 18 08:07:05 2009
vlan_idx 7 mac 00:00:5E:00:53:AE was learned
Wed Mar 18 08:07:05 2009
vlan_idx 8 mac 00:00:5E:00:53:AF was learned
Wed Mar 18 08:07:05 2009
vlan_idx 12 mac 00:00:5E:00:53:AG was learned
[output truncated]

릴리스 정보

Junos OS 릴리스 9.0에서 소개된 명령.

external-footer-nav