-
Notifications
You must be signed in to change notification settings - Fork 12
/
10.4.3-Basic device configuration (code)
118 lines (85 loc) · 1.72 KB
/
10.4.3-Basic device configuration (code)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
*************10.4.3-packet-tracer---basic-device-configuration*************
User configuration
==================
*user-01
Ip address :128.107.20.25
subnet mask :255.255.255.0
Default gateway :128.107.20.1
ipv6 address :2001:db8:a::2/64
ipv6 gateway :fe80::1
*user-02
Ip address :128.107.20.30
subnet mask :255.255.255.0
Default gateway :128.107.20.1
ipv6 address :2001:db8:a::3/64
ipv6 gateway :fe80::1
*user-03
Ip address :128.107.30.25
subnet mask :255.255.255.0
Default gateway :128.107.30.1
ipv6 address :2001:db8:b::2/64
ipv6 gateway :fe80::1
*user-04
Ip address :128.107.30.30
subnet mask :255.255.255.0
Default gateway :128.107.30.1
ipv6 address :2001:db8:b::3/64
ipv6 gateway :fe80::1
Router configuration
====================
en
conf t
hostname RTA
line console 0
password cisco
login
line vty 0 15
password cisco
login
line aux 0
password cisco
login
enable secret class
service password-encryption
banner motd #Authorized access only!#
ipv6 unicast-routing
int g0/0
description Link to Switch 1
ip address 128.107.20.1 255.255.255.0
ipv6 address 2001:db8:a::1/64
ipv6 address fe80::1 link-local
no sh
int g0/1
description Link to Switch 2
ip address 128.107.30.1 255.255.255.0
ipv6 address 2001:db8:b::1/64
ipv6 address fe80::1 link-local
no sh
exit
exit
copy running-config startup-config
exit
Switch configuration
====================
en
conf t
hostname ASw-2
line console 0
password cisco
login
line vty 0 4
password cisco
login
line aux 0
password cisco
login
enable secret class
service password-encryption
banner motd #Authorized access only!#
int Vlan 1
description vlan interface
ip address 128.107.30.15 255.255.255.0
no sh
ip default-gateway 128.107.30.1
copy running-config startup-config
exit