H3C交换机配置
作者:互联网
[H3C]disp cur
version 5.20, Release 1110P05
sysname H3C
super password level 3 cipher h3c
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
domain default enable system
telnet server enable
vlan 1
vlan 101
vlan 202
radius scheme system
server-type extended
primary authentication 127.0.0.1 1645
primary accounting 127.0.0.1 1646
user-name-format without-domain
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
user-group system
local-user admin
password cipher )+,K>>(.BQQC-&C&"8CQ!!
service-type telnet
interface Bridge-Aggregation11
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 101 202
interface NULL0
interface Vlan-interface101
ip address ******* 255.255.255.224
interface Vlan-interface202
ip address 172.30.2.254 255.255.255.0
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan 1 202
port trunk pvid vlan 202
……
interface Ten-GigabitEthernet1/0/49
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 101 202
port link-aggregation group 11
interface Ten-GigabitEthernet1/0/50
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 101 202
port bridge enable
port link-aggregation group 11
interface Ten-GigabitEthernet1/0/51
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 101 202
port link-aggregation group 11
interface Ten-GigabitEthernet1/0/52
ip route-static 0.0.0.0 0.0.0.0 ****
load xml-configuration
user-interface aux 0
user-interface vty 0 15
authentication-mode scheme
user privilege level 3
标签:H3C,配置,vlan,交换机,link,trunk,interface,port,permit 来源: https://blog.csdn.net/caca_66/article/details/117792138