分享
 
 
 

Cisco 上的MPLS基本配置

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

Pescara

Current configuration:

!

version 12.2

!

hostname Pescara

!

ip cef

!

!--- Customer A commands

ip vrf Customer_A

!--- Enables the VPN routing and forwarding (VRF) routing table

!--- This command can be used in global or

!--- router configuration mode

rd 100:110

!--- Route distinguisher creates routing and forwarding

!--- tables for a VRF

route-target eXPort 100:1000

!--- Creates lists of import and export route-target extended

!--- communities for the specified VRF

route-target import 100:1000

!

!--- Customer B commands

ip vrf Customer_B

rd 100:120

route-target export 100:2000

route-target import 100:2000

!

interface Loopback0

ip address 10.10.10.4 255.255.255.255

ip router isis

!--- Customer A commands

interface Loopback101

ip vrf forwarding Customer_A

!--- Associates a VRF instance with an interface or subinterface

ip address 200.0.4.1 255.255.255.0

!--- Loopback101 and 102 use the same IP address, 200.0.4.1.

!--- This is allowed because they belong to two

!--- different customers' VRFs

no ip directed-broadcast

!

!--- Customer B commands

interface Loopback102

ip vrf forwarding Customer_B

ip address 200.0.4.1 255.255.255.0

!--- Loopback101 and 102 use the same IP address, 200.0.4.1.

!--- This is allowed because they belong to two

!--- different customers' VRFs

no ip directed-broadcast

!

interface Serial2/0

no ip address

no ip directed-broadcast

encapsulation frame-relay

no fair-queue

!

interface Serial2/0.1 point-to-point

description link to Pauillac

bandwidth 512

ip address 10.1.1.14 255.255.255.252

no ip directed-broadcast

ip router isis

tag-switching ip

frame-relay interface-dlci 401

!

router isis

net 49.0001.0000.0000.0004.00

is-type level-1

!

router bgp 100

bgp log-neighbor-changes

!--- Enables logging of BGP neighbor resets

neighbor 10.10.10.6 remote-as 100

!--- Adds an entry to the BGP or multiprotocol BGP neighbor table

neighbor 10.10.10.6 update-source Loopback0

!--- Enables BGP sessions to use a specific operational

!--- interface for TCP connections

!

!--- Customer A and B commands

address-family vpnv4

!--- To enter address family configuration mode

!--- for configuring routing sessions, sUCh as BGP,

!--- that use standard VPN version 4 address prefixes

neighbor 10.10.10.6 activate

neighbor 10.10.10.6 send-community both

! Sends the community attribute to a BGP neighbor

exit-address-family

!

!--- Customer B commands

address-family ipv4 vrf Customer_B

!--- To enter address family configuration mode

!--- for configuring routing sessions, such as BGP,

!--- that use standard VPN version 4 address prefixes

redistribute connected

no auto-summary

no synchronization

exit-address-family

!

!--- Customer A commands

address-family ipv4 vrf Customer_A

redistribute connected

no auto-summary

no synchronization

exit-address-family

!

ip classless

!

end

Pesaro

Current configuration:

!

version 12.1

!

hostname Pesaro

!

!--- Customer A commands

ip vrf Customer_A

rd 100:110

route-target export 100:1000

route-target import 100:1000

!

!--- Customer B commands

ip vrf Customer_B

rd 100:120

route-target export 100:2000

route-target import 100:2000

!

ip cef

!

interface Loopback0

ip address 10.10.10.6 255.255.255.255

ip router isis

!--- Customer A commands

interface Loopback101

ip vrf forwarding Customer_A

ip address 200.0.6.1 255.255.255.0

!

!--- Customer B commands

interface Loopback102

ip vrf forwarding Customer_B

ip address 200.0.6.1 255.255.255.0

!

!--- Customer A commands

interface Loopback111

ip vrf forwarding Customer_A

ip address 200.1.6.1 255.255.255.0

!

