- 论坛徽章:
- 1
|
OSPF Point-to-Multipoint, Broadcast\nThe following example illustrates a point-to-multipoint network with broadcast. \n\ninterface Serial0\n ip address 10.0.1.1 255.255.255.0\n encapsulation frame-relay\n ip ospf cost 100\n ip ospf network point-to-multipoint\n frame-relay map ip 10.0.1.3 202 broadcast\n frame-relay map ip 10.0.1.4 203 broadcast\n frame-relay map ip 10.0.1.5 204 broadcast\n frame-relay local-dlci 200\n!\nrouter ospf 1\n network 10.0.1.0 0.0.0.255 area 0\n neighbor 10.0.1.5 cost 5\n neighbor 10.0.1.4 cost 10\n \n\nThe configuration of the neighbor at 10.0.1.3 is:\n\ninterface $core2s2\n ip address 10.0.1.3 255.255.255.0\n ip ospf network point-to-multipoint\n encapsulation frame-relay\n frame-relay local-dlci 301\n frame-relay map ip $core7s0_ip 300 broadcast\n no shut\n!\n router ospf 1\n network 10.0.1.0 0.0.0.255 area 0\n \n\nThe output shown for neighbors in the first configuration above looks like this:\n\nRouter# show ip ospf neighbor\nNeighbor ID Pri State Dead Time Address Interface\n4.1.1.1 1 FULL/ - 00:01:50 10.0.1.5 Serial0\n3.1.1.1 1 FULL/ - 00:01:47 10.0.1.4 Serial0\n2.1.1.1 1 FULL/ - 00:01:45 10.0.1.3 Serial0\n \n\nThe route information in the first configuration above looks like this:\n\nRouter# show ip route\nCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP\n D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area \n N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2\n E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP\n i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default\n U - per-user static route, o - ODR\nGateway of last resort is not set\nC 1.0.0.0/8 is directly connected, Loopback0\n 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks\nO 10.0.1.3/32 [110/100] via 10.0.1.3, 00:39:08, Serial0\nC 10.0.1.0/24 is directly connected, Serial0\nO 10.0.1.5/32 [110/5] via 10.0.1.5, 00:39:08, Serial0\nO 10.0.1.4/32 [110/10] via 10.0.1.4, 00:39:08, Serial0\n\n\n |
|