浅塘在线--儿时的记忆,老家村门口一口浅塘,是儿童时光差不多全部美好时光的记忆,游泳嬉水、抓鱼钓鱼、捞螺丝、漂石仗、淘硬币、以及生活中各种洗洗涮涮~·

 找回密码
 立即注册

微信登录

微信扫一扫,快速登录

搜索
热搜: 活动 交友 discuz

社区广播台

查看: 63|回复: 0

全球路由表应用举例

[复制链接]

4万

主题

4万

帖子

13万

积分

版主

Rank: 7Rank: 7Rank: 7

积分
134973
发表于 2019-4-12 10:32:31 | 显示全部楼层 |阅读模式
[img][/img]


CE 1
version 12.2
!
hostname CE-1
!
ip subnet-zero
!
interface Loopback0
ip address 10.1.1.1 255.255.255.255
!
interface Loopback2
ip address 11.11.11.1 255.255.255.0
!
interface Serial8/0
ip address 192.168.10.1 255.255.255.252

!--- The interface is connected to PE 1.

!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.10.2

!--- This is the default route to route all packets to PE 1.

!

PE 1
version 12.2
!
hostname PE-1
!
ip subnet-zero
!
ip f customer1

!--- This configured F customer1.

rd 100:1

!--- This configured the route distiguisher for F.

route-target export 1:1
route-target import 1:1

!--- This configured the export and import polics into F.

!
ip cef

!--- This enabled Cio Express Forwarding (CEF) switching.

!
interface Loopback0
ip address 10.1.1.2 255.255.255.255
!
interface Ethernet0/0

!--- It is connected to P router.

ip address 10.10.23.2 255.255.255.0
tag-switching ip

!--- MPLS switching is enabled.

!
interface Serial8/0
! Connected to CE-1
ip f forwarding customer1

!--- Route forwarding based on customer1 F is enabled.

ip address 192.168.10.2 255.255.255.252
!
router ospf 1
log-adjacency-changes
redistribute static subnets
network
1
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 微信登录

本版积分规则

快速回复 返回顶部 返回列表