MAC の移動は、学習した MAC アドレスとは異なる物理インターフェイスに MAC アドレスが頻繁に表示される場合に発生します。頻繁な MAC の移動は、ループの存在を示します。仮想プライベートLANサービス(VPLS)のインターフェイス間でループを回避するには、MACピン留めを設定します。
このトピックでは、VPLS カスタマー エッジ(CE)トランク インターフェイスで MAC ピン留めを設定する方法について説明します。
VPLS CE インターフェイスで MAC ピン留めを設定するには:
- トランク インターフェイスを設定し、VLAN ID のリストを指定します。
[edit interfaces]
user@host# set interfacetype-fpc/pic/port flexible-vlan-tagging
user@host# set interfacetype-fpc/pic/port encapsulation flexible-ethernet-services
user@host# set interfacetype-fpc/pic/port unit logical-unit-number encapsulation vlan-vpls;
user@host# set interfacetype-fpc/pic/port unit logical-unit-number family bridge interface-mode trunk
user@host# set interfacetype-fpc/pic/port unit logical-unit-number family bridge vlan-id-list vlan-id-numbers
- VPLSルーティングインスタンスを設定し、CEインターフェイスを指定します。
[edit routing-instances]
user@host# set routing-instance-name instance-type vpls;
user@host# set routing-instance-name interface interfacetype-fpc/pic/port
- VPLS CE インターフェイスで MAC ピン留めを設定します。
[edit routing-instances]
user@host# set routing-instance-name protocols vpls interfacetype-fpc/pic/port mac-pinning
- 設定モードで、設定を確認します。
user@host# show interfaces
interfaces {
interfacetype-fpc/pic/port {
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit logical-unit-number {
encapsulation vlan-vpls;
}
family bridge {
interface-mode trunk ;
vlan-id-list vlan-id-numbers;
}
}
}
}
user@host# show routing-instances
routing-instances{
routing-instance-name{
instance-type vpls;
interface interfacetype-fpc/pic/port;
protocols{
vpls {
interface interfacetype-fpc/pic/port {
mac-pinning;
}
}
}
}
}