T3700G-28TQ
 
JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 
 
280 
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: 
T3700G-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 : 
T3700G-28TQ(config)# no ip routing