はじめに
本本記事は下記検証の一部です。メインの部分ではないので、簡単な説明だけ載せています。
構成図

設定(config)
下記はshow runの実行結果です。
PoESW01#sh run
Building configuration...
Current configuration : 3010 bytes
!
! No configuration change since last restart
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname PoESW01
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$8778$tM1zhakZLWaYWhjXXXXX
!
username admin password 7 11082222222
no aaa new-model
system mtu routing 1500
!
!
no ip domain-lookup
ip domain-name orange.local
!
!
crypto pki trustpoint TP-self-signed-2251289344
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2251289344
revocation-check none
rsakeypair TP-self-signed-2251289344
!
!
crypto pki certificate chain TP-self-signed-2251289344
certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 32323531 32383933 3434301E 170D3036 30313032 30303031
31335A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 32353132
38393334 3430819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100B799 17360910 D4E3E794 5585179C 0423FE7A E6C10B76 F05536E8 F45FB91C
D0482547 AAAA3EE7 71864BA7 4C76A6C6 2A54D70B BBCCC040 AE529201 80A2EE6A
DF69C328 B57AEFEA EF6A084C E8BECCC6 839E5B36 966D8262 AEAE3EF6 2FB94589
F6546751 F712047E C2714557 A9800780 83C044DC 345A0283 D7F2EFEE DF63A5AF
9C670203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
551D2304 18301680 14D20391 AD0AFDF5 8CCA2DBC 70FB060D 097EAB68 BC301D06
03551D0E 04160414 D20391AD 0AFDF58C CA2DBC70 FB060D09 7EAB68BC 300D0609
2A864886 F70D0101 05050003 81810099 2D4CFECE A18B593C F370E88F 1C545A4C
A3AC49D2 640F7166 883F8D1A 86E268B3 72B9A7EF 65577E6F 37F68804 CE15E36C
0A482DF9 972528E9 72FA98C3 ACBD9F3E 6A58D980 52D2AE7C 9F1B7FE7 42CD0C5B
3D35C3DC 5A12C019 BD95EE74 2BC9E7E5 23C421EC 13CA6200 11806895 17486CAE
CB2BB055 4440DE78 F94FBA51 93F8B4
quit
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
!
!
!
!
!
vlan internal allocation policy ascending
!
ip ssh version 2
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/1
switchport access vlan 100
!
interface FastEthernet0/2
switchport access vlan 102
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface GigabitEthernet0/1
switchport access vlan 100
!
interface GigabitEthernet0/2
switchport access vlan 102
!
interface Vlan1
no ip address
shutdown
!
interface Vlan100
ip address 10.0.0.253 255.255.255.0
!
ip default-gateway 10.0.0.254
ip http server
ip http secure-server
!
!
!
line con 0
login local
line vty 0 4
login local
transport input all
line vty 5 15
login
!
!
monitor session 1 source interface Fa0/2
monitor session 1 destination interface Fa0/4
ntp server 172.16.1.13
end
簡単な解説
APに給電するためだけに置いたので、単純に通信が通るための最低限の設定のみ入れています。L2SWと同様、SPANの設定が入っていますが、任意です。

