创建CCC本地连接
两个CE设备连接在同一个PE设备上,可以通过建立CCC本地连接,实现CE设备之间的互通。
操作步骤
- 执行命令system-view,进入PE的系统视图。
- 执行命令mpls l2vpn,使能MPLS L2VPN功能。
- 执行命令quit,退回到系统视图。
- 执行命令ccc [ ip-interworking ] ccc-connection-name interface interface-type1 interface-number1 [ access-port ] [ interface-number1 ] out-interface interface-type2 interface-number2 [ access-port ] [ interface-number2] ,创建CCC本地连接。
- 只需在PE上配置CCC连接的入接口和出接口即可。CCC本地连接是双向的,因此只需要创建一条连接。
- 当两端CE设备的链路封装类型不一致时,需要配置ip-interworking参数,使能CCC本地连接的IP异种介质互通功能。
- 只有在以太网类型的链路上,该命令中才会出现参数raw、tagged、access-port,且access-port参数只能配置在以太主接口。
- (可选)执行命令ccc cccName description text,配置CCC本地连接的描述信息。
- 执行命令commit,提交配置。