WebMar 20, 2024 · undo port default vlan . 如果修改access口为trunk口:后透传所有vlan用all,如果透传几个vlan,就输入vlan号 # interface GigabitEthernet0/0/2. undo port default vlan . port link-type trunk. port trunk allow-pass vlan all # interface GigabitEthernet0/0/2. undo port default vlan . port link-type trunk WebNov 3, 2024 · CE1的配置如下:. vlan batch 10 interface GigabitEthernet0/0/24 port link -type trunk port trunk allow -pass vlan 10 interface Vlanif10 ip address 10.1.1.1 255.255.255.0. CE2的配置如下:. vlan batch 10 interface GigabitEthernet0/0/24 port link -type trunk port trunk allow -pass vlan 10 interface Vlanif10 ip address 10.1.1.2 255.255 ...
华为创建VLAN及VLAN间通讯 - 会飞的老虎 - 博客园
WebTrunk类型接口可以加入多个VLAN,一般用于网络设备之间连接。. 若想让一个或多个VLAN的报文通过Trunk接口,需要使用 port trunk allow-pass vlan 命令将Trunk类型接口加入这些VLAN。. 前置条件. 接口类型已配置为Trunk。. 注意事项. 如果当前接口已加入Eth-Trunk,本命令不可用 ... Web交换机的端口原来是trunk模式,透传了所有vlan。现在想将其修改为access模式时报错。 # interface Ethernet0/0/5 port link-type trunk port trunk allow-pass vlan 2 to 4094 # return [Quidway-Ethernet0/0/5]undo port trunk allow-pass vlan all [Quidway-Ethernet0/0/5]port link-type access Error: Please renew the default ... rcy generators pa
配置交换机 port link-type access 命令 - 百度知道
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 WebAccess接口是交换机上用来连接用户主机的接口。 当Access接口从主机收到一个带VLAN标签的数据帧时,会给该数据帧加上一个与PVID一致的VLAN标签(PVID可手工配置,默认 … Web3、配置Access接口. 按照拓扑,使用port link-type access命令配置所有的LSW1和LSW2交换机上连接PC的连接接口类型为Access类型接口,并使用port default vlan命令配置接口的默认VLAN,并同时加入相应的VLAN。默认情况下,所有的接口默认VLAN ID为1. sinaloa searoll hayward ca