Comandos Prueba 3

Embed Size (px)

Citation preview

ROUTERservice password-encryptionsecurity 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 xxxxxcrypto key generate rsausername 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 xxrouter-id xxxxredistribute static subnets!access-list xxx deny udp host xxxxx host xxxx eq xxxxaccess-list xxx deny udp xxxx xxxx host xxxx eq xxxxaccess-list xxx permit tcp xxxxxx xxxxx yyyyy yyyyy eq xxxxaccess-list xxx deny icmp host xxxx host xxxx echoaccess-list xxx permit ip any any!!ipv6 route 2001:DB2:ACAD:AAAA::/64 Serial0/0/0 (ejemplo)!SWITCHinterface 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 xxxxcrypto key generate rsausername xxxxx password xxxxxx!!interface FastEthernet x/x switchport mode trunk