D-Link DGS-3130 Emulator - Page 637
ip route
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 637 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)# router rip Switch(config-router)# distribute-list East-ranch in Switch(config-router)# 62-5 ip route This command is used to create a static route entry. Use the no form of this command to remove a static route entry. ip route NETWORK-PREFIX NETWORK-MASK {IP-ADDRESS [primary | backup | weight NUMBER] | null0} no ip route NETWORK-PREFIX NETWORK-MASK {IP-ADDRESS | null0} Parameters NETWORK-PREFIX NETWORK-MASK IP-ADDRESS primary backup null0 IP-TUNNEL-NAME Specifies the network address. Specifies the network mask. Specifies the IP address of the next hop that can be used to reach destination network. (Optional) Specifies the route as the primary route to the destination. (Optional) Specifies the route as the backup route to the destination. Specifies a black hole route. Specifies to use a tunnel as the next-hop. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use 0.0.0.0 0.0.0.0 to specify the default route. Floating state route is supported. This means that there could have two routes with the same destination network address but different next hop. If none of the primary or backup parameter is specified, the static route will be automatically determined to be a primary route or a backup route. Primary route is preferable, and is always be used for forwarding when it is active. When the primary route is down, the backup route will be used. Example This example shows how to add a static route entry for 20.0.0.0/8 with the next-hop 10.1.1.254. Switch# configure terminal Switch(config)# ip route 20.0.0.0 255.0.0.0 10.1.1.254 Switch(config)# 633