Switcha Wang

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 4

Login authentication

Username:admin
Password:
<SwitchA>dis
<SwitchA>display cu
<SwitchA>display current-configuration
!Software Version V200R011C10SPC600
#
sysname SwitchA
#
vlan batch 4 97 310 320 330 to 331 350
#
authentication-profile name default_authen_profile
authentication-profile name dot1x_authen_profile
authentication-profile name mac_authen_profile
authentication-profile name portal_authen_profile
authentication-profile name dot1xmac_authen_profile
authentication-profile name multi_authen_profile
#
telnet server enable
#
clock timezone Bangkok,Hanoi,Jakarta add 07:00:00
#
dhcp enable
#
diffserv domain default
#
radius-server template default
#
pki realm default
#
free-rule-template name default_free_rule
#
portal-access-profile name portal_access_profile
#
drop-profile default
#
vlan 310
name XZBanGongLou
vlan 320
name XZFangSha
vlan 330
name XZQiLiuFang
vlan 331
name QiLiuFang-GongKong
vlan 350
name XZJianKong
#
aaa
authentication-scheme default
authentication-scheme radius
authentication-mode radius
authorization-scheme default
accounting-scheme default
local-aaa-user password policy administrator
password history record number 0
password expire 0
domain default
authentication-scheme radius
radius-server default
domain default_admin
authentication-scheme default
local-user xxb password irreversible-cipher $1a$~t:r(-#m]O$GK3VR]%JR3#.
+xEn=EAMcn}>1-J@e44`0WS<<js<$
local-user xxb privilege level 15
local-user xxb service-type telnet terminal http
local-user admin password irreversible-cipher $1a$UXd,Pgm95N$to)W9&5sa!
qP#8N:jsFQ=W,qAT6^s<[poc<q\LK!$
local-user admin privilege level 15
local-user admin service-type telnet terminal http
#
interface Vlanif4
ip address 3.3.3.2 255.255.255.252
#
interface Vlanif310
ip address 172.22.10.254 255.255.255.0
dhcp select interface
dhcp server excluded-ip-address 172.22.10.200 172.22.10.250
dhcp server lease day 0 hour 1 minute 0
dhcp server dns-list 123.26.26.26 114.114.114.114
#
interface Vlanif320
ip address 172.22.20.254 255.255.255.0
dhcp select interface
dhcp server excluded-ip-address 172.22.20.200 172.22.20.250
dhcp server lease day 0 hour 1 minute 0
dhcp server dns-list 123.26.26.26 114.114.114.114
#
interface Vlanif330
ip address 172.22.30.254 255.255.255.0
dhcp select interface
dhcp server excluded-ip-address 172.22.30.200 172.22.30.250
dhcp server lease day 0 hour 1 minute 0
dhcp server dns-list 123.26.26.26 114.114.114.114
#
interface Vlanif331
ip address 192.168.70.254 255.255.255.0
dhcp select interface
dhcp server excluded-ip-address 192.168.70.200 192.168.70.235
dhcp server excluded-ip-address 192.168.70.237 192.168.70.250
dhcp server lease day 0 hour 1 minute 0
dhcp server dns-list 123.26.26.26 114.114.114.114
#
interface Vlanif350
ip address 172.22.100.254 255.255.255.0
dhcp select interface
dhcp server excluded-ip-address 172.22.100.200 172.22.100.250
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/4
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/5
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/6
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/7
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/8
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/9
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/10
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/11
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/12
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/13
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/14
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/15
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/16
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/17
#
interface GigabitEthernet0/0/18
#
interface GigabitEthernet0/0/19
#
interface GigabitEthernet0/0/20
#
interface GigabitEthernet0/0/21
#
interface GigabitEthernet0/0/22
#
interface GigabitEthernet0/0/23
#
interface GigabitEthernet0/0/24
#
interface GigabitEthernet0/0/25
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 4 310 320 330 to 331
#
interface GigabitEthernet0/0/26
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 4 310 320 330 to 331
#
interface GigabitEthernet0/0/27
port link-type trunk
port trunk allow-pass vlan 2 to 4049
#
interface GigabitEthernet0/0/28
port link-type trunk
port trunk allow-pass vlan 2 to 4049
#
interface XGigabitEthernet0/0/1
#
interface XGigabitEthernet0/0/2
#
interface XGigabitEthernet0/0/3
#
interface XGigabitEthernet0/0/4
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 3.3.3.1
#
user-interface con 0
authentication-mode aaa
user-interface vty 0 4
authentication-mode aaa
protocol inbound all
user-interface vty 16 20
#
dot1x-access-profile name dot1x_access_profile
#
mac-access-profile name mac_access_profile
#
return
<SwitchA>

You might also like