routing
Syntax
routing
no routing
Description
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
no
form of this command disables routing support on an interface, creating a L2 (layer 2) interface.
Command context
config-if
Authority
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)# no routing