简介
本文档介绍如何使用CGR2010和思科以太网交换机模块(ESM)配置单臂路由器。
先决条件
要求
Cisco 建议您了解以下主题:
- 路由和交换基础
- 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