Switch(config)#interface fa 1/0/1
Switch(config-if)#no switchport
Switch(config-if)#no ip address
Switch(config-if)#ip address 192.168.2.2 255.255.255.0
Switch(config-if)#ip mtu 1500
% ip mtu is not supported on this interface
Switch(config-if)#exit
转载于:https://blog.51cto.com/576642026/1109383