67 ip route, 68 ip routing – PLANET WGSW-48040HP User Manual

Page 181

Advertising
background image

Command Guide of WGSW-48040HP

4.2.67 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.68 ip routing

Command:

ip routing

ip Internet Protocol

routing Enable routing for IPv4 and IPv6

Default:

None

Usage Guide:

To enable IP routing

Example:

To enable IP routing

-181-

Advertising