Konfigurieren einer Trunk-Schnittstelle in einem Bridge-Netzwerk
Bei Routern der MX-Serie können Sie eine Trunk-Schnittstelle in einem Bridge-Netzwerk konfigurieren.
Das folgende Ausgabebeispiel zeigt die Konfiguration des Trunk-Ports in einem Bridge-Netzwerk:
user@host# run show interfaces ge-0/0/0 { flexible-vlan-tagging; encapsulation flexible-ethernet-services; unit 0 { encapsulation vlan-bridge; vlan-id 1; } } ge-2/0/0 { unit 0 { family bridge { interface-mode trunk; vlan-id-list 1-200; } } } ge-2/0/1 { flexible-vlan-tagging; encapsulation flexible-ethernet-services; unit 0 { encapsulation vlan-bridge; vlan-id 1; } }
Wenn Sie für eine Bridge-Domäne funktionsfähig sein möchten igmp-snooping
, sollten Sie und irb
für diese Bridge-Domäne nicht konfiguriereninterface-mode
. Ein solcher Konfigurationscommit ist erfolgreich, aber IGMP-Snooping funktioniert nicht, und eine entsprechende Meldung wird angezeigt, wie nach der folgenden Beispielkonfiguration gezeigt:
user@host# run show configuration interfaces { ge-5/1/1 { flexible-vlan-tagging; native-vlan-id 1; unit 0 { family bridge { interface-mode trunk; vlan-id-list 401; } } } irb { unit 401 { family inet { address 192.168.2.2/27; } } } } protocols { igmp { interface all; } } bridge-domains { VLAN-401 { vlan-id 401; routing-interface irb.401; protocols { igmp-snooping; } } } user@host# commit [edit bridge-domains] 'VLAN-401' IGMP Snooping not supported with IRB and trunk mode interface ge-5/1/1.0 commit complete
Um IGMP-Snooping für eine Bridge-Domäne zu erreichen, sollten Sie eine solche Konfiguration verwenden, wie im folgenden Beispiel gezeigt:
user@host# run show configuration interfaces { ge-0/0/1 { flexible-vlan-tagging; native-vlan-id 1; encapsulation flexible-ethernet-services; unit 0 { encapsulation vlan-bridge; vlan-id 401; } } irb { unit 401 { family inet { address 192.168.2.2/27; } } } } protocols { igmp { interface all; } } bridge-domains { VLAN-401 { vlan-id 401; interface ge-0/0/1.0; routing-interface irb.401; protocols { igmp-snooping; } } } user@host# commit commit complete