D-Link 3312SR Reference Manual - Page 233
Routing Table Commands, create iproute
![]() |
UPC - 790069263873
View all D-Link 3312SR manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 233 highlights
DGS-3312SR Layer 3 Gigabit Switch 32 ROUTING TABLE COMMANDS The routing table commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command create iproute create iproute default delete iproute default delete iproute show iproute Parameters {} {[primary | backup]} {} {[primary | backup]} {} {[static | rip | ospf]} Each command is listed, in detail, in the following sections. create iproute Purpose Syntax Description Parameters Restrictions Used to create IP route entries to the switch's IP routing table. create iproute {} {[primary | backup]} This command is used to create a primary and backup IP route entry to the switch's IP routing table. − IP address and netmask of the IP interface that is the destination of the route. You can specify the address and mask information using the traditional format (for example, 10.1.2.3/255.0.0.0 or in CIDR format, 10.1.2.3/8). − The gateway IP address for the next hop router. − Allows the entry of a routing protocol metric entry, representing the number of routers between the Switch and the IP address above. The default setting is 1. [primary | backup] - The user may choose between Primary and Backup. If the Primary Static/Default Route fails, the Backup Route will support the entry. Please take note that the Primary and Backup entries cannot have the same Gateway. Only administrator-level users can issue this command. Example Usage: To add a single static address 10.48.74.121, mask 255.0.0.0 and gateway 10.1.1.254 to the routing table: DGS-3312SR:4#create iproute 10.48.74.121/255.0.0.0 10.1.1.254 1 Command: create iproute 10.48.74.121/8 10.1.1.254 1 Success. DGS-3312SR:4# 227
![](/manual_guide/products/dlink-3312sr-reference-manual-4c3c9f4/233.png)