2 输
console#config
console(config)#ip address dhcp
3
证 IP 地址
console#show ip interface
Management Interface:
IP Address
Subnet Mask
Default Gateway
Burned In MAC Address
Network Configuration Protocol Current
Management VLAN ID
Routing Interfaces:
Interface
(接口)
---------- ------------- -------------- ------------- -------------
vlan1
vlan2
loopback2
36
命令
动获
IP 地址
符 输
IP
............................. 10.240.4.125
........................... 255.255.255.0
IP Address
( IP 地址)
( IP 掩码)
192.168.10.10
0.0.0.0
0.0.0.0
来获
IP 地址
show ip interface 命令
.......................... 10.240.4.1
MAC
.........00:10:18:82:04:35
VLAN ID
........................... 1
Netdir
IP Mask
Bcast
Disable (禁用) Disable (禁用)
255.255.255.0
Enable (启用)
0.0.0.0
Disable (禁用) Disable (禁用)
0.0.0.0
例
...DHCP
Multi
CastFwd
Disable (禁用)