- Switch (config-range-if)#switchport mode access 步骤3: 将一组端口划分到指定VLAN - Switch (config-range-if)#swtichport access vlan vlan-id 配置trunk 步骤1: 进入需要配置的端口 - swtich (config)#interface interface 步骤2:将端口的模式设置为Trunk - Switch (config-if)#switchport mode trunk 步...
4.1 配置端口模式 (Configuring Port Mode) 交换机端口可以配置为接入模式(Access)或中继模式(Trunk)。接入模式用于连接终端设备,而中继模式用于连接其他交换机。 MySwitch(config)# interface fa0/11 MySwitch(config-if)# switchport mode trunk 4.2 配置端口速率 (Configuring Port Speed) 可以手动设置端口的速率和...
Switch(config-if)#switchport mode access Switch(config-if)#switchport port-security mac-address 00-90-F5-10-79-C1 #配置MAC地址 Switch(config-if)#switchport port-security maximum 1 #限制此端口允许通过的MAC地址数为1 Switch(config-if)#switchport port-security violation shutdown #MAC地址不符时,端...
switchport access vlan vlan_ID ( The value can be 1 through 4094, except reserved VLANs)switchport mode access ( Configures the port to be an access port to prevent trunk negotiation delays) spanning-tree portfast ( Configure port-fast for initial STP delay) This...
switchport mode access Example: Device(config-if)# switchport mode access Defines the VLAN membership mode for the port. Step 9 switchport access vlanvlan-id Example: Device(config-if)# switchport access vlan 1 Assigns the ports to the same VLAN as confi...
Switch(config-if)#switchport port-security mac-address 0060.70e5.cdd1 Switch(config-if)#switchport port-security violation shutdown Switch(config-if)#exit Switch(config)# Switch(config)#int fast0/2 Switch(config-if)#switchport mode access ...
Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 20 Switch(config-if)#do show running-config Switch(config-if)# do show etherchannel summary 三 保存与重新加载命令 Switch#write Switch#reload 四 自动协商etherchannel的配置,协商的协议有PAGP和LACP两种 ...
After theport nvo3 mode accesscommand is configured on a port, the port cannot decapsulate received packets using the VXLAN protocol. Therefore, this command can only be used on ports connected to VMs. Example # Set the mode of10GE1/17/1to VXLAN access. ...
Switch(config-if)#switchport mode access Sets the interface mode as access; an interface in the default mode (dynamic desirable) cannot be configured as a secure port. Step 3 Switch(config-if)#switchport port-security Enables port security on the interface. ...
If both the commands are run, the one run in the interface view takes effect. Example # Set the interface mode to access for all interfaces of an RB. <HUAWEI> system-view [~HUAWEI] trill [*HUAWEI-trill] port-mode access Related Topics...