2 輸
console#config
console(config)#ip address dhcp
介
3 要驗證 IP
console#show ip interface
Management Interface: (
IP Address (IP
Subnet Mask (
Default Gateway (
Burned In MAC Address (
Network Configuration Protocol Current (
Management VLAN ID (
Routing Interfaces: (
I
nterface
( 介面 )
------------- -------------- ------------ --------- ---------
vlan1
vlan2
loopback2
56
指令
動獲
址
IP
址
系統
符 輸
).............................. 10.240.4.125
)......................... 255.255.255.0
IP Address
(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
(IP 遮罩 )
255.255.255.0
0.0.0.0
0.0.0.0
)... DHCP
Multi
Bcast
CastFwd
Disable ( 停用 ) Disable ( 停用 )
Enable ( 啟用 ) Disable ( 停用 )
Disable ( 停用 ) Disable ( 停用 )