Canoga-perkins 9175 Command Reference Manual do Utilizador Página 294

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 790
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 293
CanogaOS Command Reference
16-49
Command Mode
Router mode
Usage
Use this command to specify a weight value to all routes learned from a neighbor. The route with the highest
weight gets preference when there are other routes on the network.
Unlike the local-preference attribute, the weight attribute is relevant only to the local router.
The weights assigned using the set weight command overrides the weights assigned using this command.
Examples
Switch# configure terminal
Switch(config)# router /jointfilesconvert/1661101/bgp 12
Switch(config-router)# neighbor 10.10.10.10 weight 60
16.74 network
Use this command to specify the networks to be advertised by the BGP routing process. A unicast network
address without a mask is accepted if it falls into the natural boundary of its class. A class-boundary mask is
derived if the address matches its natural class-boundary.
Use the no form of this command to remove a network route entry.
Command Syntax
[no] network A.B.C.D
A.B.C.D IP prefix <network>, e.g., 35.0.0.0
[no] network A.B.C.D route-map WORD
A.B.C.D IP prefix <network>, e.g., 35.0.0.0
WORD Name of the route map
Command Mode
Router mode and IPv4-Unicast Address-family mode
Examples
The following example illustrates a Class-A address configured as a network route. The natural Class-A
network prefix mask length of 8 will be internally derived, that is, 2.0.0.0/8.
Switch(config)#router /jointfilesconvert/1661101/bgp 1
Switch(config-router)#network 2.0.0.0
Switch#show run
!
router /jointfilesconvert/1661101/bgp 1
no synchronization
network 1.0.0.0
!
The following example illustrates a network address which does not fall into its
Vista de página 293
1 2 ... 289 290 291 292 293 294 295 296 297 298 299 ... 789 790

Comentários a estes Manuais

Sem comentários