Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --------------------- IPv6 ---------------------
- • Router: ipv6 unicast-routing
- • Interface: - ipv6 enable; ipv6 address <IPv6 address>/<mask> or
- - ipv6 address <IPv6 network>/<mask> eui-64
- • Static routing: ipv6 route <remote network>/<mask> <next hop>
- • Rip routing: ipv6 rip <name> enable (for every interface, same name for same network)
- • Rip routing: ipv6 router rip <name> (for the entire router)
- --------------------- VLAN ---------------------
- • Defining VLANs (on all switches that will operate with them): vlan <vlan id>; optional: name <name>
- • Interfaces: switchport mode <acceess/trunk>
- • If the int is in access mode (endpoints): switchport access vlan <vlan id>
- • Multiple interfaces: interface range fastEthernet 0/<range: eg. 1-4>
- • Show current vlans: show vlan
- --------------------- ROUTER (SSH/TELNET) ---------------------
- SSH:
- • enable secret <secret password> (global password)
- • hostname <hostname>
- • ip domain-name <domain>
- • crypto key generate rsa modulus 1024
- (Key name is: <hostname>.<domain>)
- • username <username> secret <secret>
- • line vty 0 4
- • transport input ssh
- • login local
- TELNET:
- • enable secret <secret password>
- • hostname <hostname>
- • username <username> secret <secret>
- • line vty 0 4
- • transport input telnet
- • login local
- --------------------- SWITCH ---------------------
- SSH:
- • enable secret <secret password>
- • username <username> secret <secret>
- • interface vlan <vlan-id>
- • no shutdown
- • ip domain-name <domain>
- • crypto key generate rsa 1024
- • ip ssh version 2
- • line vty 0 4
- • transport input ssh
- • login local
- --------------------------------------------------
- USMERJANJE MED VLAN-I Z USMERJEVALNIKOM
- Za vsak VLAN nastavimo:
- • Router (config)#interface fastEthernet 0/1. <št.Vlan>
- • Router (config-subif)#encapsulation dot1q <št.Vlan>
- • Router (config-subif)#ip address <ip številka> <maska omrežja>
- Na vmesniku stikala, ki je povezan z usmerjevalnikom, nastavimo vlan trunk.
- USMERJANJE MED VLAN-I Z L3 STIKALOM
- Vključimo usmerjanje: ip routing
- Vmesniki za usmerjanje na usmerjevalniku
- • no switchport
- • no shutdown
- • ip address ip maska
- Dodelitev IP naslovov za posamezen vLAN:
- • interface vlan<št. vlan>
- • ip address ip maska
- • no shutdown
- Na L3 stikalu lahko kreiramo VLAN-e na enak način kot na L2 stikalu.
- Na vmesniku stikala, ki so povezani z L3 stikalom, nastavimo vlan trunk.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement