Switch configuration vlanif interface address pool, three are in different vlan PC can visits, AR1 did link aggregation and switches, the AR1 should be how to configure, to access the network configuration is as follows, the great god to reassure
Switch configuration
#
Sysname SW1
#
Vlan batch 10 20 30 to 40
#
Cluster enable
NTDP enable
NDP enable
#
Drop the illegal - MAC alarm
#
DHCP enable
#
Diffserv domain default
#
Drop - profile default
#
Aaa
The authentication scheme - the 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 Vlanif10
IP address 192.168.10.254 255.255.255.0
DHCP select interface
#
Interface Vlanif20
IP address 192.168.20.254 255.255.255.0
DHCP select interface
#
Interface Vlanif30
IP address 192.168.30.254 255.255.255.0
DHCP select interface
#
Interface Vlanif40
IP address 10.1.12.2 255.255.255.252
#
Interface MEth0/0/1
#
Interface Eth - Trunk0
The port link -type trunk
The port trunk pvid vlan 40
The port trunk allow - pass vlan 10 20 to 30 and 40
#
Interface Ethernet0/0/1
The port link -type access
The port default vlan 10
#
Interface Ethernet0/.two survivors
The port link -type access
The port default vlan 20
#
Interface Ethernet0/0/3
The port link -type access
The port default vlan 30
#
Interface GigabitEthernet0/0/1
The eth - trunk 0
#
Interface GigabitEthernet0/.two survivors
The eth - trunk 0
#
Interface NULL0
#
The user - interface con 0
The user - interface vty 0 4
#
Return
The router configuration
#
Sysname R1
#
SNMP agent local - 800007 db03000000000000 engineid
SNMP agent -
#
Clock timezone China - Standard - Time minus 08:00:00
#
Portal local - server load portalpage.zip
#
Drop the illegal - MAC alarm
#
Set the CPU - the usage threshold 80 restore 75
#
The acl number 2000
Rule 5 permit
#
Aaa
The authentication scheme - the default
Authorization - scheme default
Accounting - scheme default
Domain default
Domain default_admin
Local - user admin password cipher % $% $K8m. The Nt84DZ} e# & lt; 0 8 bme3uw `} % $% $
Local - user admin service -type HTTP
#
Firewall zone Local
The priority of 15
#
Interface Eth - Trunk0
Undo portswitch
IP address 10.1.12.1 255.255.255.252
#
Interface GigabitEthernet0/0/0
IP address 100.1.12.1 255.255.255.252
NAT outbound 2000
#
Interface GigabitEthernet0/0/1
The eth - trunk 0
#
Interface GigabitEthernet0/.two survivors
The eth - trunk 0
#
Interface NULL0
#
IP route -static 0.0.0.0 0.0.0.0 100.1.12.2
IP route -static 192.168.0.0 255.255.0.0 10.1.12.2
#
The user - interface con 0
Authentication - mode password
The user - interface vty 0 4
The user - interface vty 16 20
#
Wlan ac
#
return
CodePudding user response:
I also want to know if hh school has this requirement in a week of training assignment, cry, but I am using Packet TracerCodePudding user response:
Polymerization of port can try the mixed modeCodePudding user response: