Cisco Systems OL-4580-01 manual 0.0.0.0 /0 and a next hop address of 192.167.1.1, enter

Models: OL-4580-01

1 186
Download 186 pages 41.96 Kb
Page 149
Image 149
0.0.0.0/0 and a next hop address of 192.167.1.1, enter:

Chapter 6 Configuring the Internet Protocol

Configuring an IP Route

firewall - Configures a firewall route. The firewall option instructs the CSS to use firewall load balancing for this route. You can optionally set the administrative distance.

Note The CLI prevents you from configuring IP static routes with identical destinations and identical administrative costs, for IP static routes that are firewall routes and IP static routes that are not firewall routes.

index - An existing index number for the firewall route. For information on configuring a firewall index, see the ip firewall command (refer to the Cisco Content Services Switch Security Configuration Guide).

For example, to configure a static IP route to destination network address 192.168.0.0 /16 and a next hop address of 192.167.1.1, enter:

(config)# ip route 192.168.0.0 /16 192.167.1.1

For example, to configure a default IP route using a destination address of

0.0.0.0/0 and a next hop address of 192.167.1.1, enter:

(config)# ip route 0.0.0.0 /0 192.167.1.1

For example, to configure a blackhole route, enter:

(config)# ip route 192.168.1.0 /24 blackhole

For example, to configure a firewall IP route with an index number of 3 and an administrative distance of 2, enter:

(config)# ip route 192.168.1.0 /24 firewall 3 2

To remove a static route, enter:

(config)# no ip route 0.0.0.0 /0 10.0.1.1

To disable the dropping of packets to a blackhole route, enter:

(config)# no ip route 192.168.1.0 /24 blackhole

To remove a firewall route, enter:

(config)# no ip route 192.168.1.0 /24 firewall 3

 

 

Cisco Content Services Switch Routing and Bridging Configuration Guide

 

 

 

 

 

 

OL-4580-01

 

 

6-5

 

 

 

Page 149
Image 149
Cisco Systems OL-4580-01 manual 0.0.0.0 /0 and a next hop address of 192.167.1.1, enter