Cisco2811配置信息:
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
interface FastEthernet0/1
noip address
duplex auto
speed auto
shutdown
!
interface Vlan1
noip address
shutdown
!
ip classless
ip route 192.168.2.0255.255.255.0 FastEthernet0/0
cisco2560-24ps配置信息:
VLAN NameStatusPorts
---- ----------------------------------------- -------------------------------
1defaultactiveFa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/11, Fa0/12,Fa0/13
Fa0/14, Fa0/15, Fa0/16, Fa0/17
Fa0/18, Fa0/19, Fa0/20, Fa0/21
Fa0/22, Fa0/23, Fa0/24, Gig0/1
Gig0/2
10VLAN0010activeFa0/10
1002 fddi-defaultact/unsup
1003 token-ring-defaultact/unsup
1004 fddinet-defaultact/unsup
1005 trnet-defaultact/unsup
interface Vlan1
ip address 192.168.1.2 255.255.255.0
!
interface Vlan10
ip address 192.168.2.1 255.255.255.0