- 论坛徽章:
- 0
|
3550交换机与pix506的问题,请教高手!
version 12.1\r\nno service pad\r\nservice timestamps debug uptime\r\nservice timestamps log uptime\r\nservice password-encryption\r\n!\r\nhostname Switch\r\n!\r\nenable password 7 131711041E0609\r\n!\r\nip subnet-zero\r\nip routing\r\n!\r\n!\r\nspanning-tree mode pvst\r\nspanning-tree extend system-id\r\n!\r\n!\r\n!\r\n!interface FastEthernet0/1\r\n switchport mode dynamic desirable\r\n!\r\ninterface FastEthernet0/2\r\n switchport mode dynamic desirable\r\n!\r\ninterface FastEthernet0/3\r\n switchport mode dynamic desirable\r\n........\r\n........\r\ninterface FastEthernet0/41\r\n switchport access vlan 2\r\n switchport mode dynamic desirable\r\n!\r\ninterface FastEthernet0/42\r\n switchport mode dynamic desirable\r\n!\r\ninterface FastEthernet0/43\r\n switchport mode dynamic desirable\r\n!\r\ninterface FastEthernet0/44\r\n switchport mode dynamic desirable\r\n!\r\ninterface FastEthernet0/45\r\n switchport access vlan 10\r\n switchport mode dynamic desirable\r\n!\r\ninterface FastEthernet0/46\r\nswitchport mode dynamic desirable\r\n!\r\ninterface FastEthernet0/47\r\n switchport access vlan 10\r\n switchport mode dynamic desirable\r\n!\r\ninterface FastEthernet0/48\r\n switchport mode dynamic desirable\r\n!\r\ninterface GigabitEthernet0/1\r\n switchport mode dynamic desirable\r\n!\r\ninterface GigabitEthernet0/2\r\n switchport mode dynamic desirable\r\n!\r\ninterface Vlan1\r\n no ip address\r\n shutdown\r\n!\r\ninterface Vlan2\r\n ip address 192.168.2.1 255.255.255.0\r\n!\r\ninterface Vlan10\r\nip address 10.0.0.1 255.255.255.0\r\n!\r\ninterface Vlan20\r\n no ip address\r\n!\r\ninterface Vlan30\r\n no ip address\r\n!\r\ninterface Vlan40\r\n no ip address\r\n!\r\ninterface Vlan50\r\n no ip address\r\n!\r\ninterface Vlan60\r\n no ip address\r\n!\r\ninterface Vlan70\r\n no ip address\r\n!\r\ninterface Vlan80\r\n no ip address\r\n!\r\nip classless\r\nip route 0.0.0.0 0.0.0.0 10.0.0.2\r\nip http server\r\n!\r\n!\r\nline con 0\r\n password 7 0958490B5A1C1F1C\r\nline vty 0 4\r\n login\r\nline vty 5 15\r\n login\r\n!\r\n!\r\nend\r\n\r\n\r\n #show ip route\r\nCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP\r\n D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area\r\n N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2\r\n E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP\r\n i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area\r\n * - candidate default, U - per-user static route, o - ODR\r\n P - periodic downloaded static route\r\n\r\nGateway of last resort is 10.0.0.2 to network 0.0.0.0\r\n\r\n 10.0.0.0/24 is subnetted, 1 subnets\r\nC 10.0.0.0 is directly connected, Vlan10\r\nS* 0.0.0.0/0 [1/0] via 10.0.0.2 |
|