Configuring Svi Autostate Exclude - Cisco Catalyst 3750-E Software Configuration Manual

Hide thumbs Also See for Catalyst 3750-E:
Table of Contents

Advertisement

Chapter 12
Configuring Interface Characteristics
All Layer 3 interfaces require an IP address to route traffic. This procedure shows how to configure an
interface as a Layer 3 interface and how to assign an IP address to an interface.
If the physical port is in Layer 2 mode (the default), you must enter the no switchport interface
Note
configuration command to put the interface into Layer 3 mode. Entering a no switchport command
disables and then re-enables the interface, which might generate messages on the device to which the
interface is connected. Furthermore, when you put an interface that is in Layer 2 mode into Layer 3
mode, the previous configuration information related to the affected interface might be lost, and the
interface is returned to its default configuration
Beginning in privileged EXEC mode, follow these steps to configure a Layer 3 interface:
Command
Step 1
configure terminal
Step 2
interface {gigabitethernet interface-id} | {vlan vlan-id}
| {port-channel port-channel-number}
Step 3
no switchport
Step 4
ip address ip_address subnet_mask
Step 5
no shutdown
Step 6
end
Step 7
show interfaces [interface-id]
show ip interface [interface-id]
show running-config interface [interface-id]
Step 8
copy running-config startup-config
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.
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) status 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.
OL-9775-08
Purpose
Enter global configuration mode.
Specify the interface to be configured as a Layer 3
interface, and enter interface configuration mode.
For physical ports only, enter Layer 3 mode.
Configure the IP address and IP subnet.
Enable the interface.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
End with CNTL/Z.
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
Configuring Layer 3 Interfaces
12-33

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst3560-e

Table of Contents