簡介
本文檔介紹如何解決在Cisco ASR 903系列聚合服務路由器上配置乙太網虛擬連線(EVC)後埠通道組成員擺動的問題。
必要條件
需求
本文件沒有特定需求。
採用元件
本文檔中的資訊基於配置為提供商邊緣裝置的Cisco ASR 903系列聚合服務路由器,該裝置的埠通道指向客戶邊緣裝置。
本文中的資訊是根據特定實驗室環境內的裝置所建立。文中使用到的所有裝置皆從已清除(預設)的組態來啟動。如果您的網路正在作用,請確保您已瞭解任何指令可能造成的影響。
問題
設定乙太網路虛擬連線(EVC)後,連線埠通道群組成員開始翻動;移除EVC組態時,連線埠通道群組成員不會再翻動。
日誌顯示的輸出與以下內容類似:
GigabitEthernet0/0/4 taken out of port-channel1
GigabitEthernet0/0/4 added as member-2 to port-channel1
GigabitEthernet0/0/5 taken out of port-channel1
GigabitEthernet0/0/5 added as member-2 to port-channel1
此問題特定於具有EVC的ASR 903埠通道,在以下示例配置中可看到:
!
interface Port-channel1
mtu 1604
no ip address
no negotiation auto
service instance 999 ethernet
encapsulation dot1q 999
rewrite ingress tag pop 1 symmetric
bridge-domain 999
!
service instance 1700 ethernet
encapsulation dot1q 1700
rewrite ingress tag pop 1 symmetric
xconnect 172.26.225.1 1700 encapsulation mpls pw-class TE101
!
service instance 1820 ethernet
encapsulation dot1q 1820
rewrite ingress tag pop 1 symmetric
xconnect 172.26.225.15 1820 encapsulation mpls pw-class TE305
!
interface GigabitEthernet0/0/4
mtu 1604
no ip address
negotiation auto
service-policy input Core-In
service-policy output Core-Out
channel-group 1 mode active
!
interface GigabitEthernet0/0/5
mtu 1604
no ip address
negotiation auto
cdp enable
service-policy input Core-In
service-policy output Core-Out
channel-group 1 mode active
解決方案
在ASR 903上使用EVC配置埠通道時,必須使用UNTAGGED封裝和L2協定配置1 EVC。舉例來說:
interface Port-channel1
!
service instance 1 ethernet
encapsulation untagged
bridge-domain 1
l2protocol peer
!
有關ASR 903服務例項和埠通道的詳細資訊,請參閱在Cisco ASR 903路由器上配置乙太網虛擬連線的EFP和EtherChannel部分。