- 帖子
- 3
- 积分
- 25
- 技术
- 0
- 捐助
- 0
- 注册时间
- 2012-2-13
|
有两种interface, 即FastEthernet 和GigabitEthernet ; 一旦在interface FastEthernet下有 switchport port-security 就在其后添加一句 switchport voice vlan 111, 但在interface GigabitEthernet下看见 switchport port-security,就将它删除
---------------------------
如下, 一个文件中包含多个interface配置文字块(见下面), 每个块的起始,结束都有一个!,下一行紧跟的是interface FastEthernet/GigabitEthernet
!
interface FastEthernet
switchport port-security
switchport voice vlan 111 ->发现"switchport port-security " 添加一句"switchport voice vlan 111"
!
!
interface GigabitEthernet
switchport port-security ->删除
!
!
dklauroiqwpuoiuewqpurofsaiofuasoiufasoiufouiasoiudfoiu ->其它文字块,没有任何操作
! |
|