簡介
本檔案介紹如何使用CGR2010和思科乙太網路交換器模組(ESM)在單臂上設定路由器。
必要條件
需求
思科建議您瞭解以下主題:
- 路由和交換基礎
- CGR2010和ESM體系結構。
- CGR2010必須運行Cisco IOS版本15.1(4)M或更高版本,才能運行交換機模組。
採用元件
本檔案中的資訊是根據以下硬體/軟體版本CGR2010和Cisco IOS版本15.1(4)M
本文中的輸出是從特定實驗室環境中的裝置獲取的。文中使用到的所有裝置皆從已清除(預設)的組態來啟動。如果您的網路運作中,請確保您瞭解任何指令可能造成的影響。
設定
ESM模組:
!- - Default configuration - -!
interface Port-channel48
description Internal backplane interface. Use caution while changing the configuration
switchport mode trunk
end
interface Vlan33
ip address 192.168.33.33 255.255.255.0
interface Vlan44
ip address 192.168.44.44 255.255.255.0
interface Vlan55
ip address 192.168.55.55 255.255.255.0
退出ESM模組。按鍵組合:ctrl + shift + 6 ,然後按x。
寫取消連線以完成ESM會話。
CGR2010配置:
interface GigabitEthernet0/0/0.33
encapsulation dot1Q 33
ip address 192.168.33.1 255.255.255.0
end
interface GigabitEthernet0/0/0.44
encapsulation dot1Q 44
ip address 192.168.44.1 255.255.255.0
end
interface GigabitEthernet0/0/0.55
encapsulation dot1Q 55
ip address 192.168.55.1 255.255.255.0
end
驗證
從ESM對CGR2010虛擬介面執行一些ping:
從所有SVI源ping 192.168.55.1。
Switch#ping 192.168.55.1 source vlan 33
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.55.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.33.33
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/9 ms
Switch#ping 192.168.55.1 source vlan 44
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.55.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.44.44
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/9 ms
Switch#ping 192.168.55.1 source vlan 55
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.55.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.55.55
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/8 ms
從所有SVI源ping 192.168.33.1。
Switch#ping 192.168.33.1 source vlan 33
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.33.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.33.33
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/203/1007 ms
Switch#ping 192.168.33.1 source vlan 44
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.33.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.44.44
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/8 ms
Switch#ping 192.168.33.1 source vlan 55
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.33.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.55.55
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/8 ms
相關資訊
CGR2010要求
ESM埠通道48