- 追加された行はこの色です。
- 削除された行はこの色です。
[[ネットワーク関連]]
目次~
#contetns
*管理Tips [#b5c495af]
**モード [#q02101c8]
IOSは設定対象により、以下のモード切り替えが必要となる。~
|設定項目|Enable mode|configure terminal|interface|
|hostname|○|○|-|
|gateway|○|○|-|
|ntp server|○|○|-|
|ip address|○|○|○|
|IF有効/無効|○|○|○|
**コンソール接続 [#p994be0f]
*設定 [#t11a8e8f]
**IP設定(v4) [#v996f07e]
***管理IP(VLAN1)の設定 [#mdf3098d]
-VLAN1(管理VLAN)
en
conf t
interface vlan 1
no ip broadcast-address
ip address [IP ADDRESS] [NETMASK]
no shutdown
***インターフェイスへのIP設定 [#y90a0de6]
-Fastethernet 0/0
en
conf t
interface fastethernet 0/0
ip address [IP ADDRESS] [NETMASK]
no shutdown
**デフォルトゲートウェイ設定 [#k975786d]
en
conf t
ip default-gateway [GATEWAY]
**IP設定(v6) [#vfd6ce86]
***IPv6の有効化 [#z4e3daad]
IPv6に対応しているIOSでは、以下の設定でIPv6を有効化できる。~
尚、設定の反映には機器の再起動が必要となる。~
-IPv6の有効化設定
en
conf t
sdm prefer dual-ipv4-and-ipv6 default
exit
write
reload
***IPv6アドレス設定 [#lf37f7ac]
-Fastethernet 0/0
en
conf t
interface fastethernet 0/0
ipv6 address [IP ADDRESS]/[NETMASK]
-例
ipv6 address fd7f:543c:5454:10:9:300:a:100/96
**ホスト名の設定 [#s15425f6]
en
conf t
hostname [HOSTNAME]
**NTPサーバ設定 [#t162c275]
en
conf t
ntp server [NTP SERVE ADDRESS]