! interface FastEthernet0/41 spanning-tree portfast ! interface FastEthernet0/42 spanning-tree portfast ! interface FastEthernet0/43 spanning-tree portfast ! interface FastEthernet0/44 spanning-tree portfast ! interface FastEthernet0/45 spanning-tree portfast ! interface FastEthernet0/46 spanning-tree portfast ! interface FastEthernet0/47 spanning-tree portfast ! interface FastEthernet0/48 spanning-tree portfast ! interface GigabitEthernet0/1 no negotiation auto port group 1 ! interface GigabitEthernet0/2 no negotiation auto port group 1 ! interface VLAN1 ip address 10.1.1.2 255.255.255.0 no ip directed-broadcast no ip route-cache ! ! line con 0 transport input none stopbits 1 line vty 0 4 password secret login line vty 5 15 login ! end
Catalyst 2948G-L3 配置 2948G-L3#show running-config Building configuration...
Current configuration: ! ! Last configuration change at 04:48:24 PST Thu Jun 22 2000 ! NVRAM config last updated at 04:45:02 PST Thu Jun 22 2000 ! version 12.0 no service pad service timestamps debug datetime msec localtime service timestamps log datetime msec localtime no service password-encryption ! hostname 2948G-L3 ! no logging console enable password verysecret ! clock timezone PST -8 clock calendar-valid ip subnet-zero bridge irb ! ! ! interface Port-channel1 no ip address no ip directed-broadcast hold-queue 300 in ! interface Port-channel1.1 encapsulation isl 1 no ip redirects no ip directed-broadcast bridge-group 1 ! interface Port-channel1.100 encapsulation isl 100 ip address 10.100.100.1 255.255.255.0 no ip redirects no ip directed-broadcast ! interface Port-channel2 no ip address no ip directed-broadcast hold-queue 300 in