!
!
#system
set system name Catalyst6500
!
#!
#vtp
set vtp mode transparent
set vlan 1 name default type ethernet mtu 1500 said 100001 state active
set vlan 2 name VLAN0002 type ethernet mtu 1500 said 100002 state active
set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active
set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state active stp ieee
set vlan 1005 name trnet-default type trbrf mtu 1500 said 101005 state active stp ibm
set vlan 1003 name token-ring-default type trcrf mtu 1500 said 101003 state active
mode srb aremaxhop 7 stemaxhop 7
backupcrf off
!
#ip
set interface sc0 1 10.10.10.2/255.255.255.0 10.10.10.255
set ip route 0.0.0.0/0.0.0.0 10.10.10.1 !
#set boot command
set boot config-register 0x2102
set boot system flash bootflash:cat6000-sup.5-5-14.bin
!
#port channel
set port channel 3/1-2 105
!
# default port status is enable
!
!
#module 1 empty
!
#module 2 : 2-port 1000BaseX Supervisor
!
#module 3 : 48-port 10/100BaseTX Ethernet
set vlan 2 3/4
set port disable 3/5
set port speed 3/1-2 100
set port duplex 3/1-2 full
set trunk 3/1 nonegotiate isl 1-1005
set trunk 3/2 nonegotiate isl 1-1005
!-- If IEEE 802.1q is configured,
!-- you will see the following output instead:
set trunk 3/1 nonegotiate dot1q 1-1005
set trunk 3/2 nonegotiate dot1q 1-1005
set port channel 3/1-2 mode on
!
#module 4 : 24-port 100BaseFX MM Ethernet
!
#module 5 empty
!
#module 6 empty
!
#module 15 empty
!
#module 16 empty
end
Cisco 7500 Router
Note: The following screen captures show the commands that were entered on the Cisco 7500 router. Comments between the commands are added in blue italics to explain certain commands and steps.
! -- Configure a port-channel interface to enable FEC.
7500#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
7500(config)#int port-channel 1
01:34:10: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed
state to down
! -- Configure full-duplex to match the duplex setting on the Catalyst switch side.
7500(config-if)#full-duplex
7500(config-if)#exit
! -- If using ISL trunking, configure two port-channel sub-interfaces and enable ISL trunking
! -- by issuing the encapsulation isl command.
! -- Configure IP addresses for InterVLAN routing.
7500(config)#int port-channel 1.1
7500(config-subif)#encapsulation isl 1
7500(config-subif)#ip address 10.10.10.1 255.255.255.0
7500(config-subif)#exit
7500(config)#int port-channel 1.2
7500(config-subif)#encapsulation isl 2
7500(config-subif)#ip address 10.10.11.1 255.255.255.0
7500(config-subif)#exit
! -- If using 802.1q trunking, configure two port-channel sub-interfaces, enable 802.1q trunking
! -- by issuing the encapsulation dot1Q native command and configure the IP addresses for
! -- InterVLAN routing.
Note: The encapsulation dot1Q 1 native command was added in Cisco IOS version 12.1(3)T. If you are using an earlier version of Cisco IOS, refer to the 802.1Q Configuration for Cisco IOS Versions Earlier than 12.1(3)T section of this document to configure 802.1Q trunking on the router.
! -- Make sure the native VLAN(default is VLAN 1) matches across the link.
! -- For more information on the native VLAN and 802.1q trunking, refer to
! -- Trunking Between Catalyst 4000, 5000, and 6000 Family Switches Using 802.1q Encapsulation. 7500(config)#int port-channel 1.1
7500(config-subif)#encapsulation dot1Q 1 native
推荐阅读
- 使用Cisco MDS 9000多层光纤信道交换机系列的VSAN和分区功能
- 以太网技术的四大应用
- Cisco MDS 9216A多层网络交换机
- Cisco Catalyst 智能交换机
- 配有增强镜像软件的Cisco Catalyst 2950系列交换机
- LNS/隧道交换机 扩展宽带Mega POP 下一代L2TP服务
- 图 1000以上节点网络交换机:思科6509
- 应用多样化 智能交换机选购指南
- 交换机基础知识与常见相关术语
- 100G以太网,离实际应用还有多远
