0% found this document useful (0 votes)
11 views2 pages

Comm

The document discusses several configuration topics for routers and switches including static and dynamic routing, VLANs, trunking, DHCP, HSRP, and remote access configuration. Static routing can be configured with the ip route command and dynamic routing protocols include RIP, EIGRP, and OSPF. VLANs are used to segment traffic on switches and trunking allows communication between VLANs on different switches. DHCP can be used to dynamically assign IP addresses and configuration from a router. HSRP provides high availability for default gateways. Remote access to routers is secured with login passwords and transport protocols.

Uploaded by

franklinken1995
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views2 pages

Comm

The document discusses several configuration topics for routers and switches including static and dynamic routing, VLANs, trunking, DHCP, HSRP, and remote access configuration. Static routing can be configured with the ip route command and dynamic routing protocols include RIP, EIGRP, and OSPF. VLANs are used to segment traffic on switches and trunking allows communication between VLANs on different switches. DHCP can be used to dynamically assign IP addresses and configuration from a router. HSRP provides high availability for default gateways. Remote access to routers is secured with login passwords and transport protocols.

Uploaded by

franklinken1995
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Afficher la table de routage pc : password level 1 :

Pc> netstat –r ou Pc> route print R(conf)# line console 0


Password X
Routage static : login
R(conf)# ip route @ip-dist masque-dist nexthop password level 2:

R(conf)# enable password X


Afficher la table de routage routeur :
R# show ip route passive interface :
R(conf)# router protocol [X]
Routage dynamique : passiv-interfaces nom-int
RIP :
R(conf)# router rip Vlan :
R(conf…)# version 2 S(conf)# vlan ID
R(conf…)# network @ip S(conf-vlan)# name (vlan-name)

#no vlan [id] (pour supprimer le vlan)


EIGRP: S(conf)# int ID
R(conf)# router eigrp [x] S(conf)# Switchport mode access
R(conf…)# network @ip masque S(conf)# Switchport access vlan ID

OSPF: S(conf)# show vlan brief


R(conf)# router ospf [x]
R(conf…)# network @ip masque area 0 S(conf-if)# Switchport mode trunk (entre les switch)

Configure d’interface: Inter-Vlan:


R(conf)# router ospf [x] R(conf)# int g0/0.1
R(conf…)# int num-int R(conf-if)#encapsulation dot1Q [x]
R(conf…)# ip ospf [x] area 0 R(conf-if)#ip add @ip(gateway) masque

ajuster la bande passante de référence : Etherchannel :


Router(config)# auto-cost reference-bandwidth Mbps Switch(config)# interface range FastEthernet0/1 – 2
Switch (config-if-range)# channel-group 1 mode on
Router(config-if)# ip ospf cost value .
Router(config-if)# ip ospf priority value . entre 0 et 255 Switch (config)# interface port-channel 1
Switch (config-if)# switchport mode trunk
VTP: HSRP :
S(conf)# VTP mode server(client ou transparent) R2(config)# interface GigabitEthernet0/0
S(conf)# vtp domain ssi(nom de domain sur tous les switch) R2(config-if)# standby 1 ip 192.168.1.1
S(conf)# vtp password ssi(mdps sur tous les switch) R2(config-if)# standby 1 priority 100
S> show vtp status
R2(config-if)# standby 1 preempt
RSTP :
Switch(config)# spanning-tree mode rapid-pvst

Switch(config)# interface range f0/6 , f0/11 , f0/18


Switch(config-if-range)# spanning-tree portfast

DHCP:
Router(config-if)# ip dhcp pool [pool_name]
Router(config-dhcp)# network [network_address] [subnet_mask]
Router(config-dhcp)# default-router [default_gateway]
Router(config-dhcp)# dns-server [dns_server_address]

Router(config-if)# ip dhcp pool (x)


Router(config-dhcp)# network 192.168.1.0 255.255.255.0
Router(config-dhcp)# default-router 192.168.1.1
Router(config-dhcp)# dns-server 8.8.8.8
Router(conf)#ip dhcp excluded-address @ip gateway
/24 : 255.255.255.0
/25 : 255.255.255.128
/26 : 255.255.255.192
/27 : 255.255.255.224
/28 : 255.255.255.240
/29 : 255.255.255.248
/30 : 255.255.255.252

Router> enable
Router# configure terminal
Router(config)# line vty 0 4
Router(config-line)# password <mot de passe>
Router(config-line)# login
Router(config-line)# transport input telnet
Router(config-line)# exit

You might also like