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.

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

Command context

config-if

Authority

Administrators

Examples

Enabling routing support on interface 1/1/1:

switch(config)# interface 1/1/1
switch(config-if)# routing

Disabling routing support interface 1/1/1:

switch(config)# interface 1/1/1
switch(config-if)# no routing