Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Inter-vlan routing multilayer switch

2025-03-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Inter-VLAN routing:

-Multilayer switch

1. Configure the gateway IP

Interface vlan 10 / / configure the gateway IP for vlan 10

No shutdown

Ip address 192.168.10.254 255.255.255.0

Interface vlan 20

No shutdown

Ip address 192.168.20.254 255.255.255.0

Interface vlan 30

No shutdown

Ip address 192.168.30.254 255.255.255.0

The concept of gateway is interface.

2. Enable routing function

GW (config) # ip routing

3. Configure the cascade link between the multilayer switch and the ordinary switch.

GW (config) # interface fas0/3

GW (config-if) # switchport trunk encap dot1q

GW (config-if) # switchport mode trunk

SW1 (config) # interface fas0/3

SW1 (config-if) # switchport mode trunk

4. Verification and testing

GW# show ip interface brief

GW# show ip route

GW# show interface trunk

Note:

Any VLAN corresponds to a SVI (switched virtual port)

The gateway IP address of all member hosts in the VLAN is the SVI

IP address configured for the port

SVI:switch virtual interface

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report