CLI Guide

Table Of Contents
Layer 3 Routing Commands 1518
Default Configuration
Disabled is the default configuration.
Command Mode
Global Configuration mode, Virtual Router Configuration mode
User Guidelines
Use the
show ip brief
command to determine if routing is enabled or disabled.
When in virtual router configuration mode, this command operates within
the context of the virtual router instance. When in global config mode, the
command operates on the global router instance.
Enable IPv4 routing on a VLAN by entering interface vlan mode for the
desired VLAN and assigning an IP address to the VLAN. Use the no interface
vlan command to disable routing on an interface. Ensure that statically
assigned addresses do not conflict with any configured subnets. Subnet
overlap is not allowed.
Virtual Router Configuration mode is only available on the N3000-ON/N3100
switches.
Example
The following example enables IPv4 routing for VLAN 15
console(config)#vlan 15
console(config-vlan15)#interface vlan 15
console(config-if-vlan15)#ip address 10.0.3.2 /8
console(config-if-vlan15)#exit
console(config)#ip routing
ip unnumbered
This command is used to identify an interface as an unnumbered interface
and specify the numbered interface providing the borrowed address. The
numbered interface must be a loopback interface. To stop borrowing an
address, use the no form of the command.
Syntax
ip unnumbered loopback loopback-id
no ip unnumbered