Configuring Static Routes - Dell C9000 Series Networking Configuration Manual

Hide thumbs Also See for C9000 Series:
Table of Contents

Advertisement

For a VLAN interface, enter the keyword vlan then a number from 1 to 4094.
2
Enable the interface.
INTERFACE mode
no shutdown
3
Configure a primary IP address and mask on the interface.
INTERFACE mode
ip address ip-address mask [secondary]
ip-address mask: the IP address must be in dotted decimal format (A.B.C.D). The mask must be
in slash prefix-length format (/24).
secondary: add the keyword secondary if the IP address is the interface's backup IP address.
You can configure up to eight secondary IP addresses.
Example the show config Command
To view the configuration, use the show config command in INTERFACE mode or use the show ip
interface command in EXEC privilege mode, as shown in the second example.
Dell(conf-if)#show conf
!
interface TengigabitEthernet 0/0
ip address 10.11.1.1/24
no shutdown
!
Dell(conf-if)#
Dell(conf-if)#show conf
!
interface TengigabitEthernet 0/0
ip address 10.11.1.1/24
no shutdown
!
Dell(conf-if)#

Configuring Static Routes

A static route is an IP address that you manually configure and that the routing protocol does not learn, such
as open shortest path first (OSPF). Often, static routes are used as backup routes in case other dynamically
learned routes are unreachable.
You can enter as many static IP addresses as necessary.
To configure a static route, use the following command.
Configure a static IP address.
CONFIGURATION mode
ip route ip-address mask {ip-address | interface [ip-address]} [distance]
[permanent] [tag tag-value]
Use the following required and optional parameters:
ip-address: enter an address in dotted decimal format (A.B.C.D).
IPv4 Routing
549

Advertisement

Table of Contents
loading

Table of Contents