WebApr 7, 2024 · 可能端口目前在route模式下,需要切换为bridge才可以配置为access,以下是参考命令: int gi 1/0/1. port link-mode bridge. port link-type access. 剩下的就看access … Webport link-type access. port default vlan 101 # interface GigabitEthernet0/0/24. port link-type access. port default vlan 10 # ip route-static 0.0.0.0 0.0.0.0 10.10.10.1 # 3. LSW2配置。 # sysname LSW2 # vlan batch 88 102 to 104 200 # interface Vlanif200. ip address 192.168.200.2 255.255.255.0 # interface Ethernet0/0/1. port link-type access ...
Access and Trunk Ports - GeeksforGeeks
Web3.配置Access接口. 按照拓扑,使用port link-type access命令配置所有S1和S2交换机上连接PC的接口类型为Access类型接口,并使用port default vlan命令配置接口的默认VLAN并同时加入相应VLAN中。默认情况下,所有接口的默认VLANID为1。 到这一步了,可以再用display看一下配置信息。 WebFeb 11, 2015 · 端口的链路类型总共有4种,分别为:Access、Trunk、Hybrid、Dot1q-tunnel。修改端口的链路类型如下所示: 1. Access类型 [Quidway-GigabitEthernet1/0/1] … inches a foot
[H3C-GigabitEthernet1/0/1]port link-type access提示错误
Web[Huawei-GigabitEthernet0/0/3]port link-type trunk #配置端口的链路类型为Trunk类型 [Huawei-GigabitEthernet0/0/3]port trunk all [Huawei-GigabitEthernet0/0/3]port trunk allow-pass vlan 10 20 #允许指定VLAN通过当前Trunk端口 Use port link-type to configure the link type of a port. Use undo port link-type to restore the default link type of a port. By default, any port is an access port. The configuration made in Layer 2 Ethernet interface view applies only to the port. The configuration made in port group view applies to all ports in the … See more access: Configures the link type of a port as access. hybrid: Configures the link type of a port as hybrid. trunk: Configures the link type of a port as trunk. See more # Configure GigabitEthernet 1/0/1 as a trunk port. # Configure all the ports in the manual port group group1as hybrid ports. # Configure Layer 2 aggregate interface … See more Webport link-type access 将接口改为access接口. port default vlan 10 将接口加入vlan 10. interface Vlanif10. ip address 192.168.10.254 24 给vlan配置地址. display this 当前接口下敲了那些命令. interface GigabitEthernet0/0/1. port link-type trunk. port trunk allow-pass vlan all 接口变trunk,允许所有vlan通过 inches a ft