Субинтерфейс на cisco catalyst

Добавление

config t
vlan 312
name vlanname
exi
interface GigabitEthernet0/1
switchport trunk allowed vlan add 312
exi
interface FastEthernet0/5
switchport trunk allowed vlan add 312
exit
exit
copy running-config startup-config

Удаление

conf t
interface FastEthernet0/5
switchport trunk allowed vlan remove 312
exi
interface GigabitEthernet0/1
switchport trunk allowed vlan remove 312
exi
no interface Vlan312
exi
copy running-config startup-config