分享
 
 
 

MPLS实例

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

==================

LDP CONFIGURATION

=================

conf t

mpls label protocol ldp

ip cef

int

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

mpls traffic-eng tunnels

ip rsvp bandwidth 1000

*Dynamic* tunnel config

interface Tunnel X

ip unnumbered loopback0

tunnel destination

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

*Static* tunnel config

interface Tunnel 6

ip unnumbered loopback0

tunnel destination

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 remote-as 100

neighbor active

address-family vpnv4

neighbor

neighbor

neighbor

neighbor send-community extended

neighbor send-community extended

neighbor send-community extended

PE-CE Routing

conf t

router bgp 100

address-family ipv4 vrf test1

neighbor remote-as

neighbor active

CE Routing

conf t

router bgp

neighbor remote-as 100

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

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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有