MPLS Commands
- ip cef
- mpls label protocol [LDP/TDP]
- LDP is default for new version ios
- TDP is default for old version ios
- mpls ip
- sh mpls ldp inerface
- sh mpls ldp neighbour
- sh mpls ldb bindings (local/remote)
- sh mpls forwarding-table
- sh ip cef
- config)# mpls ldp advertise-labels for 20 to 30
- advertise labels only 20 to 30 to its neighbors.
- sh control-plane host open-ports
- sh ip cef a.b.c.d 255.255.255.0
- sh mpls ldp parameters
- sh mpls ldp discovery
- mpls ldp router-id <interface> force
- mpls ldp discovery transport-address interface
- if some reasons loopback ip address is not reachable, tcp connection will not establish.
- then ldp to establish a tcp connection using physical interface ip address use above command under the interface level.
- mpls ldp neighbor <ip> password <password>
- ip-neighbor's ldp router-id
- mpls ldp password required
- to make use of password mandatory use the above command globally.