09-22-2016 08:58 PM - edited 03-08-2019 07:33 AM
Hi,
I'm confused between this two configuration
interface TenGigabitEthernet3/1
switchport
switchport access vlan 999
switchport mode access
switchport nonegotiate
no ip address
logging event link-status
!
interface Vlan 999
ip address 10.193.1.141 255.255.255.252
no ip redirects
no ip proxy-arp
ip pim sparse-dense-mode
ip route-cache flow
logging event link-status
end
compare to this
interface TenGigabitEthernet3/1
no switchport
ip add 10.193.1.141 255.255.255.252
no ip redirects
no ip proxy-arp
ip pim sparse-dense-mode
ip route-cache flow
logging event link-status
!
Both have the same output but what is the difference why do still need to create SVI then assigned to physical interface?
Solved! Go to Solution.
09-22-2016 09:14 PM
Hello - Making a physical port (In your case TenGigabitEthernet3/1) as a L3 switchport will serve as a L3 interface only for the device connected to this port only. You cannot share this L3 interface with other ports. Whereas, SVI is logical L3 interface. Many physical ports can be assigned to this Logical L3 interface so that many devices can use this L3 interface as its gateway or any routing needs.
HTH. Rate me if it answers your question. Thanks
regards/SAIRAM
09-22-2016 09:14 PM
Hello - Making a physical port (In your case TenGigabitEthernet3/1) as a L3 switchport will serve as a L3 interface only for the device connected to this port only. You cannot share this L3 interface with other ports. Whereas, SVI is logical L3 interface. Many physical ports can be assigned to this Logical L3 interface so that many devices can use this L3 interface as its gateway or any routing needs.
HTH. Rate me if it answers your question. Thanks
regards/SAIRAM
09-23-2016 07:14 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Actually they often don't have exactly the same output, because the no switchport suppresses some L2 stuff.
For a p2p, you often use the no switchport variant, but a couple of reasons why you might want to use the VLAN variant, you can use the SVI across a trunk port, allowing both a logical L3 p2p and L2. If you have a device that supports hardware redundancy, like a stack or dual sup chassis, if port supporting the p2p SVI fails, you can repatch to another port already previously configured to support the SVI. (In the latter, you wouldn't be actively using more than one port at any one time.)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide