D-Link DI-3660 Инструкция по эксплуатации онлайн [252/506] 41922

D-Link DI-3660 Инструкция по эксплуатации онлайн [252/506] 41922
Command Line Interface Reference Manual
252
neighbor 10.0.1.5 cost 15 
The following example is the configuration for the router on the other side:
interface Serial1/2 
 ip address 10.0.1.3 255.255.255.0 
 encapsulation frame-relay 
 ip ospf network point-to-multipoint non-broadcast 
 no ip mroute-cache 
 no keepalive 
 no fair-queue 
 frame-relay local-dlci 301 
 frame-relay map 10.0.1.1 pvc 300 
 no shut 
 ! 
 router ospf 1 
 network 10.0.1.0 0.0.0.255 area 0 
Variable-Length Subnet Masks Example
OSPF, static routes, and IS-IS support variable-length subnet masks (VLSMs). With VLSMs, you can use different masks
for the same network number on different interfaces, which allows you to conserve IP addresses and more efficiently use
available address space.
In the following example, a 30-bit subnet mask is used, leaving two bits of address space reserved for serial line host
addresses. There is sufficient host address space for two host endpoints on a point-to-point serial link.
interface ethernet 1/0 
  ip address 131.107.1.1 255.255.255.0 
! 8 bits of host address space reserved for ethernets 
interface serial 1/1 
  ip address 131.107.254.1 255.255.255.252 
! 2 bits of address space reserved for serial lines 
! Router is configured for OSPF and assigned AS 107 
router ospf 107 
! Specifies network directly connected to the router 
  network 131.107.0.0 0.0.255.255 area 0.0.0.0 
OSPF Routing and Route Redistribution Examples
OSPF Routing and Route Redistribution Examples
OSPF typically requires coordination among many internal routers, area border routers, and autonomous system boundary
routers. At a minimum, OSPF-based routers can be configured with all default parameter values, with no authentication,
and with interfaces assigned to areas.
Three examples follow:
1. The first is a simple configuration illustrating basic OSPF commands.
2. The second example illustrates a configuration for an internal router, ABR, and ASBRs within a single, arbitrarily
assigned, OSPF autonomous system.
3. The third example illustrates a more complex configuration and the application of various tools available for
controlling OSPF-based routing environments.
Basic OSPF Configuration Example

Содержание

Скачать