[index] CentreCOM x510Lシリーズ コマンドリファレンス 5.4.8
Note個々のスイッチポートにIPアドレスやIPv6アドレスを直接設定することはできません。IPアドレスやIPv6アドレスの設定は、スイッチポートをグループ化したVLANに対して行います。
NoteループバックインターフェースにIPv6アドレスを設定することはできません。
awplus(config)# interface port1.0.1 ↓ awplus(config-if)#
Note複数インターフェースを指定してインターフェースモードに入った場合、単一インターフェースに対してのみ意味を持つコマンドは実行できません。たとえば、IPアドレスは各インターフェースで重複しないよう設定する必要があるため、複数インターフェースを指定してインターフェースモードに移行した場合、ip addressコマンドを実行するとエラーになります。一方、スイッチポートの所属先VLANを指定するswitchport access vlanコマンドや、インターフェースを無効化するshutdownコマンドは、複数インターフェースに対しても実行できます。
awplus(config)# interface port1.0.1-port1.0.8 ↓
awplus(config)# interface port1.0.1-1.0.8 ↓
awplus(config)# interface port1.0.2,port1.0.5,port1.0.8 ↓
awplus(config)# interface port1.0.1-port1.0.3,port1.0.8 ↓
Noteインターフェースを複数指定するときは、カンマ、ハイフンの前後にスペースを入れないでください。入れるとエラーになります。
awplus(config)# interface port1.0.1 ↓ awplus(config-if)# description Connected to 3rd floor switch ↓■ スイッチポート1.0.3の通信モードを100M Full Duplex固定に設定します(デフォルトはオートネゴシエーション)。
awplus(config)# interface port1.0.3 ↓ awplus(config-if)# speed 100 ↓ awplus(config-if)# duplex full ↓
awplus(config)# interface port1.0.1-1.0.4 ↓ awplus(config-if)# static-channel-group 1 ↓■ スイッチポート1.0.2を無効化します。
awplus(config)# interface port1.0.2 ↓ awplus(config-if)# shutdown ↓
awplus(config)# interface port1.0.2 ↓ awplus(config-if)# no shutdown ↓
awplus(config)# vlan database ↓ awplus(config-vlan)# vlan 10 ↓
awplus(config)# interface port1.0.1-1.0.8 ↓ awplus(config-if)# switchport mode access ↓ awplus(config-if)# switchport access vlan 10 ↓
awplus(config)# interface vlan10 ↓ awplus(config-if)# ip address 192.168.10.1/24 ↓
awplus(config)# interface lo ↓ awplus(config-if)# ip address 192.168.1.1/32 ↓
awplus> show interface port1.0.1 ↓ Interface port1.0.1 Scope: both Link is UP, administrative state is UP Thrash-limiting Status Not Detected, Action learn-disable, Timeout 1(s) Hardware is Ethernet, address is 0000.cd24.0367 index 5001 metric 1 mtu 1500 current duplex full, current speed 100, polarity auto configured duplex auto, configured speed auto <UP,BROADCAST,RUNNING,MULTICAST> VRF Binding: Not bound input packets 7, bytes 1912, dropped 0, multicast packets 4 output packets 0, bytes 0, multicast packets 0 broadcast packets 0
(C) 2015 - 2018 アライドテレシスホールディングス株式会社
PN: 613-002106 Rev.N