ÖйúCisco¼¼ÊõÂÛ̳ -- ÎÄÕÂÔĶÁ [ÌÖÂÛÇø: TJU]
·¢ÐÅÈË: hover (Óð), ÐÅÇø: TJU
±ê  Ìâ: MPLS³¬¼¶ËÙ³É zz
·¢ÐÅÕ¾: ÖйúCiscoÂÛ̳ (2003Äê06ÔÂ05ÈÕ11:47:37 ÐÇÆÚËÄ), Õ¾ÄÚÐżþ

================== 
LDP CONFIGURATION 
================= 

conf t 
 mpls label protocol ldp 
 ip cef 

 int <interface> 
  mpls ip 

LDP Verification 

show mpls interface 
show mpls ldp discovery 
debug mpls ldp session state-machine 


================================= 
TRAFFIC ENGINEERING CONFIGURATION 
================================= 

conf t 
 mpls traffic-eng tunnels 
 ip cef 

 int <interface> 
  mpls traffic-eng tunnels 
  ip rsvp bandwidth 1000 

*Dynamic* tunnel config 

interface Tunnel X 
 ip unnumbered loopback0 
 tunnel destination <ip address> 
 tunnel mode mpls traffic-eng 
 tunnel mpls traffic-eng autoroute announce 
 tunnel mpls traffic-eng priority 7 7 
 tunnel mpls traffic-eng bandwidth 100 
 tunnel mpls traffic-eng path-option 1 dynamic 
 description <X> 

*Static* tunnel config 

interface Tunnel 6 
 ip unnumbered loopback0 
 tunnel destination <ip address> 
 tunnel mode mpls traffic-eng 
 tunnel mpls traffic-eng path-option 1 explicit name team6exp 

From the Router global config, specify the path for the explicit tunnel 

ip explicit-path name team6exp enable 
next-address 132.0.0.1 
next-address 134.0.0.1 
next-address 133.0.0.1 
next-address 130.0.0.1 

Tunnel Status Verification 

Ping tunnel destination address to verify the tunnel is up 
Head end - show int tunnel X accounting 
Midpoint - show mpls forwarding-table 
Both     - show mpls traffic-eng tunnels brief 

show mpls traffic topology path tunnel X 

================= 
QoS CONFIGURATION 
================= 

Create a Traffic Class 

class-map match-any Router X 
 match protocol ip 

Create a Traffic Policy 

policy-map RxPolice 
 class Router X 
  police 72000 20000 80000 conform-action set-prec-transmit 2 exceed-action 
set-prec-transmit 1 

Attach Traffic Policy to an Interface 

service-policy input RxPolice 
service-policy output RxPolice 

QoS Verification 

show policy-map interface Serial0/x input/output 
... 

================= 
VPN CONFIGURATION 
================= 

PE-PE Routing 

conf t 
 router bgp 100 
  no bgp default ipv4-unicast 
  neighbor <loopback_IP_address_of_the_other_PE> remote-as 100 
  neighbor <loopback_IP_address_of_the_other_PE> active 

 address-family vpnv4 
  neighbor <loopback addressES of other PE routerS> 
  neighbor <loopback addressES of other PE routerS> 
  neighbor <loopback addressES of other PE routerS> 

  neighbor <loopback addressES of other PE routerS> send-community extended 
  neighbor <loopback addressES of other PE routerS> send-community extended 
  neighbor <loopback addressES of other PE routerS> send-community extended 


PE-CE Routing 

conf t 
 router bgp 100 
 address-family ipv4 vrf test1 
 neighbor <IP_address_of_CE_interf_on_PE_CE_link> remote-as <AS_number> 
 neighbor <IP_address_of_CE_interf_on_PE_CE_link> active 


CE Routing 

conf t 
 router bgp <autonomous-system> 
 neighbor <IP_Address_of_PE_router_interface> remote-as 100 
 network <address> mask <network-mask> 

