下列命令属于端口配置模式是( )
A.router(config)#
B.router(config-if)#
C.router(config)
D.router(config-vlan)#
正确答案是B