lundi 17 octobre 2016

Activer un port routé sur un switch Cisco

A routed port is a physical port that acts like a port on a router; it does not have to be connected to a router. A routed port is not associated with a particular VLAN, as is an access port. A routed port behaves like a regular router interface, except that it does not support VLAN subinterfaces. Routed ports can be configured with a Layer 3 routing protocol. A routed port is a Layer 3 interface only and does not support Layer 2 protocols, such as DTP and STP.

Note : Routed ports are not supported on switches running the LAN base feature set.

Configure routed ports by putting the interface into Layer 3 mode with the no switchport interface configuration command. Then assign an IP address to the port, enable routing, and assign routing protocol characteristics by using the ip routing and router protocol global configuration commands.

Note : Entering a no switchport interface configuration command shuts down the interface and then re-enables it, which might generate messages on the device to which the interface is connected. 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.


Switch(config)# interface FastEthernet 0/1
Switch(config-if)# no switchport
Switch(config-if)# ip address 200.1.1.1 255.255.255.0
Switch(config-if)# no shutdown

The no switchport command makes the interface Layer 3 capable. The IP address is in the same subnet as the default router.

source :
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750x_3560x/software/release/12-2_55_se/configuration/guide/3750xscg/swint.html
 
http://www.cisco.com/c/en/us/support/docs/lan-switching/inter-vlan-routing/41860-howto-L3-intervlanrouting.html


Avantages et inconvénients d'un port routé :

https://supportforums.cisco.com/discussion/10149211/svi-vs-routed-port

Aucun commentaire:

Enregistrer un commentaire