The IP Address to be used is the PE routers interface address. 
The network is the loopback address and mask of the CE router 


Configuring Interfaces (on PE routers only) 

conf t 
 ip vrf test1 
  rd 100:1 
  route-target both 100:1 

conf t 
 int Serial0/X 
  ip vrf forwarding test1 


VPN debug 

show mpls for vrf <vrf-name> 
show ip bgp vpnv4 all tags 
show ip cef vrf detail 

================= 
MPLS of FR 
================= 
!                                                                            
    
mpls label protocol 
ldp                                                          
no mls ip multicast 
aggregate                                                    
no mls ip multicast non-rpf 
cef                                                  
!                                     
interface 
Loopback0                                                              
 ip address 11.11.11.11 
255.255.255.255                                          
!                                       
interface 
POS3/1                                                                 
 no ip 
address                                                                   
 encapsulation 
frame-relay                                                       
 no 
keepalive                                                                    

 mls qos trust 
dscp                                                              
!                                                                            
    
interface POS3/1.1 
point-to-point                                                
 ip address 110.1.1.2 
255.255.255.0                                              
 tag-switching 
ip                                                                
 mls qos trust 
dscp                                                              
 frame-relay interface-dlci 
100                                                  
!                                         
interface 
POS3/5                                                                 
 ip address 120.1.1.1 
255.255.255.0                                              
 encapsulation 
ppp                                                               
 no 
keepalive                                                                    

 tag-switching 
ip                                                                
 mls qos trust 
dscp                                                              
!                                    
router ospf 
100                                                                  
 
log-adjacency-changes                                                        
   
 network 11.0.0.0 0.255.255.255 area 
100                                         
 network 110.1.1.0 0.0.0.255 area 
100                                            
 network 111.1.1.0 0.0.0.255 area 
100                                            
 network 120.1.1.0 0.0.0.255 area 
100                                            
 network 121.1.1.0 0.0.0.255 area 
100                                            
!                                            
PE1#sh frame pvc 
100                                                             
 
 
 
 
 
                                                                            
PVC Statistics for interface POS3/1 (Frame Relay 
DTE)                            
 
 
 
 
 
                                                                            
DLCI = 100, DLCI USAGE = LOCAL, PVC STATUS = STATIC, INTERFACE = 
POS3/1.1        
 
 
 
 
 
                                                                            
  input pkts 82            output pkts 1082         in bytes 
6219                
  out bytes 110168         dropped pkts 0           in FECN pkts 
0               
  in BECN pkts 0           out FECN pkts 0          out BECN pkts 
0              
  in DE pkts 0             out DE pkts 
0                                         
  out bcast pkts 73         out bcast bytes 
5700                                 
  pvc create time 00:18:37, last time pvc status changed 
00:16:58                
PE1#                                                                
%%%% 

 
--

Ïã²ÝÀ´×ÔÂí´ï¼Ó˹¼Ó,¿§·ÈÀ´×Ô°ÍÎ÷,²ÝÝ®À´×Ô¶íÀÕ¸Ô
ÇÉ¿ËÁ¦À´×Ô±ÈÀûʱ,¼á¹ûÀ´×ÔÏÄÍþÒÄ...
ÎÒµÄÀíÏë...                À´×ÔÄã

¡ù À´Ô´:¡¤ÖйúCiscoÂÛ̳ bbs.ccxx.net¡¤[FROM: el oc¨¦ano profundo]             

[ÉÏһƪ][TJUÌÖÂÛÇø] [Cisco·ÖÀàÂÛÇø][ÏÂһƪ]

