在思科模拟器配置VLAN时,下面语句是什么意思?

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

f0/0 接口
不设置地址
启用f0/0 接口
子接口 f0/0.1
地址 10.1.1.254 子网掩码 255.255.255.0
启用 f0/0.1 接口
封装类型 isl (思科交换链路内协议)
子接口 f0/0.2
地址 10.1.2.254 子网掩码 255.255.255.0
启用 f0/0.2 接口
封装类型 isl追问

谢谢啊,大概懂了我想再请你帮我解释一下这几个命令的意思
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中

温馨提示:内容为网友见解,仅供参考
第1个回答  2011-06-16
子接口,配IP,终结二层vlan,上三层,
isl 是cisco私有的vlan封装协议
第2个回答  2011-06-15
楼上说得好详细了,我就不说了。完全正确。
相似回答