interface Serial0/0

no ip address

encapsulation frame-relay

no ip mroute-cache

random-detect

!

interface Serial0/0.1 point-to-point

description link to Pomerol

bandwidth 512

ip address 10.1.1.22 255.255.255.252

ip router isis

tag-switching ip

frame-relay interface-dlci 603

!

router isis

net 49.0001.0000.0000.0006.00

is-type level-1

!

router bgp 100

neighbor 10.10.10.4 remote-as 100

neighbor 10.10.10.4 update-source Loopback0

!

!--- Customer B commands

address-family ipv4 vrf Customer_B

redistribute connected

no auto-summary

no synchronization

exit-address-family

!

!--- Customer A commands

address-family ipv4 vrf Customer_A

redistribute connected

no auto-summary

no synchronization

exit-address-family

!

!--- Customer A and B commands

address-family vpnv4

neighbor 10.10.10.4 activate

neighbor 10.10.10.4 send-community both

exit-address-family

!

ip classless

!

end

Pomerol

Current configuration:

!

version 12.0

!

hostname Pomerol

!

ip cef

!

interface Loopback0

ip address 10.10.10.3 255.255.255.255

ip router isis

!

interface Serial0/1

no ip address

no ip directed-broadcast

encapsulation frame-relay

random-detect

!

interface Serial0/1.1 point-to-point

description link to Pauillac

ip address 10.1.1.6 255.255.255.252

no ip directed-broadcast

ip router isis

tag-switching mtu 1520

tag-switching ip

frame-relay interface-dlci 301

!

interface Serial0/1.2 point-to-point

description link to Pulligny

ip address 10.1.1.9 255.255.255.252

no ip directed-broadcast

ip router isis

tag-switching ip

frame-relay interface-dlci 303

!

interface Serial0/1.3 point-to-point

description link to Pesaro

ip address 10.1.1.21 255.255.255.252

no ip directed-broadcast

ip router isis

tag-switching ip

frame-relay interface-dlci 306

!

router isis

net 49.0001.0000.0000.0003.00

is-type level-1

!

ip classless

!

end

Pulligny

Current configuration:

!

version 12.1

!

hostname Pulligny

!

!

ip cef

!

!

interface Loopback0

ip address 10.10.10.2 255.255.255.255

!

interface Serial0/1

no ip address

encapsulation frame-relay

random-detect

!

interface Serial0/1.1 point-to-point

description link to Pauillac

ip address 10.1.1.2 255.255.255.252

ip router isis

tag-switching ip

frame-relay interface-dlci 201

!

interface Serial0/1.2 point-to-point

description link to Pomerol

ip address 10.1.1.10 255.255.255.252

ip router isis

tag-switching ip

frame-relay interface-dlci 203

!

router isis

passive-interface Loopback0

net 49.0001.0000.0000.0002.00

is-type level-1

!

ip classless

!

end

Pauillac

!

version 12.1

!

hostname pauillac

!

ip cef

!

interface Loopback0

ip address 10.10.10.1 255.255.255.255

ip router isis

!

interface Serial0/0

no ip address

encapsulation frame-relay

no ip mroute-cache

tag-switching ip

no fair-queue

!

interface Serial0/0.1 point-to-point

description link to Pomerol

bandwith 512

ip address 10.1.1.1 255.255.255.252

ip router isis

tag-switching ip

frame-relay interface-dlci 102

!

interface Serial0/0.2 point-to-point

description link to Pulligny ip address 10.1.1.5 255.255.255.252

ip router isis

tag-switching ip

frame-relay interface-dlci 103

!

interface Serial0/0.3 point-to-point

description link to Pescara

bandwidth 512

ip address 10.1.1.13 255.255.255.252

ip router isis

tag-switching ip

frame-relay interface-dlci 104

!

router isis

net 49.0001.0000.0000.0001.00

is-type level-1

!

ip classless

!

end

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
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- 王朝網路 版權所有