78 ip route, 79 ip routing – PLANET MGSW-28240F User Manual

Page 196

Advertising
background image

Command Guide of MGSW-28240F

4.2.78 ip route

Command:

ip route <ipv4_addr> <ipv4_netmask> <ipv4_gateway>

ip Internet Protocol

route Add IP route

<ipv4_addr> Network

<ipv4_netmask> Netmask

<ipv4_gateway> Gateway

Default:

None

Usage Guide:

To configure static route

Example:

To configure static route as below table.

Switch# configure terminal

Switch (config)# ip route 192.168.1.0 255.255.255.0 192.168.0.1

4.2.79 ip routing

Command:

ip routing

ip Internet Protocol

routing Enable routing for IPv4 and IPv6

Default:

None

-196-

Advertising