routing

Syntax

没有路由路由

描述

Enables routing support on an interface, creating a L3 (layer 3) interface on which the switch can route IPv4/IPv6 traffic to other devices.

By default, routing is disabled on all interfaces.

The没有form of this command disables routing support on an interface, creating a L2 (layer 2) interface.

Command context

config-if

作者ity

Administrators or local user group members with execution rights for this command.

Examples

Enabling routing support on an interface:

switch(config-if)#routing

Disabling routing support on an interface:

switch(config-if)#没有routing