You are on page 1of 2

ROUTER

service password-encryption
security passwords min-length x
!
hostname xxxx
!
enable secret xxxx
!
ip dhcp excluded-address xxxx xxxx
!
ip dhcp pool xxxxx
network xxxxx
default-router xxxxx
dns-server xxxxx
!
ipv6 unicast-routing
!
ip domain-name xxxxx
crypto key generate rsa
username xxxxx password xxxxxx
!
!
interface x/x (no todas las interfaces llevan esa informacin)
encapsulation dot1Q xx
ip address xxxxx xxxx
ip access-group xxx in - out
ipv6 address xxxxxx/xx
ip helper-address xxxx
ipv6 ospf x area 0
ipv6 ospf network broadcast
clock rate xxxx
no shutdown
!
router ospf xx
router-id xxxx
network xxxx xxxx area 0
!
ipv6 router ospf xx
router-id xxxx
redistribute static subnets
!
access-list xxx deny udp host xxxxx host xxxx eq xxxx
access-list xxx deny udp xxxx xxxx host xxxx eq xxxx
access-list xxx permit tcp xxxxxx xxxxx yyyyy yyyyy eq xxxx
access-list xxx deny icmp host xxxx host xxxx echo
access-list xxx permit ip any any
!
!
ipv6 route 2001:DB2:ACAD:AAAA::/64 Serial0/0/0 (ejemplo)
!
SWITCH
interface FastEthernet X/X
switchport access vlan XX
switchport mode access
switchport port-security
switchport port-security maximum X
switchport port-security mac-address sticky
switchport port-security violation shutdown
!
service password-encryption
!
hostname xxx
!
enable secret xxxx
!
ip domain-name xxxx
crypto key generate rsa
username xxxxx password xxxxxx
!
!
interface FastEthernet x/x
switchport mode trunk

You might also like