网络

OSPF基本配置

R1: en conf t int f0/0 ip add 10.1.1.1 255.255.255.0 no sh int f0/1 ip add 192.168.1.1 255.255.255.0 no sh end show ip int brief conf t router ospf 100 ...

BGP配置

R1: en conf t int f0/0 ip add 10.1.1.1 255.255.255.0 no shutdown int f0/1 ip add 192.168.1.1 255.255.255.0 no shutdown int lo0 ip add 192.168.0.1 255.255.255.0 ...

PAT转换

R1: enable conf  t interface  f0/0 ip add 200.1.1.1 255.255.255.0 no shutdown int lo 1 ip add 100.1.1.1 255.255.255.0 end show ip int brief R2: en conf ...

策略路由配置

1、R1配置 en config t int f0/1 ip add 192.168.1.1 255.255.255.0 no sh exit ip route 172.17.1.0 255.255.255.0 192.168.1.2 ip route 172.17.2.0 255.255.255.0 192.168.1.2 e...

DHCP配置

1、SW1配置 en vlan data vtp domain 2014 vlan 2 vlan 3 exit config t ip routing service dhcp ip dhcp pool vlan2 network 192.168.2.0 255.255.255.0 default-route ...

VRRP配置

1、SW1配置 en vlan data vtp domain 2014   vtp server              vlan 2 vlan 3 exit conf t int  f1/1 switch mode trunk int f1/15 switch mode trunk int f1/0...

HSRP配置

1、SW1配置 en vlan data vtp domain 2014   //设置vtp域为2014 vtp server              //vtp模式为服务器模式 vlan 2 vlan 3 exit conf t ip routing int  f1/1 switch mo...

TRUNK(中继)

SW1配置 vlan data vl 2 vl 3 exit config t int range f1/0 - 15 no sh int f1/1 switchport access vlan 2 int f1/2 sw ac vl 3 int f1/0 switchport mode trunk...