int f0/0
no ip address
no shutdown
int f0/0.1
ip address 10.1.1.254 255.255.255.0
no shutdown
encapsulation isL 1
int f0/0.2
ip address 10.1.2.254 255.255.255.0
no shutdown
encap isL 2
谢谢啊,大概懂了我想再请你帮我解释一下这几个命令的意思
vtp domain cisco
Vtp mode client
Interface fa 0/1
Switchport mode trunk
Encapsulation dot1q
Interface 0/6
Switchport mode access
Swtichport access vlan 6
接口会了,主要是几个命令,非常感谢啦!
vtp 域 是cisco
vtp模式 client
f0/1接口
端口模式为trunk
trunk协议封装类型为dot1q
Interface 0/6
端口模式为acess
端口划分到vlan6中