Login to Cisco ASA, enter into configuration mode, and use "route" command to add static route.
Destination Network & Subnet mask: 10.100.21.0 255.255.255.0
Next-hop IP: 10.100.75.40
Cisco-ASA>
!!Enter into the privileged mode!!
Cisco-ASA>
Cisco-ASA> enable
Cisco-ASA#
!!Enter into the configuration mode!!
Cisco-ASA#
Cisco-ASA# configure terminal
Cisco-ASA(config)#
Cisco-ASA(config)# route inside-int 10.100.21.0 255.255.255.0 10.100.75.40
Cisco-ASA(config)#
Cisco-ASA(config)#
!!"write memory" for the new configuration to survive reboot!!
Cisco-ASA(config)#
Cisco-ASA(config)# write memory
Cisco-ASA(config)#
Syntax:
route <interface-name> <destination IP> <subnet mask> <next-hop IP>
Example:
In this example,Destination Network & Subnet mask: 10.100.21.0 255.255.255.0
Next-hop IP: 10.100.75.40
Cisco-ASA>
!!Enter into the privileged mode!!
Cisco-ASA>
Cisco-ASA> enable
Cisco-ASA#
!!Enter into the configuration mode!!
Cisco-ASA#
Cisco-ASA# configure terminal
Cisco-ASA(config)#
Cisco-ASA(config)# route inside-int 10.100.21.0 255.255.255.0 10.100.75.40
Cisco-ASA(config)#
Cisco-ASA(config)#
!!"write memory" for the new configuration to survive reboot!!
Cisco-ASA(config)#
Cisco-ASA(config)# write memory
Cisco-ASA(config)#
Cisco ASA - Static Route Configuration
Reviewed by Admin
on
18:30:00
Rating: