Quick Reference Guide
Layer 3 Routing | 249
Then invoke the following commands, assuming that you are still in Interface Config mode after
completing the Layer 2 procedure (see Configuring Physical Interfaces on page 117):
Step Command Syntax Command Mode Purpose
1 ip routing
Config
Enable routing on the switch.
2
interface unit/slot/port
Config
To access the INTERFACE mode for the selected port, enter
the keyword interface followed by the port number in unit/slot/
port
format. For example, to enable port 4 on stack member 2,
enter interface 2/0/4.
3
ip address ip-addr
mask
Interface Config
Assign an IP address to the port to use for routing.
Enter the key words ip address followed by the IP address
and subnet mask in IPv4 format (A.B.C.D).
4
routing
Interface Config
Enable routing on the selected interface.
5
exit
Interface Config
Return to Global Config mode.
6
exit Global Config Access Privileged Exec mode.
7
show ip interface unit/
slot/port
Privileged Exec Inspect the interface to verify the changed settings.