按图片上的要求来将一个交换机接入网络 ,配置明细路由,vlanif当网关
<S5735S-L12T4S-A>
<S5735S-L12T4S-A>
<S5735S-L12T4S-A>
<S5735S-L12T4S-A>
<S5735S-L12T4S-A>dis ver
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (S5735 V200R019C10SPC500)
Copyright (C) 2000-2020 HUAWEI TECH Co., Ltd.
HUAWEI S5735S-L12T4S-A Routing Switch uptime is 0 week, 0 day, 0 hour, 45 minutes
ES5D2T16S022 0(Master) : uptime is 0 week, 0 day, 0 hour, 44 minutes
DDR Memory Size : 1024 M bytes
FLASH Total Memory Size : 512 M bytes
FLASH Available Memory Size : 306 M bytes
Pcb Version : VER.B
BootROM(1st) Version : 0000.0121
BootROM(2nd) Version : 0000.0200
BootLoad Version : 0213.0000
CPLD Version : 0107
Software Version : VRP (R) Software, Version 5.170 (V200R019C10SPC500)
FLASH Version : 0000.0000
<S5735S-L12T4S-A>
<S5735S-L12T4S-A>
<S5735S-L12T4S-A>
<S5735S-L12T4S-A>dis esn
ESN of slot 0: 21980109194EM1000621
<S5735S-L12T4S-A>
<S5735S-L12T4S-A>
<S5735S-L12T4S-A>
<S5735S-L12T4S-A>
<S5735S-L12T4S-A>dis cu
!Software Version V200R019C10SPC500
#
sysname S5735S-L12T4S-A
#
vlan batch 58 63
#
authentication-profile name default_authen_profile
authentication-profile name dot1x_authen_profile
authentication-profile name dot1xmac_authen_profile
authentication-profile name mac_authen_profile
authentication-profile name multi_authen_profile
authentication-profile name portal_authen_profile
#
clock timezone UTC add 00:00:00
#
diffserv domain default
#
radius-server template default
#
pki realm default
certificate-check none
#
free-rule-template name default_free_rule
#
portal-access-profile name portal_access_profile
#
aaa
authentication-scheme default
authentication-mode local
authentication-scheme radius
authentication-mode radius
authorization-scheme default
authorization-mode local
accounting-scheme default
accounting-mode none
local-aaa-user password policy administrator
password history record number 0
password expire 0
domain default
authentication-scheme radius
accounting-scheme default
radius-server default
domain default_admin
authentication-scheme default
accounting-scheme default
local-user admin password irreversible-cipher $1c$cKtkQzE5+;$`-+XH%"YE!^)DERQ(;C.S>ScYow>U1'H0W>6s9YV$
local-user admin privilege level 15
local-user admin service-type terminal http
#
interface Vlanif1
#
interface Vlanif58
ip address 191.1.58.214 255.255.255.248
#
interface Vlanif63
ip address 191.1.63.190 255.255.255.252
#
interface MEth0/0/1
ip address 192.168.1.253 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 58
#
interface GigabitEthernet0/0/2
#
interface GigabitEthernet0/0/3
#
interface GigabitEthernet0/0/4
#
interface GigabitEthernet0/0/5
#
interface GigabitEthernet0/0/6
#
interface GigabitEthernet0/0/7
#
interface GigabitEthernet0/0/8
#
interface GigabitEthernet0/0/9
#
interface GigabitEthernet0/0/10
#
interface GigabitEthernet0/0/11
#
interface GigabitEthernet0/0/12
#
interface GigabitEthernet0/0/13
#
interface GigabitEthernet0/0/14
#
interface GigabitEthernet0/0/15
#
interface GigabitEthernet0/0/16
port link-type access
port default vlan 63
#
interface NULL0
#
undo icmp name timestamp-request receive
#
ip route-static 191.0.24.171 255.255.255.255 191.1.63.189
ip route-static 191.0.24.172 255.255.255.255 191.1.63.189
ip route-static 191.0.25.177 255.255.255.255 191.1.63.189
ip route-static 191.0.25.178 255.255.255.255 191.1.63.189
#
ssh server cipher aes256_ctr aes128_ctr
ssh server hmac sha2_256
ssh client cipher aes256_ctr aes128_ctr
ssh client hmac sha2_256
ssh server dh-exchange min-len 2048
#
user-interface con 0
authentication-mode aaa
user-interface vty 0 4
user-interface vty 16 20
#
dot1x-access-profile name dot1x_access_profile
#
mac-access-profile name mac_access_profile
#
ops
#
return
<S5735S-L12T4S-A>
<S5735S-L12T4S-A>
<S5735S-L12T4S-A>save
The current configuration will be written to flash:/vrpcfg.zip.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0..
Jan 23 2021 03:42:00 S5735S-L12T4S-A %%01CFM/4/SAVE(s)[1]:The user chose Y when deciding whether to save the configuration to the device..
Save the configuration successfully.
<S5735S-L12T4S-A>
<S5735S-L12T4S-A>
<S5735S-L12T4S-A>save
The current configuration will be written to flash:/vrpcfg.zip.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0.
Jan 23 2021 03:42:04 S5735S-L12T4S-A %%01CFM/4/SAVE(s)[2]:The user chose Y when deciding whether to save the configuration to the device...
Save the configuration successfully.
<S5735S-L12T4S-A>