A. 正确 B. 错误
A. Switch(config)#ip address 192.168.1.1 B. Switch(config-if)#ip address 192.168.1.1 C. Switch(config-if)#ip address 192.168.1.1 255.255.255.0 D. Switch(config-if)#ip address 192.168.1.1 netmask 255.255.255.0