テンプレートをattachで適用しているインターフェースで設定を個別に変更することは可能です。ただし、テンプレートの設定において、同じ項目の設定が変更された場合、その設定で上書きされます。
<例1>
下記のような設定となっているとします。
interface 1/1/5
no shutdown
persona custom downlink-ports attach
no routing
vlan access 200
aaa authentication port-access client-limit 256
port-access allow-flood-traffic enable
aaa authentication port-access dot1x authenticator
enable
aaa authentication port-access mac-auth
enable
interface persona downlink-ports
no shutdown
no routing
vlan access 200
aaa authentication port-access client-limit 256
port-access allow-flood-traffic enable
aaa authentication port-access dot1x authenticator
enable
aaa authentication port-access mac-auth
enable
1/1/5において、VLANの設定を変更します。
6300(config)# interface 1/1/5
6300(config-if)# vlan access 100
running-configを確認すると、個別に変更できていることが分かります。
interface 1/1/5
no shutdown
persona custom downlink-ports attach
no routing
vlan access 100
aaa authentication port-access client-limit 256
port-access allow-flood-traffic enable
aaa authentication port-access dot1x authenticator
enable
aaa authentication port-access mac-auth
enable
interface persona downlink-ports
no shutdown
no routing
vlan access 200
aaa authentication port-access client-limit 256
port-access allow-flood-traffic enable
aaa authentication port-access dot1x authenticator
enable
aaa authentication port-access mac-auth
enable
テンプレートでVLANの設定を変更します。
6300(config)# interface persona downlink-ports
6300(config-if)# vlan access 1
running-configを確認すると、1/1/5の設定にも反映されていることが分かります。
interface 1/1/5
no shutdown
persona custom downlink-ports attach
no routing
vlan access 1
aaa authentication port-access client-limit 256
port-access allow-flood-traffic enable
aaa authentication port-access dot1x authenticator
enable
aaa authentication port-access mac-auth
enable
interface persona downlink-ports
no shutdown
no routing
vlan access 1
aaa authentication port-access client-limit 256
port-access allow-flood-traffic enable
aaa authentication port-access dot1x authenticator
enable
aaa authentication port-access mac-auth
enable
<例2>
下記のような設定になっているとします。
interface 1/1/5
no shutdown
persona custom downlink-ports attach
no routing
vlan access 200
aaa authentication port-access client-limit 256
port-access allow-flood-traffic enable
aaa authentication port-access dot1x authenticator
enable
aaa authentication port-access mac-auth
enable
interface persona downlink-ports
no shutdown
no routing
vlan access 200
aaa authentication port-access client-limit 256
port-access allow-flood-traffic enable
aaa authentication port-access dot1x authenticator
enable
aaa authentication port-access mac-auth
enable
1/1/5でMAC認証の設定を削除します。
6300(config)# interface 1/1/5
6300(config-if)# no aaa authentication port-access mac-auth enable
running-configを確認すると、個別に変更できていることが分かります。
interface 1/1/5
no shutdown
persona custom downlink-ports attach
no routing
vlan access 200
aaa authentication port-access client-limit 256
port-access allow-flood-traffic enable
aaa authentication port-access dot1x authenticator
enable
interface persona downlink-ports
no shutdown
no routing
vlan access 200
aaa authentication port-access client-limit 256
port-access allow-flood-traffic enable
aaa authentication port-access dot1x authenticator
enable
aaa authentication port-access mac-auth
enable
テンプレートで1/1/5において削除したMAC認証以外の設定を変更してみます。
6300(config)# interface persona downlink-ports
6300(config-if)# vlan access 1
running-configを確認してみます。VLANの設定は連動して反映されていますが、個別で削除した設定は戻りません。
interface 1/1/5
no shutdown
persona custom downlink-ports attach
no routing
vlan access 1
aaa authentication port-access client-limit 256
port-access allow-flood-traffic enable
aaa authentication port-access dot1x authenticator
enable
interface persona downlink-ports
no shutdown
no routing
vlan access 1
aaa authentication port-access client-limit 256
port-access allow-flood-traffic enable
aaa authentication port-access dot1x authenticator
enable
aaa authentication port-access mac-auth
enable
インターフェーステンプレートで該当箇所の設定を削除して、再度設定してみます。
6300(config)# interface persona downlink-ports
6300(config-if)# no aaa authentication port-access mac-auth enable
6300(config-if)# aaa authentication port-access mac-auth enable
再度1/1/5にもMAC認証の設定が反映されました。
interface 1/1/5
no shutdown
persona custom downlink-ports attach
no routing
vlan access 1
aaa authentication port-access client-limit 256
port-access allow-flood-traffic enable
aaa authentication port-access dot1x authenticator
enable
aaa authentication port-access mac-auth
enable
interface persona downlink-ports
no shutdown
no routing
vlan access 1
aaa authentication port-access client-limit 256
port-access allow-flood-traffic enable
aaa authentication port-access dot1x authenticator
enable
aaa authentication port-access mac-auth
enable