Cisco 启动帧模式MPLS的命令
两步骤:1。配置CEF
2。在接口上配置MPLS
---在接口上开启标签交换
---开启分发协议(LDP 或者 TDP)
可选步骤:配置MTU大小
---------------------------------------------------------------------------------
一、配置CEF
非常简单,在配置模式下输入ip cef
Router(config)#ip cef
检验命令:
show ip cef summary
show ip cef detail
二、配置MPLS
1.在接口上开启标签交换
Router(config-if)#mpls ip
2.选择标签分发协议
在全局模式或接口模式下输入命令mpls label protocol
Router(config-if)#mpls label protocol tdp
默认的,路由器用以LDP协议分发标签。
LDP is the default protocol on Cisco IOS software>
检验MPLS:
show tag tdp blindings
show tag forwarding-bable
show ip cef detail
tracertroute *.*.*.*
三、(可选)配置MTU
Optionally, you may change the maximum>
The default MTU>
The interface MTU is automatically increased on WAN interfaces, but not on LAN interfaces.
Because MTU is not automatically increased on LAN interfaces, you have to increase it
manually using mpls mtu command.
在接口模式下命令mpls mtu bytes,例如:
Router(config-if)#mpls mtu 1512
The minimum MTU is 64 bytes. The maximum depends on the type of interface medium.
页:
[1]