IX2215
コンフィグモードに移行してから、設定を流し込む。
Router# enable-config
以下の設定だとDHCPが有効になるのはGE1の1ポートなのでご注意を。
timezone +09 00
logging buffered 131072
logging subsystem all warn
logging timestamp datetime
ip dhcp enable
ip access-list web_console permit ip src any dest 192.168.1.254/32
ip ufs-cache enable
http-server username admin
http-server ip access-list web_console
http-server ip enable
ip dhcp profile web_gigaethernet1.0
assignable-range 192.168.1.1 192.168.1.253
dns-server 192.168.1.254
device GigaEthernet0
device GigaEthernet1
interface GigaEthernet0.0
no ip address
shutdown
interface GigaEthernet1.0
ip address 192.168.1.254/24
ip dhcp binding web_gigaethernet1.0
no shutdown
interface Loopback0.0
no ip address
interface Null0.0
no ip address
最後に設定を記憶させます。
Router(config)# exit
Router# write memory