打印

[求助] 请教各位老大_cisco4006的端口配置问题

请教各位老大_cisco4006的端口配置问题

原来用中低端的路由器都是用IOS配置的,端口划分vlan,分配ip,
但是现在手头上有一台4006交换机可以测试用,发现二层用的是cosat系统,三层用的是ios
不知道如何把二层的端口配置端口成三层的,
cisco4006> (enable) show module
Mod Slot Ports Module-Type Model Sub Status
--- ---- ----- ------------------------- ------------------- --- --------
1 1 2 1000BaseX Supervisor WS-X4013 no faulty
2 2 34 Router Switch Card WS-X4232-L3 no ok
cisco4006> (enable) show port
Port Name Status Vlan Level Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ----- ------------
1/1 notconnect 1 normal full 1000 1000BaseSX
1/2 notconnect 1 normal full 1000 No Connector
2/1 connected 1 normal full 1000 No Connector
2/2 connected 1 normal full 1000 No Connector
2/3 notconnect 1 normal auto auto 10/100BaseTX
2/4 notconnect 1 normal auto auto 10/100BaseTX
2/5 notconnect 1 normal auto auto 10/100BaseTX
2/6 notconnect 1 normal auto auto 10/100BaseTX
2/7 notconnect 1 normal auto auto 10/100BaseTX
2/8 notconnect 1 normal auto auto 10/100BaseTX
2/9 notconnect 1 normal auto auto 10/100BaseTX
2/10 notconnect 1 normal auto auto 10/100BaseTX
2/11 notconnect 1 normal auto auto 10/100BaseTX
2/12 notconnect 1 normal auto auto 10/100BaseTX
2/13 notconnect 1 normal auto auto 10/100BaseTX
2/14 notconnect 1 normal auto auto 10/100BaseTX
2/15 notconnect 1 normal auto auto 10/100BaseTX
2/16 notconnect 1 normal auto auto 10/100BaseTX
2/17 notconnect 1 normal auto auto 10/100BaseTX
2/18 notconnect 1 normal auto auto 10/100BaseTX
2/19 notconnect 1 normal auto auto 10/100BaseTX
2/20 notconnect 1 normal auto auto 10/100BaseTX
2/21 notconnect 1 normal auto auto 10/100BaseTX
2/22 notconnect 1 normal auto auto 10/100BaseTX
2/23 notconnect 1 normal auto auto 10/100BaseTX
2/24 notconnect 1 normal auto auto 10/100BaseTX
2/25 notconnect 1 normal auto auto 10/100BaseTX
2/26 notconnect 1 normal auto auto 10/100BaseTX
2/27 notconnect 1 normal auto auto 10/100BaseTX
2/28 notconnect 1 normal auto auto 10/100BaseTX
2/29 notconnect 1 normal auto auto 10/100BaseTX
2/30 notconnect 1 normal auto auto 10/100BaseTX
2/31 notconnect 1 normal auto auto 10/100BaseTX
2/32 notconnect 1 normal auto auto 10/100BaseTX
2/33 notconnect 1 normal auto auto 10/100BaseTX
2/34 Console connected 1 normal a-full a-100 10/100BaseTX
cisco4006> (enable) session 2
Trying IntlgLineCard-2...
Connected to IntlgLineCard-2.
Escape character is '^]'.
Router#show int
FX1000:1 is up, line protocol is up
FastEthernet1 is up, line protocol is down
GigabitEthernet1 is down, line protocol is down
GigabitEthernet2 is down, line protocol is down
GigabitEthernet3 is up, line protocol is up
GigabitEthernet4 is up, line protocol is up
Controller5 is up, line protocol is up
Port-channel1 is down, line protocol is down
Port-channel1.101 is down, line protocol is down
Port-channel2 is down, line protocol is down
Port-channel21 is down, line protocol is down
Loopback0 is up, line protocol is up
三层可以看到这些端口,搞不清楚二层和三层是如何联系起来的,为什么三层里只看到这些端口,二层的那些34以太交换口如何在三层里面看到.

TOP

1、在三层下面是无法看到2层的端口,

2、2层端口无法设置ip地址

3、只有先设置vlan,然后在给vlan配置ip地址

4、2、3层系统之间并没有什么命令将他们联系起来(我并不知道存在这样的命令)

5、关于cisco4006能否将其系统灌成ios,需要根据具体情况,我知道cisco6509 是可以实现的;

cisco4006 需要到cisco网站上查找了

TOP

COS和IOS命令的区别是要加set,然后就可以敲Tab和?了,二层起三层命令:set ip routing 起三层功能。

TOP

三层看不到二层设置的vlan

我再二层下设置了vlan 10
如下:
cisco4006> (enable) show vlan
VLAN Name Status IfIndex Mod/Ports, Vlans
---- -------------------------------- --------- ------- ------------------------
1 default active 6 1/1-2
2/1-7,2/11-34
10 test active 45 2/8-10
然后进入三层,如何看不到 vlan 10:

cisco4006> (enable) session 2
Trying IntlgLineCard-2...
Connected to IntlgLineCard-2.
Escape character is '^]'.

Router>en
Password:
Router#show vlan

Virtual LAN ID: 1 (IEEE 802.1Q Encapsulation)

vLAN Trunk Interface: Port-channel1

This is configured as native Vlan for the following interface(s) :
Port-channel1

Protocols Configured: Address: Received: Transmitted:

Virtual LAN ID: 101 (IEEE 802.1Q Encapsulation)

vLAN Trunk Interface: Port-channel1.101

Protocols Configured: Address: Received: Transmitted:
IP 192.168.1.34 0 0

Router#show vlan ?
<1-1000> Display configuration for a particular vLAN ID.
tokenring Token Ring Vlans
<cr>

Router#show vlan 10

No subinterface configured for vLAN Identifier 10.


Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int vlan ?
<1-1000> Vlan interface number

Router(config)#int vlan 10
^
% Invalid input detected at '^' marker.

TOP

回复 #4 ivzhaoxf 的帖子

1) 试试 vlan 10 在 router上

2) 设置 ip ruoting;

TOP

不行

在三层模块里,vlan 10也不行,现在搞不清楚二层配的vlan在三层里如何找到并可以配置

TOP

CatOS 和 IOS 的区别

1. IOS 使用的是和路由器配置相同的模式(config mode);CatOS则是set模式进行配置。
2. IOS配置信息断电丢失;(除非进行了"copy running-config startup-config" 操作)CatOS则每配置完,退出配置模式时,系统自动保存。
3. IOS提供2,3层的交换;CatOS则只在2层上交换。

TOP

本功能由奇虎搜索实现

相关主题

标题 作者 最后发表
[站外] 谈DoS攻击和DDoS的攻击方式   [转帖] cradmin 2008-10-17
[站外] 基于Sphinx+MySQL的千万级数据全文检索(搜索引擎)架构设计   [转帖] lanhy2000 2008-10-29
点击阅读更多关于的相关帖子  更多相关主题