- 论坛徽章:
- 0
|
我的voip设备接在一口走vlan 2,始终不能从DHCP主机得到ip.下面是配置文件:
Using 1344 out of 32768 bytes
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname SGZVOICE21
!
enable secret 5 $1$u2ga$RyDImBjLUdwgxs3iNuxqQ1
!
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
switchport access vlan 2
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface VLAN1
ip address 192.168.107.121 255.255.255.0
no ip directed-broadcast
no ip route-cache
!
interface VLAN2
ip directed-broadcast
no ip route-cache
shutdown
!
ip default-gateway 192.168.107.213
!
line con 0
transport input none
stopbits 1
line vty 0 4
password password
login
line vty 5 15
password password
login
!
end
为什么vlan 2总是shutdown,我用no shutdown也改不过来,如何改?
谢谢. |
|