6509为主网络配置实例

http://tech.ddvip.com   2007年01月23日    社区交流 收藏本文

本文详细介绍6509为主网络配置实例

  C4006-L3(config)# interface port-channel 1 /建内部虚端口

  C4006-L3(config)# interface g3/进入接口模式

  C4006-L3(config-if)# channel-group 1 / 加入到channel组中

  C4006-L3(config-if)# exit

  C4006-L3(config)# interface g4进入接口模式

  C4006-L3(config-if)# channel-group 1 / 加入到channel组中

  C4006-L3(config-if)# exit

  C4006-L3(config)# interface port-channel 1.1 /进入子接口模式

  C4006-L3(config-if)# encapsulation dot1q 1 native / 封装trunk

  C4006-L3(config-if)# ip address 10.234.180.233 255.255.255.0 /加ip地址

  C4006-L3(config-if)# no shutdown  /开启端口

  C4006-L3(config-if)# standby 1 ip 10.234.180.234 /建HSRP组并设虚IP地址

  C4006-L3(config-if)# standby 1 priority 100 /设优先级

  C4006-L3(config-if)# standby 1 preempt /设切换许可

  C4006-L3(config-if)# interface port-channel 1.31

  C4006-L3(config-if)# encapsulation dot1q 31

  C4006-L3(config-if)# ip address 10.234.181.61 255.255.255.192

  C4006-L3(config-if)# no shutdown

  C4006-L3(config-if)# standby 31 ip 10.234.181.62

  C4006-L3(config-if)# standby 31 priority 100

  C4006-L3(config-if)# standby 31 preempt

  C4006-L3(config-if)# interface port-channel 1.32

  C4006-L3(config-if)# encapsulation dot1q 32

  C4006-L3(config-if)# ip address 10.234.181.125 255.255.255.192

  C4006-L3(config-if)# no shutdown

  C4006-L3(config-if)# standby 32 ip 10.234.181.126

责编:豆豆技术应用

正在加载评论...