p[HeXin]interface GigabitEthernet0/0/1 [HeXin-GigabitEthernet0/0/1]ip address 192.12.101.252 255.255.255.0 ^ % Unrecognized command found at '^' position.
[HeXin-GigabitEthernet0/0/1]ip address 192.12.101.252 255.255.255.0 ^ % Unrecognized command found at '^' position. [HeXin-GigabitEthernet0/0/1]ip address? ^ % Unrecognized command found at '^' position. [HeXin-GigabitEthernet0/0/1]ip ^ % Incomplete command found at '^' position.
[HeXin-GigabitEthernet0/0/1]ip ?
forwarding-table IP forwarding table
netstream NetStream function
source Source binding function
verify Verify packets
这什么意思,我想把此端口上联到上网行为管理,怎么直接绑定IP地址呢?
(0)
交换机默认是二层口,是不能直接配置地址的,有两种思路
1、把二层口先切成三层口,然后配地址,有些交换机可能不支持
inr g0/0/1
port link-mode route
ip add .....
2、使用vlan去配置地址
vlan 10
int vlan 10
ip add .......
int g0/0/1
port access vlan 10
(1)
[HeXin-GigabitEthernet0/0/1]port link-mode ? bridge Switch to layer2 ethernet route Switch to layer3 ethernet 那就是这里选择route,然后用三层互通地址绑定接口,再配置默认可以吗?
另外三层互联vlan这样的: interface GigabitEthernet1/0/5 port link-mode route description link-to JingCaiBanGongHuiJu ip address 192.12.101.21 255.255.255.252 ospf dr-priority 255,那在上联接口时候配置地址可以用[HeXin-GigabitEthernet0/0/1]ip address 192.12.101.252 255.255.255.0吗?
这是二层口
配置思路:
1、物理口access进一个VLAN
2、配置VLAN IF接口地址,用来互联就可以了
(2)
核心机用三层IP互联下面划分VLAN的汇聚机,怎么配置端口和路由呢?
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
另外三层互联vlan这样的: interface GigabitEthernet1/0/5 port link-mode route description link-to JingCaiBanGongHuiJu ip address 192.12.101.21 255.255.255.252 ospf dr-priority 255,那在上联接口时候配置地址可以用[HeXin-GigabitEthernet0/0/1]ip address 192.12.101.252 255.255.255.0吗?