By default routing is disabled in layer 3 switches.We can enable it globally using "IP routing" command.To enable routing in specific interface, type "no switchport" command and put an IP address on it.
Configuration
Switch(config)#interface fa0/16
Switch(config-if)#no switchport
Switch(config-if)#ip address 192.168.10.254 255.255.255.0
This ports can be used by the computers as a gateway.
There are two things you should remember about the routed port:
• It's no longer a switchport so it's not associated with any VLAN.
• It's a routed port but it doesn't support sub-interfaces like a router does.
0 comments:
Post a Comment