Layer 3 switches have become quite popular and allow switches to route traffic between VLANs as well as within VLANs. This is known as inter-VLAN routing. With a layer 3 switch, a router is not a requirement to achieve a completely functional network where hosts in different VLANs can communicate with each other.
For the FLEX24-10G to be able to perform inter-VLAN routing, IP routing must be enabled. Enabling IP routing on the FLEX24-10G is quite straightforward. Only a single command needs to be executed from Global Configuration mode.
Adding an IPv4 Route
Static IPv4 routes to external networks can be configured from Global Configuration mode as follows:
FLEX24-10G# configure terminal
FLEX24-10G(config)# ip route 10.10.10.0 255.255.255.0 192.168.100.75
FLEX24-10G(config)# ip route 10.0.0.0 255.255.0.0 192.168.100.1
% Failed to add IPv4 route: Invalid next hop address (it's this router).
FLEX24-10G(config)# end
FLEX24-10G# copy running-config startup-config
Building configuration...
% Saving 2490 bytes to flash:startup-config
FLEX24-10G#
Adding an IPv6 Route
IPv6 routes are configured in much the same way as IPv4 routes
FLEX24-10G# configure terminal
FLEX24-10G(config)# ipv6 route 2001:DB8::/32 interface vlan 1 fe80::1
FLEX24-10G(config)# end
FLEX24-10G# copy running-config startup-config
Building configuration...
% Saving 2650 bytes to flash:startup-config
FLEX24-10G#
Refer to the Admin Guide for all the advanced settings available in the switch. You’ll find additional resources like the Datasheet, Admin Guide, A&E spec sheet, etc on the product page here.
For more assistance,
|
Comments
0 comments
Please sign in to leave a comment.