Brocade Multi-Service IronWare Routing Configuration Guide Manual do Utilizador Página 364

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 846
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 363
336 Multi-Service IronWare Routing Configuration Guide
53-1003033-02
Configuration examples
Configuration examples
This section presents configuration examples for:
“Basic example” on page 336
“Setting the next hop” on page 336
“Setting the output interface to the null interface” on page 338
“Selectively applying normal routing to packets” on page 338
Basic example
The following commands configure and apply a PBR policy that routes HTTP traffic received on
virtual routing interface 1 from the 10.10.10.x/24 network to 10.5.5.x/24 through next-hop IP
address 10.1.1.1 or, if 10.1.1.x is unavailable, through 10.2.2.1.
Setting the next hop
The following commands configure the Brocade device to apply PBR to traffic from IP subnets
10.157.23.x, 10.157.24.x, and 10.157.25.x. In this example, route maps specify the next-hop
gateway for packets from each of these subnets:
Packets from 10.157.23.x are sent to 192.168.2.1.
Packets from 10.157.24.x are sent to 192.168.2.2.
Packets from 10.157.25.x are sent to 192.168.2.3.
The following commands configure three standard ACLs. Each ACL contains one of the ACLs listed
above. Make sure you specify permit instead of deny in the ACLs, so that the Brocade device
permits the traffic that matches the ACLs to be further evaluated by the route map. If you specify
deny, the traffic that matches the deny statements are routed normally. Notice that these ACLs
specify any for the destination address.
Brocade(config)# access-list 50 permit 10.157.23.0 10.0.0.255
Brocade(config)# access-list 51 permit 10.157.24.0 10.0.0.255
Brocade(config)# access-list 52 permit 10.157.25.0 10.0.0.255
The following commands set an RSVP-signalled LSP as the next hop.
Brocade(config)# access-list 101 permit tcp any any
Brocade(config)# access-list 101 deny ip any any
Brocade(config)# router mpls
Brocade(config-mpls)# mpls-interface ethernet 6/1
Brocade(config-mpls)# lsp t3
Brocade(config)# access-list 101 permit tcp 10.10.10.0 10.0.0.255 eq http
10.5.5.0 10.0.0.255
Brocade(config)# route-map net10web permit 101
Brocade(config-routemap net10web)# match ip address 101
Brocade(config-routemap net10web)# set ip next-hop 10.1.1.1
Brocade(config-routemap net10web)# set ip next-hop 10.2.2.1
Brocade(config-routemap net10web)# exit
Brocade(config)# vlan 10
Brocade(config-vlan-10)# tagged ethernet 1/1 to 1/4
Brocade(config-vlan-10)# router-interface ve 1
Brocade(config)# interface ve 1
Vista de página 363
1 2 ... 359 360 361 362 363 364 365 366 367 368 369 ... 845 846

Comentários a estes Manuais

Sem comentários