单项选择题

以下的命令中,可以为交换机配置默认网关地址的是______。

A.2950 (config)# default-gateway 192.168.1.254
B.2950 (config-if# default-gateway 192.168.1.254
C.2950 (config)#ip default-gateway 192.168.1.254
D.2950 (config-if)#ip default-gateway 192.168.1.254