在三层交换机上配置IP地址,可以使用以下命令:
1. 进入特定接口的配置模式:
```
switch# configure terminal
switch(config)# interface
```
其中,`
2. 配置IP地址和子网掩码:
```
switch(config-if)# ip address
```
其中,`
3. 确认并应用配置:
```
switch(config-if)# exit
switch(config)# end
```
4. 可以使用`show ip interface brief`命令来验证IP地址是否配置成功。