Ip Routing - TP-Link T2700G-28TQ Cli Reference Manual

Jetstream 28-port gigabit stackable l2+ managed switch
Hide thumbs Also See for T2700G-28TQ:
Table of Contents

Advertisement

T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
Syntax
ip route { dest-address } { mask } { next-hop-address } [ distance { distance } ]
no ip route { dest-address } { mask } { next-hop-address }
Parameter
dest-address —— The destination IP address.
mask —— The subnet mask.
next-hop-address —— The address of the next-hop.
distance —— The distance metric of this route. The smaller the distance is,
the higher the priority is.
Command Mode
Global Configuration Mode
Example
Create a static route with the destination IP address as 192.168.2.0, the subnet
mask as 255.255.255.0 and the next-hop address as 192.168.0.2:
T2700G-28TQ(config)# ip route 192.168.2.0 255.255.255.0 192.168.0.2

ip routing

Description
This ip routing command is used to enable the Lay 3 routing function. To
disable this function, please use the no ip routing command.
Syntax
ip routing
no ip routing
Command Mode
Global Configuration Mode
Example
Disable the Layer 3 ip routing function :
T2700G-28TQ(config)# no ip routing
291

Advertisement

Table of Contents
loading

Table of Contents