PurposeCommand or Action
Enters interface configuration mode, and
specifies the interface to configure.
interface interface-id
Example:
Device(config)# interface gigabitethernet
1/0/1
Step 3
Configures the IP address and IP subnet.
ip address ip-address subnet-mask
Example:
Device(config-if)# ip address 10.1.1.10
255.255.255.0
Step 4
Disables split horizon on the interface.no ip split-horizon
Example:
Device(config-if)# no ip split-horizon
Step 5
Returns to privileged EXEC mode.end
Example:
Device(config)# end
Step 6
Verifies your entries.
show ip interface interface-id
Example:
Device# show ip interface gigabitethernet
1/0/1
Step 7
(Optional) Saves your entries in the
configuration file.
copy running-config startup-config
Example:
Device# copy running-config startup-config
Step 8
Configuration Example for Summary Addresses and Split Horizon
In this example, the major net is 10.0.0.0. The summary address 10.2.0.0 overrides the autosummary address
of 10.0.0.0 so that 10.2.0.0 is advertised out interface Gigabit Ethernet port 2, and 10.0.0.0 is not advertised.
In the example, if the interface is still in Layer 2 mode (the default), you must enter a no switchport interface
configuration command before entering the ip address interface configuration command.
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
88
Configuring IP Unicast Routing
Configuration Example for Summary Addresses and Split Horizon