利用三层交换机实现VLAN间路由(VLANIF)

S1配置:

vlan batch 10 20


interface Vlanif10

 ip address 192.168.1.254 255.255.255.0

#

interface Vlanif20

 ip address 192.168.2.254 255.255.255.0

#


interface GigabitEthernet0/0/1

 port link-type access

 port default vlan 10

#

interface GigabitEthernet0/0/2

 port link-type access

 port default vlan 10

#

interface GigabitEthernet0/0/3

 port link-type access

 port default vlan 20

#



相关文章:

  • 2021-12-23
  • 2022-01-30
  • 2022-12-23
  • 2021-12-29
  • 2022-01-11
  • 2022-12-23
  • 2021-09-07
猜你喜欢
  • 2021-10-28
  • 2021-11-23
  • 2021-12-23
相关资源
相似解决方案