11-25
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Software Configuration Guide
OL-12247-04
Chapter 11 Configuring Interface Characteristics
Configuring Layer 3 Interfaces
Beginning in privileged EXEC mode, follow these steps to configure a Layer 3 interface:
To remove an IP address from an interface, use the
no ip address
interface configuration command.
This example shows how to configure a port as a routed port and to assign it an IP address:
Switch#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
interface gigabitethernet1/0/2
Switch(config-if)#
no switchport
Switch(config-if)#
ip address 192.20.135.21 255.255.255.0
Switch(config-if)#
no shutdown
Configuring SVI Autostate Exclude
Configuring SVI autostate exclude on an access or trunk port in an SVI excludes that port in the
calculation of the status of the SVI line state (up or down) even if it belongs to the same VLAN. When
the excluded port is in the up state, and all other ports in the VLAN are in the down state, the SVI state
is changed to down.
At least one port in the VLAN should be up and not excluded to keep the SVI state up. You can use this
command to exclude the monitoring port status when determining the status of the SVI.
Beginning in privileged EXEC mode, follow these steps to exclude a port from SVI state-change
calculations:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface
{
gigabitethernet
interface-id
} | {
vlan
vlan-id
}
| {
port-channel
port-channel-number
}
Specify the interface to be configured as a Layer 3
interface, and enter interface configuration mode.
Step 3
no switchport
For physical ports only, enter Layer 3 mode.
Step 4
ip address
ip_address subnet_mask
Configure the IP address and IP subnet.
Step 5
no shutdown
Enable the interface.
Step 6
end
Return to privileged EXEC mode.
Step 7
show interfaces
[
interface-id
]
show ip interface
[
interface-id
]
show running-config interface
[
interface-id
]
Verify the configuration.
Step 8
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface
interface-id
Specify a Layer 2 interface (physical port or port
channel), and enter interface configuration mode.
Step 3
switchport autostate exclude
Exclude the access or trunk port when defining the
status of an SVI line state (up or down)
Step 4
end
Return to privileged EXEC mode.