MPLS标签行为

MPLS Domain标签转发行为
进入标签域的标签行为是标签压制(impose):Insert(impose) a label on ingress,操作在入口eLsR上执行
中间是label swapping(标签交换):Swap a label
最后是remove labels(标签移除):Remove(pop) a label on egress,典型地在倒数第二跳LSR或出口LER上执行

上述实验的结果:
R1查FIB
R2查FIB
R3/R4查LFIB
R5查路由表(因为终止于本身的路由条目是使用进程转发)
r1#traceroute 5.5.5.5                                      
                                                           
Type escape sequence to abort.                             
Tracing the route to 5.5.5.5                               
                                                           
  1 12.1.1.2 12 msec 8 msec 8 msec                         
  2 23.1.1.3 [MPLS: Label 3002 Exp 0] 8 msec 8 msec 8 msec 
  3 34.1.1.4 [MPLS: Label 4002 Exp 0] 8 msec 8 msec 4 msec 
  4 45.1.1.5 8 msec *  4 msec                              
r1#                                                        

r3#show mpls ldp neighbor                                  
    Peer LDP Ident: 2.2.2.2:0; Local LDP Ident 3.3.3.3:0   
        TCP connection: 2.2.2.2.646 - 3.3.3.3.36112        
        State: Oper; Msgs sent/rcvd: 48/47; Downstream     
        Up time: 00:31:30                                  
        LDP discovery sources:                             
          Ethernet0/0.23, Src IP addr: 23.1.1.2            
        Addresses bound to peer LDP Ident:                 
          12.1.1.2        23.1.1.2        2.2.2.2          
    Peer LDP Ident: 4.4.4.4:0; Local LDP Ident 3.3.3.3:0   
        TCP connection: 4.4.4.4.59696 - 3.3.3.3.646        
        State: Oper; Msgs sent/rcvd: 46/46; Downstream     
        Up time: 00:29:35                                  
        LDP discovery sources:                             
          Ethernet0/0.34, Src IP addr: 34.1.1.4            
        Addresses bound to peer LDP Ident:                 
          34.1.1.4        4.4.4.4         45.1.1.4         


 

原文地址:https://www.cnblogs.com/cyrusxx/p/12824172.html