Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NetHub
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Valentin Claisse
NetHub
Commits
c32f79fa
Commit
c32f79fa
authored
2 years ago
by
Djouadar Mohammad
Browse files
Options
Downloads
Patches
Plain Diff
Ajout des premières config routeurs et switch
parent
57a3076b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config_switch
+289
-0
289 additions, 0 deletions
config_switch
router-config
+129
-0
129 additions, 0 deletions
router-config
with
418 additions
and
0 deletions
config_switch
0 → 100644
+
289
−
0
View file @
c32f79fa
!
! Last configuration change at 05:50:04 UTC Mon Mar 1 1993
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
no service dhcp
!
hostname Switch2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
system mtu routing 1500
no ip domain-lookup
!
!
!
!
crypto pki trustpoint TP-self-signed-4263184768
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-4263184768
revocation-check none
rsakeypair TP-self-signed-4263184768
!
!
crypto pki certificate chain TP-self-signed-4263184768
certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 34323633 31383437 3638301E 170D3933 30333031 30303031
32345A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D34 32363331
38343736 3830819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100BBA3 BF8B5537 2CE9027F BC1DF070 91CACC53 76D879C8 65890E67 2076334B
546C8433 628FFA45 41841541 D446078E 129F840E 30995F58 9E2ABEE9 A8140E2D
AF331421 ED6427CC 48A45F61 290EB533 8EB53BD3 BC40577C 72B994C4 1BD413AE
5DEC1AEA 31A812C4 0ADC9CA9 27537181 4CA784E2 CDDD77F4 DECA1156 2D601510
CD710203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
551D2304 18301680 149278BE F0E0C0F4 E400A644 BF519A32 71659C47 59301D06
03551D0E 04160414 9278BEF0 E0C0F4E4 00A644BF 519A3271 659C4759 300D0609
2A864886 F70D0101 05050003 8181001B 43B41E04 4CFAC416 857B7E8C A8FBEDF4
92F31A22 61B30896 6A4032D8 21CBF58E CD166A98 73274617 08E6FAF3 0A2455CA
7887AFDE 8E666F62 F9AB26F9 F44418B5 A1883DAB B1E0A7B4 2F2F15E0 FADE385A
AE8B3969 2C5869A6 29B198D9 2B3AD90A F6E994BB 58D169CE 20A7C387 2C0E9CEC
70CC77E6 D221DBD9 3C06437A 54E89F
quit
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
no spanning-tree vlan 1
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/1
switchport access vlan 3
no keepalive
!
interface FastEthernet0/2
switchport access vlan 3
no keepalive
!
interface FastEthernet0/3
switchport access vlan 3
no keepalive
!
interface FastEthernet0/4
switchport access vlan 3
no keepalive
!
interface FastEthernet0/5
switchport access vlan 3
no keepalive
!
interface FastEthernet0/6
switchport access vlan 3
no keepalive
!
interface FastEthernet0/7
switchport access vlan 3
no keepalive
!
interface FastEthernet0/8
switchport access vlan 3
no keepalive
!
interface FastEthernet0/9
switchport access vlan 3
no keepalive
!
interface FastEthernet0/10
switchport access vlan 3
no keepalive
!
interface FastEthernet0/11
switchport access vlan 3
no keepalive
!
interface FastEthernet0/12
switchport access vlan 3
no keepalive
!
interface FastEthernet0/13
switchport access vlan 3
no keepalive
!
interface FastEthernet0/14
switchport access vlan 3
no keepalive
!
interface FastEthernet0/15
switchport access vlan 3
no keepalive
!
interface FastEthernet0/16
switchport access vlan 3
no keepalive
!
interface FastEthernet0/17
switchport access vlan 4
no keepalive
!
interface FastEthernet0/18
switchport access vlan 4
no keepalive
!
interface FastEthernet0/19
switchport access vlan 4
no keepalive
!
interface FastEthernet0/20
switchport access vlan 4
no keepalive
!
interface FastEthernet0/21
switchport access vlan 4
no keepalive
!
interface FastEthernet0/22
switchport access vlan 4
no keepalive
!
interface FastEthernet0/23
switchport access vlan 4
no keepalive
!
interface FastEthernet0/24
switchport access vlan 4
no keepalive
!
interface FastEthernet0/25
no keepalive
!
interface FastEthernet0/26
switchport access vlan 4
no keepalive
!
interface FastEthernet0/27
switchport access vlan 4
no keepalive
!
interface FastEthernet0/28
switchport access vlan 4
no keepalive
!
interface FastEthernet0/29
switchport access vlan 4
no keepalive
!
interface FastEthernet0/30
switchport access vlan 4
no keepalive
!
interface FastEthernet0/31
switchport access vlan 4
no keepalive
!
interface FastEthernet0/32
switchport access vlan 4
no keepalive
!
interface FastEthernet0/33
switchport access vlan 2
no keepalive
!
interface FastEthernet0/34
no keepalive
!
interface FastEthernet0/35
no keepalive
!
interface FastEthernet0/36
no keepalive
!
interface FastEthernet0/37
no keepalive
!
interface FastEthernet0/38
no keepalive
!
interface FastEthernet0/39
no keepalive
!
interface FastEthernet0/40
no keepalive
!
interface FastEthernet0/41
no keepalive
!
interface FastEthernet0/42
no keepalive
!
interface FastEthernet0/43
no keepalive
!
interface FastEthernet0/44
no keepalive
!
interface FastEthernet0/45
no keepalive
!
interface FastEthernet0/46
no keepalive
!
interface FastEthernet0/47
no keepalive
!
interface FastEthernet0/48
switchport trunk encapsulation dot1q
switchport mode trunk
no keepalive
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface Vlan1
no ip address
!
interface Vlan2
ip address 192.168.10.2 255.255.255.0
!
interface Vlan3
ip address 192.168.20.3 255.255.255.0
!
interface Vlan4
ip address 192.168.30.4 255.255.255.0
!
ip http server
ip http secure-server
!
!
no cdp run
!
!
line con 0
line vty 0 4
login
line vty 5 15
login
!
end
This diff is collapsed.
Click to expand it.
router-config
0 → 100644
+
129
−
0
View file @
c32f79fa
!
! Last configuration change at 13:02:31 UTC Thu Oct 27 2022
!
version 15.5
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
no service dhcp
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
ethernet lmi ce
!
!
!
!
!
!
!
!
!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
!
license udi pid CISCO1941/K9 sn FCZ1544C4HD
!
!
!
no spanning-tree vlan 1
vtp mode transparent
!
redundancy
!
no cdp run
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/0.1
encapsulation dot1Q 2
ip address 192.168.10.254 255.255.255.0
no cdp enable
!
interface GigabitEthernet0/0.2
encapsulation dot1Q 3
ip address 192.168.20.254 255.255.255.0
no cdp enable
!
interface GigabitEthernet0/0.3
encapsulation dot1Q 4
ip address 192.168.30.254 255.255.255.0
no cdp enable
!
interface GigabitEthernet0/1
ip address 192.168.20.1 255.255.255.0
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/0/0
no ip address
!
interface GigabitEthernet0/0/1
no ip address
!
interface GigabitEthernet0/0/2
no ip address
!
interface GigabitEthernet0/0/3
no ip address
!
interface Vlan1
no ip address
!
interface Vlan2
no ip address
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login
transport input none
!
scheduler allocate 20000 1000
!
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment