본문 바로가기
network/ccie-mpls

Monitoring Frame-Mode MPLS on Cisco IOS Platforms

MPLS Monitoring Commands
# Displays LDP parameters on the local router
Router#show mpls ldp parameters

# Displays MPLS status on individual interfaces
Router#show mpls interfaces

# Displays all discovered LDP neighbors
Router#show mpls ldp discovery



- 아래와 같이 인터페이스를 확인 하여 네이버에 대한 트러블 슈팅을 할 수 있다.

 


- The table describes the significant fields in the display.
(xmit -> 보내고 , recv-> 받고 => 두개가 안되면 tcp세션이 성립되지 않는다.)



LDP Monitoring Commands

# 각각 의 ldp 네이버를 확인 한다.
Router#show mpls ldp neighbor

# 각각의 ldp네이버의 자세한 정보를 확인 한다.
Router#show mpls ldp neighbor detail

# label 의 binding 되어 있는 local정보를 보여 준다.
Router#show mpls ldp bindings

-정상적일 경우 아래와 같이 state 에서oper(ation) 으로 나타 난다.
- hold time 단위는 ms 로 18000 -> 18 초 로 나온다.

- 아래 ldp 바인딩에서 10.102.0.0/16 에 대하여 local 에서 26 으로 바인딩 하고 외부 172.27.32.29 라는 lsr 에서는 26으로 바인 되었다라는 것을 확인 한다.


Monitoring Label Switching

#LFIB를 확인 한다.
Router#show mpls forwarding-table

# cef의 label 정보 를 확인 한다.
Router#show ip cef detail

- show mpls forwarding-table detail 을 할 경우 mac주소를 미리 확인 할 수 있다.

- 아래와 같이 cef detail 을 통하여 label 을 확인 할 수 있다.


Debugging MPLS and LDP

• Debugs TDP adjacencies, session establishment, and  label bindings exchange
Router#debug mpls ldp ...

• Debugs LFIB events: label creations, removals, rewrite,  and so on
Router#debug mpls lfib …

• Debugs labeled packets switched by the router
Router#debug mpls packets [interface]



반응형