【正文】
capsulation dot1q switchport mode trunk spanningtree portfast interface FastEther0/4 switchport access vlan 20 switchport mode access spanningtree portfast interface FastEther0/24 no switchport ip address interface Vlan10 ip address ! interface Vlan20 ip address ! interface Vlan30 ip address router rip version 2 work work work work no autosummary ip route FastEther0/24 ================================================== *************************************H3C********************************* sysview sysname s2126b vlan 20 int f0/24 port linktype trunk quit int f0/4 port link