今天拿路由器做实验(1812j),想做个SVI,怎么设置vlan时只能有一个vlan处于no shutdown状态,配置如下:
--------------------------------------------------
Router#sho run
Building configuration...
Current configuration : 1595 bytes
!
! Last configuration change at 13:05:20 UTC Mon Jan 2 2006
!
version 15.0
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
!
!
memory-size iomem 15
!
!
dot11 syslog
ip source-route
!
!
!
ip dhcp pool my
!
!
ip cef
ipv6 unicast-routing
ipv6 cef
ipv6 dhcp pool li
address prefix 2007:CCCC::/24
link-address 2007:CCCC::1/64
link-address 2007:CCCC::5/64
link-address 2007:CCCC::FFFF/64
dns-server 2007:CCCC::1
domain-name LIJIANWEI
!
!
multilink bundle-name authenticated
!
!
!
license udi pid CISCO1812-J/K9 sn FHK102854RD
!
!
!
!
!
!
!
!
!
interface Loopback0
no ip address
ipv6 address 2006:AAAA::1/64
!
!
interface BRI0
no ip address
ip broadcast-address 0.0.0.0
encapsulation hdlc
shutdown
!
!
interface FastEthernet0
no ip address
shutdown
duplex auto
speed auto
!
!
interface FastEthernet1
no ip address
ip broadcast-address 0.0.0.0
shutdown
duplex auto
speed auto
!
!
interface FastEthernet2
!
!
interface FastEthernet3
!
!
interface FastEthernet4
!
!
interface FastEthernet5
!
!
interface FastEthernet6
!
!
interface FastEthernet7
!
!
interface FastEthernet8
!
!
interface FastEthernet9
!
!
interface Vlan1
no ip address
ip broadcast-address 0.0.0.0
shutdown
!
!
interface Vlan55
ip address 172.16.5.254 255.255.255.0
!
!
interface Vlan56
no ip address
!
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
end