C3640(config)#mac-address-table ?
aging-time Set MAC address table entry maximum age
dynamic Configure a dynamic 802.1d address
secure Configure a secure address
static Configure a static 802.1d static address
交换机学习到动态MAC地址的超时时间默认为300s,静态MAC地址永久保存在MAC地址表中,不会超时。
上面的dynamic和secure的具体怎么理解?
问题二:
C3640(vlan)#vtp password ?
WORD The ascii password for the VTP administrative
domain.
在vtp设置中,这个语句的作用是什么?
问题三:
1.发现邻居,先要在接口下int range f2/1 -15,接着no shut , 然后sho cdp nei
2.域名和网关都应该自身设置,即就是说在交换机上设置的IP地址、网关、域名等信息只是为交换机本身所设置,用于管理交换机。
sw2(config)#ip default-gateway 172.1.1.1 //设置默认网关
sw2(config)#ip domain-name cisco.com //设置域名
sw2(config)#ip name-server 200.0.0.1 //设置域名服务器
对于设置的这几个的具体意思,我不是很清晰!也就是说怎么是自身的呢?
问题四:
sw2(vlan)#exi
In CLIENT state, no apply attempted.
Exiting....
客户模式应该从服务器学习到VTP的其他信息,可是在服务器设置的VLAN为什么在SW2上学习不到呢?若要在SW2(客户)上配置vlan,是否还得改成服务器模式?
问题五:
interface FastEthernet2/13
switchport trunk allowed vlan 1,2,4-1005
switchport mode trunk
no ip address
spanning-tree vlan 3 cost 30 //默认stp路径值19
spanning-tree vlan 4 cost 30
spanning-tree vlan 5 cost 30
!
interface FastEthernet2/14
switchport mode trunk
no ip address
spanning-tree vlan 1 cost 30
spanning-tree vlan 2 cost 30
sw1(config)#int f2/13
sw1(config-if)#spanning-tree vlan 1 port-priority 10
sw1(config-if)#spanning-tree vlan 2 port-priority 10
//默认stp端口权值128
















