系统集成论坛
标题:
华为ospf技术指导
[打印本页]
作者:
胡振宇
时间:
2015-11-20 12:39
标题:
华为ospf技术指导
sysname RouterA
#
router id 1.1.1.1 //Router ID,建议配置为LoopBack0的IP地址
#
vlan batch 10
#
interface Vlanif10
ip address 192.168.1.1 255.255.255.0
#
interface Ethernet2/0/0
port link-type trunk
port trunk allow-pass vlan 10
#
interface GigabitEthernet3/0/0
ip address 192.168.0.1 255.255.255.0
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
ospf 2
area 0.0.0.0
network 192.168.1.0 0.0.0.255 //指定运行OSPF 2协议的接口的IP地址位于192.168.1.0/24网段,接口所属的区域为area 0
network 192.168.0.0 0.0.0.255
#
欢迎光临 系统集成论坛 (http://bbs.xtjc.com/)
Powered by Discuz! X3.1