Syntax (QFX Series, QFabric, NFX Series and EX4600)show ethernet-switching table <brief | detail | extensive | summary> <interface interface-name> <management-vlan> <sort-by (name | tag)> <vlan vlan-name> Show
Syntax (EX Series)show ethernet-switching table <brief | detail | extensive | summary> <interface interface-name> <management-vlan> <persistent-mac <interface interface-name>> <sort-by (name | tag)> <vlan vlan-name> Syntax (EX Series, MX Series and QFX Series)
Syntax (SRX Series)
DescriptionAffiche la table de commutation Ethernet. (routeurs MX Series,commutateurs EX Series uniquement) Affiche les informations sur l’adresse MAC de couche 2. OptionsPour les gammes QFX Series, QFabric, NFX Series et EX4600 :
Pour les gammes EX Series, MX Series et QFX Series :
Pour SRX Series :
Additional InformationLorsque la tunnelisation de protocole de couche 2 est activée, l’adresse MAC de tunnelisation 01:00:0c:cd:cd:d0 est installée dans la table MAC. Lorsque le protocole CDP (Cisco Discovery Protocol), le protocole STP (Spanning Tree Protocol) ou le protocole VTP (VLAN Trunk Protocol) sont configurés pour la tunnelisation de protocole de couche 2 sur une interface, l’adresse MAC de protocole correspondante est installée dans la table MAC.
Required Privilege LevelVue Output FieldsPour les gammes QFX Series, QFabric, NFX Series et EX4600 : Le tableau suivant répertorie les champs de sortie de la Tableau 1 : show ethernet-switching table Output Fields on QFX, NFX Series and EX4600
Pour les commutateurs EX Series : Le tableau suivant répertorie les champs de sortie de la commande sur les Tableau 2 : show ethernet-switching table Output Fields on EX Series Switches
Pour les gammes EX Series, MX Series et QFX Series : Le tableau décrit les champs de sortie de la Tableau 3 : show ethernet-switching table Output fields on EX, MX and QFX Series
Pour SRX Series : Tableau 4 répertorie les champs de sortie de la Tableau 4 : show ethernet-switching table Output Fields on SRX Series
Sample Output
show ethernet-switching table (Enhanced Layer 2 Software on QFX Series, QFabric, NFX Series and EX460)user@switch> show ethernet-switching table MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) Ethernet switching table : 2 entries, 2 learned Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface vlan1 b0:c6:9a:ca:3c:01 D - ae1.0 vlan1 b0:c6:9a:ca:3c:03 D - ae1.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) Ethernet switching table : 2 entries, 2 learned Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface vlan10 b0:c6:9a:ca:3c:01 D - ae1.0 vlan10 b0:c6:9a:ca:3c:03 D - ae1.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) Ethernet switching table : 2 entries, 2 learned Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface vlan2 b0:c6:9a:ca:3c:01 D - ae1.0 vlan2 b0:c6:9a:ca:3c:03 D - ae1.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) Ethernet switching table : 2 entries, 2 learned Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface vlan3 b0:c6:9a:ca:3c:01 D - ae1.0 vlan3 b0:c6:9a:ca:3c:03 D - ae1.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) Ethernet switching table : 2 entries, 2 learned Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface vlan4 b0:c6:9a:ca:3c:01 D - ae1.0 vlan4 b0:c6:9a:ca:3c:03 D - ae1.0 show ethernet-switching table (QFX Series switches, SVLBNH/VENH field)user@switch> show ethernet-switching table MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) Ethernet switching table : 16 entries, 16 learned Routing instance : default-switch Vlan MAC MAC Logical SVLBNH/ Active name address flags interface VENH Index source vlanBLACK 00:00:5e:00:53:01 DR esi.1773 1782 05:00:00:02:9a:00:00:00:68:00 vlanBLACK 00:00:5e:00:53:02 DR esi.1773 1782 05:00:00:02:9a:00:00:00:68:00 vlanBLACK 00:00:5e:00:53:80 D vtep.32772 10.0.0.1 vlanBLACK 00:00:5e:00:53:00 D vtep.32769 10.0.1.1 vlanBLUE 00:00:5e:00:53:01 DR esi.1772 1782 05:00:00:02:9a:00:00:00:66:00 vlanBLUE 00:00:5e:00:53:02 DR esi.1772 1782 05:00:00:02:9a:00:00:00:66:00 vlanBLUE 00:00:5e:00:53:80 D vtep.32772 10.0.0.1 vlanBLUE 00:00:5e:00:53:00 D vtep.32769 10.0.1.1 vlanGREEN 00:00:5e:00:53:01 DR esi.1774 1782 05:00:00:02:9a:00:00:00:67:00 vlanGREEN 00:00:5e:00:53:02 DR esi.1774 1782 05:00:00:02:9a:00:00:00:67:00 vlanGREEN 00:00:5e:00:53:80 D vtep.32772 10.0.0.1 vlanGREEN 00:00:5e:00:53:00 D vtep.32769 10.0.1.1 vlanRED 00:00:5e:00:53:01 DR esi.1771 1782 05:00:00:02:9a:00:00:00:65:00 vlanRED 00:00:5e:00:53:02 DR esi.1771 1782 05:00:00:02:9a:00:00:00:65:00 vlanRED 00:00:5e:00:53:80 D vtep.32772 10.0.0.1 show ethernet-switching table (QFX Series, QFabric, NFX Series and EX460)(QFX5100, QFX5110, QFX5120, QFX5200, QFX5210, QFX10002, QFX10002-60C, and QFX10016)user@switch> show ethernet-switching table Ethernet-switching table: 57 entries, 17 learned VLAN MAC address Type Age Interfaces F2 * Flood - All-members F2 00:00:05:00:00:03 Learn 0 xe-0/0/44.0 F2 00:19:e2:50:7d:e0 Static - Router Linux * Flood - All-members Linux 00:19:e2:50:7d:e0 Static - Router Linux 00:30:48:90:54:89 Learn 0 xe-0/0/47.0 T1 * Flood - All-members T1 00:00:05:00:00:01 Learn 0 xe-0/0/46.0 T1 00:00:5e:00:01:00 Static - Router T1 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 T1 00:19:e2:50:7d:e0 Static - Router T10 * Flood - All-members T10 00:00:5e:00:01:09 Static - Router T10 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 T10 00:19:e2:50:7d:e0 Static - Router T111 * Flood - All-members T111 00:19:e2:50:63:e0 Learn 0 xe-0/0/15.0 T111 00:19:e2:50:7d:e0 Static - Router T111 00:19:e2:50:ac:00 Learn 0 xe-0/0/15.0 T2 * Flood - All-members T2 00:00:5e:00:01:01 Static - Router T2 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 T2 00:19:e2:50:7d:e0 Static - Router T3 * Flood - All-members T3 00:00:5e:00:01:02 Static - Router T3 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 T3 00:19:e2:50:7d:e0 Static - Router T4 * Flood - All-members T4 00:00:5e:00:01:03 Static - Router T4 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 [output truncated] show ethernet-switching table (Private VLANs on QFX Series, QFabric, NFX Series and EX460)user@switch> show ethernet-switching table Ethernet-switching table: 10 entries, 3 learned VLAN MAC address Type Age Interfaces pvlan * Flood - All-members pvlan 00:10:94:00:00:02 Replicated - xe-0/0/28.0 pvlan 00:10:94:00:00:35 Replicated - xe-0/0/46.0 pvlan 00:10:94:00:00:46 Replicated - xe-0/0/4.0 c2 * Flood - All-members c2 00:10:94:00:00:02 Learn 0 xe-0/0/28.0 c1 * Flood - All-members c1 00:10:94:00:00:46 Learn 0 xe-0/0/4.0 __pvlan_pvlan_xe-0/0/46.0__ * Flood - All-members __pvlan_pvlan_xe-0/0/46.0__ 00:10:94:00:00:35 Learn 0 xe-0/0/46.0 show ethernet-switching table brief (QFX Series, QFabric, NFX Series and EX460)user@switch> show ethernet-switching table brief Ethernet-switching table: 57 entries, 17 learned VLAN MAC address Type Age Interfaces F2 * Flood - All-members F2 00:00:05:00:00:03 Learn 0 xe-0/0/44.0 F2 00:19:e2:50:7d:e0 Static - Router Linux * Flood - All-members Linux 00:19:e2:50:7d:e0 Static - Router Linux 00:30:48:90:54:89 Learn 0 xe-0/0/47.0 T1 * Flood - All-members T1 00:00:05:00:00:01 Learn 0 xe-0/0/46.0 T1 00:00:5e:00:01:00 Static - Router T1 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 T1 00:19:e2:50:7d:e0 Static - Router T10 * Flood - All-members T10 00:00:5e:00:01:09 Static - Router T10 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 T10 00:19:e2:50:7d:e0 Static - Router T111 * Flood - All-members T111 00:19:e2:50:63:e0 Learn 0 xe-0/0/15.0 T111 00:19:e2:50:7d:e0 Static - Router T111 00:19:e2:50:ac:00 Learn 0 xe-0/0/15.0 T2 * Flood - All-members T2 00:00:5e:00:01:01 Static - Router T2 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 T2 00:19:e2:50:7d:e0 Static - Router T3 * Flood - All-members T3 00:00:5e:00:01:02 Static - Router T3 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 T3 00:19:e2:50:7d:e0 Static - Router T4 * Flood - All-members T4 00:00:5e:00:01:03 Static - Router T4 00:19:e2:50:63:e0 Learn 0 xe-0/0/46.0 [output truncated]
show ethernet-switching table detail (QFX Series, QFabric, NFX Series and EX460)user@switch> show ethernet-switching table detail Ethernet-switching table: 57 entries, 17 learned F2, * Interface(s): xe-0/0/44.0 Type: Flood Nexthop index: 0 F2, 00:00:05:00:00:03 Interface(s): xe-0/0/44.0 Type: Learn, Age: 0, Learned: 2:03:09 Nexthop index: 0 F2, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Nexthop index: 0 Linux, * Interface(s): xe-0/0/47.0 Type: Flood Nexthop index: 0 Linux, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Nexthop index: 0 Linux, 00:30:48:90:54:89 Interface(s): xe-0/0/47.0 Type: Learn, Age: 0, Learned: 2:03:08 Nexthop index: 0 T1, * Interface(s): xe-0/0/46.0 Type: Flood Nexthop index: 0 T1, 00:00:05:00:00:01 Interface(s): xe-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 Nexthop index: 0 T1, 00:00:5e:00:01:00 Interface(s): Router Type: Static Nexthop index: 0 T1, 00:19:e2:50:63:e0 Interface(s): xe-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 Nexthop index: 0 T1, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Nexthop index: 0 T10, * Interface(s): xe-0/0/46.0 Type: Flood Nexthop index: 0 T10, 00:00:5e:00:01:09 Interface(s): Router Type: Static Nexthop index: 0 T10, 00:19:e2:50:63:e0 Interface(s): xe-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:08 Nexthop index: 0 T10, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Nexthop index: 0 T111, * Interface(s): xe-0/0/15.0 Type: Flood Nexthop index: 0 [output truncated] show ethernet-switching table extensive (QFX Series, QFabric, NFX Series and EX460)user@switch> show ethernet-switching table extensive Ethernet-switching table: 57 entries, 17 learned F2, * Interface(s): xe-0/0/44.0 Type: Flood Nexthop index: 0 F2, 00:00:05:00:00:03 Interface(s): xe-0/0/44.0 Type: Learn, Age: 0, Learned: 2:03:09 Nexthop index: 0 F2, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Nexthop index: 0 Linux, * Interface(s): xe-0/0/47.0 Type: Flood Nexthop index: 0 Linux, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Nexthop index: 0 Linux, 00:30:48:90:54:89 Interface(s): xe-0/0/47.0 Type: Learn, Age: 0, Learned: 2:03:08 Nexthop index: 0 T1, * Interface(s): xe-0/0/46.0 Type: Flood Nexthop index: 0 T1, 00:00:05:00:00:01 Interface(s): xe-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 Nexthop index: 0 T1, 00:00:5e:00:01:00 Interface(s): Router Type: Static Nexthop index: 0 T1, 00:19:e2:50:63:e0 Interface(s): xe-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 Nexthop index: 0 T1, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Nexthop index: 0 T10, * Interface(s): xe-0/0/46.0 Type: Flood Nexthop index: 0 T10, 00:00:5e:00:01:09 Interface(s): Router Type: Static Nexthop index: 0 T10, 00:19:e2:50:63:e0 Interface(s): xe-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:08 Nexthop index: 0 T10, 00:19:e2:50:7d:e0 Interface(s): Router Type: Static Nexthop index: 0 T111, * Interface(s): xe-0/0/15.0 Type: Flood Nexthop index: 0 [output truncated] show ethernet-switching table interface (QFX Series, QFabric, NFX Series and EX460)user@switch> show ethernet-switching table interface xe-0/0/1 Ethernet-switching table: 1 unicast entries VLAN MAC address Type Age Interfaces V1 * Flood - All-members V1 00:00:05:00:00:05 Learn 0 xe-0/0/1.0 show ethernet-switching table (EX Series switches)user@switch> show ethernet-switching table Ethernet-switching table: 57 entries, 15 learned, 2 persistent VLAN MAC address Type Age Interfaces F2 * Flood - All-members F2 00:00:05:00:00:03 Learn 0 ge-0/0/44.0 F2 00:19:e2:50:7d:e0 Static - Router Linux * Flood - All-members Linux 00:19:e2:50:7d:e0 Static - Router Linux 00:30:48:90:54:89 Learn 0 ge-0/0/47.0 T1 * Flood - All-members T1 00:00:05:00:00:01 Persistent 0 ge-0/0/46.0 T1 00:00:5e:00:01:00 Static - Router T1 00:19:e2:50:63:e0 Persistent 0 ge-0/0/46.0 T1 00:19:e2:50:7d:e0 Static - Router T10 * Flood - All-members T10 00:00:5e:00:01:09 Static - Router T10 00:19:e2:50:63:e0 Learn 0 ge-0/0/46.0 T10 00:19:e2:50:7d:e0 Static - Router T111 * Flood - All-members T111 00:19:e2:50:63:e0 Learn 0 ge-0/0/15.0 T111 00:19:e2:50:7d:e0 Static - Router T111 00:19:e2:50:ac:00 Learn 0 ge-0/0/15.0 T2 * Flood - All-members T2 00:00:5e:00:01:01 Static - Router T2 00:19:e2:50:63:e0 Learn 0 ge-0/0/46.0 T2 00:19:e2:50:7d:e0 Static - Router T3 * Flood - All-members T3 00:00:5e:00:01:02 Static - Router T3 00:19:e2:50:63:e0 Learn 0 ge-0/0/46.0 T3 00:19:e2:50:7d:e0 Static - Router T4 * Flood - All-members T4 00:00:5e:00:01:03 Static - Router T4 00:19:e2:50:63:e0 Learn 0 ge-0/0/46.0 [output truncated] show ethernet-switching table brief (EX Series switches)user@switch> show ethernet-switching table brief Ethernet-switching table: 57 entries, 15 learned, 2 persistent entries VLAN MAC address Type Age Interfaces F2 * Flood - All-members F2 00:00:05:00:00:03 Learn 0 ge-0/0/44.0 F2 00:19:e2:50:7d:e0 Static - Router Linux * Flood - All-members Linux 00:19:e2:50:7d:e0 Static - Router Linux 00:30:48:90:54:89 Learn 0 ge-0/0/47.0 T1 * Flood - All-members T1 00:00:05:00:00:01 Persistent 0 ge-0/0/46.0 T1 00:00:5e:00:01:00 Static - Router T1 00:19:e2:50:63:e0 Persistent 0 ge-0/0/46.0 T1 00:19:e2:50:7d:e0 Static - Router T10 * Flood - All-members T10 00:00:5e:00:01:09 Static - Router T10 00:19:e2:50:63:e0 Learn 0 ge-0/0/46.0 T10 00:19:e2:50:7d:e0 Static - Router T111 * Flood - All-members T111 00:19:e2:50:63:e0 Learn 0 ge-0/0/15.0 T111 00:19:e2:50:7d:e0 Static - Router T111 00:19:e2:50:ac:00 Learn 0 ge-0/0/15.0 T2 * Flood - All-members T2 00:00:5e:00:01:01 Static - Router T2 00:19:e2:50:63:e0 Learn 0 ge-0/0/46.0 T2 00:19:e2:50:7d:e0 Static - Router T3 * Flood - All-members T3 00:00:5e:00:01:02 Static - Router T3 00:19:e2:50:63:e0 Learn 0 ge-0/0/46.0 T3 00:19:e2:50:7d:e0 Static - Router T4 * Flood - All-members T4 00:00:5e:00:01:03 Static - Router T4 00:19:e2:50:63:e0 Learn 0 ge-0/0/46.0 [output truncated] show ethernet-switching table detail (EX Series switches)user@switch> show ethernet-switching table detail Ethernet-switching table: 5 entries, 2 learned entries VLAN: default, Tag: 0, MAC: *, Interface: All-members Interfaces: ge-0/0/11.0, ge-0/0/20.0, ge-0/0/30.0, ge-0/0/36.0, ge-0/0/3.0 Type: Flood Nexthop index: 1307 VLAN: default, Tag: 0, MAC: 00:1f:12:30:b8:83, Interface: ge-0/0/3.0 Type: Learn, Age: 0, Learned: 20:09:26 Nexthop index: 1315 VLAN: v1, Tag: 101, MAC: *, Interface: All-members Interfaces: ge-0/0/31.0 Type: Flood Nexthop index: 1313 VLAN: v1, Tag: 101, MAC: 00:1f:12:30:b8:89, Interface: ge-0/0/31.0 Type: Learn, Age: 0, Learned: 20:09:25 Nexthop index: 1312 VLAN: v2, Tag: 102, MAC: *, Interface: All-members Interfaces: ae0.0 Type: Flood Nexthop index: 1317 show ethernet-switching table extensive (EX Series switches)user@switch> show ethernet-switching table extensive Ethernet-switching table: 3 entries, 1 learned, 5 persistent entries VLAN: v1, Tag: 10, MAC: *, Interface: All-members Interfaces: ge-0/0/14.0, ge-0/0/1.0, ge-0/0/2.0, ge-0/0/3.0, ge-0/0/4.0, ge-0/0/5.0, ge-0/0/6.0, ge-0/0/7.0, ge-0/0/8.0, ge-0/0/10.0, ge-0/0/0.0 Type: Flood Nexthop index: 567 VLAN: v1, Tag: 10, MAC: 00:21:59:c6:93:22, Interface: Router Type: Static Nexthop index: 0 VLAN: v1, Tag: 10, MAC: 00:21:59:c9:9a:4e, Interface: ge-0/0/14.0 Type: Learn, Age: 0, Learned: 18:40:50 Nexthop index: 564 show ethernet-switching table persistent-mac (EX Series switches)user@switch> show ethernet-switching table persistent-mac VLAN MAC address Type Interface default 00:10:94:00:00:02 installed ge-0/0/42.0 default 00:10:94:00:00:03 installed ge-0/0/42.0 default 00:10:94:00:00:04 installed ge-0/0/42.0 default 00:10:94:00:00:05 installed ge-0/0/42.0 default 00:10:94:00:00:06 installed ge-0/0/42.0 default 00:10:94:00:05:02 uninstalled ge-0/0/16.0 default 00:10:94:00:06:03 uninstalled ge-0/0/16.0 default 00:10:94:00:07:04 uninstalled ge-0/0/16.0 show ethernet-switching table persistent-mac interface ge-0/0/16.0 (EX Series switches)VLAN MAC address Type Interface default 00:10:94:00:05:02 uninstalled ge-0/0/16.0 default 00:10:94:00:06:03 uninstalled ge-0/0/16.0 default 00:10:94:00:07:04 uninstalled ge-0/0/16.0 show ethernet-switching table (EX Series, MX Series and QFX Series)user@host> show ethernet-switching table MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN101 88:e0:f3:bb:07:f0 D - ae20.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN102 88:e0:f3:bb:07:f0 D - ae20.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN103 88:e0:f3:bb:07:f0 D - ae20.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN104 88:e0:f3:bb:07:f0 D - ae20.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN1101 00:1f:12:32:f5:c1 D - ae0.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN1102 00:1f:12:32:f5:c1 D - ae0.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN1103 00:1f:12:32:f5:c1 D - ae0.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN1104 00:1f:12:32:f5:c1 D - ae0.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN1105 00:1f:12:32:f5:c1 D - ae0.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN1106 00:1f:12:32:f5:c1 D - ae0.0 [...output truncated...] show ethernet-switching table briefuser@host> show ethernet-switching table brief MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN101 88:e0:f3:bb:07:f0 D - ae20.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN102 88:e0:f3:bb:07:f0 D - ae20.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN103 88:e0:f3:bb:07:f0 D - ae20.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN104 88:e0:f3:bb:07:f0 D - ae20.0 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned SE - statistics enabled, NM - non configured MAC, R - remote PE MAC) Routing instance : default-switch Vlan MAC MAC Age Logical name address flags interface VLAN1101 00:1f:12:32:f5:c1 D - ae0.0 [...output truncated...] show ethernet-switching table countuser@host> show ethernet-switching table count 0 MAC address learned in routing instance default-switch VLAN VLAN1000 ae26.0:1000 1 MAC address learned in routing instance default-switch VLAN VLAN101 ae20.0:101 MAC address count per learn VLAN within routing instance: Learn VLAN ID MAC count Static MAC count 101 1 0 1 MAC address learned in routing instance default-switch VLAN VLAN102 ae20.0:102 MAC address count per learn VLAN within routing instance: Learn VLAN ID MAC count Static MAC count 102 1 0 1 MAC address learned in routing instance default-switch VLAN VLAN103 ae20.0:103 MAC address count per learn VLAN within routing instance: Learn VLAN ID MAC count Static MAC count 103 1 0 1 MAC address learned in routing instance default-switch VLAN VLAN104 ae20.0:104 MAC address count per learn VLAN within routing instance: Learn VLAN ID MAC count Static MAC count 104 1 0 0 MAC address learned in routing instance default-switch VLAN VLAN105 ae20.0:105 0 MAC address learned in routing instance default-switch VLAN VLAN106 ae20.0:106 0 MAC address learned in routing instance default-switch VLAN VLAN107 ae20.0:107 0 MAC address learned in routing instance default-switch VLAN VLAN108 ae20.0:108 0 MAC address learned in routing instance default-switch VLAN VLAN109 ae20.0:109 0 MAC address learned in routing instance default-switch VLAN VLAN110 ae20.0:110 1 MAC address learned in routing instance default-switch VLAN VLAN1101 ae0.0:1101 MAC address count per learn VLAN within routing instance: Learn VLAN ID MAC count Static MAC count 1101 1 0 1 MAC address learned in routing instance default-switch VLAN VLAN1102 ae0.0:1102 MAC address count per learn VLAN within routing instance: Learn VLAN ID MAC count Static MAC count 1102 1 0 [...output truncated...] show ethernet-switching table extensiveuser@host> show ethernet-switching table extensive MAC address: 88:e0:f3:bb:07:f0 Routing instance: default-switch VLAN ID: 101 Learning interface: ae20.0 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 Sequence number: 2 Learning mask: 0x00000008 MAC address: 88:e0:f3:bb:07:f0 Routing instance: default-switch VLAN ID: 102 Learning interface: ae20.0 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 Sequence number: 2 Learning mask: 0x00000008 MAC address: 88:e0:f3:bb:07:f0 Routing instance: default-switch VLAN ID: 103 Learning interface: ae20.0 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 Sequence number: 2 Learning mask: 0x00000008 MAC address: 88:e0:f3:bb:07:f0 Routing instance: default-switch VLAN ID: 104 Learning interface: ae20.0 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 Sequence number: 2 Learning mask: 0x00000008 MAC address: 00:1f:12:32:f5:c1 Routing instance: default-switch VLAN ID: 1101 Learning interface: ae0.0 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 Sequence number: 2 Learning mask: 0x00000008 MAC address: 00:1f:12:32:f5:c1 Routing instance: default-switch VLAN ID: 1102 Learning interface: ae0.0 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 Sequence number: 2 Learning mask: 0x00000008 MAC address: 00:1f:12:32:f5:c1 Routing instance: default-switch VLAN ID: 1103 Learning interface: ae0.0 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 Sequence number: 2 Learning mask: 0x00000008 MAC address: 00:1f:12:32:f5:c1 Routing instance: default-switch VLAN ID: 1104 Learning interface: ae0.0 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 Sequence number: 2 Learning mask: 0x00000008 Sample Outputshow ethernet-switching table detail (SRX Series)user@host> show ethernet-switching table detail Ethernet-switching table: 57 entries, 17 learned F2, * Interface(s): ge-0/0/44.0 Type: Flood F2, 00:00:5E:00:53:AC Interface(s): ge-0/0/44.0 Type: Learn, Age: 0, Learned: 2:03:09 F2, 00:00:5E:00:53:AA Interface(s): Router Type: Static Linux, * Interface(s): ge-0/0/47.0 Type: Flood Linux, 00:00:5E:00:53:AB Interface(s): Router Type: Static Linux, 00:00:5E:00:53:AC Interface(s): ge-0/0/47.0 Type: Learn, Age: 0, Learned: 2:03:08 T1, * Interface(s): ge-0/0/46.0 Type: Flood T1, 00:00:5E:00:53:AD Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 T1, 00:00:5E:00:53:AE Interface(s): Router Type: Static T1, 00:00:5E:00:53:AF Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 T1, 00:00:5E:00:53:AG Interface(s): Router Type: Static T10, * Interface(s): ge-0/0/46.0 Type: Flood T10, 00:00:5E:00:53:AH Interface(s): Router Type: Static T10, 00:00:5E:00:53:AI Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:08 T10, 00:00:5E:00:53:AJ Interface(s): Router Type: Static T111, * Interface(s): ge-0/0/15.0 Type: Flood [output truncated] Sample Outputshow ethernet-switching table extensive (SRX Series)user@host> show ethernet-switching table extensive Ethernet-switching table: 57 entries, 17 learned F2, * Interface(s): ge-0/0/44.0 Type: Flood F2, 00:00:5E:00:53:AC Interface(s): ge-0/0/44.0 Type: Learn, Age: 0, Learned: 2:03:09 F2, 00:00:5E:00:53:AA Interface(s): Router Type: Static Linux, * Interface(s): ge-0/0/47.0 Type: Flood Linux, 00:00:5E:00:53:AB Interface(s): Router Type: Static Linux, 00:00:5E:00:53:AC Interface(s): ge-0/0/47.0 Type: Learn, Age: 0, Learned: 2:03:08 T1, * Interface(s): ge-0/0/46.0 Type: Flood T1, 00:00:5E:00:53:AD Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 T1, 00:00:5E:00:53:AE Interface(s): Router Type: Static T1, 00:00:5E:00:53:AF Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:07 T1, 00:00:5E:00:53:AG Interface(s): Router Type: Static T10, * Interface(s): ge-0/0/46.0 Type: Flood T10, 00:00:5E:00:53:AH Interface(s): Router Type: Static T10, 00:00:5E:00:53:AI Interface(s): ge-0/0/46.0 Type: Learn, Age: 0, Learned: 2:03:08 T10, 00:00:5E:00:53:AJ Interface(s): Router Type: Static T111, * Interface(s): ge-0/0/15.0 Type: Flood [output truncated] Sample Outputshow ethernet-switching table interface ge-0/0/1 (SRX Series)user@host> show ethernet-switching table interface ge-0/0/1 Ethernet-switching table: 1 unicast entries VLAN MAC address Type Age Interfaces V1 * Flood - All-members V1 00:00:5E:00:53:AF Learn 0 ge-0/0/1.0 Sample Outputshow ethernet-switching table vlan-name v100 (QFX Series)user@host> show ethernet-switching table vlan-name v100 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) Pseudo mac Ethernet switching table : 11 entries, 11 learned Routing instance : default-switch Vlan MAC MAC Logical Active name address flags interface source v100 00:00:00:00:02:80 S,NM vtep.1074102274 112.1.1.1 v100 00:00:00:00:03:80 S,NM vtep.1074102275 115.1.1.1 v100 00:00:00:00:04:80 S,NM vtep.1074102276 116.1.1.1 v100 00:00:00:00:05:80 S,NM vtep.1074102277 114.1.1.1 v100 00:00:00:00:06:80 S,NM vtep.1074102278 101.1.1.1 v100 00:00:00:00:07:80 S,NM vtep.1074102279 102.1.1.1 v100 00:00:00:00:08:80 S,NM vtep.1074102280 103.1.1.1 v100 00:00:00:00:09:80 S,NM vtep.1074102281 104.1.1.1 v100 00:00:00:00:0a:80 S,NM vtep.1074102282 113.1.1.1 Release InformationCommande introduite dans Junos OS version 9.0 pour les commutateurs EX Series. Commande introduite dans Junos OS version 9.5 pour SRX Series. Options summary, management-vlanet vlan vlan-name présenté dans Junos OS version 9.6 pour les commutateurs EX Series. Option sort-by et nom tag de champ introduits dans Junos OS version 10.1 pour les commutateurs EX Series. Commande introduite dans Junos OS version 11.1 pour QFX Series. Sortie pour VLAN privés introduit dans Junos OS version 12.1 pour QFX Series. Option persistent-mac disponible dans Junos OS version 11.4 pour les commutateurs EX Series. Commande introduite dans Junos OS version 12.3R2. Commande introduite dans Junos OS version 12.3R2 pour les commutateurs EX Series. Options Sortie pour l’équilibrage de charge VXLAN partagé le prochain saut (SVLBNH) et VXLAN encapsulé du saut suivant (VENH) introduits dans Junos OS version 20.3R1 pour les commutateurs QFX Series. Sortie pour les interfaces logiques pseudo VTEP introduites dans Junos OS version 20.3R1 pour les commutateurs QFX Series. Comment afficher la table ARP Cisco ?La commande Show IP arp
est identique à un arp -a, sauf qu'elle s'exécute sur un routeur Cisco, et permet d'afficher aussi la table ARP.
Comment afficher la table de routage d'un routeur ?L'option -r de la commande netstat permet d'afficher la table de routage de l'hôte local. Cette table représente le statut de toutes les routes connues de l'hôte. L'exécution de cette option de la commande netstat peut s'effectuer à l'aide du compte utilisateur.
Comment voir la config d'un switch ?switch# show interfaces [interface-id] : Affiche l'état et la configuration d'une ou de l'ensemble des interfaces disponibles sur le commutateur. switch# show startup-config : Affiche le contenu de la configuration de démarrage.
Comment voir la configuration d'un switch Cisco ?Pour Cisco IOS, utilisez la commande show clock. et la passerelle par défaut sur le commutateur (pour des raisons de gestion). Pour Cisco IOS, utilisez les commandes interface vlan, interface mod/port, switchport et ip route pour configurer l'accès au commutateur.
|