The set ip routing enable command configures whether to enable or disable IP routing function.

NOTE:

Layer 3 packets cannot be forwarded normally if IP routing function is disabled.

Command Syntax

set ip routing enable [true | false]

Parameter

Parameter

Description

enable [true | false]

Configures whether to enable or disable IP routing function. The value is true or false.

true: enables the IP routing function.

false: disables the IP routing function.

The default value is false.

Example

admin@Xorplus# set ip routing enable false
admin@Xorplus# commit
admin@Xorplus# set ip routing enable true
admin@Xorplus# commit