beautypg.com

6 show ip route – Asus GigaX3124 User Manual

Page 286

background image

GigaX3124 Layer3 Switch CLI Command Reference

261

show running-config

Default
Description

This command sets the ip route in this system

Examples

ASUS(config)# ip route 192.192.5.0/24 192.192.1.254

22.5 ip route A.B.C.D/M (A.B.C.D|INTERFACE)

<1-255>

Syntax

ip route A.B.C.D/M (A.B.C.D|INTERFACE) <1-255>

Parameters

route Establish static routes

A.B.C.D/M IP destination prefix (e.g. 10.0.0.0/8)

A.B.C.D IP gateway address

INTERFACE IP gateway interface name

<1-255> Distance value for this route

Command Mode Global configuration mode
No/clear

no ip route A.B.C.D/M (A.B.C.D|INTERFACE)

Show

show ip route

show ip route A.B.C.D/M

show running-config

Default

The default distance value is 1

Description

This command sets the ip route in this system with distance

value for this route

Examples

ASUS(config)# ip route 192.192.5.0/24 192.192.1.254 10

22.6 show ip route

Syntax

show ip route

Parameters
Command Mode Privileged EXEC mode
No/clear
Show