第一步 在特权模式输入命令进入配置终端 Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# 第二步 在全局配置模式输入命令进入接口。确认接口的类型和接口的号码。在这个例子中,Gigabit Eehernet 接口0/1被选择: Switch(config)# interface gigabitethernet0/1 Switch(config-if)#
输入show interface的特权命令以察看所有接口或为该交换机具体配置的一张列表。设备所支持的每个接口或特定接口的一个报告被提供出来: Switch# show interfaces Vlan1 is up, line protocol is up Hardware is EtherSVI, address is 0000.0000.0000 (bia 0000.0000.00 Internet address is 10.1.1.64/24 MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,