ÆäËüÎÄÕÂÁбí
ADSL£«WLAN£º×éºÏÈ­´òÏòSOHOÊг¡ zz
¹Ûµã£º°¢¶û¿¨ÌØÌôս˼¿Æ»¹È±µãʲô£¿ zz
¹Ø¼üÒµÎñÊý¾Ý°üÓÅÏÈ·¢Ëͼ°ÆäÔÚCisco·ÓÉÆ÷ÖеÄÊ...
¹ØÓÚ·ÓÉÆ÷cpuÀûÓÃÂʹý¸ßµÄ½â¾ö(×ªÔØ)
Re: ´ó¼Ò½ÚÈÕ¿ìÀÖ
´ó¼Ò½ÚÈÕ¿ìÀÖ
Re: good
Re: good
Re: ˼¿Æ¶ÔÓÚ¹ú¼Ò°²È«Íþв¼°ÔÚÖйúÊг¡²»·¨²Ù×÷(תÌû)

MPLS³¬¼¶ËÙ³É zz-ÖйúCisco¼¼ÊõÂÛ̳-˼¿Æ CCNA CCNP CCIE½»Á÷

ÌÖÂÛÇøÁбí
¡ð ÎÒÏëÎÒÊǺ£ ¡ð ATM ¡ð ±¾Õ¾µÄ¸÷Ààͳ¼ÆÁбíÓëÊý¾Ý ¡ð ¾ºÑ¡°åÖ÷
¡ð ±±ÓÊCiscoÖ®¼Ò ¡ð Ö°ÒµÉúÑÄ ¡ð ˼¿ÆÈÏÖ¤»¥ÁªÍø×¨¼Ò ¡ð ˼¿ÆÈÏÖ¤³õ¼¶ÍøÂ繤³Ìʦ
¡ð ˼¿ÆÈÏÖ¤×ÊÉîÍøÂ繤³Ìʦ ¡ð ÖØÓÊCiscoÖ®¼Ò ¡ð ÍøÂçÉè¼Æ ¡ð ×ÊÁÏÓëÊé¼®
¡ð Ãâ·ÑCiscoʵÑéÊÒ ¡ð CiscoÂÛ̳ҲÓÐJuniper ¡ð CCIE¿¼ÊÔ½»»»LabÈÕÆÚרÓÃÇø ¡ð MPLS
¡ð ÍøÂç»ù´¡ÓëÔ­Àí ¡ð ÍøÂç¹ÜÀí ¡ð ÐÂÊÖÉÏ· ¡ð ÐÐÒµÐÂÎÅ
¡ð ËáÌð¿àÀ±ÁôÑÔ°å ¡ð ÄÏÓÊCiscoÖ®¼Ò ¡ð ·Óɼ¼Êõ ¡ð ÍøÂ簲ȫ
¡ð ½»»»¼¼Êõ ¡ð Õ¾³¤µÄ¹¤×÷ÊÒ ¡ð Ç廪CiscoÖ®¼Ò ¡ð ͬ¼ÃCiscoÖ®¼Ò
¡ð CiscoÅàѵ ¡ð µç×Ó¿Æ´óCiscoÖ®¼Ò ¡ð Voice over IP¡¢ATM¡¢FR ¡ð ±¾Õ¾¸÷ÏîͶƱÓë½á¹û
¡ð ÐéÄâ×¨Íø¼¼Êõ

С˵ºÍ²©¿ÍÕ¾µãÓÑÇéÁ´½Ó:
С˵
²©¿Í
È«²¿Ð¡Ëµ
Ðþ»ÃС˵
²©¿ÍÂÛ̳
ÑÔÇéС˵
С˵Ŀ¼
ÈýζÊéÎÝС˵
CISCOÃÔ
¹¤¾ßÈí¼þÏÂÔØ


[È«²¿CiscoÌÖÂÛÇø] °æÈ¨ËùÓÐ:ÖйúCisco¼¼ÊõÂÛ̳£¬ÑÇÍþ˼¿Æ,CiscoÅàѵ,CCNA,CCNP,CCIEÅàѵ,LinuxÅàѵ,Ô¶³ÌCCIEʵÑéÊÒ,Cisco¼¼Êõ