Assigning Ip Addresses To Svis - Cisco Catalyst 2975 Software Configuration Manual

Ios release 12.2(55)se
Hide thumbs Also See for Catalyst 2975:
Table of Contents

Advertisement

Assigning IP Addresses to SVIs

Beginning in privileged EXEC mode, follow these steps to enable IP routing:
Command
Step 1
configure terminal
Step 2
ip routing
Step 3
end
Step 4
show running-config
Step 5
copy running-config startup-config
Use the no ip routing global configuration command to disable routing.
This example shows how to enable IP routing on a switch:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# ip routing
Switch(config)# end
Assigning IP Addresses to SVIs
To configure IP routing, you need to assign IP addresses to Layer 3 network interfaces. This enables
communication with the hosts on those interfaces that use IP. IP routing is disabled by default, and no
IP addresses are assigned to SVIs.
An IP address identifies a destination for IP packets. Some IP addresses are reserved for special uses and
cannot be used for host, subnet, or network addresses. RFC 1166, "Internet Numbers," contains the
official description of these IP addresses.
An interface can have one primary IP address. A a subnet mask identifies the bits that denote the network
number in an IP address.
Beginning in privileged EXEC mode, follow these steps to assign an IP address and a network mask to
an SVI
Command
Step 1
configure terminal
Step 2
interface vlan vlan_id
Step 3
ip address ip-address subnet-mask
Step 4
end
Step 5
show interfaces [interface-id]
show ip interface [interface-id]
show running-config interface [interface-id]
Step 6
copy running-config startup-config
Catalyst 2975 Switch Software Configuration Guide
34-4
Purpose
Enter global configuration mode.
Enable IP routing.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Enter interface configuration mode, and specify the Layer 3
VLAN to configure.
Configure the IP address and IP subnet mask.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Chapter 34
Configuring Static IP Unicast Routing
OL-19720-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents