端口聚合協(xié)議(PAg,P)
S1(config)#ip dhcp excluded-address 192.168.10.1 192.168.10.10 //設(shè)置排除地址范圍
S1(config)#ip dhcp pool aaa ??//設(shè)置地址池名稱
S1(dhcp-config)#default-router 192.168.10.1 ?//指定地址池的網(wǎng)關(guān)
S1(dhcp-config)#dns-server 119.6.6.6 ??//配置DNS地址
S1(dhcp-config)#network 192.168.10.0 255.255.255.0 ?//指定地址池的范圍
S1(dhcp-config)#exit
S1(config)#ip dhcp pool bbb
S1(dhcp-config)#network 192.168.20.0 255.255.255.0
S1(dhcp-config)#default-router 192.168.20.1
S1(dhcp-config)#dns-server 119.6.6.6
基于LACP配置EtherChannel
S1(config)#interface range FastEthernet0/1-2
S1(config-if-range)#channel-group 1 mode active
s1(config-if-range)#interface port-channel 1
S1(config-if)#sswitchport mode trunk
S1(config-if)#switchport trunk allowed vlan 1,2,20
EtherChannel校驗(yàn)
Show interface port-channel 命令,顯示EtherChannel接口的總體狀態(tài)
Show etherchannel summary 命令,用列表每行顯示一條通道的接口信息
showetherchannel?port-channel命令,顯示特定通道接口的信息
show?interfaces?etherchannel命令,顯示EtherChannel內(nèi)每個(gè)接口的相關(guān)信息
EtherChannel故障診斷
S1#show etherchannel summary
獲取ip地址的四個(gè)步驟()
打開(kāi)路由器
S1#Ip dhcp exclude-address 10.1.1.1 10.1.1.10(排出這些地址)
S1(config)#Ip dhcp pool vlan 10
S1(dhep-config)#network 10.1.1.10 255.255.255.128(128之內(nèi)可以分配)
S1(dhep-config)#default-router 10.1.1.1
S1(dhep-config)#dns-server 119.6.6.6(dns服務(wù)器)
S1(dhep-config)#exit
路由器獲取ip地址(網(wǎng)關(guān)得在同一網(wǎng)段)
S1(config)#ip dhcp pool vlan 20
S1(dhep-config)#default-router 20.1.1.1
S1(dhep-config)#network 20.1.1.1 255.255.255.224
S1(dhep-config)#dns-server 8.8.8.8文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-761081.html
S1(dhep-config)#文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-761081.html
到了這里,關(guān)于思科:鏈路聚合的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!