beautypg.com

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

Page 196

background image

Command Guide of MGSW-28240F

4.2.78 ip route

Command:

ip route

ip Internet Protocol

route Add IP route

Network

Netmask

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-