Background: The three-tier switch e0/0 to work in three-tier mode with another network device. There are two ways to configure the options,
1, routed port, in the Cisco switch in the port mode running no switchport after the type of ports, under the routed port can be directly configured IP address.
The typical configuration of the routed port is as follows:
int e0/0
No Switchport
IP addresss 1.1.1.1 255.255.255.0
2, SVI, refers to the use of the INT VLAN [VLAN number] to get the SVI interface, the interface can be directly configured IP address.
The typical configuration of the svi+access Port is as follows:
VLAN 10//Create a new VLAN that contains only e0/0 interfaces under this VLAN
Exit
int E0/1
Switchport mode access
Switchport Access VLAN 10
Exit
int VLAN 10
IP Address 1.1.1.1 255.255.255.0
Exit
The same effect can be achieved through two configurations, at least not too much difference in normal use. But there are still a few different configurations.
The difference has the following two places:
1, SVI get MAC address and routed port is not the same, in the same network segment can be observed. Where routed port uses the physical interface of the MAC address, SVI uses MAC address device MAC address +1.
2, under the SVI configuration e0/0 still work l2,routed port under the e0/0 completely in L3 work.
A reply to this issue on the Cisco Web site is referenced below .
There is a difference the way both the connection works. Although they would have the same purpose but there is the difference the way the switch ports to work.
In case of a SVI your would have eventually a Layer-2 link between the switches. This would run your normal STP and the switches traffic between. This would extend your STP domain from a switch to the other switch. The ports'll go thorugh the normal STP states with case of a link flap or link going down/coming back the recovery Tim E'll be a little.
In case of a routed port between the switches,you would have a layer 3 link between the switches and would work as a normal Router port. There'll no STP running on the ports and the STP domain won't be extended beyond the downstream switches. Applying Layer3 features like ACL ' S,pbr ' is a Ltille easy in the case.
The disadvantage of running routed ports is this each port would be a separate network and you'll have to manage a large Number of IP subnets on the network. Running a routing protocol'll be is a good idea into this case.
In the actual networking environment, the choice of svi+access port or routed port depends primarily on the other end of the connection. Usually on the other end if it is a PC, then using SVI as a PC gateway will be easier. If the end-to-end is a switch, firewall, router and other network equipment, it is recommended to use routed port to facilitate the operation of different routing protocols.