标签:之间 password simple snmp 如图所示 author group inter mux
如图所示,VLAN10、20、99为公司内部网络,30为访客网络。
备注:VLAN99为主VLAN,VLAN10、20为从VLAN,且为group类型,VLAN30为从VLAN,且为separate类型。
#
sysname S1
#
vlan batch 10 20 30 99
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
drop-profile default
#
vlan 99
mux-vlan
subordinate separate 30
subordinate group 10 20
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
#
interface MEth0/0/1
#
interface Ethernet0/0/1
port link-type access
port default vlan 10
port mux-vlan enable
#
interface Ethernet0/0/2
port link-type access
port default vlan 10
port mux-vlan enable
#
interface Ethernet0/0/3
port link-type access
port default vlan 20
port mux-vlan enable
#
interface Ethernet0/0/4
port link-type access
port default vlan 20
port mux-vlan enable
#
interface Ethernet0/0/5
port link-type access
port default vlan 30
port mux-vlan enable
#
interface Ethernet0/0/6
port link-type access
port default vlan 30
port mux-vlan enable
#
interface Ethernet0/0/7
port link-type access
port default vlan 99
port mux-vlan enable
#
interface Ethernet0/0/8
port link-type access
port default vlan 99
port mux-vlan enable
#
interface Ethernet0/0/9
#
interface Ethernet0/0/10
#
interface Ethernet0/0/11
#
interface Ethernet0/0/12
#
interface Ethernet0/0/13
#
interface Ethernet0/0/14
#
interface Ethernet0/0/15
#
interface Ethernet0/0/16
#
interface Ethernet0/0/17
#
interface Ethernet0/0/18
#
interface Ethernet0/0/19
#
interface Ethernet0/0/20
#
interface Ethernet0/0/21
#
interface Ethernet0/0/22
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
snmp-agent
snmp-agent local-engineid 800007DB034C1FCC336793
snmp-agent sys-info version v3
#
user-interface con 0
user-interface vty 0 4
#
port-group 1
group-member Ethernet0/0/1
group-member Ethernet0/0/2
group-member Ethernet0/0/3
group-member Ethernet0/0/4
group-member Ethernet0/0/5
group-member Ethernet0/0/6
group-member Ethernet0/0/7
group-member Ethernet0/0/8
#
return
标签:之间 password simple snmp 如图所示 author group inter mux
原文地址:https://www.cnblogs.com/Skybiubiu/p/14862309.html