Friday, March 17, 2017

Networking Lab Notes

Show current switch configuration (password, interfaces)
# show running-config

Show all interfaces
# show int br


Assign name to switch
config# hostname S1


Secure access to USER
c# line console 0
cl# password pass123
cl# login


Secure access to PRIVILEGE
c# enable password pass123
c# enable secret pass123


Encrypt USER and PRIVILEGE
c# service password-encryption


MOTD
# banner motd "Blah"


Configure Telnet
c# line vty 0
cl# password pass123


Configure Default Gateway
c# ip default-gateway xxx.xxx.xxx.xxx


Enable Router to forward IPv6 Packet
c# ipv6 unicast-routing


Configure Interface IP
c# int vlan1
cl# ip address x.x.x.x y.y.y.y
cl# ipv6 address 2001:x:x::/64


Configure Serial Routing between Routers
c# ip route 0.0.0.0 0.0.0.0 s0/0/0
c# ipv6 route ::/0 s0/0/0


Configure Description
cl# description "message"


Prevent Translating Domain Server
c# no ip domain-lookup

No comments:

Post a Comment