On the L3 switch, in ‘config’ mode, first turn on routing (if it is not already on) with the
<b>ip routing</b>
command.
Then create an interface in each vlan, and give it an IP address.
<b>interface vlan 2
ip address 192.168.2.1 255.255.255.0
interface vlan 3
ip address 192.168.3.1 255.255.255.0</b>
Replace the VLAN numbers, and IP addresses above, with values relevent to your network. Then, if these are the default gateway addresses for each VLAN, they will route traffic between the VLANs.
You can do a lot of the same commands as you get on a router, on the layer 3 switch, such as access control (ACL), or a static route for the Internet, but the basic routing is as shown. If you need more assistance, please ask.
Discuss This Question: 2  Replies