接口
IP
地址配置省略。
下面重点配置的地方:
P1R1(config)#int s0/0/0
P1R1(config-if)#encapsulation frame-relay
P1R1(config-if)#ip ospf network point-to-multipoint
P1R1(config)#router ospf 1
P1R1(config-router)#network 172.31.1.0 0.0.0 .255 area 0
P1R1(config-router)#network 10.1.0 .0 0.0.0 .255 area 1
P1R1(config-router)#network 10.1.1 .0 0.0.0 .255 area 1
P1R2(config)#int s0/0/0
P1R2(config-if)#encapsulation frame-relay
P1R2(config-if)#ip ospf network point-to-multipoint
P1R2(config)#router ospf 1
P1R2(config-router)#network 172.31.1.0 0.0.0 .255 area 0
P1R2(config-router)#network 10.1.0 .0 0.0.0 .255 area 1
P1R1(config-router)#network 10.1.2 .0 0.0.0 .255 area 1
BBR1(config)#int s0/0/0
BBR1(config-if)#encapsulation frame-relay
BBR1(config-if)#ip ospf network point-to-multipoint
BBR1(config)#router ospf 1
BBR1(config-router)#network 172.31.1.0 0.0.0 .255 area 0
BBR1(config-router)#network 10.254.0.0 0.0.0 .255 area 1
配置
cisco
点到多点非广播模式
接口
IP
地址配置省略
下面重点配置的地方:
BBR1(config)#int s0/0/0
BBR1(config-if)#encapsulation frame-relay
BBR1(config-if)#no shut
BBR1(config)#int s0/0/0.1 multipoint
BBR1(config-subif)#ip ospf network point-to-multipoint
BBR1(config-subif)#ip add 172.31.1.3 255.255.255.0
BBR1(config-subif)#frame-relay map ip 172.31.1.1 102 broadcast
BBR1(config-subif)#frame-relay map ip 172.31.1.2 103 broadcast
BBR1(config-subif)#exit
BBR1(config)#int s0/0/0.2 point-to-point
BBR1(config-subif)#ip add 172.31.2.3 255.255.255.0
BBR1(config-subif)#frame-relay interface-dcli 104
BBR1(config-subif)#exit
BBR1(config)#router ospf 1
BBR1(config-router)#network 172.31.1.0 0.0.0 .255 area 0
BBR1(config-router)#network 172.31.2.0 0.0.0 .255 area 0
BBR1(config-router)#network 10.254.0.0 0.0.0 .255 area 0
P1R1(config)#int s0/0/0
P1R1(config-if)#encapsulation frame-relay
P1R1(config-if)#ip ospf network point-to-multipoint
P1R1(config)#router ospf 1
P1R1(config-router)#network 172.31.1.0 0.0.0 .255 area 0
P1R1(config-router)#network 10.1.0 .0 0.0.0 .255 area 1
P1R1(config-router)#network 10.1.1 .0 0.0.0 .255 area 1
P1R2(config)#int s0/0/0
P1R2(config-if)#encapsulation frame-relay
P1R2(config-if)#ip ospf network point-to-multipoint
P1R2(config)#router ospf 1
P1R2(config-router)#network 172.31.1.0 0.0.0 .255 area 0
P1R2(config-router)#network 10.1.0 .0 0.0.0 .255 area 1
P1R1(config-router)#network 10.1.2 .0 0.0.0 .255 area 1
P1R3(config)#int s0/0/0
P1R3(config-if)#encapsulation frame-relay
P1R3(config-if)#ip ospf network point-to-multipoint
P1R3(config)#router ospf 1
P1R3(config-router)#network 172.31.1.0 0.0.0 .255 area 0
P1R3(config-router)#network 10.1.3 .0 0.0.0 .255 area 2