当前核心配置如下,0/0/1-0/0/16为光口至接入交换机,0/0/25-0/0/32为电口,0/0/25为进网接口,目前想把0/0/26配置为478vlan上网,想把0/0/26接入终端服务器使用,请问如何配置0/0/26才能使用10.17.87段给终端上网使用?
domain default enable system
#
lldp enable
#
mirroring-group 1 local
#
switch-mode standard
#
switch-mode route-normal
#
password-recovery enable
#
vlan 1
#
vlan 250
#
vlan 478
#
vlan 1011
#
vlan 1213
#
vlan 2000
description mange
#
vlan 2589
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
group-attribute allow-guest
#
local-user admin
password cipher $c$3$WXdkvSCNNGC4qNoU0GEgSI8qwE6F677i
authorization-attribute level 3
service-type ssh terminal
#
stp mode rstp
#
interface Bridge-Aggregation1
port link-type trunk
port trunk permit vlan all
#
interface Bridge-Aggregation2
port link-type trunk
port trunk permit vlan all
#
interface Bridge-Aggregation3
port link-type trunk
port trunk permit vlan all
#
interface Bridge-Aggregation4
port link-type trunk
port trunk permit vlan all
#
interface Bridge-Aggregation5
port link-type trunk
port trunk permit vlan all
#
interface Bridge-Aggregation6
port link-type trunk
port trunk permit vlan all
#
interface Bridge-Aggregation7
port link-type trunk
port trunk permit vlan all
#
interface Bridge-Aggregation8
port link-type trunk
port trunk permit vlan all
#
interface NULL0
#
interface Vlan-interface250
ip address 172.17.0.2 255.255.255.240
#
interface Vlan-interface478
ip address 10.17.87.200 255.255.255.0
#
interface Vlan-interface1011
ip address 172.17.2.254 255.255.255.0
#
interface Vlan-interface1213
ip address 172.17.3.254 255.255.255.0
#
interface Vlan-interface2000
ip address 192.168.200.1 255.255.255.0
#
interface Vlan-interface2589
ip address 172.17.1.254 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
port link-aggregation group 1
#
interface GigabitEthernet0/0/2
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
port link-aggregation group 1
#
interface GigabitEthernet0/0/3
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
port link-aggregation group 2
#
interface GigabitEthernet0/0/4
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
port link-aggregation group 2
#
interface GigabitEthernet0/0/5
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
port link-aggregation group 3
#
interface GigabitEthernet0/0/6
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
port link-aggregation group 3
#
interface GigabitEthernet0/0/7
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
port link-aggregation group 4
#
interface GigabitEthernet0/0/8
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
port link-aggregation group 4
#
interface GigabitEthernet0/0/9
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
port link-aggregation group 5
#
interface GigabitEthernet0/0/10
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
port link-aggregation group 5
#
interface GigabitEthernet0/0/11
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
port link-aggregation group 6
#
interface GigabitEthernet0/0/12
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
port link-aggregation group 6
#
interface GigabitEthernet0/0/13
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
port link-aggregation group 7
#
interface GigabitEthernet0/0/14
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
port link-aggregation group 7
#
interface GigabitEthernet0/0/15
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
port link-aggregation group 8
#
interface GigabitEthernet0/0/16
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
port link-aggregation group 8
#
interface GigabitEthernet0/0/17
port link-mode bridge
shutdown
mirroring-group 1 mirroring-port both
#
interface GigabitEthernet0/0/18
port link-mode bridge
shutdown
mirroring-group 1 mirroring-port both
#
interface GigabitEthernet0/0/19
port link-mode bridge
mirroring-group 1 mirroring-port both
#
interface GigabitEthernet0/0/20
port link-mode bridge
mirroring-group 1 mirroring-port both
#
interface GigabitEthernet0/0/21
port link-mode bridge
shutdown
mirroring-group 1 mirroring-port both
#
interface GigabitEthernet0/0/22
port link-mode bridge
shutdown
mirroring-group 1 mirroring-port both
#
interface GigabitEthernet0/0/23
port link-mode bridge
mirroring-group 1 mirroring-port both
#
interface GigabitEthernet0/0/24
port link-mode bridge
shutdown
mirroring-group 1 mirroring-port both
#
interface GigabitEthernet0/0/25
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
#
interface GigabitEthernet0/0/26
port link-mode bridge
shutdown
mirroring-group 1 mirroring-port both
#
interface GigabitEthernet0/0/27
port link-mode bridge
shutdown
mirroring-group 1 mirroring-port both
#
interface GigabitEthernet0/0/28
port link-mode bridge
shutdown
mirroring-group 1 mirroring-port both
#
interface GigabitEthernet0/0/29
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
#
interface GigabitEthernet0/0/30
port link-mode bridge
port access vlan 478
mirroring-group 1 mirroring-port both
#
interface GigabitEthernet0/0/31
port link-mode bridge
shutdown
mirroring-group 1 mirroring-port both
#
interface GigabitEthernet0/0/32
port link-mode bridge
mirroring-group 1 monitor-port
#
interface M-Ethernet0/0/0
#
ip route-static 0.0.0.0 0.0.0.0 172.17.0.1
#
undo info-center logfile enable
#
ssh server enable
#
load xml-configuration
#
load tr069-configuration
#
user-interface aux 0
user-interface vty 0 4
authentication-mode scheme
user-interface vty 5 15
#
return
(0)
interface GigabitEthernet0/0/26
p l a
po def vl 478
(0)
那是华为的,华三是port access vlan 478
你不是配置华为的设备吗。。。
interface GigabitEthernet0/0/26
undo shutdown
port link-type access
port access vlan 478
测试完了之后保存 save
(0)
#
interface GigabitEthernet0/0/26
undo shutdown
port link-mode bridge
port access vlan 478
mirroring-group 1 mirroring-port both
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
你不是配置华为的设备吗。。。