show ethernet-switching mac-learning-log
구문
show ethernet-switching mac-learning-log
설명
학습된 MAC 주소의 이벤트 로그를 표시합니다.
필요한 권한 수준
보기
출력 필드
EX 시리즈 스위치의 출력 필드:
다음 표에는 명령의 출력 필드가 나열되어 있습니다 show ethernet-switching mac-learning-log
. 출력 필드는 나타나는 대략적인 순서대로 나열됩니다.
필드 이름 |
필드 설명 |
---|---|
날짜 및 시간 |
MAC 주소가 로그에 추가되거나 삭제된 시간 기록. |
vlan_name |
VLAN 이름입니다. 사용자가 구성한 모든 VLAN에 대해 사용자가 정의한 값입니다. |
Mac |
학습된 MAC 주소입니다. |
삭제됨 | 추가 |
MAC 주소가 삭제되었거나 MAC 학습 로그에 추가되었습니다. |
차단 |
인터페이스의 전달 상태는 다음과 같습니다.
|
|
MAC 이벤트가 발생한 MAC 주소 플래그를 표시합니다. 이 옵션은 디버깅을 위한 것입니다. |
QFX 시리즈 스위치, QFabric, NFX 시리즈 디바이스 및 EX4600의 출력 필드:
표 2 에는 명령의 출력 필드가 나열되어 있습니다show ethernet-switching mac-learning-log
. 출력 필드는 나타나는 대략적인 순서대로 나열됩니다.
필드 이름 |
필드 설명 |
---|---|
날짜 및 시간 |
MAC 작업이 발생한 타임스탬프(UTC)입니다. |
vlan_name |
VLAN 이름입니다. 사용자가 구성한 모든 VLAN에 대해 사용자가 정의한 값입니다. MAC이 학습되는 VLAN의 이름입니다. |
Mac |
학습된 MAC 주소입니다. |
|
한 인터페이스에서 다른 인터페이스로 추가, 학습, 삭제, 변경 또는 이동된 MAC 주소입니다. |
|
MAC 주소가 학습되는 인터페이스의 이름입니다. MAC 주소가 이동되면 인터페이스 이름을 가진 다른 필드가 있습니다. 로그에는 MAC 주소가 이동한 인터페이스 이름과 MAC 주소가 이동한 인터페이스 이름이 표시됩니다. |
|
MAC 이벤트가 발생한 MAC 주소 플래그를 표시합니다. 이 옵션은 디버깅을 위한 것입니다. |
SRX 시리즈 방화벽의 출력 필드:
표 3 에는 SRX 시리즈 방화벽의 show ethernet-switching mac-learning-log 명령에 대한 출력 필드가 나와 있습니다. 출력 필드는 나타나는 대략적인 순서대로 나열됩니다.
필드 이름 |
필드 설명 |
---|---|
|
MAC 주소가 로그에 추가되거나 삭제된 시간 기록. |
|
VLAN 인덱스. 각 VLAN에 대해 Junos OS가 할당한 내부 값입니다. |
|
학습된 MAC 주소입니다. |
|
MAC 주소가 삭제되었거나 MAC 학습 로그에 추가되었습니다. |
|
인터페이스의 전달 상태는 다음과 같습니다.
|
샘플 출력
- show ethernet-switching mac-learning-log(EX 시리즈 스위치)
- show ethernet-switching mac-learning-log(QFX 시리즈 스위치, QFabric, NFX 시리즈 디바이스 및 EX4600)
- show ethernet-switching mac-learning-log(SRX 시리즈 방화벽)
show ethernet-switching mac-learning-log(EX 시리즈 스위치)
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)
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 시리즈 방화벽)
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에서 소개된 명령.