操作方法
计算机PC0配置: IP地址:192.168.1.2 子网掩码:255.255.255.0
PC0桌面上的终端配置交换机过程1.
PC0桌面上的终端配置交换机过程2.
PC0桌面上的终端配置交换机过程3.
通过终端配置交换机。 Switch>en Switch#conf t Switch(config)#hostname s3 给交换机改名 s3(config)#ip routing开启路由功能 s3(config)#int fa0/5 s3(config-if)#no switchport该端口启用三层路由功能 s3(config-if)#ip address 192.168.5.1 255.255.255.0配置IP地址 s3(config-if)#no shutdown开启端口 s3(config-if)#end s3#
三层交换机: